/* =========================================================
   吾爱音乐 官网 — Liquid Glass 深色主题
   深空灰底 + 香槟金强调；玻璃拟态；响应式自适应
   ========================================================= */

:root {
  color-scheme: dark;
  --bg: #0c0c0f;
  --bg-2: #121216;
  --surface: rgba(255, 255, 255, 0.045);
  --surface-2: rgba(255, 255, 255, 0.07);
  --border: rgba(255, 255, 255, 0.10);
  --border-strong: rgba(255, 255, 255, 0.18);
  --text: #f3efe8;
  --text-dim: #a9a39a;
  --text-faint: #6f6a63;
  --gold: #c9a96e;
  --gold-soft: #e6d2a4;
  --gold-deep: #a8884f;
  --gold-grad: linear-gradient(135deg, #e8d4a8 0%, #c9a96e 55%, #a8884f 100%);
  --radius: 20px;
  --radius-sm: 12px;
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
  --maxw: 1160px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- 浅色主题（覆盖变量） ---------- */
[data-theme="light"] {
  color-scheme: light;
  --bg: #f7f5f0;
  --bg-2: #efece4;
  --surface: rgba(20, 18, 14, 0.035);
  --surface-2: rgba(20, 18, 14, 0.06);
  --border: rgba(20, 18, 14, 0.10);
  --border-strong: rgba(20, 18, 14, 0.18);
  --text: #211d16;
  --text-dim: #5f5749;
  --text-faint: #9a9081;
  --gold: #b08a45;
  --gold-soft: #8a6a32;
  --gold-deep: #6f5424;
  --gold-grad: linear-gradient(135deg, #e3c589 0%, #c9a96e 55%, #a8884f 100%);
  --shadow: 0 20px 60px rgba(60, 50, 25, 0.13);
}

/* 浅色下减弱光晕、调整导航/移动菜单/进度条底色 */
[data-theme="light"] .orb { opacity: 0.3; }
[data-theme="light"] .nav.is-scrolled {
  background: rgba(247, 245, 240, 0.78);
}
[data-theme="light"] .nav__links.is-open {
  background: rgba(247, 245, 240, 0.98);
}
[data-theme="light"] .player__progress { background: rgba(0, 0, 0, 0.1); }
[data-theme="light"] .btn--ghost:hover { background: rgba(0, 0, 0, 0.05); }

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: "Noto Sans SC", system-ui, -apple-system, "Segoe UI", "PingFang SC",
    "Microsoft YaHei", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  letter-spacing: 0.01em;
}

a { color: inherit; text-decoration: none; }
img, svg { display: block; }

.gold { color: var(--gold-soft); }

/* ---------- 玻璃卡片 ---------- */
.glass {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  box-shadow: var(--shadow);
}

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  padding: 0.85em 1.7em;
  border-radius: 999px;
  font-weight: 500;
  font-size: 0.95rem;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease),
    background 0.35s var(--ease), opacity 0.3s;
  white-space: nowrap;
}
.btn--gold {
  background: var(--gold-grad);
  color: #1a140a;
  font-weight: 700;
  box-shadow: 0 10px 30px rgba(201, 169, 110, 0.28);
}
.btn--gold:hover { transform: translateY(-2px); box-shadow: 0 16px 40px rgba(201, 169, 110, 0.4); }
.btn--ghost {
  background: var(--surface-2);
  border-color: var(--border-strong);
  color: var(--text);
}
.btn--ghost:hover { transform: translateY(-2px); background: rgba(255, 255, 255, 0.12); }
.btn[disabled], .btn.is-disabled { opacity: 0.45; pointer-events: none; }

/* ---------- 导航 ---------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  transition: background 0.4s, border-color 0.4s, backdrop-filter 0.4s;
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled {
  background: rgba(12, 12, 15, 0.72);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom-color: var(--border);
}
.nav__inner {
  max-width: var(--maxw);
  margin: 0 auto;
  height: 68px;
  padding: 0 clamp(16px, 4vw, 32px);
  display: flex;
  align-items: center;
  gap: 24px;
}
.brand { display: flex; align-items: center; gap: 10px; }
.brand__mark { display: grid; place-items: center; filter: drop-shadow(0 4px 10px rgba(201,169,110,.4)); }
.brand__name { font-weight: 700; font-size: 1.15rem; letter-spacing: 0.04em; }
.nav__links { display: flex; gap: 30px; margin-left: auto; }
.nav__links a { color: var(--text-dim); font-size: 0.95rem; transition: color 0.3s; position: relative; }
.nav__links a:hover { color: var(--text); }
.nav__links a::after {
  content: ""; position: absolute; left: 0; bottom: -6px; height: 2px; width: 0;
  background: var(--gold-grad); transition: width 0.3s var(--ease);
}
.nav__links a:hover::after { width: 100%; }
.nav__cta { padding: 0.6em 1.3em; }
.nav__toggle {
  display: none; flex-direction: column; gap: 5px; background: none; border: 0;
  cursor: pointer; padding: 8px; margin-left: auto;
}
.nav__toggle span { width: 24px; height: 2px; background: var(--text); border-radius: 2px; transition: 0.3s; }
.nav__theme {
  display: inline-grid; place-items: center;
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--surface-2); border: 1px solid var(--border-strong);
  color: var(--text); cursor: pointer; margin-left: 6px;
  transition: transform 0.3s var(--ease), background 0.3s, border-color 0.3s;
}
.nav__theme:hover { transform: translateY(-2px); background: var(--surface); }
.nav__theme:active { transform: scale(0.92); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px clamp(16px, 4vw, 32px) 80px;
  overflow: hidden;
}
.hero__bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.orb {
  position: absolute; border-radius: 50%; filter: blur(90px); opacity: 0.5;
  animation: float 16s ease-in-out infinite;
}
.orb--1 { width: 460px; height: 460px; top: -120px; left: -80px;
  background: radial-gradient(circle, rgba(201,169,110,0.55), transparent 70%); }
.orb--2 { width: 520px; height: 520px; bottom: -160px; right: -120px;
  background: radial-gradient(circle, rgba(120,90,180,0.4), transparent 70%); animation-delay: -5s; }
.orb--3 { width: 360px; height: 360px; top: 40%; left: 55%;
  background: radial-gradient(circle, rgba(60,120,160,0.35), transparent 70%); animation-delay: -9s; }
@keyframes float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(20px, -30px) scale(1.06); }
}
.hero__inner {
  position: relative; z-index: 1;
  max-width: var(--maxw); margin: 0 auto; width: 100%;
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 60px; align-items: center;
}
.eyebrow {
  display: inline-block; font-size: 0.82rem; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--gold); font-weight: 500; margin-bottom: 18px;
  padding: 6px 14px; border: 1px solid var(--border-strong); border-radius: 999px;
  background: var(--surface);
}
.hero__title {
  font-size: clamp(2.6rem, 6vw, 4.6rem); font-weight: 900; line-height: 1.08;
  letter-spacing: -0.01em; margin-bottom: 22px;
}
.hero__lead { color: var(--text-dim); font-size: clamp(1rem, 1.4vw, 1.15rem); max-width: 30em; margin-bottom: 34px; }
.hero__actions { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 44px; }
.hero__stats { display: flex; gap: 40px; flex-wrap: wrap; }
.hero__stats strong { display: block; font-size: 1.9rem; font-weight: 700; color: var(--gold-soft); }
.hero__stats span { font-size: 0.85rem; color: var(--text-faint); }

/* Hero 播放器展示 */
.hero__visual { display: grid; place-items: center; }
.player {
  width: min(330px, 80vw); padding: 26px; border-radius: 28px;
  display: flex; flex-direction: column; gap: 18px;
  position: relative; overflow: hidden;
  animation: rise 1s var(--ease) both;
}
@keyframes rise { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: none; } }
.player__art {
  position: relative; aspect-ratio: 1; border-radius: 20px; overflow: hidden;
  background: linear-gradient(135deg, #2a2333, #3a2f24 50%, #1d2730);
  display: grid; place-items: center;
}
.player__disc {
  width: 46%; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle at 50% 50%, #c9a96e 0 18%, #1a1a1e 19% 100%);
  position: relative; animation: spin 8s linear infinite;
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}
.player__hole { position: absolute; inset: 42%; border-radius: 50%; background: #0c0c0f; }
@keyframes spin { to { transform: rotate(360deg); } }
.player__sheen {
  position: absolute; inset: 0;
  background: linear-gradient(115deg, transparent 30%, rgba(255,255,255,0.12) 50%, transparent 70%);
}
.player__meta { text-align: center; }
.player__title { font-weight: 700; font-size: 1.1rem; }
.player__artist { color: var(--text-dim); font-size: 0.85rem; }
.player__bars { display: flex; align-items: flex-end; justify-content: center; gap: 4px; height: 38px; }
.player__bars span {
  width: 4px; border-radius: 4px; background: var(--gold-grad);
  animation: eq 1.1s ease-in-out infinite;
}
.player__bars span:nth-child(odd) { animation-duration: 0.9s; }
.player__bars span:nth-child(3n) { animation-duration: 1.3s; }
@keyframes eq { 0%,100% { height: 18%; } 50% { height: 100%; } }
.player__progress { height: 5px; border-radius: 5px; background: rgba(255,255,255,0.12); overflow: hidden; }
.player__progress i { display: block; height: 100%; background: var(--gold-grad); }
.player__controls { display: flex; align-items: center; justify-content: center; gap: 26px; }
.player__controls .ic { font-size: 1.1rem; color: var(--text-dim); }
.player__controls .ic--play {
  width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center;
  background: var(--gold-grad); color: #1a140a; font-size: 0.9rem;
}

.hero__scroll {
  position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%);
  font-size: 0.8rem; color: var(--text-faint); letter-spacing: 0.1em;
  animation: bob 2s ease-in-out infinite;
}
@keyframes bob { 0%,100% { transform: translateX(-50%) translateY(0); } 50% { transform: translateX(-50%) translateY(6px); } }

/* ---------- 通用区块 ---------- */
.section { max-width: var(--maxw); margin: 0 auto; padding: clamp(70px, 10vw, 120px) clamp(16px, 4vw, 32px); }
.section--alt { max-width: none; background: linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 50%, var(--bg) 100%); }
.section--alt > * { max-width: var(--maxw); margin-left: auto; margin-right: auto; }
.section__head { text-align: center; margin-bottom: 56px; }
.section__head h2 { font-size: clamp(1.9rem, 4vw, 2.8rem); font-weight: 800; letter-spacing: -0.01em; margin-bottom: 14px; }
.section__sub { color: var(--text-dim); font-size: 1.02rem; max-width: 36em; margin: 0 auto; }

/* ---------- 功能网格 ---------- */
.grid { display: grid; gap: 22px; }
.grid--features { grid-template-columns: repeat(4, 1fr); }
.card { padding: 30px 26px; transition: transform 0.4s var(--ease), border-color 0.4s, box-shadow 0.4s; }
.card:hover { transform: translateY(-6px); border-color: var(--border-strong); box-shadow: 0 28px 70px rgba(0,0,0,0.55); }
.card__icon {
  width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center;
  background: var(--surface-2); color: var(--gold); margin-bottom: 18px;
  border: 1px solid var(--border);
}
.card h3 { font-size: 1.18rem; margin-bottom: 10px; }
.card p { color: var(--text-dim); font-size: 0.95rem; }

/* ---------- 平台卡 ---------- */
.grid--platforms { grid-template-columns: repeat(3, 1fr); align-items: stretch; }
.platform { padding: 36px 30px; display: flex; flex-direction: column; position: relative; transition: transform 0.4s var(--ease), border-color 0.4s; }
.platform:hover { transform: translateY(-8px); border-color: var(--border-strong); }
.platform--feature { border-color: rgba(201,169,110,0.35); background: linear-gradient(180deg, rgba(201,169,110,0.08), var(--surface)); }
.platform__badge {
  position: absolute; top: 18px; right: 18px; font-size: 0.72rem; font-weight: 600;
  color: var(--gold-soft); padding: 4px 10px; border-radius: 999px;
  border: 1px solid rgba(201,169,110,0.4); background: rgba(201,169,110,0.1);
}
.platform__icon { color: var(--gold); margin-bottom: 14px; }
.platform h3 { font-size: 1.4rem; margin-bottom: 10px; }
.platform__desc { color: var(--text-dim); font-size: 0.95rem; flex: 1; }
.platform__tags { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 22px; }
.platform__tags li { font-size: 0.78rem; color: var(--text-dim); padding: 4px 10px; border-radius: 999px; background: var(--surface-2); border: 1px solid var(--border); }
/* 版本角标在上、双下载按钮在下（纵向堆叠：版本号独占一行，按钮平分卡片宽度） */
.platform__foot { display: flex; flex-direction: column; align-items: stretch; gap: 12px; }
.platform__ver { font-size: 0.85rem; color: var(--gold-soft); font-weight: 500; }
/* 国内（码云）/ 国际（GitHub）双下载入口，等宽并排 */
.platform__btns { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.platform__btns .btn { padding: 0.8em 1em; font-size: 0.9rem; }
/* 按 ABI 分发的独立包链接行（清单带 variants 时才渲染；hidden 属性优先） */
.platform__alts { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 12px; }
.platform__alts[hidden] { display: none; }
.alts__label { font-size: 0.76rem; color: var(--text-faint); letter-spacing: 0.06em; }
/* 标签 + 它的链接包成一组：卡片窄到放不下时，整组换行而不是把标签和链接拆开 */
.alts__group { display: inline-flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.alts__group--mirror { margin-left: 6px; }
.alts__link {
  font-size: 0.76rem; color: var(--text-dim); text-decoration: none;
  padding: 3px 9px; border-radius: 999px;
  border: 1px solid var(--border); background: var(--surface);
  transition: color 0.25s var(--ease), border-color 0.25s var(--ease);
}
.alts__link:hover { color: var(--gold-soft); border-color: var(--border-strong); }
/* 次级文字链形态（虚线小胶囊）：**只用于非按钮的 mirror-link**。
   卡片里的「国内下载」现在是金色按钮，外观由 .btn/.btn--gold 接管；
   这里必须排除 .btn，否则会把它同时压成 0.76rem 的虚线小标签。 */
a.mirror-link:not(.btn) {
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--text-faint); text-decoration: none;
  padding: 3px 10px; border-radius: 999px;
  border: 1px dashed var(--border); background: var(--surface);
  transition: color 0.25s var(--ease), border-color 0.25s var(--ease);
}
a.mirror-link:not(.btn)::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%;
  background: var(--gold); opacity: 0.7; flex: none;
}
a.mirror-link:not(.btn):hover { color: var(--gold-soft); border-color: var(--border-strong); }
.platforms__note { text-align: center; color: var(--text-faint); font-size: 0.88rem; margin-top: 36px; }

/* ---------- 界面预览 ---------- */
/* 两行布局：
   行一 三端「正在播放」—— 手机竖屏窄、车机与电视横屏宽，垂直居中对成一组；
   行二 手机端「可视化 / 均衡器」—— 左侧一段说明，右侧两张竖屏图。
   三张横屏图（车机/电视）用 .shot--wide：圆角略小、悬停位移也小一点。 */
.shots { display: grid; gap: 34px; }
.shots--devices { grid-template-columns: minmax(0, 0.6fr) minmax(0, 1fr) minmax(0, 1fr); align-items: center; }
.shots--pages { grid-template-columns: minmax(0, 1fr) minmax(0, 258px) minmax(0, 258px); align-items: center; }
.shots__note { max-width: 32em; }
.shots__note h3 { font-size: 1.3rem; margin-bottom: 10px; }
.shots__note p { color: var(--text-dim); font-size: 0.95rem; line-height: 1.8; }
.shots__note ul { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.shots__note li { font-size: 0.78rem; color: var(--text-dim); padding: 4px 10px; border-radius: 999px; background: var(--surface-2); border: 1px solid var(--border); }

.shot { margin: 0; }
.shot__frame {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  background: var(--surface-2);
  border: 1px solid var(--border-strong);
  box-shadow: var(--shadow);
  transition: transform 0.5s var(--ease), border-color 0.5s, box-shadow 0.5s;
}
/* 玻璃高光：左上到右下的斜向渐变，与站内 .glass 观感一致 */
.shot__frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(150deg, rgba(255, 255, 255, 0.10), transparent 42%);
  pointer-events: none;
}
.shot img { width: 100%; height: auto; }
.shot:hover .shot__frame {
  transform: translateY(-8px);
  border-color: var(--gold);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.55);
}
.shot figcaption {
  margin-top: 14px;
  text-align: center;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text);
}
.shot figcaption span {
  display: block;
  margin-top: 5px;
  font-size: 0.78rem;
  font-weight: 400;
  color: var(--text-faint);
}
/* 横屏大图（车机 / 电视）：圆角略小，悬停位移也小一点 */
.shot--wide .shot__frame { border-radius: 18px; }
.shot--wide:hover .shot__frame { transform: translateY(-6px); }

/* ---------- 更新中心 ---------- */
.update { padding: 34px; }
.update__bar { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding-bottom: 22px; border-bottom: 1px solid var(--border); }
.update__label { display: block; font-size: 0.8rem; color: var(--text-faint); letter-spacing: 0.08em; }
.update__latest { font-size: 2rem; font-weight: 800; color: var(--gold-soft); }
.update__status { display: flex; align-items: center; gap: 8px; font-size: 0.9rem; color: var(--text-dim); }
.update__status .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 0 rgba(201,169,110,0.6); animation: pulse 1.8s infinite; }
.update__status.is-ok .dot { background: #5cb984; }
.update__status.is-err .dot { background: #d4756b; animation: none; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(201,169,110,0.5); } 70% { box-shadow: 0 0 0 8px rgba(201,169,110,0); } 100% { box-shadow: 0 0 0 0 rgba(201,169,110,0); } }

.update__table { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; padding: 24px 0; }
.vrow { padding: 16px 18px; border-radius: var(--radius-sm); background: var(--surface-2); border: 1px solid var(--border); }
.vrow__name { font-size: 0.8rem; color: var(--text-faint); }
.vrow__ver { font-size: 1.2rem; font-weight: 700; color: var(--text); }
.vrow__meta { font-size: 0.78rem; color: var(--text-dim); margin-top: 4px; }

.update__log h3 { font-size: 1.05rem; margin-bottom: 14px; color: var(--gold-soft); }
.update__log-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 14px; }
.update__log-head h3 { margin-bottom: 0; }

/* 设备类型筛选（手机 / HD·车机 / 电视）
   —— 三端是三个独立应用、构建号各自递增，更新日志需要能分开看。
   选中态用「金字 + 金边」而不是实底金：实底金上的文字在浅色主题下
   无论填黑还是填白都只有 2~3:1，达不到正文可读线。 */
.logfilter { display: flex; gap: 8px; flex-wrap: wrap; }
.logfilter__chip {
  font: inherit; font-size: 0.8rem; line-height: 1;
  padding: 8px 14px; border-radius: 999px; cursor: pointer;
  color: var(--text-dim); background: var(--surface); border: 1px solid var(--border);
  transition: color .25s var(--ease), border-color .25s var(--ease), background .25s var(--ease);
}
.logfilter__chip:hover { color: var(--text); border-color: var(--border-strong); }
.logfilter__chip.is-active {
  color: var(--gold-soft); background: var(--surface-2);
  border-color: var(--gold); font-weight: 600;
}

.changelog { display: flex; flex-direction: column; gap: 12px; }
.changelog__item { padding: 14px 18px; border-radius: var(--radius-sm); background: var(--surface); border: 1px solid var(--border); }
.changelog__item .ci-head { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 6px; }
.changelog__item .ci-ver { font-size: 0.85rem; font-weight: 600; color: var(--gold-soft); }
.changelog__item .ci-meta { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.changelog__item .ci-date { font-size: 0.78rem; color: var(--text-faint); }
.changelog__item .ci-chip {
  font-size: 0.72rem; line-height: 1; padding: 4px 9px; border-radius: 999px;
  color: var(--gold); background: var(--surface-2); border: 1px solid var(--border);
}
.changelog__item p { color: var(--text-dim); font-size: 0.92rem; white-space: pre-line; }
.changelog__empty { color: var(--text-faint); font-size: 0.9rem; }

/* ---------- OTA 步骤 ---------- */
.grid--steps { grid-template-columns: repeat(4, 1fr); }
.step { padding: 30px 26px; transition: transform 0.4s var(--ease), border-color 0.4s; }
.step:hover { transform: translateY(-6px); border-color: var(--border-strong); }
.step__no { font-size: 1.6rem; font-weight: 900; color: var(--gold); opacity: 0.7; display: block; margin-bottom: 12px; }
.step h3 { font-size: 1.15rem; margin-bottom: 8px; }
.step p { color: var(--text-dim); font-size: 0.92rem; }
.ota__note { text-align: center; color: var(--text-faint); font-size: 0.9rem; margin-top: 40px; max-width: 44em; margin-left: auto; margin-right: auto; }

/* ---------- 下载统计 ---------- */
/* 数字未拿到时整块隐藏（.is-pending），避免先闪一个 0 再跳成真实值 */
.dlstats { text-align: center; margin-top: 30px; }
.dlstats.is-pending { visibility: hidden; }
.dlstats__total { color: var(--text-dim); font-size: 1rem; }
.dlstats__total strong {
  font-size: 1.75rem; font-weight: 700; color: var(--gold-soft);
  margin: 0 6px; font-variant-numeric: tabular-nums; letter-spacing: 0.01em;
}
.dlstats__break { margin-top: 8px; color: var(--text-faint); font-size: 0.84rem; }

/* ---------- 页脚 ---------- */
.footer { border-top: 1px solid var(--border); margin-top: 40px; }
.footer__inner { max-width: var(--maxw); margin: 0 auto; padding: 50px clamp(16px, 4vw, 32px); display: flex; flex-wrap: wrap; gap: 30px; align-items: flex-start; justify-content: space-between; }
.footer__brand p { color: var(--text-dim); font-size: 0.9rem; margin-top: 8px; max-width: 22em; }
.footer__links { display: flex; gap: 26px; flex-wrap: wrap; }
.footer__links a { color: var(--text-dim); font-size: 0.92rem; transition: color 0.3s; }
.footer__links a:hover { color: var(--gold-soft); }
.footer__copy { width: 100%; color: var(--text-faint); font-size: 0.82rem; border-top: 1px solid var(--border); padding-top: 22px; }

/* ---------- 加入 QQ 粉丝群 ---------- */
/* 整张卡片是 <a>，所以按钮外观要自己写（不能嵌套 .btn，a 里不能再放 a）。
   悬停抬升靠 .joingroup:hover —— 见文末 .reveal 的说明，这里用的是 transform 而非 translate。 */
.joingroup {
  display: flex;
  align-items: center;
  gap: 20px;
  max-width: 720px;
  margin: 0 auto;
  padding: 24px 30px;
  color: var(--text);
  transition: transform 0.4s var(--ease), border-color 0.4s,
    box-shadow 0.4s;
}
.joingroup:hover {
  transform: translateY(-6px);
  border-color: rgba(201, 169, 110, 0.55);
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.5);
}
[data-theme="light"] .joingroup:hover { box-shadow: 0 28px 70px rgba(60, 50, 25, 0.18); }
.joingroup__avatar {
  flex: none;
  width: 66px;
  height: 66px;
  border-radius: 20px;
  display: grid;
  place-items: center;
  color: var(--gold);
  background: var(--surface-2);
  border: 1px solid var(--border);
  transition: border-color 0.4s, transform 0.4s var(--ease);
}
.joingroup:hover .joingroup__avatar { border-color: var(--border-strong); transform: scale(1.04); }
.joingroup__body { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.joingroup__title { font-size: 1.16rem; font-weight: 700; letter-spacing: 0.01em; }
.joingroup__desc { color: var(--text-dim); font-size: 0.9rem; }
/* 金色胶囊按钮：外观对齐 .btn--gold，但不加 .btn 类（保持 <a> 内无嵌套交互元素） */
.joingroup__cta {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0.85em 1.6em;
  border-radius: 999px;
  background: var(--gold-grad);
  color: #1a140a;
  font-weight: 700;
  font-size: 0.95rem;
  box-shadow: 0 10px 30px rgba(201, 169, 110, 0.28);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.joingroup:hover .joingroup__cta {
  transform: translateY(-2px);
  box-shadow: 0 16px 40px rgba(201, 169, 110, 0.4);
}
.joingroup__note { text-align: center; color: var(--text-faint); font-size: 0.84rem; margin-top: 20px; }

/* ---------- 滚动入场 ---------- */
/* ⚠️ 入场位移用独立属性 `translate`，**不要用 `transform`**。
   .reveal 与 .card / .platform / .step / .joingroup 这些「悬停抬升」的元素叠在同一个节点上，
   而 :hover 规则是 (0,2,0)、.reveal.is-visible 也是 (0,2,0) —— 本块在文件最后，
   同特异性下后者胜出，会把 transform: none 盖在 hover 上，**悬停抬升全部失效**（且不报错）。
   改用 translate 后两者互不干扰：入场走 translate，悬停走 transform。 */
.reveal { opacity: 0; translate: 0 28px; transition: opacity 0.8s var(--ease), translate 0.8s var(--ease); }
.reveal.is-visible { opacity: 1; translate: none; }

/* ---------- 响应式 ---------- */
@media (max-width: 960px) {
  .hero__inner { grid-template-columns: 1fr; gap: 40px; text-align: center; }
  .hero__copy { order: 2; }
  .hero__visual { order: 1; }
  .hero__lead { margin-left: auto; margin-right: auto; }
  .hero__actions, .hero__stats { justify-content: center; }
  .grid--features { grid-template-columns: repeat(2, 1fr); }
  .grid--platforms { grid-template-columns: 1fr; max-width: 460px; margin-left: auto; margin-right: auto; }
  .grid--steps { grid-template-columns: repeat(2, 1fr); }
  .update__table { grid-template-columns: 1fr; }
  /* 窄屏：三端各占一行，手机竖屏收窄居中，车机/电视横屏照旧占满 */
  .shots { gap: 30px; }
  .shots--devices, .shots--pages { grid-template-columns: 1fr; }
  .shots--pages .shots__note { max-width: none; }
  .shots--pages .shot { max-width: 300px; margin: 0 auto; }
  .shots--devices .shot:first-child { max-width: 300px; margin: 0 auto; }
}

@media (max-width: 600px) {
  .nav__links { display: none; }
  .nav__cta { display: none; }
  .nav__toggle { display: flex; }
  .nav__links.is-open {
    display: flex; flex-direction: column; gap: 18px; position: absolute;
    top: 68px; left: 0; right: 0; padding: 24px 32px;
    background: rgba(12,12,15,0.95); backdrop-filter: blur(16px); border-bottom: 1px solid var(--border);
  }
  .grid--features, .grid--steps { grid-template-columns: 1fr; }
  .hero__stats { gap: 28px; }
  .update { padding: 22px; }
  /* 手机端截图是竖屏：单列时限制到接近真机宽度，避免拉成一条长条；
     车机 / 电视两张横屏图照旧占满整行。 */
  .shots { gap: 26px; }
  .shots--devices .shot:first-child { max-width: 320px; margin: 0 auto; }
  .shots--pages .shot { max-width: 320px; margin: 0 auto; }
  .shot__frame { border-radius: 16px; }
  .shot figcaption { font-size: 0.86rem; margin-top: 10px; }
  .shot figcaption span { font-size: 0.72rem; }
  .shot--wide { margin-top: 24px; }
  /* 加群卡片：窄屏改纵向堆叠，按钮占满整行（命中区域更大，拇指更好点） */
  .joingroup { flex-direction: column; text-align: center; gap: 16px; padding: 26px 22px; }
  .joingroup__body { flex: none; align-items: center; }
  .joingroup__cta { width: 100%; justify-content: center; padding: 1em; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; translate: none; }
}
