/* ==========================================================================
   绽放的石头 · AI 音乐创作 —— 主样式（含 MV / 分享 / 视觉升级）
   设计：深色玻璃拟态 + 极光渐变，统一圆角/阴影节奏，尊重减弱动效偏好
   ========================================================================== */
:root {
  --bg: #150b26; --bg-alt: #1d1330;
  --surface: rgba(255,214,170,0.05); --surface-2: rgba(255,214,170,0.08); --surface-hover: rgba(255,214,170,0.12);
  --border: rgba(255,205,165,0.12); --border-strong: rgba(255,205,165,0.22);
  --text: #FBE9DD; --text-dim: #CDA98C;
  --brand: #FF9E5E; --brand-2: #FF6FA5; --accent: #FFD27D;
  --grad: linear-gradient(120deg, var(--brand), var(--brand-2));
  --grad-soft: linear-gradient(120deg, rgba(255,158,94,0.20), rgba(255,111,165,0.14));
  --radius: 20px; --radius-sm: 12px; --radius-xs: 10px;
  --shadow: 0 26px 64px rgba(0,0,0,0.55);
  --glow: 0 0 0 1px rgba(255,255,255,0.05), 0 22px 54px rgba(0,0,0,0.5);
  --maxw: 1180px; --header-h: 70px; --player-h: 84px;
  --ease: cubic-bezier(0.22,0.61,0.36,1);
  --font: system-ui,-apple-system,"Segoe UI","PingFang SC","Microsoft YaHei",sans-serif;
}

*,*::before,*::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: var(--font); font-size: 16px; line-height: 1.75;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden;
  /* 夕阳：顶部暮紫，向下渐暖至落日橙，底部一团暖光作落日 */
  background-image:
    radial-gradient(72% 52% at 50% 112%, rgba(255,140,70,0.42), transparent 62%),
    radial-gradient(42% 32% at 84% 96%, rgba(255,111,165,0.22), transparent 70%),
    radial-gradient(52% 42% at 12% 92%, rgba(255,210,120,0.16), transparent 70%),
    radial-gradient(60% 46% at 50% -10%, rgba(255,150,110,0.14), transparent 70%),
    linear-gradient(180deg, #150b26 0%, #1c1133 28%, #2c1840 52%, #4a2742 78%, #5e2f3a 100%);
  background-repeat: no-repeat; background-attachment: fixed;
}
body.has-player { padding-bottom: var(--player-h); }
body.modal-open { overflow: hidden; }
.mv-error { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; text-align: center; padding: 24px; color: var(--text); background: rgba(8,6,12,0.88); border-radius: 16px; z-index: 6; }
.mv-error p { margin: 0; font-size: 15px; line-height: 1.5; opacity: 0.92; }


/* ---------- 萤火虫层 ---------- */
#fireflies { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 2; pointer-events: none; }
img,svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul,ol { margin: 0; padding: 0; list-style: none; }
h1,h2,h3 { line-height: 1.22; margin: 0 0 0.5em; letter-spacing: -0.025em; }
p { margin: 0 0 1em; }
:focus-visible { outline: 2px solid var(--brand-2); outline-offset: 3px; border-radius: 6px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 200; background: var(--brand); color: #0b0b14; padding: 10px 16px; border-radius: 8px; font-weight: 700; transition: top 0.2s var(--ease); }
.skip-link:focus { top: 12px; }
.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: clamp(16px,4vw,32px); }

/* ---------- 按钮 ---------- */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 13px 24px; border: 1px solid transparent; border-radius: 999px; font-size: 15px; font-weight: 600; cursor: pointer; transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s var(--ease), filter 0.25s var(--ease); }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-primary { background: var(--grad); color: #08121a; box-shadow: 0 12px 30px rgba(255,123,85,0.35); }
.btn-primary:hover { box-shadow: 0 16px 40px rgba(255,123,85,0.5); filter: brightness(1.05); }
.btn-ghost { background: var(--surface); border-color: var(--border); color: var(--text); backdrop-filter: blur(8px); }
.btn-ghost:hover { background: var(--surface-hover); border-color: var(--border-strong); }

/* ---------- 顶部导航 ---------- */
.site-header { position: sticky; top: 0; z-index: 100; backdrop-filter: blur(16px) saturate(140%); background: rgba(8,8,16,0.66); border-bottom: 1px solid transparent; transition: border-color 0.3s var(--ease), background 0.3s var(--ease); }
.site-header.is-scrolled { border-bottom-color: var(--border); background: rgba(8,8,16,0.9); }
.header-inner { height: var(--header-h); display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; }
.brand-mark { display: grid; place-items: center; filter: drop-shadow(0 4px 12px rgba(255,123,85,0.4)); }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; font-size: 15px; }
.brand-text em { font-style: normal; font-size: 11px; font-weight: 500; color: var(--text-dim); letter-spacing: 0.14em; }
.nav ul { display: flex; align-items: center; gap: 4px; }
.nav a { display: block; padding: 9px 15px; border-radius: 999px; font-size: 15px; color: var(--text-dim); transition: color 0.2s var(--ease), background 0.2s var(--ease); }
.nav a:hover { color: var(--text); background: var(--surface); }
.nav-cta { color: #08121a !important; background: var(--grad); box-shadow: 0 8px 22px rgba(255,123,85,0.3); }
.nav-cta:hover { filter: brightness(1.08); background: var(--grad) !important; }
.nav-toggle { display: none; width: 44px; height: 44px; padding: 11px; background: var(--surface); border: 1px solid var(--border); border-radius: 13px; cursor: pointer; }
.nav-toggle span { display: block; height: 2px; background: var(--text); border-radius: 2px; transition: transform 0.25s var(--ease), opacity 0.2s var(--ease); }
.nav-toggle span + span { margin-top: 5px; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; padding: clamp(72px,13vw,140px) 0 clamp(56px,9vw,104px); overflow: hidden; isolation: isolate; }
.hero-aurora { position: absolute; inset: -25% -15% auto -15%; height: 150%; background:
    radial-gradient(38% 42% at 22% 28%, rgba(255,158,94,0.42), transparent 70%),
    radial-gradient(34% 40% at 78% 22%, rgba(255,111,165,0.34), transparent 70%),
    radial-gradient(42% 48% at 60% 82%, rgba(255,210,120,0.22), transparent 72%);
  filter: blur(34px); pointer-events: none; z-index: -2; animation: drift 18s var(--ease) infinite alternate; }
/* 细噪点纹理，增加质感 */
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: 0.5;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E"); }
.hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 160px; z-index: -1; pointer-events: none; background: linear-gradient(to bottom, transparent, rgba(94,47,58,0.55)); }
@keyframes drift { from { transform: translate3d(-2%,-1%,0) scale(1); } to { transform: translate3d(3%,2%,0) scale(1.08); } }
.hero-inner { position: relative; text-align: center; }
.eyebrow { display: inline-block; margin-bottom: 22px; padding: 7px 18px; border: 1px solid var(--border-strong); border-radius: 999px; background: rgba(255,255,255,0.05); color: var(--brand-2); font-size: 13px; letter-spacing: 0.09em; box-shadow: inset 0 1px 0 rgba(255,255,255,0.08); }
.hero h1 { font-size: clamp(32px,6.8vw,68px); margin-bottom: 20px; font-weight: 800;
  background: linear-gradient(120deg, #ffffff 36%, var(--brand) 66%, var(--brand-2));
  -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero h1::after { content: ""; display: block; width: 100px; height: 4px; margin: 24px auto 0; border-radius: 999px; background: var(--grad); box-shadow: 0 4px 18px rgba(255,123,85,0.5); }
.hero-desc { max-width: 640px; margin: 24px auto 0; color: var(--text-dim); font-size: clamp(15px,2.6vw,18px); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin-top: 30px; }
.hero-stats { display: flex; flex-wrap: wrap; justify-content: center; gap: clamp(28px,7vw,72px); margin: 60px 0 0; }
.hero-stats dt { color: var(--text-dim); font-size: 13px; letter-spacing: 0.06em; }
.hero-stats dd { margin: 6px 0 0; font-size: clamp(24px,4.8vw,38px); font-weight: 800;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- 通用 section ---------- */
.section { padding: clamp(60px,9vw,110px) 0; }
.section-alt { background: var(--bg-alt); border-block: 1px solid var(--border); }
.section-head { max-width: 640px; margin-bottom: 40px; }
.section-head h2 { font-size: clamp(26px,4.6vw,42px); font-weight: 800; }
.section-head p { color: var(--text-dim); margin: 0; }

/* ---------- 最新主打 ---------- */
.featured-grid { display: grid; gap: 22px; grid-template-columns: repeat(auto-fit, minmax(280px,1fr)); }
.feature-card { display: flex; gap: 20px; align-items: center; text-align: left; padding: 18px; width: 100%; cursor: pointer; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); color: var(--text); font: inherit; position: relative; transition: transform 0.3s var(--ease), background 0.3s var(--ease), border-color 0.3s var(--ease), box-shadow 0.3s var(--ease); }
.feature-card:hover { transform: translateY(-5px); background: var(--surface-hover); border-color: rgba(255,158,94,0.45); box-shadow: var(--shadow); }
.feature-card .cover { flex: 0 0 96px; aspect-ratio: 1; border-radius: 14px; position: relative; display: grid; place-items: center; overflow: hidden; box-shadow: inset 0 0 0 1px rgba(255,255,255,0.08); }
.feature-card .fc-text { min-width: 0; flex: 1; }
.feature-card h3 { font-size: 19px; margin-bottom: 2px; }
.feature-card .meta { color: var(--text-dim); font-size: 13px; }
.feature-card p { margin: 8px 0 0; color: var(--text-dim); font-size: 14px; }
.feature-card.is-playing { border-color: var(--brand); box-shadow: 0 0 0 1px var(--brand) inset, 0 18px 44px rgba(255,123,85,0.18); }

/* ---------- 筛选 ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 30px; }
.filter-btn { padding: 9px 20px; border-radius: 999px; cursor: pointer; font: inherit; font-size: 14px; background: var(--surface); border: 1px solid var(--border); color: var(--text-dim); transition: all 0.22s var(--ease); }
.filter-btn:hover { color: var(--text); background: var(--surface-hover); border-color: var(--border-strong); }
.filter-btn[aria-pressed="true"] { color: #08121a; font-weight: 700; border-color: transparent; background: var(--grad); box-shadow: 0 8px 22px rgba(255,123,85,0.3); }

/* ---------- 作品库卡片 ---------- */
.track-grid { display: grid; gap: 22px; grid-template-columns: repeat(auto-fill, minmax(248px,1fr)); }
.track-card { position: relative; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden;
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease), background 0.3s var(--ease), box-shadow 0.3s var(--ease);
  animation: rise 0.6s var(--ease) backwards; }
.track-card:hover { transform: translateY(-8px); background: var(--surface-hover); border-color: rgba(255,158,94,0.4); box-shadow: var(--shadow); }
/* 渐变描边（hover/播放中显示） */
.track-card::after { content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; background: var(--grad);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude;
  opacity: 0; transition: opacity 0.3s var(--ease); pointer-events: none; }
.track-card:hover::after { opacity: 1; }
.track-card.is-playing { border-color: var(--brand); box-shadow: 0 0 0 1px rgba(255,158,94,0.55), 0 20px 46px rgba(255,123,85,0.2); }
.track-card.is-playing::after { opacity: 1; }

.track-card .cover { aspect-ratio: 1; position: relative; display: grid; place-items: center; cursor: pointer; border: 0; width: 100%; padding: 0; font: inherit; color: #fff; background-size: cover; overflow: hidden; }
/* 封面中心圆形玻璃播放按钮 */
.track-card .cover svg, .feature-card .cover svg { width: 56px; height: 56px; padding: 13px; box-sizing: border-box;
  background: rgba(8,8,16,0.5); backdrop-filter: blur(8px); border: 1px solid rgba(255,255,255,0.4); border-radius: 50%; fill: #fff;
  opacity: 0.92; transition: transform 0.3s var(--ease), background 0.3s var(--ease), opacity 0.3s var(--ease), border-color 0.3s; }
.track-card .cover:hover svg, .feature-card .cover:hover svg { transform: scale(1.14); background: var(--grad); border-color: transparent; opacity: 1; }
.track-card .cover::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(6,6,14,0.55), rgba(6,6,14,0.05)); opacity: 0; transition: opacity 0.3s var(--ease); }
.track-card .cover:hover::after, .track-card .cover:focus-visible::after { opacity: 1; }
.track-card .cover .badge { position: absolute; z-index: 3; left: 12px; top: 12px; padding: 4px 11px; border-radius: 999px; font-size: 12px; background: rgba(8,8,16,0.62); backdrop-filter: blur(6px); border: 1px solid rgba(255,255,255,0.12); }
.mv-badge { position: absolute; z-index: 3; right: 12px; top: 12px; padding: 4px 11px; border-radius: 9px; font-size: 11px; font-weight: 800; letter-spacing: 0.06em; color: #14060f; background: linear-gradient(120deg, var(--accent), #fb923c); box-shadow: 0 4px 14px rgba(244,114,182,0.4); }

.track-body { padding: 17px 19px 21px; }
.track-body h3 { font-size: 17px; margin-bottom: 4px; }
.track-body .meta { color: var(--text-dim); font-size: 13px; display: flex; gap: 8px; align-items: center; }
.track-body p { margin: 10px 0 15px; color: var(--text-dim); font-size: 14px; }
.track-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.track-actions button { display: inline-flex; align-items: center; gap: 6px; padding: 9px 15px; border-radius: 999px; cursor: pointer; font: inherit; font-size: 13px; font-weight: 600; border: 1px solid var(--border); background: var(--surface); color: var(--text); transition: all 0.22s var(--ease); }
.track-actions button:hover { background: var(--surface-hover); border-color: var(--border-strong); transform: translateY(-1px); }
.track-actions .act-play { color: #08121a; border-color: transparent; background: var(--grad); }
.track-actions .act-mv { color: var(--accent); border-color: rgba(244,114,182,0.4); }
.track-actions .act-share { margin-left: auto; color: var(--text-dim); }
.track-actions .act-share:hover { color: var(--brand-2); }
.empty-state { text-align: center; color: var(--text-dim); padding: 44px 0; }

/* ---------- 创作流程时间线 ---------- */
.timeline { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(230px,1fr)); counter-reset: step; }
.timeline li { position: relative; padding: 26px 22px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; transition: transform 0.3s var(--ease), background 0.3s var(--ease), border-color 0.3s var(--ease); }
.timeline li::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--grad); opacity: 0; transition: opacity 0.3s var(--ease); }
.timeline li:hover { transform: translateY(-5px); background: var(--surface-hover); border-color: rgba(255,158,94,0.4); }
.timeline li:hover::before { opacity: 1; }
.timeline .step { display: inline-block; margin-bottom: 12px; font-size: 13px; font-weight: 800; letter-spacing: 0.1em; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.timeline h3 { font-size: 17px; }
.timeline p { margin: 0; color: var(--text-dim); font-size: 14px; }

/* ---------- 关于 ---------- */
.about-grid { display: grid; gap: clamp(28px,5vw,56px); align-items: center; grid-template-columns: minmax(0,320px) minmax(0,1fr); }
.about-avatar { border-radius: 26px; overflow: hidden; box-shadow: var(--shadow); }
.about-text h2 { font-size: clamp(26px,4.6vw,38px); font-weight: 800; }
.about-text p { color: var(--text-dim); }
.about-text strong { color: var(--text); }
.about-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.about-tags li { padding: 7px 15px; border-radius: 999px; font-size: 13px; background: var(--surface); border: 1px solid var(--border); color: var(--text-dim); }

/* ---------- 订阅 ---------- */
.subscribe-box { max-width: 660px; margin-inline: auto; text-align: center; padding: clamp(28px,5vw,48px); border: 1px solid var(--border); border-radius: calc(var(--radius) + 6px); background:
    radial-gradient(120% 140% at 50% 0%, rgba(255,123,85,0.14), transparent 60%), var(--surface); box-shadow: var(--glow); }
.subscribe-box h2 { font-size: clamp(24px,4vw,34px); }
.subscribe-box > p { color: var(--text-dim); }
.subscribe-form { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 24px; }
.subscribe-form input { flex: 1 1 260px; min-width: 0; padding: 13px 20px; border-radius: 999px; background: rgba(255,255,255,0.06); border: 1px solid var(--border); color: var(--text); font: inherit; font-size: 15px; transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease); }
.subscribe-form input:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(255,158,94,0.22); }
.subscribe-form input::placeholder { color: #6f7690; }
.form-tip { flex: 1 1 100%; margin: 6px 0 0; min-height: 22px; font-size: 14px; color: var(--brand-2); }
.form-tip.is-error { color: #fb7185; }

/* ---------- 页脚 ---------- */
.site-footer { border-top: 1px solid var(--border); padding: 36px 0; position: relative; }
.site-footer::before { content: ""; position: absolute; top: -1px; left: 50%; transform: translateX(-50%); width: min(420px, 70%); height: 1px; background: var(--grad); opacity: 0.5; }
.footer-inner { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; justify-content: space-between; }
.site-footer p { margin: 0; color: var(--text-dim); font-size: 14px; }
.social { display: flex; flex-wrap: wrap; gap: 18px; }
.social a { color: var(--text-dim); font-size: 14px; transition: color 0.2s var(--ease); }
.social a:hover { color: var(--brand-2); }

/* ---------- 音频播放条 ---------- */
.player { position: fixed; left: 0; right: 0; bottom: 0; z-index: 120; background: rgba(12,12,22,0.82); backdrop-filter: blur(24px) saturate(150%); border-top: 1px solid var(--border); box-shadow: 0 -10px 40px rgba(0,0,0,0.5); animation: slideUp 0.35s var(--ease); }
@keyframes slideUp { from { transform: translateY(100%); } to { transform: translateY(0); } }
.player-inner { min-height: var(--player-h); display: grid; align-items: center; gap: 16px; grid-template-columns: minmax(160px,1fr) auto minmax(200px,2fr) auto; padding-block: 12px; }
.player-meta { display: flex; align-items: center; gap: 12px; min-width: 0; }
.player-cover { flex: 0 0 48px; height: 48px; border-radius: 12px; background: var(--grad); background-size: cover; box-shadow: 0 6px 18px rgba(255,123,85,0.35); }
.player-titles { min-width: 0; }
.player-titles strong { display: block; font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.player-titles small { color: var(--text-dim); font-size: 12px; }
.player-controls { display: flex; align-items: center; gap: 6px; }
.player-controls button { display: grid; place-items: center; width: 42px; height: 42px; cursor: pointer; background: transparent; border: 0; border-radius: 50%; color: var(--text-dim); transition: color 0.2s var(--ease), background 0.2s var(--ease); }
.player-controls button:hover { color: var(--text); background: var(--surface-hover); }
.play-btn { width: 50px !important; height: 50px !important; color: #08121a !important; background: var(--grad) !important; box-shadow: 0 8px 22px rgba(255,123,85,0.4); }
.play-btn:hover { filter: brightness(1.08); box-shadow: 0 10px 28px rgba(255,123,85,0.55); }
.player-progress { display: flex; align-items: center; gap: 10px; }
.time { font-size: 12px; color: var(--text-dim); font-variant-numeric: tabular-nums; min-width: 42px; text-align: center; }
.player-volume { display: flex; align-items: center; gap: 8px; }
.player-volume button { display: grid; place-items: center; width: 36px; height: 36px; cursor: pointer; background: transparent; border: 0; border-radius: 50%; color: var(--text-dim); }
.player-volume button:hover { color: var(--text); }
input[type="range"] { -webkit-appearance: none; appearance: none; height: 5px; border-radius: 999px; cursor: pointer; background: rgba(255,255,255,0.16); }
#seek { flex: 1; min-width: 0; }
#volume { width: 88px; }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; appearance: none; width: 15px; height: 15px; border-radius: 50%; background: #fff; border: 0; box-shadow: 0 0 0 3px rgba(255,111,165,0.28); transition: transform 0.15s var(--ease); }
input[type="range"]::-webkit-slider-thumb:hover { transform: scale(1.2); }
input[type="range"]::-moz-range-thumb { width: 15px; height: 15px; border: 0; border-radius: 50%; background: #fff; box-shadow: 0 0 0 3px rgba(255,111,165,0.28); }
.player-error { padding: 9px 0; text-align: center; font-size: 13px; color: #fb7185; background: rgba(251,113,133,0.12); }

/* ---------- MV 弹窗 ---------- */
.modal { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: clamp(12px,4vw,40px); }
.modal[hidden] { display: none; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(4,4,10,0.85); backdrop-filter: blur(8px); }
.modal-box { position: relative; width: min(960px, 100%); background: var(--bg-alt); border: 1px solid var(--border-strong); border-radius: calc(var(--radius) + 4px); overflow: hidden; box-shadow: 0 40px 90px rgba(0,0,0,0.7); animation: pop 0.3s var(--ease); }
@keyframes pop { from { transform: scale(0.95) translateY(10px); opacity: 0; } to { transform: scale(1) translateY(0); opacity: 1; } }
.modal-head { display: flex; align-items: center; justify-content: space-between; padding: 15px 20px; border-bottom: 1px solid var(--border); }
.modal-head h3 { margin: 0; font-size: 17px; }
.modal-close { width: 40px; height: 40px; border: 1px solid var(--border); border-radius: 12px; background: var(--surface); color: var(--text); font-size: 24px; line-height: 1; cursor: pointer; transition: background 0.2s var(--ease), transform 0.2s var(--ease); }
.modal-close:hover { background: var(--surface-hover); transform: rotate(90deg); }
.modal-video-wrap { position: relative; aspect-ratio: 16/9; background: #000; }
.modal-video-wrap video { width: 100%; height: 100%; display: block; background: #000; }
.mv-loading { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; gap: 10px; color: var(--text-dim); font-size: 14px; background: rgba(0,0,0,0.55); }
.spinner { width: 20px; height: 20px; border: 2px solid rgba(255,255,255,0.25); border-top-color: var(--brand-2); border-radius: 50%; animation: spin 0.8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.modal-actions { display: flex; gap: 10px; padding: 15px 20px; flex-wrap: wrap; }

/* ---------- 分享 Toast ---------- */
.toast { position: fixed; left: 50%; bottom: calc(var(--player-h) + 18px); transform: translateX(-50%) translateY(12px); z-index: 300; max-width: 90vw; background: rgba(14,14,24,0.96); border: 1px solid var(--border-strong); color: var(--text); padding: 13px 20px; border-radius: 999px; font-size: 14px; box-shadow: var(--shadow); opacity: 0; pointer-events: none; transition: opacity 0.25s var(--ease), transform 0.25s var(--ease); word-break: break-all; }
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ---------- 卡片入场动画 ---------- */
@keyframes rise { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }

/* ---------- 滚动入场（仅 JS 成功加载后启用，保证无 JS 时内容可见） ---------- */
html.reveal-ready .section { opacity: 0; transform: translateY(34px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
html.reveal-ready .section.in { opacity: 1; transform: none; }

/* ============ 响应式：平板 / 手机 / 小屏手机 ============ */
@media (max-width: 900px) {
  .nav { position: fixed; inset: var(--header-h) 0 auto 0; z-index: 99; background: rgba(8,8,16,0.98); border-bottom: 1px solid var(--border); padding: 14px 20px 22px; transform: translateY(-12px); opacity: 0; pointer-events: none; transition: opacity 0.22s var(--ease), transform 0.22s var(--ease); }
  .nav.is-open { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .nav ul { flex-direction: column; align-items: stretch; gap: 4px; }
  .nav a { padding: 13px 15px; font-size: 16px; border-radius: 12px; }
  .nav-cta { text-align: center; margin-top: 6px; }
  .nav-toggle { display: block; }
  .about-grid { grid-template-columns: 1fr; }
  .about-avatar { max-width: 260px; }
  .player-inner { grid-template-columns: minmax(120px,1fr) auto minmax(140px,2fr); }
  .player-volume { display: none; }
}

@media (max-width: 768px) {
  :root { --header-h: 60px; --player-h: 70px; }
  .hero { padding: clamp(54px,12vw,96px) 0 clamp(44px,9vw,80px); }
  .hero h1 { font-size: clamp(28px,8vw,44px); }
  .hero-desc { font-size: 15px; }
  .hero-stats { gap: 22px 36px; margin-top: 38px; }
  .section { padding: clamp(48px,9vw,80px) 0; }
  .featured-grid { grid-template-columns: 1fr; }
  .track-grid { grid-template-columns: repeat(auto-fill, minmax(160px,1fr)); gap: 16px; }
  .timeline { grid-template-columns: 1fr 1fr; }
  .about-avatar { max-width: 200px; margin-inline: auto; }
}

@media (max-width: 540px) {
  :root { --radius: 16px; --radius-sm: 11px; }
  .container { padding-inline: 16px; }
  .header-inner { gap: 10px; }
  .brand-text { font-size: 14px; }
  .nav-toggle { width: 40px; height: 40px; }
  .hero h1 { font-size: clamp(26px,9vw,38px); }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .hero-stats { gap: 18px 26px; }
  .track-grid { grid-template-columns: 1fr; }
  .track-body { padding: 15px 16px 18px; }
  .track-actions { gap: 7px; }
  .track-actions button { flex: 1 1 auto; justify-content: center; padding: 10px 12px; font-size: 13px; }
  .timeline { grid-template-columns: 1fr; }
  .subscribe-box { padding: 24px 18px; }
  .btn { padding: 12px 20px; font-size: 14px; }
  .footer-inner { flex-direction: column; text-align: center; gap: 10px; }
  .social { justify-content: center; }
  .player-inner { grid-template-columns: minmax(0,1fr) auto; gap: 6px 10px; padding-block: 8px; }
  .player-meta { min-width: 0; }
  .player-titles strong { font-size: 14px; }
  .player-progress { grid-column: 1 / -1; order: 3; }
  .subscribe-form input { flex: 1 1 100%; }
  .subscribe-form .btn { width: 100%; justify-content: center; }

  /* MV 弹窗：手机上近全屏，方便看视频 */
  .modal { padding: 0; align-items: stretch; justify-items: stretch; }
  .modal-box { width: 100%; height: 100%; border-radius: 0; display: flex; flex-direction: column; }
  .modal-head { padding: 12px 14px; }
  .modal-close { width: 44px; height: 44px; font-size: 26px; }
  .modal-video-wrap { flex: 1; aspect-ratio: auto; min-height: 0; }
  .modal-actions { padding: 12px 14px; }
  .modal-actions button { flex: 1 1 auto; justify-content: center; padding: 12px; }
  .mv-loading { font-size: 13px; }
}

@media (max-width: 380px) {
  .track-grid { grid-template-columns: 1fr; }
  .hero-stats { gap: 14px 18px; }
  .player-controls button { width: 38px; height: 38px; }
  .play-btn { width: 46px !important; height: 46px !important; }
  .brand-text em { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,*::before,*::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
  html.reveal-ready .section { opacity: 1 !important; transform: none !important; }
}
