/* ==========================================================================
   KILL GOD OPS (猎神行动) — v5 EXPLOSIVE INTERACTIVE VFX EDITION
   Dual-Theme Stance Morph · 3D Perspective Tilt · Playable Arena HUD
   Custom Tactical Crosshair · Conic Laser Beams · Glitch & Shockwave VFX
   ========================================================================== */

@property --beam-angle {
  syntax: "<angle>";
  initial-value: 0deg;
  inherits: false;
}

:root {
  --bg-void: #030508;
  --bg-obsidian: #070b12;
  --bg-surface: rgba(11, 16, 26, 0.78);
  --bg-surface-hover: rgba(16, 24, 38, 0.9);

  --accent: #f5a623;
  --accent-bright: #ffd36e;
  --accent-dim: rgba(245, 166, 35, 0.16);
  --accent-border: rgba(245, 166, 35, 0.48);
  --accent-glow: rgba(245, 166, 35, 0.45);
  --cta-ink: #07090d;

  --cyan: #18e0f6;
  --cyan-bright: #8ef5ff;
  --cyan-dim: rgba(24, 224, 246, 0.15);
  --cyan-border: rgba(24, 224, 246, 0.46);

  --danger: #ff3b4e;
  --danger-dim: rgba(255, 59, 78, 0.14);
  --danger-border: rgba(255, 59, 78, 0.44);

  --success: #34e88a;
  --success-dim: rgba(52, 232, 138, 0.14);
  --success-border: rgba(52, 232, 138, 0.42);

  --mode-primary: #f5a623;
  --mode-bright: #ffd36e;
  --mode-glow: rgba(245, 166, 35, 0.34);

  --text-main: #f6f8fc;
  --text-secondary: #c0cadb;
  --text-muted: #8291a8;
  --text-dim: #536278;

  --border: rgba(255, 255, 255, 0.09);
  --border-strong: rgba(255, 255, 255, 0.22);

  --font-sans: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-mono: ui-monospace, "SF Mono", "JetBrains Mono", Menlo, Monaco, Consolas, monospace;

  --container: 1200px;
  --header-h: 72px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --ease-expo: cubic-bezier(0.16, 1, 0.3, 1);
}

html[data-stance="hunter"] {
  --mode-primary: #18e0f6;
  --mode-bright: #8ef5ff;
  --mode-glow: rgba(24, 224, 246, 0.36);
}

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

html {
  scroll-behavior: smooth;
  background-color: var(--bg-void);
  color: var(--text-main);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body {
  margin: 0;
  background-color: var(--bg-void);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
}

body.shake-hit {
  animation: microShake 0.22s ease-out;
}

@keyframes microShake {
  0% { transform: translate(0, 0); }
  25% { transform: translate(-3px, 2px); }
  55% { transform: translate(3px, -2px); }
  80% { transform: translate(-1.5px, 1px); }
  100% { transform: translate(0, 0); }
}

::selection { background: rgba(245, 166, 35, 0.38); color: #fff; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
.tnum { font-variant-numeric: tabular-nums; }
.mono { font-family: var(--font-mono); }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 3;
}

#kgo-canvas {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 0;
}

.cursor-aurora {
  position: fixed;
  top: 0;
  left: 0;
  width: 560px;
  height: 560px;
  margin-left: -280px;
  margin-top: -280px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--mode-glow) 0%, transparent 66%);
  opacity: 0;
  pointer-events: none;
  z-index: 1;
  will-change: transform;
  transition: opacity 0.4s ease, background 0.6s ease;
}
.cursor-aurora.visible { opacity: 0.35; }

.reticle-cursor {
  position: fixed;
  top: 0;
  left: 0;
  width: 34px;
  height: 34px;
  margin-left: -17px;
  margin-top: -17px;
  pointer-events: none;
  z-index: 999;
  opacity: 0;
  will-change: transform;
  transition: opacity 0.25s ease;
}
.reticle-cursor.visible { opacity: 1; }
.reticle-ring {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 1px solid var(--mode-primary);
  box-shadow: 0 0 12px var(--mode-glow);
  position: relative;
  transition: transform 0.16s var(--ease-expo), border-color 0.3s ease;
}
.reticle-cursor.hovering .reticle-ring {
  transform: scale(1.48) rotate(45deg);
  border-color: var(--mode-bright);
}
.reticle-cursor.firing .reticle-ring {
  transform: scale(0.76);
  border-color: #fff;
}
.reticle-ring::before,
.reticle-ring::after {
  content: "";
  position: absolute;
  background: var(--mode-bright);
}
.reticle-ring::before { top: 50%; left: -5px; right: -5px; height: 1px; margin-top: -0.5px; opacity: 0.55; }
.reticle-ring::after { left: 50%; top: -5px; bottom: -5px; width: 1px; margin-left: -0.5px; opacity: 0.55; }

.stance-wave {
  position: fixed;
  top: 50%;
  left: 50%;
  width: 40px;
  height: 40px;
  margin: -20px 0 0 -20px;
  border-radius: 50%;
  border: 3px solid var(--mode-bright);
  box-shadow: 0 0 60px var(--mode-primary), inset 0 0 40px var(--mode-primary);
  pointer-events: none;
  z-index: 150;
  opacity: 0;
  transform: scale(0.1);
}
.stance-wave.blast {
  animation: stanceBlast 0.82s var(--ease-expo) forwards;
}
@keyframes stanceBlast {
  0% { opacity: 0.95; transform: scale(0.2); border-width: 5px; }
  100% { opacity: 0; transform: scale(55); border-width: 1px; }
}

.scanlines {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 90;
  background: repeating-linear-gradient(
    0deg,
    rgba(255, 255, 255, 0.012) 0px,
    rgba(255, 255, 255, 0.012) 1px,
    transparent 1px,
    transparent 4px
  );
}

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  z-index: 140;
  background: linear-gradient(90deg, var(--accent), var(--accent-bright), var(--cyan));
  box-shadow: 0 0 18px var(--mode-primary);
  pointer-events: none;
}

.spot-card {
  --mx: 50%;
  --my: 50%;
  --spot-color: rgba(245, 166, 35, 0.24);
  --spot-border: rgba(245, 166, 35, 0.7);
  position: relative;
  border-radius: var(--radius-md);
  background: var(--bg-surface);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid var(--border);
  overflow: hidden;
  transform-style: preserve-3d;
  transition: transform 0.22s var(--ease-expo), border-color 0.3s ease, background-color 0.3s ease, box-shadow 0.3s ease;
}

.spot-card.cyan-spot { --spot-color: rgba(24, 224, 246, 0.22); --spot-border: rgba(24, 224, 246, 0.72); }
.spot-card.green-spot { --spot-color: rgba(52, 232, 138, 0.2); --spot-border: rgba(52, 232, 138, 0.65); }
.spot-card.red-spot { --spot-color: rgba(255, 59, 78, 0.2); --spot-border: rgba(255, 59, 78, 0.65); }

.spot-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(420px circle at var(--mx) var(--my), var(--spot-color), transparent 58%);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
  z-index: 0;
}

.spot-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1.5px;
  background: radial-gradient(280px circle at var(--mx) var(--my), var(--spot-border), transparent 60%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
  z-index: 2;
}

.spot-card:hover::before,
.spot-card:hover::after { opacity: 1; }
.spot-card:hover { background: var(--bg-surface-hover); }
.spot-card > * { position: relative; z-index: 1; }

.beam-box {
  position: relative;
  border-radius: var(--radius-lg);
  padding: 1.5px;
  background: conic-gradient(
    from var(--beam-angle),
    rgba(255, 255, 255, 0.08) 0deg,
    rgba(255, 255, 255, 0.08) 235deg,
    var(--accent-bright) 295deg,
    var(--cyan-bright) 338deg,
    rgba(255, 255, 255, 0.08) 360deg
  );
  animation: spinBeam 4.6s linear infinite;
  box-shadow: 0 24px 80px -24px var(--mode-glow);
}

@keyframes spinBeam { to { --beam-angle: 360deg; } }

.beam-inner {
  border-radius: calc(var(--radius-lg) - 1.5px);
  background: linear-gradient(155deg, rgba(13, 19, 31, 0.96) 0%, rgba(5, 8, 13, 0.99) 100%);
  overflow: hidden;
  position: relative;
}

.reveal {
  opacity: 0;
  transform: translateY(28px) scale(0.985);
  filter: blur(7px);
  transition: opacity 0.72s var(--ease-expo), transform 0.72s var(--ease-expo), filter 0.72s var(--ease-expo);
  transition-delay: var(--delay, 0ms);
  will-change: opacity, transform, filter;
}
.reveal.in-view { opacity: 1; transform: translateY(0) scale(1); filter: blur(0); }

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 110;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: rgba(3, 5, 8, 0.62);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  transition: background-color 0.25s ease, box-shadow 0.25s ease;
}
.site-header.scrolled {
  background: rgba(3, 5, 8, 0.9);
  box-shadow: 0 12px 42px rgba(0, 0, 0, 0.55);
}

.nav-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: flex; align-items: center; gap: 11px; flex-shrink: 0; }
.brand-icon { width: 32px; height: 32px; display: block; filter: drop-shadow(0 0 10px rgba(245, 166, 35, 0.45)); }
.brand-text { display: flex; flex-direction: column; line-height: 1.08; }
.brand-title { font-size: 15px; font-weight: 900; letter-spacing: 0.08em; }
.brand-sub { font-family: var(--font-mono); font-size: 9.5px; letter-spacing: 0.22em; color: var(--mode-primary); margin-top: 2px; transition: color 0.4s ease; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 5px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.07);
}
.nav-links a {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
  padding: 7px 14px;
  border-radius: 999px;
  transition: color 0.18s ease, background-color 0.18s ease;
}
.nav-links a:hover, .nav-links a.active { color: #fff; background: rgba(255, 255, 255, 0.09); }

.nav-actions { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }

.pill-ctrl {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 12px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  border-radius: 999px;
  transition: all 0.2s ease;
}
.pill-ctrl:hover { color: #fff; border-color: var(--accent-border); background: var(--accent-dim); }
.pill-ctrl.active-on { color: var(--cyan-bright); border-color: var(--cyan-border); background: var(--cyan-dim); box-shadow: 0 0 16px -4px rgba(24, 224, 246, 0.45); }
.pill-ctrl .lang-active { color: var(--accent-bright); }

.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  border-radius: 10px;
  color: #fff;
}

.mobile-drawer {
  display: none;
  position: fixed;
  top: var(--header-h);
  left: 0;
  right: 0;
  background: rgba(5, 8, 13, 0.98);
  backdrop-filter: blur(22px);
  border-bottom: 1px solid var(--border-strong);
  padding: 18px 24px 26px;
  z-index: 108;
}
.mobile-drawer.open { display: block; }
.mobile-drawer-links { display: flex; flex-direction: column; gap: 4px; margin-bottom: 18px; }
.mobile-drawer-links a { padding: 12px 10px; font-size: 15px; font-weight: 700; color: var(--text-secondary); border-bottom: 1px solid rgba(255, 255, 255, 0.06); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-weight: 800;
  font-size: 14px;
  letter-spacing: 0.06em;
  padding: 14px 28px;
  border-radius: 999px;
  border: 1px solid transparent;
  position: relative;
  overflow: hidden;
  white-space: nowrap;
  transition: transform 0.22s var(--ease-expo), box-shadow 0.25s ease, filter 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
}
.btn-sm { padding: 8px 16px; font-size: 12px; }

.btn-primary {
  background: linear-gradient(135deg, #fff0ad 0%, var(--accent) 52%, #d87b05 100%);
  color: var(--cta-ink);
  box-shadow: 0 12px 38px -8px rgba(245, 166, 35, 0.65), inset 0 1px 0 rgba(255, 255, 255, 0.6);
}
html[data-stance="hunter"] .btn-primary {
  background: linear-gradient(135deg, #d8fbff 0%, var(--cyan) 52%, #0284c7 100%);
  box-shadow: 0 12px 38px -8px rgba(24, 224, 246, 0.65), inset 0 1px 0 rgba(255, 255, 255, 0.65);
}
.btn-primary::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 18%, rgba(255, 255, 255, 0.65) 48%, transparent 76%);
  transform: translateX(-145%);
  transition: transform 0.6s var(--ease-expo);
}
.btn-primary:hover::after { transform: translateX(145%); }
.btn-primary:hover { transform: translateY(-2px) scale(1.02); }
.btn-primary:active { transform: scale(0.97); }

.btn-outline {
  background: rgba(255, 255, 255, 0.045);
  border-color: var(--border-strong);
  color: #fff;
  backdrop-filter: blur(10px);
}
.btn-outline:hover {
  transform: translateY(-2px);
  border-color: var(--mode-primary);
  background: rgba(255, 255, 255, 0.09);
  box-shadow: 0 10px 30px -10px var(--mode-glow);
}

.hero {
  position: relative;
  min-height: 100vh;
  padding: calc(var(--header-h) + 22px) 0 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  transition: background 0.7s ease;
  background:
    radial-gradient(ellipse 68% 50% at 50% 24%, var(--mode-glow) 0%, transparent 64%),
    radial-gradient(ellipse 52% 45% at 18% 78%, rgba(245, 166, 35, 0.14) 0%, transparent 66%),
    radial-gradient(ellipse 52% 45% at 82% 78%, rgba(24, 224, 246, 0.13) 0%, transparent 66%);
}

.hero-grid-floor {
  position: absolute;
  left: -20%;
  right: -20%;
  bottom: -120px;
  height: 58vh;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.055) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.055) 1px, transparent 1px);
  background-size: 64px 64px;
  transform: perspective(640px) rotateX(68deg);
  transform-origin: center bottom;
  mask-image: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, transparent 88%);
  -webkit-mask-image: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, transparent 88%);
  animation: floorScroll 14s linear infinite;
  pointer-events: none;
  z-index: 1;
}

@keyframes floorScroll {
  from { background-position: 0 0; }
  to { background-position: 0 64px; }
}

.hero-main {
  flex: 1;
  display: flex;
  align-items: center;
  padding: 20px 0 34px;
}

.hero-center {
  max-width: 1000px;
  margin: 0 auto;
  text-align: center;
}

.stance-switch {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px;
  border-radius: 999px;
  background: rgba(8, 12, 20, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(16px);
  margin-bottom: 24px;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.55);
}

.stance-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 20px;
  border-radius: 999px;
  border: 1px solid transparent;
  background: transparent;
  color: var(--text-muted);
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: 0.08em;
  transition: all 0.28s var(--ease-expo);
}
.stance-btn:hover { color: #fff; }

.stance-btn[data-set-stance="invoker"].active {
  color: #090b10;
  background: linear-gradient(135deg, #ffe79a 0%, var(--accent) 100%);
  box-shadow: 0 0 28px rgba(245, 166, 35, 0.65);
}

.stance-btn[data-set-stance="hunter"].active {
  color: #041016;
  background: linear-gradient(135deg, #c6fbff 0%, var(--cyan) 100%);
  box-shadow: 0 0 28px rgba(24, 224, 246, 0.65);
}

.hero-title {
  font-size: clamp(46px, 6.8vw, 88px);
  font-weight: 900;
  line-height: 1.04;
  letter-spacing: -0.015em;
  margin: 0 0 16px;
  position: relative;
  color: #fff;
  text-shadow: 0 0 46px var(--mode-glow);
  transition: text-shadow 0.5s ease;
}

.hero-title .hl-gold {
  background: linear-gradient(135deg, #fff6cc 0%, #ffc74a 45%, #f59200 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-title .hl-cyan {
  background: linear-gradient(135deg, #e0fdff 0%, #3ceeff 48%, #0284c7 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-title.glitch-pop {
  animation: glitchFlash 0.34s steps(2, end);
}

@keyframes glitchFlash {
  0% { transform: skewX(0deg); text-shadow: -4px 0 #ff3b4e, 4px 0 #18e0f6; }
  35% { transform: skewX(-6deg) translateX(3px); text-shadow: 5px 0 #ffd36e, -5px 0 #18e0f6; }
  70% { transform: skewX(3deg) translateX(-2px); text-shadow: -3px 0 #ff3b4e, 3px 0 #ffd36e; }
  100% { transform: skewX(0deg); text-shadow: 0 0 46px var(--mode-glow); }
}

.hero-lead {
  font-size: clamp(16px, 1.5vw, 20px);
  color: var(--text-secondary);
  max-width: 700px;
  margin: 0 auto 30px;
  line-height: 1.62;
}
.hero-lead strong { color: #fff; }

.duel-strip {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: stretch;
  gap: 18px;
  margin: 0 auto 30px;
  text-align: left;
}

.duel-card {
  padding: 24px 26px;
  cursor: pointer;
}
.duel-card.gold-top {
  border-top: 2px solid var(--accent);
  box-shadow: 0 24px 64px -26px rgba(245, 166, 35, 0.4);
}
.duel-card.cyan-top {
  border-top: 2px solid var(--cyan);
  box-shadow: 0 24px 64px -26px rgba(24, 224, 246, 0.38);
}

html[data-stance="invoker"] .duel-card.gold-top {
  border-color: var(--accent);
  box-shadow: 0 0 44px -10px rgba(245, 166, 35, 0.65);
}
html[data-stance="hunter"] .duel-card.cyan-top {
  border-color: var(--cyan);
  box-shadow: 0 0 44px -10px rgba(24, 224, 246, 0.65);
}

.duel-role {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.duel-role.gold { color: var(--accent-bright); }
.duel-role.cyan { color: var(--cyan-bright); }
.duel-headline { font-size: clamp(18px, 1.8vw, 22px); font-weight: 900; color: #fff; margin: 0 0 8px; }
.duel-sub { font-size: 13px; color: var(--text-muted); margin: 0; line-height: 1.58; }
.duel-sub strong { color: #fff; }

.duel-vs { display: flex; align-items: center; justify-content: center; }
.duel-vs-ring {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 900;
  color: #fff;
  background: radial-gradient(circle, var(--mode-glow), #070b12);
  border: 1.5px solid var(--mode-primary);
  box-shadow: 0 0 32px var(--mode-glow);
  animation: vsPulse 2.4s ease-in-out infinite;
}
@keyframes vsPulse {
  0%, 100% { transform: scale(1); box-shadow: 0 0 24px var(--mode-glow); }
  50% { transform: scale(1.09); box-shadow: 0 0 42px var(--mode-primary); }
}

.hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-bottom: 16px;
}

.hero-hint-bar {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-muted);
  letter-spacing: 0.08em;
}
.hero-hint-bar strong { color: var(--mode-bright); }

.marquee-bar {
  position: relative;
  z-index: 3;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(5, 8, 13, 0.78);
  backdrop-filter: blur(14px);
  overflow: hidden;
  padding: 12px 0;
}
.marquee-track { display: flex; width: max-content; gap: 36px; animation: marqueeRun 28s linear infinite; }
.marquee-bar:hover .marquee-track { animation-play-state: paused; }
@keyframes marqueeRun { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.marquee-item { display: inline-flex; align-items: center; gap: 12px; font-family: var(--font-mono); font-size: 11.5px; font-weight: 700; letter-spacing: 0.16em; color: var(--text-muted); text-transform: uppercase; white-space: nowrap; }
.marquee-item strong { color: var(--mode-bright); }

.section { padding: 98px 0; position: relative; z-index: 3; }
.section-header { max-width: 720px; margin-bottom: 44px; }
.section-header.centered { margin-left: auto; margin-right: auto; text-align: center; }

.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.22em;
  color: var(--mode-bright);
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--mode-primary);
  margin-bottom: 14px;
  box-shadow: 0 0 20px -8px var(--mode-primary);
}

.section-title {
  font-size: clamp(30px, 3.9vw, 50px);
  font-weight: 900;
  line-height: 1.12;
  letter-spacing: -0.015em;
  margin: 0 0 12px;
  background: linear-gradient(180deg, #ffffff 25%, #9cb0cb 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section-desc { font-size: 15px; color: var(--text-muted); margin: 0; line-height: 1.7; }

.bento-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 18px; }
.bento-tile { padding: 28px; display: flex; flex-direction: column; justify-content: space-between; gap: 18px; }
.span-7 { grid-column: span 7; }
.span-5 { grid-column: span 5; }
.span-12 { grid-column: span 12; }

.bento-label { font-family: var(--font-mono); font-size: 11px; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent-bright); margin-bottom: 6px; display: inline-block; }
.bento-label.cyan { color: var(--cyan-bright); }
.bento-label.green { color: var(--success); }
.bento-label.red { color: #ff8592; }
.bento-title { font-size: clamp(20px, 2vw, 25px); font-weight: 900; margin: 0 0 8px; line-height: 1.24; }
.bento-desc { font-size: 13.5px; color: var(--text-secondary); margin: 0; line-height: 1.65; }

.laser-vault { position: relative; overflow: hidden; }
.laser-sweep {
  position: absolute;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--danger), transparent);
  box-shadow: 0 0 18px var(--danger);
  animation: laserScan 3.4s ease-in-out infinite;
  pointer-events: none;
  z-index: 3;
}
@keyframes laserScan {
  0%, 100% { top: 8%; opacity: 0.25; }
  50% { top: 92%; opacity: 0.9; }
}

.flow-track { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.flow-node { padding: 13px 11px; border-radius: 10px; background: rgba(255, 255, 255, 0.03); border: 1px solid rgba(255, 255, 255, 0.09); transition: all 0.22s ease; }
.flow-node:hover { border-color: var(--accent); transform: translateY(-3px); box-shadow: 0 10px 24px -10px rgba(245, 166, 35, 0.45); }
.flow-step-num { font-family: var(--font-mono); font-size: 10px; color: var(--accent-bright); margin-bottom: 5px; }
.flow-node strong { display: block; font-size: 13px; color: #fff; margin-bottom: 3px; }
.flow-node span { display: block; font-family: var(--font-mono); font-size: 11px; color: var(--text-muted); }

.beam-svg-line { width: 100%; height: 18px; display: block; margin-bottom: 6px; }
.beam-pulse-dash { stroke-dasharray: 34 170; animation: pulseTravel 2.4s linear infinite; }
@keyframes pulseTravel { from { stroke-dashoffset: 204; } to { stroke-dashoffset: 0; } }

.zero-monument { display: flex; align-items: baseline; gap: 14px; }
.zero-big {
  font-family: var(--font-mono);
  font-size: clamp(54px, 5.2vw, 76px);
  font-weight: 900;
  line-height: 1;
  background: linear-gradient(135deg, #c6ffe2 0%, var(--success) 55%, #059669 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 30px rgba(52, 232, 138, 0.42));
}
.zero-caption { font-family: var(--font-mono); font-size: 12px; color: var(--text-secondary); line-height: 1.5; }
.pill-list { display: flex; flex-wrap: wrap; gap: 8px; }
.glass-pill { font-family: var(--font-mono); font-size: 11px; font-weight: 700; padding: 5px 11px; border-radius: 999px; background: rgba(255, 255, 255, 0.045); border: 1px solid rgba(255, 255, 255, 0.12); color: var(--text-secondary); }
.glass-pill.green { background: var(--success-dim); border-color: var(--success-border); color: #86efac; }

.ban-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.ban-pill { display: flex; align-items: center; gap: 9px; padding: 11px 13px; border-radius: 10px; background: rgba(255, 59, 78, 0.08); border: 1px solid rgba(255, 59, 78, 0.28); font-size: 12.5px; font-weight: 800; color: #ffc2c8; }
.ban-x { width: 20px; height: 20px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: rgba(255, 59, 78, 0.26); color: #ff6b7b; font-family: var(--font-mono); font-size: 11px; flex-shrink: 0; }

.pg-mini-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); gap: 16px; align-items: center; }
.blessing-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.blessing-btn {
  text-align: left;
  padding: 11px 12px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.09);
  color: var(--text-secondary);
  display: flex;
  flex-direction: column;
  gap: 2px;
  transition: all 0.18s ease;
}
.blessing-btn:hover { border-color: var(--accent-border); background: rgba(245, 166, 35, 0.08); }
.blessing-btn.active {
  background: linear-gradient(135deg, rgba(245, 166, 35, 0.22), rgba(245, 166, 35, 0.06));
  border-color: var(--accent);
  box-shadow: 0 0 22px -6px rgba(245, 166, 35, 0.6);
}
.b-row { display: flex; align-items: center; justify-content: space-between; gap: 6px; }
.b-name { font-size: 12.5px; font-weight: 800; color: #fff; }
.b-cost { font-family: var(--font-mono); font-size: 11px; font-weight: 800; color: var(--accent-bright); }
.b-desc { font-size: 10.5px; color: var(--text-muted); }

.bounty-readout {
  padding: 16px;
  border-radius: 12px;
  background: rgba(4, 7, 13, 0.86);
  border: 1px solid rgba(245, 166, 35, 0.3);
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.bounty-pair { display: flex; justify-content: space-between; align-items: baseline; }
.bounty-pair span { font-family: var(--font-mono); font-size: 10.5px; color: var(--text-muted); }
.bounty-pair strong { font-family: var(--font-mono); font-size: 24px; font-weight: 900; color: var(--accent-bright); }
.bounty-pair.drop strong { color: var(--success); text-shadow: 0 0 18px rgba(52, 232, 138, 0.45); }
.threat-track { height: 6px; border-radius: 999px; background: rgba(255, 255, 255, 0.08); overflow: hidden; }
.threat-fill { height: 100%; width: 55%; border-radius: 999px; background: linear-gradient(90deg, var(--accent), #ff5e3a, var(--danger)); transition: width 0.35s var(--ease-expo); }

.seg-control { display: inline-flex; padding: 5px; border-radius: 999px; background: rgba(255, 255, 255, 0.04); border: 1px solid var(--border); margin-bottom: 24px; }
.seg-btn { padding: 10px 22px; border-radius: 999px; border: none; background: transparent; color: var(--text-muted); font-size: 13.5px; font-weight: 800; transition: all 0.2s ease; }
.seg-btn:hover { color: #fff; }
.seg-btn.active { background: linear-gradient(135deg, rgba(245, 166, 35, 0.28), rgba(245, 166, 35, 0.1)); color: var(--accent-bright); box-shadow: inset 0 0 0 1px var(--accent-border); }

.tab-panel { display: none; }
.tab-panel.active { display: block; animation: fadePanel 0.35s var(--ease-expo); }
@keyframes fadePanel { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

.range-strip {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.3fr) auto;
  align-items: center;
  gap: 18px;
  padding: 18px 22px;
  border-radius: 14px;
  background: rgba(5, 9, 15, 0.92);
  border: 1px solid var(--accent-border);
  margin-bottom: 20px;
  box-shadow: 0 14px 40px -18px rgba(245, 166, 35, 0.38);
}
.range-weapon-name { font-size: 18px; font-weight: 900; color: #fff; margin: 0 0 4px; }
.range-weapon-spec { font-family: var(--font-mono); font-size: 11.5px; color: var(--accent-bright); }
#ballistic-canvas {
  width: 100%;
  height: 76px;
  display: block;
  border-radius: 10px;
  background: #03060c;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.filter-row { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.filter-pill { padding: 6px 14px; border-radius: 999px; font-family: var(--font-mono); font-size: 11.5px; font-weight: 700; background: rgba(255, 255, 255, 0.035); border: 1px solid var(--border); color: var(--text-muted); transition: all 0.18s ease; }
.filter-pill:hover { color: #fff; border-color: var(--border-strong); }
.filter-pill.active { background: var(--accent); border-color: var(--accent); color: var(--cta-ink); }

.weapons-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.weapon-card { padding: 18px 20px; cursor: pointer; }
.weapon-card.selected { border-color: var(--accent); box-shadow: 0 0 28px -8px rgba(245, 166, 35, 0.65); }
.weapon-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; margin-bottom: 14px; }
.weapon-name { font-size: 16px; font-weight: 800; margin: 0 0 3px; }
.weapon-meta { font-family: var(--font-mono); font-size: 11px; color: var(--text-muted); }
.stat-bars { display: flex; flex-direction: column; gap: 9px; }
.stat-row { display: grid; grid-template-columns: 52px 1fr 46px; align-items: center; gap: 10px; font-size: 11px; }
.stat-label { color: var(--text-muted); font-family: var(--font-mono); }
.stat-track { height: 5px; border-radius: 999px; background: rgba(255, 255, 255, 0.07); overflow: hidden; }
.stat-fill { height: 100%; width: 0%; border-radius: 999px; background: linear-gradient(90deg, var(--accent), var(--accent-bright)); transition: width 0.85s var(--ease-expo); }
.weapon-card.bars-ready .stat-fill { width: var(--w); }
.stat-num { font-family: var(--font-mono); text-align: right; color: #fff; }

.theaters-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.theater-card { padding: 24px; display: flex; flex-direction: column; justify-content: space-between; gap: 16px; }
.theater-art { height: 120px; border-radius: 10px; background: radial-gradient(circle at 65% 45%, rgba(245, 166, 35, 0.18), rgba(4, 7, 13, 0.95)); border: 1px solid rgba(255, 255, 255, 0.08); overflow: hidden; position: relative; }
.theater-art.cyan-art { background: radial-gradient(circle at 38% 55%, rgba(24, 224, 246, 0.18), rgba(4, 7, 13, 0.95)); }
.theater-art svg { width: 100%; height: 100%; }
.radar-ping-circle { transform-box: fill-box; transform-origin: center; animation: pingExpand 2.6s ease-out infinite; }
@keyframes pingExpand {
  0% { transform: scale(0.3); opacity: 0.9; }
  100% { transform: scale(2.4); opacity: 0; }
}
.theater-coord { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.18em; color: var(--accent-bright); }
.theater-name { font-size: 20px; font-weight: 900; margin: 6px 0 8px; }
.theater-desc { font-size: 13px; color: var(--text-secondary); margin: 0; line-height: 1.65; }
.theater-meta-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; padding-top: 12px; border-top: 1px solid rgba(255, 255, 255, 0.07); font-family: var(--font-mono); font-size: 11px; }
.theater-meta-grid div { background: rgba(255, 255, 255, 0.03); padding: 8px 10px; border-radius: 8px; }
.theater-meta-grid span { display: block; color: var(--text-dim); font-size: 9.5px; }

.specs-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin-bottom: 48px; }
.spec-card { padding: 26px; }
.spec-card h3 { margin: 0 0 16px; font-size: 17px; display: flex; align-items: center; justify-content: space-between; }
.spec-list { margin: 0; padding: 0; list-style: none; }
.spec-list li { display: flex; justify-content: space-between; gap: 16px; padding: 9px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.06); font-size: 13px; }
.spec-list li:last-child { border-bottom: none; }
.spec-list span { color: var(--text-muted); }

.faq-list { display: flex; flex-direction: column; gap: 12px; max-width: 880px; margin: 0 auto 78px; }
.faq-q { width: 100%; text-align: left; padding: 18px 22px; background: transparent; border: none; color: #fff; font-size: 15px; font-weight: 700; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.faq-q:hover { color: var(--accent-bright); }
.faq-chevron { font-family: var(--font-mono); font-size: 18px; color: var(--accent); transition: transform 0.25s var(--ease-expo); }
.faq-item.open .faq-chevron { transform: rotate(45deg); }
.faq-a { display: none; padding: 0 22px 18px; font-size: 14px; color: var(--text-secondary); line-height: 1.75; }
.faq-item.open .faq-a { display: block; animation: fadePanel 0.3s ease; }

.cta-inner {
  padding: 58px 42px;
  text-align: center;
  background: radial-gradient(ellipse 68% 85% at 50% 0%, var(--mode-glow), transparent 68%), linear-gradient(160deg, rgba(13, 19, 31, 0.96), rgba(5, 8, 13, 0.99));
}
.cta-inner h2 { font-size: clamp(28px, 3.8vw, 46px); font-weight: 900; margin: 14px 0; }
.cta-inner p { margin: 0 auto 28px; max-width: 560px; font-size: 15px; color: var(--text-secondary); }
.cta-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }

.status-badge { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; font-family: var(--font-mono); font-size: 10px; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; }
.status-gold { color: var(--accent-bright); background: var(--accent-dim); border: 1px solid var(--accent-border); }
.status-cyan { color: var(--cyan-bright); background: var(--cyan-dim); border: 1px solid var(--cyan-border); }
.status-green { color: var(--success); background: var(--success-dim); border: 1px solid var(--success-border); }
.status-red { color: #ff99a4; background: var(--danger-dim); border: 1px solid var(--danger-border); }

.tactical-panel { border-radius: var(--radius-md); background: var(--bg-surface); backdrop-filter: blur(18px); border: 1px solid var(--border-strong); padding: 28px; }
.doc-hero { padding: calc(var(--header-h) + 64px) 0 44px; background: radial-gradient(ellipse 65% 80% at 30% 0%, rgba(245, 166, 35, 0.12), transparent 70%); border-bottom: 1px solid var(--border); position: relative; z-index: 3; }
.doc-hero h1 { font-size: clamp(28px, 4vw, 44px); margin: 10px 0 12px; font-weight: 900; }
.doc-meta { font-family: var(--font-mono); font-size: 12px; color: var(--text-muted); }
.doc-body { padding: 56px 0 88px; position: relative; z-index: 3; }
.doc-prose { max-width: 860px; }
.doc-card { border-radius: var(--radius-md); background: var(--bg-surface); backdrop-filter: blur(16px); border: 1px solid var(--border); padding: 30px 32px; margin-bottom: 20px; }
.doc-card h2 { margin: 0 0 14px; font-size: 20px; color: var(--accent-bright); }
.doc-card h3 { margin: 18px 0 8px; font-size: 15px; color: #fff; }
.doc-card p, .doc-card li { font-size: 14px; color: var(--text-secondary); line-height: 1.8; }
.doc-card ul, .doc-card ol { padding-left: 20px; margin: 10px 0; }
.doc-card a { color: var(--accent-bright); text-decoration: underline; text-underline-offset: 3px; }
.support-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-bottom: 28px; }
.support-channel { border-radius: var(--radius-md); background: var(--bg-surface); border: 1px solid var(--border); padding: 24px; }
.support-channel h3 { margin: 12px 0 8px; font-size: 17px; }
.support-channel p { margin: 0 0 14px; font-size: 13px; color: var(--text-secondary); }
.code-template { background: #04070d; border: 1px solid var(--border); border-radius: 10px; padding: 18px 20px; font-family: var(--font-mono); font-size: 12px; color: var(--text-secondary); white-space: pre-wrap; line-height: 1.75; overflow-x: auto; }

.site-footer { position: relative; z-index: 3; border-top: 1px solid rgba(255, 255, 255, 0.08); background: rgba(3, 5, 8, 0.92); padding: 52px 0 34px; }
.footer-top { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 0.7fr)); gap: 36px; padding-bottom: 34px; border-bottom: 1px solid rgba(255, 255, 255, 0.07); }
.footer-about p { font-size: 13px; color: var(--text-muted); max-width: 360px; margin: 14px 0; line-height: 1.7; }
.footer-col h4 { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--accent); margin: 0 0 14px; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.footer-col a { font-size: 13px; color: var(--text-secondary); }
.footer-col a:hover { color: var(--accent-bright); }
.footer-bottom { padding-top: 22px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; font-size: 12px; color: var(--text-dim); }

.modal-backdrop { position: fixed; inset: 0; z-index: 250; background: rgba(2, 4, 8, 0.84); backdrop-filter: blur(12px); display: none; align-items: center; justify-content: center; padding: 20px; }
.modal-backdrop.open { display: flex; animation: fadePanel 0.25s ease; }
.modal-card { width: 100%; max-width: 480px; border-radius: var(--radius-lg); background: #0a0f18; border: 1px solid var(--accent-border); padding: 32px; position: relative; box-shadow: 0 30px 90px rgba(0, 0, 0, 0.85); }
.modal-close { position: absolute; top: 16px; right: 16px; width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--border); background: rgba(255, 255, 255, 0.04); color: #fff; font-size: 18px; }
.modal-card h3 { margin: 12px 0 10px; font-size: 21px; }
.modal-card p { margin: 0 0 16px; font-size: 14px; color: var(--text-secondary); line-height: 1.7; }
.copy-toast { font-family: var(--font-mono); font-size: 12px; color: var(--success); margin-top: 10px; min-height: 18px; }

html[data-lang="zh"] [data-lang-only="en"] { display: none !important; }
html[data-lang="en"] [data-lang-only="zh"] { display: none !important; }

@media (prefers-reduced-motion: reduce) {
  .beam-box, .marquee-track, .hero-grid-floor, .laser-sweep, .duel-vs-ring, .radar-ping-circle { animation: none !important; }
  .reveal { opacity: 1 !important; transform: none !important; filter: none !important; }
  .reticle-cursor, .cursor-aurora { display: none !important; }
}

@media (max-width: 1024px) {
  .span-7, .span-5 { grid-column: span 12; }
  .pg-mini-grid, .range-strip { grid-template-columns: 1fr; }
  .weapons-grid, .theaters-grid, .support-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-top { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 768px) {
  .nav-links, .nav-cta-desktop, .cursor-aurora, .reticle-cursor { display: none; }
  .menu-toggle { display: inline-flex; }
  .hero { min-height: auto; }
  .duel-strip { grid-template-columns: 1fr; gap: 12px; }
  .duel-vs { margin: -6px 0; }
  .flow-track, .blessing-grid, .ban-grid, .weapons-grid, .theaters-grid, .specs-grid, .support-grid, .footer-top {
    grid-template-columns: 1fr;
  }
  .section { padding: 72px 0; }
  .cta-inner { padding: 36px 20px; }
}