/* ============================================================
   玄冕将神 · 狂斩三国4 — 游戏下载页
   纯静态样式：不依赖构建期 CSS 处理，尺寸使用真实 CSS px
   ============================================================ */

:root {
  --ink: #080604;
  --ink-2: #0d0906;
  --ink-3: #150e08;
  --gold-1: #f8e7bb;
  --gold-2: #e5c07a;
  --gold-3: #c9973f;
  --gold-4: #8a5a1c;
  --red: #9e1b1b;
  --text: #f4ead6;
  --muted: #b9a98b;
  --line: rgba(229, 192, 122, 0.22);
  --line-strong: rgba(229, 192, 122, 0.42);
  --panel: rgba(255, 241, 214, 0.045);

  --font-display: "Songti SC", "STSong", "Noto Serif SC", "Source Han Serif SC", "SimSun", serif;
  --font-body: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB",
    "Microsoft YaHei", "Noto Sans SC", sans-serif;

  --maxw: 1160px;
  --radius: 8px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--text);
  background:
    radial-gradient(1200px 620px at 50% -140px, rgba(201, 151, 63, 0.14), transparent 68%),
    linear-gradient(180deg, #080604 0%, #0b0805 55%, #070503 100%);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
summary {
  -webkit-tap-highlight-color: transparent;
}

::selection {
  background: rgba(229, 192, 122, 0.28);
  color: #fff8e6;
}

:focus-visible {
  outline: 2px solid var(--gold-2);
  outline-offset: 3px;
}

.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;
}

.sr-only:focus {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 100;
  width: auto;
  height: auto;
  padding: 10px 14px;
  color: #1a1209;
  background: var(--gold-1);
  border-radius: 4px;
  clip: auto;
}

.wrap {
  width: min(100% - 44px, var(--maxw));
  margin-inline: auto;
}

/* ---------- 通用按钮 ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 13px 26px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.btn svg {
  flex: 0 0 auto;
}

.btn-primary {
  color: #2c1907;
  background: linear-gradient(180deg, #fff1c9 0%, #eccb86 38%, #d4a44f 72%, #b8802c 100%);
  border-color: rgba(255, 243, 205, 0.75);
  box-shadow:
    0 12px 30px -12px rgba(201, 151, 63, 0.65),
    inset 0 1px 0 rgba(255, 255, 255, 0.65),
    inset 0 -2px 0 rgba(120, 74, 16, 0.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow:
    0 18px 38px -14px rgba(201, 151, 63, 0.8),
    inset 0 1px 0 rgba(255, 255, 255, 0.7),
    inset 0 -2px 0 rgba(120, 74, 16, 0.35);
}

.btn-secondary {
  color: var(--gold-1);
  background: rgba(255, 241, 214, 0.035);
  border-color: var(--line-strong);
}

.btn-secondary:hover {
  transform: translateY(-2px);
  border-color: var(--gold-2);
  background: rgba(229, 192, 122, 0.09);
}

.btn-lg {
  min-height: 56px;
  padding: 16px 34px;
  font-size: 17px;
}

/* ---------- 顶部导航 ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(8, 6, 4, 0.74);
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: border-color 0.3s ease, background 0.3s ease;
}

.site-header .wrap {
  display: flex;
  align-items: center;
  gap: 26px;
  min-height: 72px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 0 0 auto;
}

.brand-seal {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(248, 231, 187, 0.68);
  border-radius: 6px;
  color: var(--gold-1);
  background: linear-gradient(145deg, #a52020 0%, #7d1414 100%);
  box-shadow:
    inset 0 0 0 2px rgba(248, 231, 187, 0.16),
    0 6px 16px -8px rgba(158, 27, 27, 0.9);
  font-family: var(--font-display);
  font-size: 25px;
  line-height: 1;
}

.brand-name {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.12em;
  line-height: 1.1;
}

.brand-name small {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.3em;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 26px;
  margin-left: 14px;
  font-size: 14px;
  color: var(--muted);
}

.site-nav a {
  position: relative;
  padding: 6px 0;
  transition: color 0.25s ease;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, var(--gold-3), var(--gold-1));
  transition: right 0.3s ease;
}

.site-nav a:hover {
  color: var(--gold-1);
}

.site-nav a:hover::after {
  right: 0;
}

.header-cta {
  margin-left: auto;
}

.header-cta .btn {
  min-height: 42px;
  padding: 9px 20px;
  font-size: 14px;
}

/* ---------- 首屏 ---------- */

.hero {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  min-height: 660px;
  padding: 88px 0 84px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(800px 500px at 72% 32%, rgba(201, 151, 63, 0.26), transparent 70%),
    #0b0805;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
  filter: saturate(0.66) brightness(0.42) contrast(1.08);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(8, 6, 4, 0.96) 0%, rgba(8, 6, 4, 0.74) 44%, rgba(8, 6, 4, 0.4) 72%, rgba(8, 6, 4, 0.86) 100%),
    linear-gradient(180deg, rgba(8, 6, 4, 0.55) 0%, transparent 32%, rgba(8, 6, 4, 0.92) 100%);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.24fr) minmax(320px, 0.76fr);
  gap: 56px;
  align-items: center;
  width: min(100% - 44px, var(--maxw));
  margin-inline: auto;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  color: var(--gold-2);
  font-size: 13px;
  letter-spacing: 0.24em;
}

.eyebrow::before {
  content: "";
  width: 30px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-2));
}

.hero-title {
  margin: 20px 0 0;
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1;
}

.hero-title-main {
  display: block;
  letter-spacing: 0.1em;
  font-size: clamp(58px, 8.6vw, 112px);
  background: linear-gradient(180deg, #fff9e6 0%, #f5dda2 30%, #dcaa4f 62%, #9c6620 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 10px 26px rgba(0, 0, 0, 0.6));
}

.hero-title-sub {
  display: block;
  margin-top: 18px;
  color: var(--gold-2);
  font-family: var(--font-body);
  font-size: clamp(15px, 1.7vw, 20px);
  font-weight: 600;
  letter-spacing: 0.3em;
}

.hero-desc {
  max-width: 570px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 15.5px;
  line-height: 1.9;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.hero-actions .btn-primary {
  flex-direction: column;
  gap: 2px;
  min-width: 210px;
}

.hero-actions .btn-primary small {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  opacity: 0.72;
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  margin: 36px 0 0;
  padding: 0;
  list-style: none;
  color: var(--muted);
  font-size: 13px;
}

.hero-tags li {
  display: flex;
  align-items: center;
  gap: 9px;
}

.hero-tags li::before {
  content: "";
  width: 5px;
  height: 5px;
  background: var(--gold-3);
  transform: rotate(45deg);
}

/* 玩法面板 */

.mode-panel {
  position: relative;
  padding: 24px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(32, 22, 12, 0.9), rgba(10, 7, 4, 0.96));
  box-shadow:
    0 34px 70px -34px rgba(0, 0, 0, 0.95),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.mode-panel::before {
  content: "";
  position: absolute;
  inset: 8px;
  border: 1px solid rgba(229, 192, 122, 0.12);
  border-radius: 4px;
  pointer-events: none;
}

.mode-identity {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}

.mode-identity img {
  width: 56px;
  height: 56px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  object-fit: cover;
  box-shadow:
    0 0 0 3px rgba(229, 192, 122, 0.08),
    0 10px 24px -10px rgba(0, 0, 0, 0.9);
}

.mode-identity-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  line-height: 1.3;
}

.mode-identity-text strong {
  color: var(--gold-1);
  font-family: var(--font-display);
  font-size: 19px;
  letter-spacing: 0.1em;
}

.mode-identity-text span {
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.14em;
}

.mode-hud {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 11.5px;
  letter-spacing: 0.04em;
}

.mode-hud b {
  color: var(--gold-2);
  font-weight: 600;
}

.mode {
  display: flex;
  flex-direction: column;
  gap: 3px;
  margin-top: 12px;
  padding: 18px 20px;
  border: 1px solid transparent;
  border-radius: 5px;
  background: rgba(255, 241, 214, 0.04);
}

.mode strong {
  font-family: var(--font-display);
  font-size: 23px;
  letter-spacing: 0.16em;
  line-height: 1.3;
}

.mode span {
  font-size: 12.5px;
  letter-spacing: 0.05em;
  opacity: 0.82;
}

.mode-blue {
  color: #e8f5ff;
  border-color: rgba(151, 209, 247, 0.5);
  background: linear-gradient(135deg, #1c4168 0%, #2f6da4 55%, #4a90c8 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.28),
    0 14px 30px -16px rgba(47, 109, 164, 0.9);
}

.mode-gold {
  color: #fff4d6;
  border-color: rgba(248, 231, 187, 0.5);
  background: linear-gradient(135deg, #6b4514 0%, #a9782c 55%, #c99a46 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.26),
    0 14px 30px -16px rgba(176, 126, 48, 0.9);
}

.mode-panel-foot {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 11.5px;
  letter-spacing: 0.12em;
  text-align: center;
}

/* ---------- 版块通用 ---------- */

.section {
  position: relative;
  padding: 92px 0;
}

.section[id] {
  scroll-margin-top: 88px;
}

.section-head {
  max-width: 740px;
  margin-bottom: 44px;
}

.kicker {
  margin: 0 0 12px;
  color: var(--gold-3);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.34em;
  text-transform: uppercase;
}

.section-head h2,
.download-copy h2 {
  margin: 0;
  color: var(--gold-1);
  font-family: var(--font-display);
  font-size: clamp(30px, 4.2vw, 46px);
  font-weight: 700;
  line-height: 1.28;
  letter-spacing: 0.06em;
}

.section-head p {
  max-width: 660px;
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 15.5px;
  line-height: 1.9;
}

/* ---------- 游戏特色 ---------- */

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.feature-card {
  position: relative;
  padding: 28px 26px 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255, 241, 214, 0.05), rgba(255, 241, 214, 0.012));
  transition: transform 0.3s ease, border-color 0.3s ease, background 0.3s ease;
}

.feature-card::after {
  content: "";
  position: absolute;
  right: 18px;
  bottom: 0;
  left: 18px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-2), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-4px);
  border-color: var(--line-strong);
  background: linear-gradient(180deg, rgba(255, 241, 214, 0.075), rgba(255, 241, 214, 0.02));
}

.feature-card:hover::after {
  opacity: 1;
}

.feature-icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-bottom: 18px;
  border: 1px solid var(--line-strong);
  border-radius: 4px;
  color: var(--gold-2);
  background: radial-gradient(circle at 50% 26%, rgba(229, 192, 122, 0.2), transparent 72%);
}

.feature-card h3 {
  margin: 0 0 8px;
  color: var(--gold-1);
  font-family: var(--font-display);
  font-size: 21px;
  letter-spacing: 0.08em;
}

.feature-card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.85;
}

/* ---------- 系列回顾 ---------- */

.series {
  border-block: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(8, 6, 4, 0.93), rgba(8, 6, 4, 0.97)),
    url("/static/img/city.jpg") center 34% / cover no-repeat;
}

.series-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.series-item {
  position: relative;
  min-height: 156px;
  padding: 26px 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(8, 6, 4, 0.56);
}

.series-no {
  color: var(--gold-3);
  font-size: 12px;
  letter-spacing: 0.24em;
}

.series-item h3 {
  margin: 14px 0 6px;
  color: var(--text);
  font-family: var(--font-display);
  font-size: 21px;
  letter-spacing: 0.06em;
}

.series-item p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.series-item.is-current {
  border-color: var(--line-strong);
  background: linear-gradient(180deg, rgba(90, 58, 20, 0.55), rgba(20, 13, 7, 0.82));
  box-shadow: 0 24px 54px -34px rgba(229, 192, 122, 0.7);
}

.series-item.is-current::before {
  content: "本作";
  position: absolute;
  top: -1px;
  right: -1px;
  padding: 4px 10px;
  color: #2a1707;
  background: linear-gradient(135deg, #f0d394, #a9772a);
  border-radius: 0 var(--radius) 0 6px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
}

/* ---------- 玩法展示 ---------- */

.play-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.play-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 340px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: #0d0906;
}

.play-card > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.52) brightness(0.44);
  transition: transform 0.8s ease;
}

.play-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8, 6, 4, 0.06) 0%, rgba(8, 6, 4, 0.56) 54%, rgba(8, 6, 4, 0.96) 100%);
}

.play-card:hover > img {
  transform: scale(1.05);
}

.play-glyph {
  position: absolute;
  top: 4px;
  right: 18px;
  color: rgba(248, 231, 187, 0.14);
  font-family: var(--font-display);
  font-size: 130px;
  line-height: 1;
  pointer-events: none;
}

.play-body {
  position: relative;
  z-index: 1;
}

.play-body h3 {
  margin: 0 0 8px;
  color: var(--gold-1);
  font-family: var(--font-display);
  font-size: 23px;
  letter-spacing: 0.1em;
}

.play-body p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.85;
}

/* ---------- 下载 ---------- */

.download-card {
  position: relative;
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  gap: 44px;
  padding: 52px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background:
    radial-gradient(900px 420px at 8% 0%, rgba(201, 151, 63, 0.2), transparent 66%),
    linear-gradient(180deg, rgba(26, 17, 9, 0.96), rgba(10, 7, 4, 0.98));
  box-shadow: 0 44px 90px -54px rgba(0, 0, 0, 0.95);
  overflow: hidden;
}

.download-card::before {
  content: "玄";
  position: absolute;
  right: -12px;
  bottom: -66px;
  color: rgba(229, 192, 122, 0.05);
  font-family: var(--font-display);
  font-size: 290px;
  line-height: 1;
  pointer-events: none;
}

.download-copy {
  position: relative;
  z-index: 1;
}

.download-copy p {
  max-width: 520px;
  margin: 14px 0 26px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.9;
}

.download-note {
  margin: 18px 0 0;
  color: #8f816b;
  font-size: 12px;
  line-height: 1.7;
}

.download-meta {
  position: relative;
  z-index: 1;
  align-self: center;
  margin: 0;
  border-top: 1px solid var(--line);
}

.download-meta > div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 18px;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
}

.download-meta dt {
  flex: 0 0 auto;
  color: var(--muted);
}

.download-meta dd {
  margin: 0;
  color: var(--text);
  text-align: right;
}

/* ---------- 常见问题 ---------- */

.faq-list {
  max-width: 880px;
  border-top: 1px solid var(--line);
}

.faq-list details {
  border-bottom: 1px solid var(--line);
}

.faq-list summary {
  position: relative;
  padding: 20px 42px 20px 0;
  color: var(--text);
  font-size: 16px;
  font-weight: 600;
  list-style: none;
  cursor: pointer;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  content: "+";
  position: absolute;
  top: 50%;
  right: 6px;
  color: var(--gold-2);
  font-size: 22px;
  font-weight: 400;
  line-height: 1;
  transform: translateY(-50%);
}

.faq-list details[open] summary::after {
  content: "−";
}

.faq-list details p {
  max-width: 780px;
  margin: 0 0 22px;
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.9;
}

/* ---------- 完整版游戏介绍 ---------- */

.guide {
  background: linear-gradient(180deg, rgba(13, 9, 6, 0.55), rgba(8, 6, 4, 0.15));
}

.guide .section-head h2 {
  font-size: clamp(26px, 3.6vw, 40px);
}

.guide-layout {
  display: grid;
  grid-template-columns: 252px minmax(0, 1fr);
  gap: 48px;
  align-items: start;
}

.guide-toc {
  position: sticky;
  top: 96px;
  padding: 22px 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 241, 214, 0.03);
}

.guide-toc-title {
  margin: 0 0 12px;
  color: var(--gold-3);
  font-size: 12px;
  letter-spacing: 0.28em;
}

.guide-toc ol {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: toc;
}

.guide-toc li {
  counter-increment: toc;
}

.guide-toc li a {
  display: flex;
  gap: 9px;
  padding: 8px 0;
  border-bottom: 1px solid rgba(229, 192, 122, 0.08);
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.55;
  transition: color 0.2s ease;
}

.guide-toc li:last-child a {
  border-bottom: 0;
}

.guide-toc li a::before {
  content: counter(toc, decimal-leading-zero);
  flex: 0 0 auto;
  padding-top: 2px;
  color: var(--gold-3);
  font-size: 10px;
  letter-spacing: 0.06em;
}

.guide-toc li a:hover {
  color: var(--gold-1);
}

.guide-article {
  min-width: 0;
  padding: 44px 46px 40px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255, 241, 214, 0.032), rgba(255, 241, 214, 0.01));
  color: var(--muted);
  font-size: 16px;
  line-height: 1.95;
}

.guide-article h2 {
  margin: 56px 0 18px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
  color: var(--gold-1);
  font-family: var(--font-display);
  font-size: clamp(24px, 2.6vw, 32px);
  line-height: 1.4;
  letter-spacing: 0.04em;
  scroll-margin-top: 96px;
}

.guide-article h2:first-child {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}

.guide-article h3 {
  margin: 30px 0 10px;
  color: var(--gold-2);
  font-family: var(--font-display);
  font-size: 20px;
  line-height: 1.5;
  letter-spacing: 0.03em;
}

.guide-article p {
  margin: 0 0 18px;
  overflow-wrap: anywhere;
}

.guide-article strong {
  color: var(--text);
  font-weight: 600;
}

.guide-article ul {
  margin: 0 0 20px;
  padding-left: 20px;
}

.guide-article li {
  margin: 0 0 8px;
  padding-left: 2px;
  overflow-wrap: anywhere;
}

.guide-article li::marker {
  color: var(--gold-3);
}

.guide-article a {
  color: var(--gold-2);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.guide-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 44px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

.guide-cta p {
  margin: 0;
  color: var(--gold-2);
  font-family: var(--font-display);
  font-size: 20px;
  letter-spacing: 0.08em;
}

/* ---------- 页脚 ---------- */

.site-footer {
  padding: 54px 0 40px;
  border-top: 1px solid var(--line);
  background: #070503;
}

.footer-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 36px;
}

.footer-brand p {
  max-width: 380px;
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.85;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 28px;
  align-content: flex-start;
  color: var(--muted);
  font-size: 14px;
}

.footer-links a:hover {
  color: var(--gold-1);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px 24px;
  margin-top: 38px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  color: #8a7c66;
  font-size: 12px;
  line-height: 1.7;
}

/* ---------- 移动端下载条 ---------- */

.mobile-cta {
  display: none;
}

/* ---------- 动效降级 ---------- */

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .btn,
  .feature-card,
  .play-card > img {
    transition: none;
  }
}

/* ---------- 响应式 ---------- */

@media (max-width: 980px) {
  .hero {
    min-height: 0;
    padding: 72px 0 76px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .mode-panel {
    max-width: 520px;
  }

  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .series-list {
    grid-template-columns: repeat(2, 1fr);
  }

  .play-grid {
    grid-template-columns: 1fr;
  }

  .play-card {
    min-height: 260px;
  }

  .download-card {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 40px;
  }

  .guide-layout {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .guide-toc {
    position: static;
  }

  .guide-toc ol {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 22px;
  }

  .guide-article {
    padding: 34px 28px;
  }
}

@media (max-width: 860px) {
  .site-nav {
    display: none;
  }
}

@media (max-width: 720px) {
  .wrap,
  .hero-grid {
    width: min(100% - 32px, var(--maxw));
  }

  .site-header .wrap {
    min-height: 64px;
    gap: 12px;
  }

  .brand-seal {
    width: 40px;
    height: 40px;
    font-size: 23px;
  }

  .brand-name {
    font-size: 18px;
  }

  .brand-name small {
    display: none;
  }

  .header-cta .btn {
    min-height: 40px;
    padding: 8px 16px;
    font-size: 13px;
  }

  .hero-title-main {
    letter-spacing: 0.06em;
  }

  .hero-title-sub {
    letter-spacing: 0.18em;
  }

  .hero-actions .btn {
    flex: 1 1 auto;
  }

  .hero-actions .btn-primary {
    min-width: 0;
  }

  .section {
    padding: 66px 0;
  }

  .section-head {
    margin-bottom: 32px;
  }

  .feature-grid,
  .series-list {
    grid-template-columns: 1fr;
  }

  .download-card {
    padding: 30px 24px;
  }

  .download-copy .btn-lg {
    width: 100%;
  }

  .download-meta > div {
    font-size: 13px;
  }

  .guide-toc ol {
    grid-template-columns: 1fr;
  }

  .guide-article {
    padding: 26px 20px;
    font-size: 15px;
    line-height: 1.9;
  }

  .guide-article h2 {
    margin-top: 40px;
    padding-top: 22px;
  }

  .guide-cta {
    flex-direction: column;
    align-items: flex-start;
  }

  .mobile-cta {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 70;
    display: flex;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
    border-top: 1px solid var(--line);
    background: rgba(8, 6, 4, 0.92);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    transition: transform 0.3s ease, opacity 0.3s ease;
  }

  .mobile-cta .btn {
    width: 100%;
  }

  body {
    padding-bottom: 80px;
  }
}

@media (max-width: 420px) {
  .hero {
    padding-top: 56px;
  }

  .hero-tags {
    gap: 8px 16px;
  }

  .mode-panel {
    padding: 20px;
  }

  .series-item {
    min-height: 0;
  }
}