/* 长江两界 · 冷战态势终端 */

@font-face {
  font-family: "FusionPixel";
  src: url("../fonts/fusion-pixel-12px-subset.woff2") format("woff2");
  font-display: swap;
}
@font-face {
  font-family: "VT323";
  src: url("../fonts/VT323-Regular.woff2") format("woff2");
  font-display: swap;
}

:root {
  --bg: #02070a;
  --bg-2: #061117;
  --ink: #d6f5e2;
  --muted: #7fa592;
  --faint: rgba(127, 165, 146, 0.18);
  --green: #5aff8c;
  --green-dim: #2c8f52;
  --cyan: #5ac8ff;
  --red: #ff5244;
  --amber: #ffb028;
  --white: #f0fff6;
  --glow-g: 0 0 8px rgba(90, 255, 140, 0.55), 0 0 28px rgba(90, 255, 140, 0.2);
  --pixel: "FusionPixel", "VT323", "Microsoft YaHei", "PingFang SC", monospace;
  --mono: "VT323", "Consolas", monospace;
  --sans: "Microsoft YaHei", "PingFang SC", "Noto Sans SC", sans-serif;
  --gutter: clamp(16px, 5vw, 72px);
  --maxw: 1280px;
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 64px; overflow-x: hidden; }
@supports (overflow: clip) { html, body { overflow-x: clip; } }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--sans); font-size: 16px; line-height: 1.8;
  overflow-x: hidden; -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--green); text-decoration: none; }
h1, h2, h3 { font-family: var(--pixel); font-weight: normal; margin: 0; letter-spacing: 0.02em; color: var(--white); }
p { margin: 0 0 1em; }
::selection { background: var(--green); color: var(--bg); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.dim { color: var(--muted); }

/* ---------- 全局质感 ---------- */
.scanlines {
  pointer-events: none; position: fixed; inset: 0; z-index: 200;
  background:
    repeating-linear-gradient(to bottom, transparent 0 2px, rgba(0, 0, 0, 0.16) 3px),
    radial-gradient(ellipse at center, transparent 60%, rgba(0, 0, 0, 0.5) 100%);
  mix-blend-mode: multiply;
}
.progress { position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 210; }
.progress i { display: block; height: 100%; width: 100%; transform-origin: left; transform: scaleX(0); background: linear-gradient(90deg, var(--cyan), var(--green), var(--red)); box-shadow: var(--glow-g); }

.reticle { pointer-events: none; position: fixed; inset: 0; z-index: 190; opacity: 0; transition: opacity 0.3s; }
.reticle.on { opacity: 1; }
.reticle-x, .reticle-y { position: absolute; background: rgba(90, 255, 140, 0.12); }
.reticle-x { left: 0; right: 0; height: 1px; top: 0; }
.reticle-y { top: 0; bottom: 0; width: 1px; left: 0; }
.reticle b {
  position: absolute; left: 0; top: 0; font: 15px var(--mono); font-weight: normal; color: rgba(90, 255, 140, 0.7);
  white-space: nowrap; transform: translate(12px, 10px);
}

/* ---------- 顶栏 ---------- */
.topbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; gap: 24px; padding: 14px var(--gutter);
  transition: background 0.4s, padding 0.4s, border-color 0.4s;
  border-bottom: 1px solid transparent;
}
.topbar.solid { background: rgba(2, 7, 10, 0.78); backdrop-filter: blur(12px) saturate(1.3); padding-top: 10px; padding-bottom: 10px; border-color: var(--faint); }
.brand { display: flex; align-items: center; gap: 10px; font-family: var(--pixel); }
.brand-mark { color: var(--bg); background: var(--green); padding: 0 6px; font-size: 13px; line-height: 1.6; box-shadow: var(--glow-g); }
.brand-name { color: var(--white); font-size: 19px; letter-spacing: 0.1em; }
.nav { display: flex; gap: 2px; margin-left: auto; font-family: var(--pixel); font-size: 15px; }
.nav a { position: relative; color: var(--muted); padding: 6px 12px; transition: color 0.2s; }
.nav a::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 2px; height: 1px; background: var(--green); transform: scaleX(0); transition: transform 0.3s var(--ease); transform-origin: left; }
.nav a:hover, .nav a.active { color: var(--green); }
.nav a:hover::after, .nav a.active::after { transform: scaleX(1); }
.nav .nav-cta { color: var(--bg); background: var(--green); margin-left: 8px; }
.nav .nav-cta::after { display: none; }
.nav .nav-cta:hover, .nav .nav-cta.active { color: var(--bg); box-shadow: var(--glow-g); }
.nav-toggle { display: none; }

/* ---------- 首屏 ---------- */
.hero { position: relative; height: 100vh; height: 100svh; min-height: 620px; overflow: hidden; background: radial-gradient(ellipse at 62% 55%, #071a16 0%, var(--bg) 70%); }
.holo { position: absolute; inset: 0; width: 100%; height: 100%; touch-action: pan-y; cursor: grab; filter: saturate(1.15) contrast(1.08); }
/* 首屏显像管：密扫描线、滚动亮带、轻微闪烁与四角暗角 */
.hero::before, .hero::after { content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 1; }
.hero::before {
  background:
    repeating-linear-gradient(to bottom, rgba(0, 0, 0, 0) 0, rgba(0, 0, 0, 0) 1px, rgba(0, 0, 0, 0.32) 2px, rgba(0, 0, 0, 0) 3px),
    radial-gradient(ellipse 120% 100% at 50% 50%, transparent 55%, rgba(0, 0, 0, 0.7) 100%);
  animation: crtFlicker 4s infinite steps(1);
}
.hero::after {
  height: 22%; top: -25%; bottom: auto;
  background: linear-gradient(to bottom, transparent, rgba(160, 255, 200, 0.05) 45%, rgba(160, 255, 200, 0.09) 50%, transparent);
  animation: crtRoll 7s linear infinite;
}
@keyframes crtFlicker { 0%, 100% { opacity: 1; } 31% { opacity: 0.86; } 32% { opacity: 1; } 67% { opacity: 0.93; } 68% { opacity: 1; } }
@keyframes crtRoll { to { transform: translateY(560%); } }
.hero-vignette {
  pointer-events: none; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(2, 7, 10, 0.92) 0%, rgba(2, 7, 10, 0.55) 34%, transparent 58%),
    linear-gradient(0deg, var(--bg) 0%, transparent 22%);
}
.hero-hud { position: absolute; z-index: 2; font: 18px/1.3 var(--mono); color: var(--green); pointer-events: none; }
.hero-hud p { margin: 0; }
.hero-hud em { font-style: normal; color: var(--amber); }
.hud-tl { top: 84px; left: var(--gutter); }
.hud-tr { top: 84px; right: var(--gutter); text-align: right; }
.hero-copy { position: absolute; z-index: 3; left: var(--gutter); bottom: 15vh; max-width: 640px; pointer-events: none; }
.hero-copy a { pointer-events: auto; }
.eyebrow { display: flex; align-items: center; gap: 10px; font-family: var(--pixel); font-size: 15px; color: var(--green); letter-spacing: 0.12em; margin-bottom: 18px; }
.pulse { width: 8px; height: 8px; background: var(--red); border-radius: 50%; box-shadow: 0 0 0 0 rgba(255, 82, 68, 0.7); animation: pulse 1.8s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(255, 82, 68, 0); } 100% { box-shadow: 0 0 0 0 rgba(255, 82, 68, 0); } }
.title { font-size: clamp(76px, 12.5vw, 196px); line-height: 0.95; color: var(--white); text-shadow: 0 0 18px rgba(90, 200, 255, 0.35), 0 0 60px rgba(90, 255, 140, 0.15); }
.title .title-pre { width: max-content; font-size: 0.32em; line-height: 1.2; letter-spacing: 0.2em; margin-bottom: 0.12em; }
.title .title-pre + .title-line { margin-left: 0; }
.title-line { display: block; position: relative; animation: titleIn 1.2s var(--ease) both; }
.title-line + .title-line { animation-delay: 0.15s; margin-left: 0.55em; }
.title-line::before, .title-line::after { content: attr(data-text); position: absolute; inset: 0; mix-blend-mode: screen; pointer-events: none; }
.title-line::before { color: var(--red); transform: translateX(-4px); opacity: 0.55; animation: chromaA 6s infinite steps(1); }
.title-line::after { color: var(--cyan); transform: translateX(4px); opacity: 0.55; animation: chromaB 7s infinite steps(1); }
@keyframes titleIn { from { opacity: 0; transform: translateY(40px) skewY(4deg); filter: blur(10px); } to { opacity: 1; transform: none; filter: none; } }
@keyframes chromaA { 0%, 92%, 100% { transform: translateX(-4px); clip-path: inset(0 0 0 0); } 93% { transform: translateX(-18px); clip-path: inset(20% 0 55% 0); } 95% { transform: translateX(10px); clip-path: inset(60% 0 10% 0); } }
@keyframes chromaB { 0%, 88%, 100% { transform: translateX(4px); clip-path: inset(0 0 0 0); } 89% { transform: translateX(16px); clip-path: inset(45% 0 30% 0); } 91% { transform: translateX(-12px); clip-path: inset(5% 0 75% 0); } }
.tagline { font-family: var(--pixel); font-size: clamp(18px, 2vw, 24px); color: var(--green); text-shadow: var(--glow-g); min-height: 1.6em; margin: 22px 0 30px; }
.tagline span.typing::after { content: "█"; margin-left: 4px; animation: blink 0.8s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-hint { position: absolute; z-index: 3; right: var(--gutter); bottom: 28px; display: flex; gap: 22px; font: 17px var(--mono); color: var(--muted); margin: 0; pointer-events: none; }
.hint-scroll::after { content: "↓"; display: inline-block; margin-left: 6px; animation: bob 1.6s ease-in-out infinite; }
@keyframes bob { 50% { transform: translateY(4px); } }

/* ---------- 按钮 ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--pixel); font-size: 17px; color: var(--green); padding: 13px 24px;
  border: 1px solid rgba(90, 255, 140, 0.45); background: rgba(90, 255, 140, 0.05);
  overflow: hidden; transition: color 0.3s, border-color 0.3s, box-shadow 0.3s;
  will-change: transform;
}
.btn span { position: relative; z-index: 1; }
.btn::before { content: ""; position: absolute; inset: 0; background: var(--green); transform: translateY(101%); transition: transform 0.35s var(--ease); }
.btn:hover { color: var(--bg); border-color: var(--green); box-shadow: var(--glow-g); }
.btn:hover::before { transform: none; }
.btn-primary { color: var(--bg); background: var(--green); border-color: var(--green); }
.btn-primary::before { background: var(--white); }
.btn-big { font-size: 21px; padding: 18px 32px; }

/* ---------- 跑马灯数据带 ---------- */
.ticker { border-block: 1px solid var(--faint); background: rgba(6, 17, 23, 0.7); overflow: hidden; position: relative; z-index: 2; }
.ticker-track { display: flex; width: max-content; animation: marquee 38s linear infinite; }
.ticker:hover .ticker-track { animation-play-state: paused; }
.ticker-item { display: flex; align-items: baseline; gap: 12px; padding: 18px 44px; white-space: nowrap; position: relative; }
.ticker-item::after { content: "◆"; position: absolute; right: -6px; color: var(--green-dim); font-size: 10px; top: 50%; transform: translateY(-50%); }
.ticker-item b { font: 44px/1 var(--mono); font-weight: normal; color: var(--amber); }
.ticker-item span { font-family: var(--pixel); color: var(--muted); font-size: 14px; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- 通用版块 ---------- */
main { position: relative; }
.section { position: relative; max-width: var(--maxw); margin: 0 auto; padding: 140px var(--gutter) 40px; }
.section-label { display: flex; align-items: center; gap: 14px; font-family: var(--pixel); font-size: 15px; color: var(--muted); letter-spacing: 0.2em; margin-bottom: 48px; }
.section-label span { font: 22px var(--mono); color: var(--bg); background: var(--green); padding: 0 8px; letter-spacing: 0; }
.section-label::after { content: ""; flex: 1; height: 1px; background: linear-gradient(90deg, var(--faint), transparent); }
.reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- 宣传片 ---------- */
/* 视频不加任何外框：滤色混合让黑底消失，四周用遮罩渐隐进页面背景 */
.film-section { position: relative; padding: 40px 0 0; margin-top: -2px; }
.film {
  --s: 0.94; --y: 0px;
  position: relative; width: min(100%, 1720px); margin: 0 auto;
  transform: translateY(var(--y)) scale(var(--s)); will-change: transform;
}
.film video {
  display: block; width: 100%; aspect-ratio: 16 / 9; background: transparent;
  mix-blend-mode: screen; filter: contrast(1.08) saturate(1.1);
  -webkit-mask-image: radial-gradient(ellipse 72% 66% at 50% 50%, #000 52%, rgba(0, 0, 0, 0.6) 72%, transparent 100%);
  mask-image: radial-gradient(ellipse 72% 66% at 50% 50%, #000 52%, rgba(0, 0, 0, 0.6) 72%, transparent 100%);
}
.film-full {
  position: absolute; right: 6%; bottom: 5%; z-index: 2;
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 4px;
  background: none; border: 0; cursor: pointer;
  font-family: var(--pixel); font-size: 14px; letter-spacing: 0.15em; color: var(--muted);
  opacity: 0.55; transition: opacity 0.3s, color 0.3s;
}
.film:hover .film-full, .film-full:focus-visible { opacity: 1; }
.film-full:hover { color: var(--green); text-shadow: var(--glow-g); }
.film-full:hover svg { filter: drop-shadow(0 0 6px rgba(90, 255, 140, 0.8)); }
/* 全屏时恢复正常画面：不混合、不遮罩 */
.film video:fullscreen { mix-blend-mode: normal; -webkit-mask-image: none; mask-image: none; filter: none; background: #000; }
.film video:-webkit-full-screen { mix-blend-mode: normal; -webkit-mask-image: none; filter: none; background: #000; }
@media (max-width: 720px) { .film-full { right: 3%; bottom: 0; opacity: 0.8; } }

/* ---------- 序章 ---------- */
.world { display: grid; grid-template-columns: 1.4fr 0.8fr; gap: 72px; align-items: start; }
.statement { font-family: var(--pixel); font-size: clamp(32px, 4.6vw, 64px); line-height: 1.3; color: var(--white); margin-bottom: 40px; }
.statement span { display: inline-block; overflow: hidden; vertical-align: top; }
.reveal-lines span { clip-path: inset(0 0 100% 0); transform: translateY(30%); transition: clip-path 0.9s var(--ease), transform 0.9s var(--ease); }
.reveal-lines.in span { clip-path: inset(0 0 0 0); transform: none; }
.reveal-lines.in span:nth-child(2) { transition-delay: 0.12s; }
.reveal-lines.in span:nth-child(3) { transition-delay: 0.5s; }
.reveal-lines.in span:nth-child(4) { transition-delay: 0.62s; }
.statement .hl { color: var(--green); text-shadow: var(--glow-g); }
.world-body { color: var(--muted); font-size: 17px; max-width: 34em; }
.chronicle { --fill: 0; list-style: none; margin: 0; padding: 8px 0 0 34px; position: relative; }
.chronicle::before, .chronicle::after { content: ""; position: absolute; left: 6px; top: 0; width: 1px; height: 100%; }
.chronicle::before { background: var(--faint); }
.chronicle::after { background: var(--green); box-shadow: var(--glow-g); transform-origin: top; transform: scaleY(var(--fill)); }
.chronicle li { position: relative; padding-bottom: 40px; }
.chronicle li::before { content: ""; position: absolute; left: -34px; top: 10px; width: 13px; height: 13px; background: var(--bg); border: 1px solid var(--green); transform: rotate(45deg); }
.chronicle li.now::before { background: var(--amber); border-color: var(--amber); box-shadow: 0 0 16px var(--amber); }
.chronicle time { display: block; font: 30px/1.1 var(--mono); color: var(--amber); }
.chronicle p { color: var(--muted); margin: 6px 0 0; }

/* ---------- 两岸 ---------- */
.powers { display: flex; gap: 0; align-items: stretch; min-height: 620px; }
.power {
  position: relative; flex: 1; padding: 40px 36px; overflow: hidden; outline: none;
  border: 1px solid var(--faint); background: rgba(6, 17, 23, 0.6);
  transition: flex 0.7s var(--ease), border-color 0.4s;
}
.power:hover, .power:focus-visible { flex: 1.35; }
.power-south:hover, .power-south:focus-visible { border-color: rgba(90, 200, 255, 0.5); }
.power-north:hover, .power-north:focus-visible { border-color: rgba(255, 82, 68, 0.5); }
.power-glow { position: absolute; inset: -30%; opacity: 0.35; transition: opacity 0.6s; pointer-events: none; }
.power-south .power-glow { background: radial-gradient(circle at 30% 30%, rgba(90, 200, 255, 0.35), transparent 55%); }
.power-north .power-glow { background: radial-gradient(circle at 70% 30%, rgba(255, 82, 68, 0.32), transparent 55%); }
.power:hover .power-glow { opacity: 0.85; }
.power-art { position: relative; width: 100%; max-width: 420px; margin: 0 auto 32px; filter: drop-shadow(0 30px 40px rgba(0, 0, 0, 0.6)); transition: transform 0.2s ease-out; will-change: transform; }
.power-text { position: relative; }
.power-code { font: 20px var(--mono); margin: 0 0 6px; }
.power-south .power-code { color: var(--cyan); }
.power-north .power-code { color: var(--red); }
.power h2 { font-size: clamp(28px, 3vw, 40px); margin-bottom: 14px; }
.power p { color: var(--muted); max-width: 30em; }
.chips { list-style: none; padding: 0; margin: 20px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { font-family: var(--pixel); font-size: 13px; padding: 4px 10px; border: 1px solid var(--faint); color: var(--ink); }
.power-south .chips li { border-color: rgba(90, 200, 255, 0.3); }
.power-north .chips li { border-color: rgba(255, 82, 68, 0.3); }
.river { position: relative; width: 70px; flex: 0 0 70px; display: grid; place-items: center; }
.river canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.river span { position: relative; writing-mode: vertical-rl; font-family: var(--pixel); font-size: 18px; letter-spacing: 0.6em; color: var(--green); text-shadow: var(--glow-g); background: var(--bg); padding: 14px 4px; }

/* ---------- 玩法 ---------- */
.bento { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.cell {
  position: relative; display: flex; flex-direction: column; justify-content: space-between; gap: 22px;
  min-height: 300px; padding: 28px; overflow: hidden;
  border: 1px solid var(--faint); background: linear-gradient(160deg, rgba(10, 28, 24, 0.7), rgba(4, 10, 14, 0.85));
  transform-style: preserve-3d; transition: transform 0.25s ease-out, border-color 0.3s;
}
.cell:hover { border-color: rgba(90, 255, 140, 0.4); }
.cell::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity 0.3s;
  background: radial-gradient(400px circle at var(--mx, 50%) var(--my, 50%), rgba(90, 255, 140, 0.12), transparent 60%);
}
.cell:hover::after { opacity: 1; }
.cell-wide { grid-column: span 2; flex-direction: row; align-items: stretch; }
.cell-wide .cell-text { flex: 0 0 42%; align-self: flex-end; }
.cell-visual { position: relative; flex: 1; min-height: 160px; }
.cell-visual canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.cell-no { font: 18px var(--mono); color: var(--amber); margin: 0 0 6px; }
.cell h3 { font-size: 26px; margin-bottom: 10px; }
.cell p { color: var(--muted); margin: 0; }
.factions { display: grid; gap: 10px; }
.faction { display: grid; grid-template-columns: 6.5em 1fr 2em; align-items: center; gap: 10px; font-size: 13px; }
.faction i { display: block; height: 14px; width: 0; transition: width 1.2s var(--ease); background: repeating-linear-gradient(90deg, var(--cyan) 0 9px, transparent 9px 12px); box-shadow: 0 0 10px rgba(90, 200, 255, 0.4); }
.faction b { font: 22px var(--mono); font-weight: normal; color: var(--white); text-align: right; }

/* ---------- 国策转盘 ---------- */
.section-focus { overflow: visible; }
.focus-intro { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 24px; }
.focus-intro h2 { font-size: clamp(30px, 4vw, 54px); line-height: 1.25; }
.focus-intro p { color: var(--muted); max-width: 22em; margin: 0; }
.carousel { position: relative; overflow: hidden; height: 460px; perspective: 1600px; perspective-origin: 50% 30%; cursor: grab; outline: none; user-select: none; touch-action: pan-y; }
.carousel:active { cursor: grabbing; }
.carousel::before { content: ""; position: absolute; left: 50%; bottom: 40px; width: 70%; height: 80px; transform: translateX(-50%); background: radial-gradient(ellipse, rgba(90, 255, 140, 0.18), transparent 70%); filter: blur(10px); }
.carousel-ring { position: absolute; left: 50%; top: 42%; width: 0; height: 0; transform-style: preserve-3d; }
.carousel-ring figure {
  position: absolute; width: 150px; margin: -95px 0 0 -75px; text-align: center;
  transform-style: preserve-3d; backface-visibility: hidden;
}
.carousel-ring img { width: 150px; height: 150px; filter: drop-shadow(0 12px 18px rgba(0, 0, 0, 0.7)); pointer-events: none; }
.carousel-ring figcaption { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.carousel-ring figure.front img { filter: drop-shadow(0 12px 18px rgba(0, 0, 0, 0.7)) drop-shadow(0 0 24px rgba(90, 255, 140, 0.35)); }
.carousel-caption { position: absolute; left: 0; right: 0; bottom: 0; text-align: center; font-family: var(--pixel); color: var(--green); font-size: 20px; text-shadow: var(--glow-g); margin: 0; }

/* ---------- 故事 ---------- */
.stories-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 40px; }
.stories-head h2 { font-size: clamp(30px, 4vw, 54px); line-height: 1.25; }
.stories-head p { color: var(--muted); margin: 0; }
.reel {
  display: flex; gap: 22px; overflow-x: auto; padding: 20px var(--gutter) 30px; margin: 0 calc(-1 * var(--gutter));
  scroll-snap-type: x mandatory; scrollbar-width: none; cursor: grab; outline: none; perspective: 1200px;
}
.reel::-webkit-scrollbar { display: none; }
.reel.dragging { cursor: grabbing; scroll-snap-type: none; }
.story-card {
  flex: 0 0 clamp(280px, 30vw, 380px); scroll-snap-align: start; padding: 18px 18px 22px;
  border: 1px solid var(--faint); background: linear-gradient(170deg, rgba(14, 26, 22, 0.9), rgba(4, 9, 12, 0.95));
  transition: transform 0.25s ease-out, border-color 0.3s; user-select: none;
}
.story-card:hover { border-color: rgba(255, 176, 40, 0.45); }
.story-img { overflow: hidden; margin-bottom: 18px; background: #000; }
.story-img img { width: 100%; aspect-ratio: 352 / 188; object-fit: cover; transition: transform 1.2s var(--ease); pointer-events: none; }
.story-card:hover .story-img img { transform: scale(1.06); }
.story-meta { font: 18px var(--mono); color: var(--amber); margin: 0 0 4px; }
.story-card h3 { font-size: 24px; margin-bottom: 10px; }
.story-card p { color: var(--muted); font-size: 15px; }
.story-text { display: flex; flex-direction: column; justify-content: flex-end; min-height: 380px; background: linear-gradient(170deg, rgba(30, 22, 8, 0.55), rgba(4, 9, 12, 0.95)); }
.story-quote { font-family: var(--pixel); font-size: 19px !important; color: var(--green) !important; text-shadow: var(--glow-g); }
.story-by { font-family: var(--pixel); font-size: 12px !important; color: var(--green-dim) !important; margin: 0; }
.reel-ctrl { display: flex; align-items: center; gap: 16px; font: 17px var(--mono); color: var(--muted); }
.reel-bar { flex: 1; max-width: 360px; height: 2px; background: var(--faint); position: relative; }
.reel-bar i { position: absolute; left: 0; top: 0; bottom: 0; width: 20%; background: var(--amber); box-shadow: 0 0 10px var(--amber); }

/* ---------- 画廊 ---------- */
.section-gallery { max-width: none; padding: 120px 0 40px; }
.gallery {
  perspective: 1200px; overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.gallery-row { display: flex; gap: 18px; width: max-content; margin-bottom: 18px; transform: rotateX(16deg); animation: marquee 60s linear infinite; }
.gallery-row[data-dir="-1"] { animation-direction: reverse; animation-duration: 70s; }
.gallery:hover .gallery-row { animation-play-state: paused; }
.gallery-row img { width: clamp(240px, 26vw, 400px); height: auto; aspect-ratio: 16 / 9; object-fit: cover; filter: grayscale(0.35) contrast(1.05) brightness(0.85); transition: filter 0.4s; border: 1px solid var(--faint); }
.gallery-row img:hover { filter: none; }

/* ---------- 订阅 ---------- */
.download { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 64px; align-items: center; }
.download-copy h2 { font-size: clamp(32px, 4.4vw, 60px); line-height: 1.2; margin-bottom: 22px; }
.download-copy p { color: var(--muted); max-width: 32em; }
.download-actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 32px 0 20px; }
.spec { font: 19px var(--mono); color: var(--amber); }
.download-art { margin: 0; transition: transform 0.2s ease-out; box-shadow: 0 40px 100px rgba(0, 0, 0, 0.7), 0 0 120px rgba(90, 200, 255, 0.15); }

/* ---------- 页脚 ---------- */
.footer { max-width: var(--maxw); margin: 120px auto 0; padding: 48px var(--gutter) 40px; border-top: 1px solid var(--faint); }
.footer-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 40px; margin-bottom: 28px; }
.footer-brand { font-family: var(--pixel); font-size: 32px; color: var(--white); margin: 0; }
.footer .dim { font: 17px var(--mono); }
.credits { display: grid; grid-template-columns: 6em 1fr; gap: 6px 18px; margin: 0; font-size: 14px; }
.credits dt { font-family: var(--pixel); color: var(--muted); }
.credits dd { margin: 0; }
.disclaimer { border: 1px solid var(--faint); padding: 0 18px; margin-bottom: 28px; }
.disclaimer summary { cursor: pointer; padding: 12px 0; font-family: var(--pixel); color: var(--muted); }
.disclaimer p { color: var(--muted); font-size: 13px; }
.footer-sig { font: 18px var(--mono); color: var(--green-dim); text-align: center; margin: 0; }
.cursor { animation: blink 1s steps(1) infinite; }

/* ---------- 响应式 ---------- */
@media (max-width: 1000px) {
  .world, .download { grid-template-columns: 1fr; gap: 48px; }
  .bento { grid-template-columns: 1fr 1fr; }
  .cell-wide { grid-column: span 2; }
  .powers { flex-direction: column; min-height: 0; }
  .power:hover, .power:focus-visible { flex: 1; }
  .river { width: auto; flex: 0 0 64px; }
  .river span { writing-mode: horizontal-tb; letter-spacing: 0.6em; padding: 4px 14px; }
  .hero-vignette { background: linear-gradient(0deg, var(--bg) 0%, rgba(2, 7, 10, 0.7) 40%, transparent 70%); }
  .hud-tr { display: none; }
}
@media (max-width: 720px) {
  .topbar.solid { backdrop-filter: none; background: rgba(2, 7, 10, 0.95); }
  .nav-toggle { display: grid; gap: 6px; margin-left: auto; background: none; border: 1px solid rgba(90, 255, 140, 0.45); padding: 10px 9px; cursor: pointer; }
  .nav-toggle span:not(.sr) { display: block; width: 20px; height: 2px; background: var(--green); transition: transform 0.3s; }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(4px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { transform: translateY(-4px) rotate(-45deg); }
  .nav { position: fixed; inset: 0; z-index: -1; flex-direction: column; justify-content: center; align-items: center; gap: 10px; font-size: 24px; background: rgba(2, 7, 10, 0.97); opacity: 0; pointer-events: none; transition: opacity 0.35s; }
  .nav.open { opacity: 1; pointer-events: auto; }
  .nav .nav-cta { margin: 12px 0 0; }
  .section { padding-top: 100px; }
  .hero-copy { bottom: 13vh; right: var(--gutter); }
  .title-line + .title-line { margin-left: 0.35em; }
  .hero-hint .hint-drag { display: none; }
  .bento { grid-template-columns: 1fr; }
  .cell-wide { grid-column: span 1; flex-direction: column-reverse; }
  .cell-wide .cell-text { flex: none; }
  .carousel { height: 360px; }
  .carousel-ring figure { width: 110px; margin: -70px 0 0 -55px; }
  .carousel-ring img { width: 110px; height: 110px; }
  .footer-grid { grid-template-columns: 1fr; }
  .ticker-item { padding: 14px 30px; }
  .ticker-item b { font-size: 36px; }
}
@media (hover: none) { .reticle { display: none; } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
  .reveal, .reveal-lines span { opacity: 1; transform: none; clip-path: none; }
  .film { --s: 1; --y: 0px; }
}
