/* =========================================================
   使命召唤系列下载站 — 战术深色设计系统
   ========================================================= */

/* ---------- Design Tokens ---------- */
:root {
  /* 表面 */
  --bg: #07080a;
  --bg-soft: #0b0d10;
  --surface: #101317;
  --surface-2: #161a20;
  --line: rgba(255, 255, 255, 0.075);
  --line-strong: rgba(255, 255, 255, 0.16);

  /* 文字 */
  --text: #e9ecef;
  --muted: #98a2ae;
  --muted-dim: #6f7a86;

  /* 强调色：黄铜金 + 战术赤橙 */
  --gold: #e3b04b;
  --gold-deep: #b9882c;
  --gold-soft: rgba(227, 176, 75, 0.12);
  --hot: #ff5a1f;
  --hot-deep: #d9410f;
  --olive: #8a9a7b;

  /* 排版 */
  --font-display: "Oswald", "Impact", "Arial Narrow", sans-serif;
  --font-body: "Noto Sans SC", "PingFang SC", "Hiragino Sans GB",
    "Microsoft YaHei", system-ui, -apple-system, sans-serif;
  --font-mono: "JetBrains Mono", "SFMono-Regular", Consolas, monospace;

  /* 间距节奏 */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
  --space-7: 48px;
  --space-8: 64px;
  --space-9: 96px;
  --space-10: 128px;

  --shell: 1240px;
  --radius: 4px;
  --radius-lg: 6px;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --dur: 0.32s;

  --header-h: 72px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.75;
  font-weight: 400;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

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

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}

h1,
h2,
h3,
h4,
p,
dl,
dd,
figure,
ol,
ul {
  margin: 0;
  padding: 0;
}

ul,
ol {
  list-style: none;
}

::selection {
  background: var(--gold);
  color: #0a0a0a;
}

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

.skip-link {
  position: absolute;
  left: 16px;
  top: -80px;
  z-index: 999;
  padding: 10px 18px;
  background: var(--gold);
  color: #0a0a0a;
  font-weight: 700;
  border-radius: 2px;
  transition: top 0.2s var(--ease);
}

.skip-link:focus {
  top: 12px;
}

/* ---------- 版面容器 ---------- */
.shell {
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: var(--space-5);
}

/* ---------- 全局颗粒 / 扫描线质感 ---------- */
.grain {
  position: fixed;
  inset: 0;
  z-index: 60;
  pointer-events: none;
  opacity: 0.16;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)' opacity='0.5'/%3E%3C/svg%3E");
}

/* =========================================================
   顶部导航
   ========================================================= */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  height: var(--header-h);
  display: flex;
  align-items: center;
  border-bottom: 1px solid transparent;
  transition: background var(--dur) var(--ease), border-color var(--dur) var(--ease),
    backdrop-filter var(--dur) var(--ease);
}

.site-header.is-scrolled {
  background: rgba(7, 8, 10, 0.82);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom-color: var(--line);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-5);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.brand__mark {
  display: grid;
  place-items: center;
  color: var(--gold);
  transition: transform 0.5s var(--ease);
}

.brand:hover .brand__mark {
  transform: rotate(-90deg);
}

.brand__text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand__text strong {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.brand__text em {
  font-family: var(--font-display);
  font-style: normal;
  font-size: 10px;
  letter-spacing: 0.34em;
  color: var(--muted-dim);
  margin-top: 3px;
}

.nav {
  display: flex;
  align-items: center;
  gap: var(--space-6);
}

.nav > a {
  position: relative;
  font-size: 14.5px;
  color: var(--muted);
  letter-spacing: 0.04em;
  padding-block: 6px;
  transition: color 0.22s var(--ease);
}

.nav > a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: width 0.28s var(--ease);
}

.nav > a:hover {
  color: var(--text);
}

.nav > a:hover::after {
  width: 100%;
}

.nav__cta {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 18px !important;
  color: #0a0a0a !important;
  background: var(--gold);
  border-radius: 2px;
  font-weight: 700;
  font-size: 14px !important;
  letter-spacing: 0.02em;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 7px), calc(100% - 7px) 100%, 0 100%);
  transition: background 0.22s var(--ease), transform 0.22s var(--ease);
}

.nav__cta::after {
  display: none;
}

.nav__cta:hover {
  background: #f0c260;
  transform: translateY(-1px);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 11px;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid var(--line);
  border-radius: 2px;
}

.nav-toggle span {
  display: block;
  height: 1.5px;
  width: 100%;
  background: var(--text);
  transition: transform 0.28s var(--ease), opacity 0.2s var(--ease);
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* =========================================================
   Hero
   ========================================================= */
.hero {
  position: relative;
  min-height: min(94vh, 880px);
  display: flex;
  align-items: center;
  padding-top: calc(var(--header-h) + 40px);
  padding-bottom: var(--space-9);
  overflow: hidden;
  isolation: isolate;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 62% 32%;
  transform: scale(1.04);
  animation: heroZoom 22s var(--ease) forwards;
}

@keyframes heroZoom {
  from {
    transform: scale(1.12);
  }
  to {
    transform: scale(1);
  }
}

.hero__scrim {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(100deg, rgba(7, 8, 10, 0.96) 8%, rgba(7, 8, 10, 0.78) 42%, rgba(7, 8, 10, 0.28) 72%, rgba(7, 8, 10, 0.55) 100%),
    linear-gradient(to top, var(--bg) 2%, rgba(7, 8, 10, 0) 46%),
    radial-gradient(120% 90% at 78% 20%, rgba(255, 90, 31, 0.14), transparent 58%);
}

.hero__inner {
  position: relative;
  z-index: 1;
  max-width: 780px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 9px;
  max-width: 100%;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
}

.eyebrow__dot {
  width: 5px;
  height: 5px;
  background: var(--hot);
  border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(255, 90, 31, 0.18);
  animation: pulse 2.6s var(--ease) infinite;
}

@keyframes pulse {
  0%,
  100% {
    box-shadow: 0 0 0 3px rgba(255, 90, 31, 0.18);
  }
  50% {
    box-shadow: 0 0 0 7px rgba(255, 90, 31, 0.05);
  }
}

.hero__title {
  margin-top: var(--space-5);
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.hero__title-cn {
  font-size: clamp(52px, 9vw, 116px);
  font-weight: 900;
  line-height: 0.94;
  letter-spacing: 0.04em;
  background: linear-gradient(180deg, #ffffff 24%, #c9ccd1 68%, #8e939a 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 24px 60px rgba(0, 0, 0, 0.55);
}

.hero__title-en {
  font-family: var(--font-display);
  font-size: clamp(20px, 3.1vw, 38px);
  font-weight: 700;
  letter-spacing: 0.34em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(227, 176, 75, 0.62);
  text-transform: uppercase;
  margin-top: 6px;
}

.hero__lead {
  margin-top: var(--space-5);
  max-width: 620px;
  font-size: 16.5px;
  line-height: 1.85;
  color: #b9c0c8;
}

.hero__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: var(--space-5);
}

.hero__tags span {
  font-size: 12.5px;
  letter-spacing: 0.08em;
  color: var(--muted);
  border: 1px solid var(--line-strong);
  padding: 4px 12px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.02);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  margin-top: var(--space-6);
}

/* ---------- 按钮 ---------- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 14px 26px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.03em;
  border-radius: 2px;
  overflow: hidden;
  transition: transform 0.24s var(--ease), background 0.24s var(--ease),
    border-color 0.24s var(--ease), color 0.24s var(--ease);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 9px), calc(100% - 9px) 100%, 0 100%);
}

.btn svg {
  flex-shrink: 0;
  transition: transform 0.28s var(--ease);
}

.btn:hover {
  transform: translateY(-2px);
}

.btn:active {
  transform: translateY(0);
}

.btn--primary {
  background: linear-gradient(120deg, var(--hot) 0%, #f0741f 55%, var(--gold) 100%);
  color: #140a03;
  box-shadow: 0 12px 32px -12px rgba(255, 90, 31, 0.7);
}

.btn--primary:hover {
  box-shadow: 0 18px 40px -14px rgba(255, 90, 31, 0.9);
}

.btn--primary:hover svg {
  transform: translateY(2px);
}

.btn--ghost {
  border: 1px solid var(--line-strong);
  color: var(--text);
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(6px);
}

.btn--ghost:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: rgba(227, 176, 75, 0.06);
}

.btn--ghost:hover svg {
  transform: translateX(3px);
}

.btn--lg {
  padding: 17px 34px;
  font-size: 16.5px;
}

.btn__shine {
  position: absolute;
  top: 0;
  left: -60%;
  width: 45%;
  height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.55), transparent);
  transform: skewX(-18deg);
  pointer-events: none;
}

.btn:hover .btn__shine {
  animation: shine 0.85s var(--ease);
}

@keyframes shine {
  from {
    left: -60%;
  }
  to {
    left: 130%;
  }
}

/* ---------- Hero 数据条 ---------- */
.hero__stats {
  display: grid;
  grid-template-columns: repeat(4, auto);
  justify-content: start;
  gap: var(--space-7);
  margin-top: var(--space-8);
  padding-top: var(--space-5);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.stat dt {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.18em;
  color: var(--muted-dim);
  text-transform: uppercase;
  margin-bottom: 4px;
}

.stat dd {
  display: flex;
  align-items: baseline;
  gap: 3px;
  font-size: 15px;
  color: var(--text);
  font-weight: 500;
}

.stat dd strong {
  font-family: var(--font-display);
  font-size: 30px;
  font-weight: 700;
  line-height: 1;
  color: var(--gold);
}

.stat dd span {
  font-size: 12px;
  color: var(--muted);
}

.stat__sys {
  font-size: 13.5px !important;
  letter-spacing: 0.05em;
}

/* ---------- 侧边竖排标签 ---------- */
.hero__rail {
  position: absolute;
  right: 26px;
  bottom: 30%;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.3em;
  color: var(--muted-dim);
  writing-mode: vertical-rl;
}

.hero__rail-line {
  width: 1px;
  height: 64px;
  background: linear-gradient(to bottom, var(--gold), transparent);
}

/* =========================================================
   通用区块
   ========================================================= */
.section {
  position: relative;
  padding-block: var(--space-9);
}

.section--hot {
  padding-top: var(--space-8);
}

.section__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--space-6);
  margin-bottom: var(--space-7);
}

.section__head--center {
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 680px;
  margin-inline: auto;
}

.section__title {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 900;
  line-height: 1.2;
  letter-spacing: 0.02em;
  margin-top: var(--space-3);
}

.section__title::after {
  content: "";
  display: block;
  width: 46px;
  height: 3px;
  margin-top: 16px;
  background: linear-gradient(90deg, var(--gold), rgba(227, 176, 75, 0));
}

.section__head--center .section__title::after {
  margin-inline: auto;
  background: var(--gold);
}

.section__desc {
  margin-top: var(--space-4);
  font-size: 15px;
  color: var(--muted);
  max-width: 620px;
}

/* ---------- 筛选器 ---------- */
.filters {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
  padding-bottom: 4px;
}

.filter {
  padding: 8px 18px;
  font-size: 13.5px;
  letter-spacing: 0.05em;
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: 2px;
  transition: all 0.22s var(--ease);
  white-space: nowrap;
}

.filter:hover {
  color: var(--text);
  border-color: var(--line-strong);
}

.filter.is-active {
  color: #0f0b03;
  background: var(--gold);
  border-color: var(--gold);
  font-weight: 700;
}

/* =========================================================
   游戏卡片网格
   ========================================================= */
.game-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-5);
}

.game-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.36s var(--ease), border-color 0.36s var(--ease),
    box-shadow 0.36s var(--ease), opacity 0.3s var(--ease);
}

.game-card::before,
.game-card::after {
  content: "";
  position: absolute;
  z-index: 3;
  width: 14px;
  height: 14px;
  border-color: var(--gold);
  border-style: solid;
  opacity: 0;
  transition: opacity 0.32s var(--ease), transform 0.32s var(--ease);
  pointer-events: none;
}

.game-card::before {
  top: 8px;
  left: 8px;
  border-width: 1.5px 0 0 1.5px;
  transform: translate(4px, 4px);
}

.game-card::after {
  bottom: 8px;
  right: 8px;
  border-width: 0 1.5px 1.5px 0;
  transform: translate(-4px, -4px);
}

.game-card:hover {
  transform: translateY(-6px);
  border-color: rgba(227, 176, 75, 0.4);
  box-shadow: 0 26px 50px -24px rgba(0, 0, 0, 0.95), 0 0 0 1px rgba(227, 176, 75, 0.12);
}

.game-card:hover::before,
.game-card:hover::after {
  opacity: 1;
  transform: translate(0, 0);
}

.game-card.is-hidden {
  display: none;
}

.game-card__link {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.game-card__media {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #0d0f12;
}

.game-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.92) brightness(0.92);
  transition: transform 0.62s var(--ease), filter 0.42s var(--ease);
}

.game-card:hover .game-card__media img {
  transform: scale(1.07);
  filter: saturate(1.05) brightness(1);
}

.game-card__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(16, 19, 23, 0.92) 0%, rgba(16, 19, 23, 0) 52%);
  pointer-events: none;
}

.badge {
  position: absolute;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 500;
  padding: 3px 7px;
  border-radius: 2px;
  line-height: 1.4;
}

.badge--score {
  top: 10px;
  right: 10px;
  color: #131005;
  background: var(--gold);
}

.badge--cat {
  top: 10px;
  left: 10px;
  color: var(--text);
  background: rgba(8, 9, 11, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(6px);
  letter-spacing: 0.04em;
}

.game-card__hint {
  position: absolute;
  z-index: 2;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%) scale(0.94);
  padding: 8px 16px;
  font-size: 12.5px;
  letter-spacing: 0.08em;
  color: #0f0b03;
  background: var(--gold);
  border-radius: 2px;
  opacity: 0;
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
  white-space: nowrap;
}

.game-card:hover .game-card__hint {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.game-card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 14px 16px 16px;
}

.game-card__title {
  font-size: 15.5px;
  font-weight: 700;
  line-height: 1.45;
  letter-spacing: 0.01em;
  transition: color 0.24s var(--ease);
}

.game-card:hover .game-card__title {
  color: var(--gold);
}

.game-card__en {
  font-family: var(--font-display);
  font-size: 10.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted-dim);
  margin-top: 3px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.game-card__meta {
  display: flex;
  gap: 14px;
  margin-top: 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--muted);
}

.game-card__meta span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.game-card__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: auto;
  padding-top: 13px;
  border-top: 1px solid var(--line);
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--gold);
}

.game-card__btn svg {
  transition: transform 0.28s var(--ease);
}

.game-card:hover .game-card__btn svg {
  transform: translateX(4px);
}

.grid-empty {
  margin-top: var(--space-6);
  text-align: center;
  color: var(--muted);
}

/* =========================================================
   全系列列表
   ========================================================= */
.section--series {
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg-soft) 30%, var(--bg-soft) 70%, var(--bg) 100%);
  border-block: 1px solid var(--line);
}

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

.series-row {
  display: grid;
  grid-template-columns: 44px 1fr 82px 74px 46px 26px;
  align-items: center;
  gap: var(--space-3);
  padding: 13px 18px;
  background: var(--surface);
  border-left: 2px solid transparent;
  transition: background 0.24s var(--ease), border-color 0.24s var(--ease),
    transform 0.24s var(--ease);
}

.series-row:hover {
  background: var(--surface-2);
  border-left-color: var(--gold);
}

.series-row__no {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--muted-dim);
}

.series-row__name {
  display: flex;
  flex-direction: column;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.4;
  min-width: 0;
}

.series-row__name em {
  font-family: var(--font-display);
  font-style: normal;
  font-size: 10.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted-dim);
  margin-top: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.series-row__tag {
  justify-self: start;
  font-size: 11.5px;
  color: var(--olive);
  border: 1px solid rgba(138, 154, 123, 0.3);
  padding: 1px 8px;
  border-radius: 2px;
  white-space: nowrap;
}

.series-row__size {
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--muted);
  text-align: right;
}

.series-row__score {
  font-family: var(--font-display);
  font-size: 15px;
  color: var(--gold);
  text-align: right;
}

.series-row__go {
  display: grid;
  place-items: center;
  color: var(--muted-dim);
  transition: color 0.24s var(--ease), transform 0.24s var(--ease);
}

.series-row:hover .series-row__go {
  color: var(--gold);
  transform: translateX(3px);
}

.series-foot {
  display: flex;
  justify-content: center;
  margin-top: var(--space-7);
}

/* =========================================================
   关于 + 画廊
   ========================================================= */
.about {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: var(--space-8);
  align-items: start;
}

.about__copy p {
  margin-top: var(--space-4);
  color: #b3bac2;
  font-size: 15.5px;
  line-height: 1.9;
}

.about__points {
  display: grid;
  gap: var(--space-4);
  margin-top: var(--space-6);
  padding-top: var(--space-5);
  border-top: 1px solid var(--line);
}

.about__points li {
  display: flex;
  gap: 13px;
  align-items: flex-start;
}

.about__icon {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(227, 176, 75, 0.35);
  border-radius: 2px;
  color: var(--gold);
  background: var(--gold-soft);
  margin-top: 2px;
}

.about__points strong {
  display: block;
  font-size: 15px;
  margin-bottom: 2px;
}

.about__points span {
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.6;
  display: block;
}

.gallery {
  border: 1px solid var(--line);
  background: var(--surface);
  padding: var(--space-5);
  border-radius: var(--radius);
}

.gallery__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: var(--space-4);
}

.gallery__head h3 {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.gallery__head span {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.12em;
  color: var(--muted-dim);
  text-transform: uppercase;
}

.gallery__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
}

.shot {
  position: relative;
  display: block;
  padding: 0;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-radius: 2px;
  background: #0d0f12;
}

.shot--wide {
  grid-column: span 2;
  grid-row: span 2;
  aspect-ratio: auto;
}

.shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.9) brightness(0.86);
  transition: transform 0.6s var(--ease), filter 0.4s var(--ease);
}

.shot::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid rgba(255, 255, 255, 0.06);
  transition: border-color 0.3s var(--ease);
  pointer-events: none;
}

.shot:hover img {
  transform: scale(1.06);
  filter: saturate(1.05) brightness(1);
}

.shot:hover::after {
  border-color: rgba(227, 176, 75, 0.55);
}

/* =========================================================
   安装流程
   ========================================================= */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-5);
  counter-reset: step;
}

.step {
  position: relative;
  padding: var(--space-6) var(--space-5) var(--space-5);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease),
    transform 0.3s var(--ease);
}

.step:hover {
  border-color: rgba(227, 176, 75, 0.35);
  background: var(--surface-2);
  transform: translateY(-4px);
}

.step__no {
  display: block;
  font-family: var(--font-display);
  font-size: 40px;
  line-height: 1;
  font-weight: 700;
  color: transparent;
  -webkit-text-stroke: 1px rgba(227, 176, 75, 0.55);
  margin-bottom: var(--space-3);
}

.step h3 {
  font-size: 16.5px;
  font-weight: 700;
  margin-bottom: 6px;
}

.step p {
  font-size: 13.8px;
  color: var(--muted);
  line-height: 1.75;
}

.step code {
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: var(--gold);
  background: rgba(227, 176, 75, 0.1);
  padding: 1px 5px;
  border-radius: 2px;
}

/* =========================================================
   FAQ
   ========================================================= */
.section--faq {
  background: var(--bg-soft);
  border-top: 1px solid var(--line);
}

.faq {
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  gap: var(--space-8);
  align-items: start;
}

.faq__intro {
  position: sticky;
  top: calc(var(--header-h) + 32px);
}

.faq__list {
  display: grid;
  gap: 2px;
}

.faq__item {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 2px;
  transition: border-color 0.26s var(--ease), background 0.26s var(--ease);
}

.faq__item[open] {
  border-color: rgba(227, 176, 75, 0.32);
  background: var(--surface-2);
}

.faq__item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  padding: 18px 22px;
  cursor: pointer;
  font-size: 15.5px;
  font-weight: 600;
  list-style: none;
  transition: color 0.22s var(--ease);
}

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

.faq__item summary::after {
  content: "";
  flex-shrink: 0;
  width: 11px;
  height: 11px;
  border-right: 1.6px solid var(--gold);
  border-bottom: 1.6px solid var(--gold);
  transform: rotate(45deg) translate(-2px, -2px);
  transition: transform 0.28s var(--ease);
}

.faq__item[open] summary::after {
  transform: rotate(-135deg) translate(-2px, -2px);
}

.faq__item summary:hover {
  color: var(--gold);
}

.faq__body {
  padding: 0 22px 20px;
}

.faq__body p {
  font-size: 14.5px;
  line-height: 1.85;
  color: var(--muted);
}

/* =========================================================
   CTA 横幅
   ========================================================= */
.cta-band {
  position: relative;
  padding-block: var(--space-9);
  overflow: hidden;
  isolation: isolate;
  text-align: center;
}

.cta-band__bg {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.cta-band__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
  filter: saturate(0.7);
}

.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(70% 120% at 50% 50%, rgba(7, 8, 10, 0.62), rgba(7, 8, 10, 0.94) 72%),
    linear-gradient(to right, rgba(7, 8, 10, 0.9), rgba(7, 8, 10, 0.72), rgba(7, 8, 10, 0.9));
}

.cta-band__inner {
  max-width: 720px;
  margin-inline: auto;
}

.cta-band h2 {
  font-size: clamp(28px, 4.4vw, 46px);
  font-weight: 900;
  letter-spacing: 0.02em;
  margin-top: var(--space-3);
}

.cta-band p {
  margin-top: var(--space-4);
  color: #b6bdc5;
  font-size: 16px;
}

.cta-band__actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-4);
  margin-top: var(--space-6);
}

.cta-band__note {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.12em;
  color: var(--muted-dim);
  text-transform: uppercase;
}

/* =========================================================
   页脚
   ========================================================= */
.site-footer {
  background: #050608;
  border-top: 1px solid var(--line);
  padding-top: var(--space-7);
}

.site-footer__inner {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--space-6);
  padding-bottom: var(--space-6);
  border-bottom: 1px solid var(--line);
}

.site-footer__brand {
  display: flex;
  gap: 13px;
  align-items: flex-start;
}

.site-footer__brand .brand__mark {
  color: var(--gold);
  margin-top: 3px;
}

.site-footer__brand strong {
  font-size: 15.5px;
  letter-spacing: 0.06em;
}

.site-footer__brand p {
  margin-top: 5px;
  font-size: 13px;
  color: var(--muted-dim);
  max-width: 420px;
}

.site-footer__nav {
  display: flex;
  gap: var(--space-5);
  flex-wrap: wrap;
}

.site-footer__nav a {
  font-size: 13.5px;
  color: var(--muted);
  transition: color 0.22s var(--ease);
}

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

.site-footer__legal {
  padding-block: var(--space-5) var(--space-6);
}

.site-footer__legal p {
  font-size: 12px;
  line-height: 1.9;
  color: var(--muted-dim);
  max-width: 900px;
}

.site-footer__legal p + p {
  margin-top: 8px;
  color: #4e5862;
}

/* =========================================================
   灯箱
   ========================================================= */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: var(--space-6);
  background: rgba(4, 5, 7, 0.94);
  backdrop-filter: blur(10px);
  animation: fadeIn 0.24s var(--ease);
}

.lightbox[hidden] {
  display: none;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.lightbox__img {
  max-width: min(1180px, 94vw);
  max-height: 86vh;
  width: auto;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 3px;
  box-shadow: 0 40px 120px -40px #000;
}

.lightbox__close {
  position: absolute;
  top: 22px;
  right: 22px;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  color: var(--text);
  background: rgba(255, 255, 255, 0.05);
  transition: background 0.22s var(--ease), transform 0.22s var(--ease);
}

.lightbox__close:hover {
  background: var(--gold);
  color: #0a0a0a;
  transform: rotate(90deg);
}

/* =========================================================
   滚动入场动效
   ========================================================= */
.js .reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.js .reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* =========================================================
   响应式
   ========================================================= */
@media (max-width: 1120px) {
  .game-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .hero__rail {
    display: none;
  }

  .about {
    grid-template-columns: 1fr;
    gap: var(--space-7);
  }

  .faq {
    grid-template-columns: 1fr;
    gap: var(--space-6);
  }

  .faq__intro {
    position: static;
  }
}

@media (max-width: 900px) {
  :root {
    --space-9: 72px;
    --space-8: 52px;
  }

  .nav {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: var(--space-4) var(--space-5) var(--space-5);
    background: rgba(8, 9, 11, 0.97);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--line);
    transform: translateY(-12px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.26s var(--ease), transform 0.26s var(--ease),
      visibility 0.26s var(--ease);
  }

  .nav.is-open {
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .nav > a {
    padding-block: 14px;
    border-bottom: 1px solid var(--line);
    font-size: 15px;
  }

  .nav > a::after {
    display: none;
  }

  .nav__cta {
    margin-top: var(--space-4);
    justify-content: center;
    border-bottom: 0 !important;
    padding-block: 12px !important;
  }

  .nav-toggle {
    display: flex;
  }

  .section__head {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-4);
  }

  .filters {
    width: 100%;
    overflow-x: auto;
    padding-bottom: var(--space-2);
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .filters::-webkit-scrollbar {
    display: none;
  }

  .game-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-4);
  }

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

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

  .hero__stats {
    gap: var(--space-5);
    grid-template-columns: repeat(2, 1fr);
  }

  .hero {
    min-height: auto;
    padding-top: calc(var(--header-h) + 72px);
    padding-bottom: var(--space-8);
  }

  .hero__scrim {
    background:
      linear-gradient(to top, var(--bg) 6%, rgba(7, 8, 10, 0.72) 46%, rgba(7, 8, 10, 0.55) 100%),
      radial-gradient(120% 80% at 60% 10%, rgba(255, 90, 31, 0.1), transparent 60%);
  }
}

@media (max-width: 720px) {
  .shell {
    padding-inline: var(--space-4);
  }

  body {
    font-size: 15.5px;
  }

  .hero__lead {
    font-size: 15px;
  }

  .hero__title-en {
    letter-spacing: 0.22em;
  }

  .hero__actions {
    gap: 10px;
  }

  .btn {
    padding: 13px 20px;
    font-size: 14px;
  }

  .btn--lg {
    padding: 15px 24px;
    font-size: 15px;
  }

  .gallery {
    padding: var(--space-4);
  }

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

  .shot--wide {
    grid-column: span 2;
    grid-row: span 1;
    aspect-ratio: 16 / 10;
  }

  .series-row {
    grid-template-columns: 34px 1fr 56px 40px;
    gap: 10px;
    padding: 12px 14px;
  }

  .series-row__tag {
    display: none;
  }

  .series-row__size {
    font-size: 11px;
  }

  .series-row__go {
    display: none;
  }

  .site-footer__inner {
    flex-direction: column;
    gap: var(--space-5);
  }
}

@media (max-width: 520px) {
  .game-grid {
    grid-template-columns: 1fr;
  }

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

  .hero__stats {
    gap: var(--space-4);
  }

  .stat dd strong {
    font-size: 26px;
  }

  .game-card__hint {
    display: none;
  }

  .section__title {
    font-size: 27px;
  }

  .lightbox {
    padding: var(--space-4);
  }
}

/* =========================================================
   可访问性：降低动效
   ========================================================= */
@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;
  }

  .reveal,
  .js .reveal {
    opacity: 1;
    transform: none;
  }

  .hero__bg img {
    transform: none;
  }
}
