:root {
    --bg-color: #0a0a0a;
    --text-color: #d1d1d1;
    --primary-color: #ff0033;
    --secondary-color: #1a1a1a;
    --border-color: #333;
}
html { scroll-behavior: smooth; }
* { box-sizing: border-box; margin: 0; padding: 0; font-family: 'Times New Roman', serif; }
body { background-color: var(--bg-color); color: var(--text-color); line-height: 1.6; display: flex; flex-direction: column; min-height: 100vh; }
button, a, .load-more-trigger, .dot, .btn-primary, .btn-secondary, .exit-btn, .lang-switch { cursor: pointer; }

/* 电脑端布局 */
nav { background-color: var(--bg-color); padding: 1.5rem 2rem; display: flex; justify-content: center; align-items: center; border-bottom: 1px solid var(--border-color); position: relative; min-height: 80px; }
.nav-links { display: flex; gap: 50px; }
nav a { color: #888; text-decoration: none; font-size: 1rem; letter-spacing: 2px; text-transform: uppercase; transition: all 0.3s ease; }
nav a:hover { color: var(--primary-color); text-shadow: 0 0 8px rgba(255, 0, 51, 0.5); }
nav a.active { color: var(--primary-color); border-bottom: 2px solid var(--primary-color); padding-bottom: 5px; }

.lang-switch { position: absolute; right: 2rem; top: 50%; transform: translateY(-50%); display: flex; background: #111; border: 1px solid #333; border-radius: 20px; padding: 4px; width: 90px; height: 34px; box-sizing: border-box; }
.lang-option { flex: 1; display: flex; justify-content: center; align-items: center; font-size: 0.8rem; font-family: sans-serif; font-weight: bold; border-radius: 15px; transition: all 0.3s ease; color: #666; user-select: none; }
.lang-option.active { background: #fff; color: #000; box-shadow: 0 2px 8px rgba(255,255,255,0.2); }

.hero-section { display: flex; justify-content: space-between; align-items: center; max-width: 1200px; margin: 0 auto; padding: 6rem 2rem; flex: 1; width: 100%; }
.hero-text { flex: 1; max-width: 600px; z-index: 2; }
.tag { display: inline-block; color: #666; font-size: 0.85rem; letter-spacing: 2px; margin-bottom: 2rem; text-transform: uppercase; }
.hero-text h1 { color: #fff; font-size: 6rem; line-height: 1.1; font-weight: normal; margin-bottom: 1.5rem; letter-spacing: -2px; }
.subtitle { color: var(--primary-color); font-size: 1.8rem; font-style: italic; font-weight: normal; margin-bottom: 2rem; }
.hero-text p { color: #aaa; font-size: 1.1rem; line-height: 1.8; margin-bottom: 3rem; max-width: 500px; }
.hero-actions { display: flex; gap: 20px; align-items: center; }
.btn-primary { background: #fff; color: #000; text-decoration: none; padding: 12px 24px; font-weight: bold; font-size: 1rem; border-radius: 4px; transition: all 0.3s; }
.btn-primary:hover { background: var(--primary-color); color: #fff; }
.btn-secondary { color: #888; text-decoration: none; font-size: 1rem; border-bottom: 1px solid #333; padding-bottom: 2px; transition: all 0.3s; }
.btn-secondary:hover { color: #fff; border-color: #fff; }

.hero-visual { flex: 1; display: flex; justify-content: flex-end; position: relative; }
.image-frame { width: 450px; height: 500px; position: relative; border-radius: 8px; overflow: hidden; -webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 10%, black 90%, transparent 100%), linear-gradient(to left, transparent 0%, black 15%); mask-image: linear-gradient(to bottom, transparent 0%, black 10%, black 90%, transparent 100%), linear-gradient(to left, transparent 0%, black 15%); -webkit-mask-composite: source-in; mask-composite: intersect; }
.slider { width: 100%; height: 100%; position: relative; }
.slider a { display: block; width: 100%; height: 100%; }
.slide { position: absolute; top: 0; left: 0; width: 100%; height: 100%; opacity: 0; transition: opacity 0.6s ease-in-out; object-fit: cover; filter: grayscale(20%) contrast(110%) sepia(10%); }
.slide.active { opacity: 1; z-index: 2; }
.dots-container { position: absolute; bottom: 20px; left: 50%; transform: translateX(-50%); display: flex; gap: 12px; z-index: 10; }
.dot { width: 10px; height: 10px; background-color: rgba(255, 255, 255, 0.2); border-radius: 50%; transition: all 0.3s ease; }
.dot:hover { background-color: rgba(255, 255, 255, 0.5); }
.dot.active { background-color: var(--primary-color); transform: scale(1.3); box-shadow: 0 0 10px var(--primary-color); }

.container { max-width: 1000px; margin: 4rem auto; padding: 0 1rem; flex: 1; width: 100%; }
.container h1 { color: #fff; font-size: 3.5rem; margin-bottom: 3rem; text-align: center; font-weight: normal; font-style: italic; }
.container h2 { color: var(--primary-color); margin-bottom: 0.8rem; font-size: 1.6rem; }
.card { background: var(--secondary-color); padding: 2rem; margin-bottom: 1.5rem; border-left: 2px solid var(--primary-color); transition: transform 0.3s; }
.card:hover { transform: translateX(5px); }
.playlist-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
.playlist-card { background: linear-gradient(145deg, #151515, #0a0a0a); padding: 2.5rem; border: 1px solid #222; border-left: 3px solid var(--primary-color); border-radius: 8px; transition: all 0.3s ease; }
.playlist-card:hover { transform: translateY(-5px); border-color: #444; border-left-color: var(--primary-color); }
.playlist-card h2 { color: #fff; font-size: 1.8rem; margin-bottom: 1rem; }
.playlist-card p { color: #aaa; font-size: 1rem; line-height: 1.8; }
.load-more-trigger { text-align: center; padding: 1.5rem; margin-top: 1rem; margin-bottom: 1rem; border-top: 1px solid #333; border-bottom: 1px solid #333; color: #888; font-size: 1.1rem; transition: all 0.3s; }
.load-more-trigger:hover { color: var(--primary-color); border-color: var(--primary-color); }
.more-artists-content { animation: fadeIn 0.5s ease-in-out; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: translateY(0); } }

.heartbeat-card { background: linear-gradient(145deg, #151515, #0a0a0a); border: 1px solid #222; border-left: 2px solid var(--primary-color); border-radius: 8px; padding: 4rem 2rem; max-width: 700px; margin: 0 auto; box-shadow: 0 10px 30px rgba(0,0,0,0.3); }
.action-group { display: flex; justify-content: center; align-items: center; gap: 20px; }
.main-btn { padding: 15px 40px; background: transparent; color: #fff; font-size: 1.1rem; border: 1px solid #fff; border-radius: 4px; transition: all 0.3s; letter-spacing: 2px; -webkit-appearance: none; outline: none; }
.main-btn:hover { background: var(--primary-color); border-color: var(--primary-color); box-shadow: 0 0 15px rgba(255,0,51,0.4); }
.exit-btn { padding: 10px 20px; background: transparent; color: #666; font-size: 0.9rem; border: 1px solid #333; border-radius: 4px; transition: all 0.3s; -webkit-appearance: none; outline: none; }
.exit-btn:hover { color: #fff; border-color: #fff; }
#song-display { margin: 20px 0 40px 0; font-size: 2.2rem; color: #fff; height: 140px; display: flex; flex-direction: column; justify-content: center; transition: opacity 0.15s ease; }
.vinyl-container { display: flex; justify-content: center; align-items: center; margin: 30px 0; }
.vinyl { width: 180px; height: 180px; background: repeating-radial-gradient(#000, #000 4px, #111 5px, #000 6px); border-radius: 50%; position: relative; box-shadow: 0 10px 30px rgba(0,0,0,0.8), inset 0 0 20px rgba(255,255,255,0.05); animation: spin 3s linear infinite; animation-play-state: paused; }
.vinyl::before { content: ''; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 60px; height: 60px; background: var(--primary-color); border-radius: 50%; box-shadow: inset 0 0 10px rgba(0,0,0,0.5); }
.vinyl::after { content: ''; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 12px; height: 12px; background: #000; border-radius: 50%; }
.vinyl.playing { animation-play-state: running; }
@keyframes spin { 100% { transform: rotate(360deg); } }

footer { text-align: center; padding: 3rem 0; color: #666; font-size: 0.9rem; margin-top: auto; border-top: 1px solid var(--border-color); }
footer span { color: var(--primary-color); }

/* =========================================
   手机端专属优化
   ========================================= */
@media (max-width: 900px) {
    .hero-section { flex-direction: column; padding: 4rem 1.5rem; text-align: center; gap: 2.5rem; }
    .hero-text { display: flex; flex-direction: column; align-items: center; }
    .hero-text h1 { font-size: 4rem; }
    .hero-text p { margin: 0 auto 2rem auto; }
    .hero-actions { justify-content: center; flex-wrap: wrap; width: 100%; }
    .hero-visual { justify-content: center; width: 100%; }
    .image-frame { width: 100%; max-width: 400px; height: 400px; -webkit-mask-image: none; mask-image: none; }
    .playlist-grid { grid-template-columns: 1fr; }
}

@media (max-width: 600px) { 
    nav { padding: 1.5rem 1rem; flex-direction: column; gap: 15px; } 
    .nav-links { gap: 12px; flex-wrap: wrap; justify-content: center; width: 100%; }
    nav a { font-size: 0.85rem; letter-spacing: 1px; }
    
    .lang-switch { position: static; transform: none; margin: 5px auto 0 auto; width: 75px; height: 28px; padding: 3px; }
    .lang-option { font-size: 0.7rem; }
    
    .hero-section { padding: 2rem 1rem; gap: 1.5rem; }
    .hero-text h1 { font-size: 2.8rem; letter-spacing: 0; }
    .subtitle { font-size: 1.3rem; margin-bottom: 1rem; }
    .hero-text p { font-size: 0.95rem; line-height: 1.6; }
    .hero-actions { flex-direction: column; width: 100%; gap: 15px; }
    .btn-primary, .btn-secondary { width: 100%; text-align: center; padding: 12px; font-size: 0.95rem; }
    
    .container h1 { font-size: 2.5rem; margin-bottom: 2rem; }
    .card { padding: 1.5rem; }
    .heartbeat-card { padding: 2rem 1rem; }
    .action-group { flex-direction: column; width: 100%; }
    .main-btn, .exit-btn { width: 100%; }
    #song-display { font-size: 1.8rem; height: 120px; }
    .vinyl { width: 140px; height: 140px; }
}