/* ============================================================
   NPL BOUNTY · NEO Premier League Bounty
   CS2 赏金赛 · 暗黑电竞视觉系统 + 3D 滚筒翻页
   ============================================================ */

:root {
  --bg: #05070c;
  --bg-2: #0a0f1a;
  --panel: rgba(13, 19, 32, .72);
  --line: rgba(148, 180, 255, .14);
  --line-strong: rgba(255, 122, 24, .45);
  --orange: #ff7a18;
  --amber: #ffb347;
  --cyan: #22d3ee;
  --text: #e8eef7;
  --muted: #8b98ad;
  --danger: #ff4d5e;
  --font-disp: 'Orbitron', 'Rajdhani', 'Microsoft YaHei', sans-serif;
  --font-body: 'Rajdhani', 'Noto Sans SC', 'PingFang SC', 'Microsoft YaHei', sans-serif;
  --ease-out: cubic-bezier(.22, 1, .36, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scrollbar-width: none; }
html, body { height: 100%; overflow: hidden; }
::-webkit-scrollbar { width: 0; height: 0; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  cursor: none;
}
a { color: inherit; text-decoration: none; cursor: none; }
button, input, textarea, label { cursor: none; font-family: inherit; }
::selection { background: rgba(255, 122, 24, .35); }

/* ---------- 背景层 ---------- */
#bg3d { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 0; }
.grid-overlay {
  position: fixed; inset: 0; z-index: 1; pointer-events: none; opacity: .5;
  background-image:
    linear-gradient(rgba(148, 180, 255, .05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148, 180, 255, .05) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 90% 80% at 50% 50%, #000 30%, transparent 100%);
}
.noise {
  position: fixed; inset: -50%; z-index: 2; pointer-events: none; opacity: .05;
  background-image: repeating-conic-gradient(#fff 0 .0001deg, transparent 0 .0002deg);
  background-size: 180px 180px;
  animation: noiseShift 1.2s steps(4) infinite;
}
@keyframes noiseShift {
  0% { transform: translate(0, 0); } 25% { transform: translate(-2%, 1.4%); }
  50% { transform: translate(1.6%, -1%); } 75% { transform: translate(-1%, -2%); }
  100% { transform: translate(0, 0); }
}
.vignette {
  position: fixed; inset: 0; z-index: 2; pointer-events: none;
  background: radial-gradient(ellipse 120% 100% at 50% 45%, transparent 55%, rgba(2, 4, 8, .8) 100%);
}

/* ---------- 预加载 ---------- */
#preloader {
  position: fixed; inset: 0; z-index: 100;
  display: flex; align-items: center; justify-content: center;
  background: var(--bg);
}
.pre-core { text-align: center; width: min(420px, 80vw); }
.pre-logo {
  position: relative; color: var(--orange); margin-bottom: 22px;
  filter: drop-shadow(0 0 18px rgba(255, 122, 24, .55));
  animation: preLogo 2.4s var(--ease-out) infinite;
}
@keyframes preLogo {
  0%, 100% { transform: scale(1); filter: drop-shadow(0 0 10px rgba(255, 122, 24, .35)); }
  50% { transform: scale(1.07); filter: drop-shadow(0 0 26px rgba(255, 122, 24, .75)); }
}
.pre-crosshair { display: none; }
.pre-text { font-family: var(--font-disp); font-weight: 800; font-size: 30px; letter-spacing: .35em; margin-bottom: 26px; }
.pre-text span { color: var(--orange); }
.pre-bar { height: 3px; background: rgba(148, 180, 255, .15); overflow: hidden; }
.pre-bar i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--orange), var(--amber)); box-shadow: 0 0 12px rgba(255, 122, 24, .8); }
.pre-num { font-family: var(--font-disp); font-weight: 600; font-size: 14px; color: var(--amber); margin-top: 12px; letter-spacing: .2em; }
.pre-tip { margin-top: 8px; font-size: 13px; color: var(--muted); letter-spacing: .12em; }

/* ---------- 准星光标 ---------- */
.cursor { position: fixed; left: 0; top: 0; z-index: 99; pointer-events: none; will-change: transform; }
.cursor i { position: absolute; display: block; transition: all .25s var(--ease-out); }
.c-ring { width: 34px; height: 34px; left: -17px; top: -17px; border: 1px solid rgba(255, 122, 24, .9); border-radius: 50%; }
.c-dot { width: 4px; height: 4px; left: -2px; top: -2px; background: var(--orange); border-radius: 50%; box-shadow: 0 0 8px var(--orange); }
.c-line { background: rgba(255, 122, 24, .9); }
.l-t { width: 1px; height: 8px; left: 0; top: -24px; }
.l-b { width: 1px; height: 8px; left: 0; top: 16px; }
.l-l { width: 8px; height: 1px; left: -24px; top: 0; }
.l-r { width: 8px; height: 1px; left: 16px; top: 0; }
.cursor.is-hover .c-ring { transform: scale(1.6); border-color: var(--amber); }
.cursor.is-hover .c-line { background: var(--amber); }
.cursor.is-down .c-ring { transform: scale(.8); }
@media (hover: none) { .cursor { display: none; } body, a, button, input, textarea, label { cursor: auto; } }

/* ---------- 顶部 HUD ---------- */
.hud {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 34px;
  background: linear-gradient(180deg, rgba(5, 7, 12, .85), transparent);
}
.brand { display: flex; align-items: center; gap: 10px; color: var(--orange); }
.brand-logo { transition: transform .45s var(--ease-out), filter .45s; }
.brand:hover .brand-logo { transform: rotate(120deg); filter: drop-shadow(0 0 10px rgba(255, 122, 24, .7)); }
.brand-txt { font-family: var(--font-disp); font-weight: 800; font-size: 19px; letter-spacing: .18em; color: var(--text); }
.brand-txt em { font-style: normal; color: var(--orange); }
.hud-nav { display: flex; gap: 6px; }
.hud-nav a {
  position: relative; padding: 8px 16px; font-size: 15px; font-weight: 600;
  letter-spacing: .1em; color: var(--muted); transition: color .3s;
}
.hud-nav a::after {
  content: ''; position: absolute; left: 16px; right: 16px; bottom: 4px; height: 2px;
  background: var(--orange); transform: scaleX(0); transform-origin: left;
  transition: transform .35s var(--ease-out);
}
.hud-nav a:hover, .hud-nav a.active { color: var(--text); }
.hud-nav a:hover::after, .hud-nav a.active::after { transform: scaleX(1); }

/* ---------- 按钮 ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--font-disp); font-weight: 600; letter-spacing: .14em;
  border: 1px solid transparent; overflow: hidden; isolation: isolate;
  transition: color .3s, border-color .3s, box-shadow .3s;
  clip-path: polygon(12px 0, 100% 0, 100% calc(100% - 12px), calc(100% - 12px) 100%, 0 100%, 0 12px);
}
.btn span { position: relative; z-index: 1; }
.btn-primary { background: linear-gradient(135deg, var(--orange), #ff5f2e); color: #14080000; color: #160a02; }
.btn-primary::before {
  content: ''; position: absolute; inset: 0; z-index: 0;
  background: linear-gradient(135deg, var(--amber), var(--orange));
  transform: translateX(-101%); transition: transform .45s var(--ease-out);
}
.btn-primary:hover::before { transform: translateX(0); }
.btn-primary:hover { box-shadow: 0 0 34px rgba(255, 122, 24, .5); }
.btn-ghost { border-color: rgba(255, 122, 24, .5); color: var(--amber); background: rgba(255, 122, 24, .06); }
.btn-ghost:hover { background: rgba(255, 122, 24, .16); border-color: var(--orange); }
.btn-sm { padding: 9px 20px; font-size: 13px; }
.btn-lg { padding: 16px 34px; font-size: 15px; }
.btn-block { width: 100%; }

/* ---------- 右侧进度点 ---------- */
.dots {
  position: fixed; right: 26px; top: 50%; transform: translateY(-50%);
  z-index: 50; display: flex; flex-direction: column; gap: 16px;
}
.dots a { position: relative; display: flex; align-items: center; justify-content: flex-end; }
.dots a i {
  width: 9px; height: 9px; border: 1px solid var(--muted); border-radius: 50%;
  transition: all .35s var(--ease-out);
}
.dots a em {
  position: absolute; right: 22px; white-space: nowrap;
  font-size: 12px; font-style: normal; letter-spacing: .18em; color: var(--amber);
  opacity: 0; transform: translateX(8px); transition: all .3s var(--ease-out);
}
.dots a:hover em, .dots a.active em { opacity: 1; transform: translateX(0); }
.dots a.active i { background: var(--orange); border-color: var(--orange); box-shadow: 0 0 12px rgba(255, 122, 24, .8); transform: scale(1.25); }

/* ---------- 滚动提示 ---------- */
.scroll-hint {
  position: fixed; bottom: 26px; left: 50%; transform: translateX(-50%);
  z-index: 50; display: flex; flex-direction: column; align-items: center; gap: 8px;
  color: var(--muted); transition: opacity .5s;
}
.scroll-hint em { font-size: 12px; font-style: normal; letter-spacing: .28em; }
.mouse { width: 22px; height: 34px; border: 1px solid var(--muted); border-radius: 12px; display: flex; justify-content: center; padding-top: 6px; }
.mouse i { width: 3px; height: 7px; background: var(--orange); border-radius: 2px; animation: wheel 1.6s ease-in-out infinite; }
@keyframes wheel { 0% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(10px); opacity: 0; } 100% { opacity: 0; } }
.scroll-hint.hidden { opacity: 0; pointer-events: none; }

/* ---------- 3D 滚筒舞台 ---------- */
.viewport { position: fixed; inset: 0; z-index: 10; perspective: 1500px; perspective-origin: 50% 50%; }
.stage { position: absolute; inset: 0; transform-style: preserve-3d; will-change: transform; }
.panel {
  position: absolute; inset: 0; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  backface-visibility: hidden;
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(255, 122, 24, .05), transparent 60%),
    linear-gradient(180deg, rgba(5, 7, 12, .55), rgba(5, 7, 12, .88));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.panel-inner {
  position: relative; width: min(1180px, 92vw); max-height: calc(100vh - 40px); overflow-y: auto;
  padding: 78px 20px 36px; text-align: center; scrollbar-width: none;
}
.panel-inner::-webkit-scrollbar { display: none; }

/* 通用文本元素 */
.eyebrow {
  font-family: var(--font-disp); font-size: 13px; font-weight: 600;
  letter-spacing: .42em; color: var(--orange); margin-bottom: 18px;
}
.eyebrow::before, .eyebrow::after { content: '——'; color: rgba(255, 122, 24, .4); letter-spacing: 0; margin: 0 10px; }
.sec-title { font-family: var(--font-disp); font-weight: 800; font-size: clamp(30px, 4.6vw, 56px); line-height: 1.15; margin-bottom: 26px; }
.sec-sub { max-width: 640px; margin: -8px auto 30px; color: var(--muted); font-size: 16px; }
.accent { color: var(--orange); text-shadow: 0 0 30px rgba(255, 122, 24, .45); }

/* ---------- HERO ---------- */
.hero-watermark, .end-watermark {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  font-family: var(--font-disp); font-weight: 800; font-size: clamp(90px, 17vw, 240px);
  letter-spacing: .08em; color: transparent; -webkit-text-stroke: 1px rgba(148, 180, 255, .09);
  pointer-events: none; user-select: none; z-index: 0;
}
#hero .panel-inner > *:not(.hero-watermark) { position: relative; z-index: 1; }
.hero-title { font-family: var(--font-disp); font-weight: 800; line-height: .98; margin: 6px 0 22px; }
.hero-title .line { display: block; }
.line-1 { font-size: clamp(46px, 8vw, 104px); letter-spacing: .5em; text-indent: .5em; color: var(--text); }
.line-2 {
  font-size: clamp(58px, 10.5vw, 140px); letter-spacing: .12em;
  background: linear-gradient(100deg, var(--amber) 10%, var(--orange) 45%, #ff4d00 90%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 6px 30px rgba(255, 122, 24, .35));
}
.glitch { position: relative; }
.glitch::before, .glitch::after {
  content: attr(data-text); position: absolute; inset: 0;
  background: inherit; -webkit-background-clip: text; background-clip: text; color: transparent;
  opacity: 0;
}
.glitch::before { animation: glitchA 3.8s infinite steps(1); }
.glitch::after { animation: glitchB 3.8s infinite steps(1); }
@keyframes glitchA {
  0%, 91%, 98%, 100% { opacity: 0; }
  92% { opacity: .8; transform: translate(-5px, 2px); clip-path: inset(12% 0 58% 0); }
  94% { opacity: .8; transform: translate(4px, -1px); clip-path: inset(62% 0 8% 0); }
  96% { opacity: .8; transform: translate(-3px, 1px); clip-path: inset(38% 0 30% 0); }
}
@keyframes glitchB {
  0%, 90%, 97%, 100% { opacity: 0; }
  91% { opacity: .7; transform: translate(5px, -2px); clip-path: inset(52% 0 22% 0); }
  93% { opacity: .7; transform: translate(-4px, 2px); clip-path: inset(8% 0 74% 0); }
  95% { opacity: .7; transform: translate(3px, -1px); clip-path: inset(70% 0 4% 0); }
}
.hero-sub { font-size: clamp(17px, 2vw, 22px); color: var(--muted); margin-bottom: 30px; }
.hero-sub em { font-style: normal; color: var(--text); }
.hero-sub b { color: var(--orange); font-family: var(--font-disp); }
.hero-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-bottom: 38px; }
.chip {
  display: flex; align-items: baseline; gap: 8px; padding: 10px 20px;
  border: 1px solid var(--line); background: rgba(10, 15, 26, .6);
  clip-path: polygon(8px 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%, 0 8px);
  transition: border-color .3s, transform .3s var(--ease-out);
}
.chip:hover { border-color: var(--line-strong); transform: translateY(-3px); }
.chip b { font-family: var(--font-disp); font-weight: 700; font-size: 21px; color: var(--amber); }
.chip span { font-size: 13px; color: var(--muted); letter-spacing: .08em; }
.hero-cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 18px; margin-bottom: 30px; }
.hero-foot { font-size: 13px; color: var(--muted); letter-spacing: .14em; }

/* ---------- 赏金机制 ---------- */
.formula {
  display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 18px 28px;
  margin: 8px auto 34px;
}
.f-item {
  min-width: 190px; padding: 20px 26px; border: 1px solid var(--line);
  background: var(--panel);
  clip-path: polygon(14px 0, 100% 0, 100% calc(100% - 14px), calc(100% - 14px) 100%, 0 100%, 0 14px);
}
.f-num { display: block; font-family: var(--font-disp); font-weight: 800; font-size: clamp(38px, 4.6vw, 56px); line-height: 1; color: var(--text); }
.f-item.money { border-color: var(--line-strong); box-shadow: 0 0 40px rgba(255, 122, 24, .12) inset; }
.f-item.money .f-num { color: var(--orange); text-shadow: 0 0 24px rgba(255, 122, 24, .5); }
.f-item label { display: block; margin-top: 8px; font-size: 13px; letter-spacing: .24em; color: var(--muted); }
.f-eq { font-family: var(--font-disp); font-weight: 800; font-size: 40px; color: var(--amber); }
.f-x { font-family: var(--font-disp); font-size: 15px; letter-spacing: .2em; color: var(--cyan); }

.calc {
  max-width: 720px; margin: 0 auto 34px; padding: 24px 28px 18px;
  border: 1px solid var(--line); background: var(--panel); text-align: left;
  clip-path: polygon(16px 0, 100% 0, 100% calc(100% - 16px), calc(100% - 16px) 100%, 0 100%, 0 16px);
}
.calc-head { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-bottom: 16px; }
.calc-head label { font-size: 14px; letter-spacing: .2em; color: var(--muted); }
.calc-out { display: flex; align-items: center; gap: 12px; color: var(--amber); }
.co-dmg { font-family: var(--font-disp); font-weight: 600; font-size: 19px; color: var(--text); }
.co-money { font-family: var(--font-disp); font-weight: 800; font-size: 30px; color: var(--orange); text-shadow: 0 0 22px rgba(255, 122, 24, .55); }
.calc input[type=range] {
  width: 100%; height: 26px; appearance: none; -webkit-appearance: none; background: transparent;
}
.calc input[type=range]::-webkit-slider-runnable-track {
  height: 4px; background: linear-gradient(90deg, var(--orange) var(--fill, 40%), rgba(148, 180, 255, .18) var(--fill, 40%));
}
.calc input[type=range]::-webkit-slider-thumb {
  appearance: none; -webkit-appearance: none; width: 20px; height: 20px; margin-top: -8px;
  background: var(--bg); border: 2px solid var(--orange); border-radius: 50%;
  box-shadow: 0 0 14px rgba(255, 122, 24, .8);
}
.calc input[type=range]::-moz-range-track { height: 4px; background: rgba(148, 180, 255, .18); }
.calc input[type=range]::-moz-range-progress { height: 4px; background: var(--orange); }
.calc input[type=range]::-moz-range-thumb { width: 16px; height: 16px; background: var(--bg); border: 2px solid var(--orange); border-radius: 50%; box-shadow: 0 0 14px rgba(255, 122, 24, .8); }
.calc-scale { display: flex; justify-content: space-between; font-size: 12px; color: var(--muted); margin-top: 6px; }
.calc-note { margin-top: 10px; font-size: 12.5px; color: var(--muted); }

.rule-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; max-width: 980px; margin: 0 auto; }
.r-card {
  padding: 22px 20px; border: 1px solid var(--line); background: var(--panel); text-align: left;
  transition: border-color .3s, box-shadow .3s; transform-style: preserve-3d;
}
.r-card:hover { border-color: var(--line-strong); box-shadow: 0 18px 44px rgba(0, 0, 0, .45); }
.r-card b { display: block; font-family: var(--font-disp); font-size: 17px; letter-spacing: .12em; color: var(--amber); margin-bottom: 8px; }
.r-card p { font-size: 14.5px; color: var(--muted); }

/* ---------- 赛制 ---------- */
.format-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; max-width: 1020px; margin: 0 auto 34px; }
.f-card { padding: 26px 22px; border: 1px solid var(--line); background: var(--panel); text-align: left; transition: border-color .3s, box-shadow .3s; }
.f-card:hover { border-color: var(--line-strong); box-shadow: 0 18px 44px rgba(0, 0, 0, .45); }
.f-card svg { color: var(--orange); margin-bottom: 14px; filter: drop-shadow(0 0 8px rgba(255, 122, 24, .4)); }
.f-card b { display: block; font-family: var(--font-disp); font-size: 18px; letter-spacing: .1em; margin-bottom: 8px; }
.f-card p { font-size: 14.5px; color: var(--muted); }
.rounds { max-width: 860px; margin: 0 auto; }
.rounds-label { display: flex; justify-content: space-between; align-items: center; font-size: 13px; letter-spacing: .2em; color: var(--muted); margin-bottom: 12px; }
.rounds-label em { font-style: normal; color: var(--cyan); }
.round-dots { display: grid; grid-template-columns: repeat(24, 1fr); gap: 6px; }
.round-dots i {
  height: 26px; border: 1px solid var(--line); background: rgba(10, 15, 26, .6);
  clip-path: polygon(4px 0, 100% 0, 100% calc(100% - 4px), calc(100% - 4px) 100%, 0 100%, 0 4px);
  transition: background .3s, border-color .3s, box-shadow .3s;
}
.round-dots i.half { border-color: rgba(34, 211, 238, .4); }
.round-dots i.on { background: linear-gradient(180deg, var(--orange), #ff5f2e); border-color: var(--orange); box-shadow: 0 0 12px rgba(255, 122, 24, .55); }
.rounds-note { margin-top: 14px; font-size: 14px; color: var(--muted); letter-spacing: .1em; }

/* ---------- 地图池 ---------- */
.map-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; max-width: 1100px; margin: 0 auto 18px; }
.map-card {
  position: relative; border: 1px solid var(--line); background: var(--panel);
  overflow: hidden; text-align: left; transition: border-color .3s, box-shadow .3s;
}
.map-card:hover { border-color: var(--line-strong); box-shadow: 0 18px 44px rgba(0, 0, 0, .5); }
.map-art { position: relative; aspect-ratio: 5 / 3; overflow: hidden; }
.map-art svg { width: 100%; height: 100%; display: block; transition: transform .6s var(--ease-out); }
.map-card:hover .map-art svg { transform: scale(1.12) rotate(1.5deg); }
.map-art::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(5, 7, 12, .9));
}
.map-meta { padding: 14px 16px 16px; }
.map-meta h3 { font-family: var(--font-disp); font-weight: 700; font-size: 17px; letter-spacing: .1em; }
.map-meta p { font-size: 13px; color: var(--muted); margin-top: 2px; }
.map-tag {
  position: absolute; top: 10px; right: 10px; padding: 3px 9px;
  font-family: var(--font-disp); font-size: 10px; font-weight: 600; letter-spacing: .22em;
  color: var(--amber); border: 1px solid rgba(255, 179, 71, .5); background: rgba(5, 7, 12, .7);
}
.maps-note { font-size: 13px; color: var(--muted); }

/* ---------- 服务器 ---------- */
.spec-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; max-width: 1100px; margin: 0 auto 30px; }
.spec { padding: 24px 18px; border: 1px solid var(--line); background: var(--panel); transition: border-color .3s, box-shadow .3s; }
.spec:hover { border-color: var(--line-strong); box-shadow: 0 18px 44px rgba(0, 0, 0, .45); }
.spec-num { display: flex; align-items: baseline; justify-content: center; gap: 4px; font-family: var(--font-disp); font-weight: 800; font-size: clamp(34px, 3.6vw, 46px); color: var(--text); }
.spec-num em { font-style: normal; font-size: 16px; color: var(--orange); }
.spec label { display: block; margin: 8px 0; font-size: 14px; font-weight: 600; letter-spacing: .14em; color: var(--amber); }
.spec p { font-size: 13.5px; color: var(--muted); }
.server-bar {
  display: inline-flex; align-items: center; gap: 12px; padding: 12px 24px;
  border: 1px solid rgba(34, 211, 238, .35); background: rgba(34, 211, 238, .06);
  font-family: var(--font-disp); font-size: 13px; letter-spacing: .14em; color: var(--cyan);
}
.pulse-dot { width: 9px; height: 9px; border-radius: 50%; background: #34d399; box-shadow: 0 0 0 0 rgba(52, 211, 153, .7); animation: pulse 1.8s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 12px rgba(52, 211, 153, 0); } 100% { box-shadow: 0 0 0 0 rgba(52, 211, 153, 0); } }

/* ---------- 报名表单 ---------- */
.reg-form { max-width: 760px; margin: 0 auto; text-align: left; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: 13.5px; letter-spacing: .12em; color: var(--muted); margin-bottom: 7px; }
.field label i { color: var(--orange); font-style: normal; }
.field input, .field textarea {
  width: 100%; padding: 13px 16px; font-size: 16px; color: var(--text);
  background: rgba(8, 12, 20, .8); border: 1px solid var(--line); outline: none;
  transition: border-color .3s, box-shadow .3s; resize: vertical;
}
.field input:focus, .field textarea:focus {
  border-color: var(--orange);
  box-shadow: 0 0 0 1px var(--orange), 0 0 24px rgba(255, 122, 24, .18);
}
.field input.err, .field textarea.err { border-color: var(--danger); box-shadow: 0 0 0 1px var(--danger); }
.field input::placeholder, .field textarea::placeholder { color: rgba(139, 152, 173, .5); }
.agree { display: flex; align-items: flex-start; gap: 10px; margin: 4px 0 20px; font-size: 14px; color: var(--muted); user-select: none; }
.agree input { position: absolute; opacity: 0; pointer-events: none; }
.agree i {
  flex: none; width: 18px; height: 18px; margin-top: 2px;
  border: 1px solid var(--muted); position: relative; transition: all .25s;
}
.agree input:checked + i { background: var(--orange); border-color: var(--orange); box-shadow: 0 0 12px rgba(255, 122, 24, .5); }
.agree input:checked + i::after {
  content: ''; position: absolute; left: 5px; top: 1.5px; width: 5px; height: 9px;
  border: solid #160a02; border-width: 0 2px 2px 0; transform: rotate(45deg);
}
.agree.err i { border-color: var(--danger); }
.form-note { margin-top: 14px; font-size: 13px; color: var(--muted); text-align: center; }

/* ---------- 联系/结尾 ---------- */
#contact .panel-inner > * { position: relative; z-index: 1; }
.end-logo {
  color: var(--orange); margin-bottom: 22px;
  filter: drop-shadow(0 0 26px rgba(255, 122, 24, .45));
  animation: endFloat 5s ease-in-out infinite;
}
@keyframes endFloat {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-10px) rotate(4deg); }
}
.end-title { font-family: var(--font-disp); font-weight: 800; font-size: clamp(30px, 4.6vw, 54px); line-height: 1.25; margin-bottom: 34px; }
.contact-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; max-width: 980px; margin: 0 auto 34px; }
.c-card { padding: 22px; border: 1px solid var(--line); background: var(--panel); transition: border-color .3s, box-shadow .3s; }
.c-card:hover { border-color: var(--line-strong); box-shadow: 0 18px 44px rgba(0, 0, 0, .45); }
.c-card label { display: block; font-size: 12px; letter-spacing: .3em; color: var(--muted); margin-bottom: 8px; }
.c-card b { display: block; font-family: var(--font-disp); font-size: 20px; color: var(--amber); margin-bottom: 6px; }
.c-card p { font-size: 13px; color: var(--muted); }
.site-foot {
  margin-top: 54px; padding-top: 20px; border-top: 1px solid var(--line);
  display: flex; flex-direction: column; gap: 6px;
  font-size: 12.5px; color: var(--muted); letter-spacing: .06em;
}

/* ---------- Toast ---------- */
.toast {
  position: fixed; left: 50%; bottom: 42px; z-index: 90;
  transform: translate(-50%, 24px); opacity: 0; pointer-events: none;
  max-width: min(520px, 90vw); padding: 14px 26px;
  font-size: 15px; letter-spacing: .04em; text-align: center;
  background: rgba(8, 12, 20, .92); border: 1px solid var(--orange);
  clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
  transition: transform .4s var(--ease-out), opacity .4s;
}
.toast.show { transform: translate(-50%, 0); opacity: 1; }
.toast.ok { border-color: #34d399; color: #b7f4dd; }
.toast.fail { border-color: var(--danger); color: #ffd3d8; }

/* ---------- reveal 初始态（JS 驱动入场） ---------- */
.reveal { will-change: transform, opacity; }
.panel:not(.active) .reveal { visibility: hidden; }
.panel.active .reveal { visibility: visible; }

/* ---------- 响应式 ---------- */
@media (max-width: 960px) {
  .hud { padding: 14px 18px; }
  .hud-nav { display: none; }
  .rule-cards, .format-grid, .contact-cards { grid-template-columns: 1fr; max-width: 560px; }
  .map-grid, .spec-grid { grid-template-columns: repeat(2, 1fr); }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .dots { right: 12px; gap: 12px; }
  .dots a em { display: none; }
  .panel-inner { padding: 72px 14px 32px; }
  .round-dots { grid-template-columns: repeat(12, 1fr); }
  .scroll-hint { display: none; }
}
@media (max-width: 560px) {
  .map-grid, .spec-grid { grid-template-columns: 1fr; max-width: 420px; margin-left: auto; margin-right: auto; }
  .calc { padding: 18px 16px 14px; }
  .f-item { min-width: 150px; padding: 16px 18px; }
}

/* ---------- 减少动态偏好 ---------- */
@media (prefers-reduced-motion: reduce) {
  .noise, .pre-crosshair, .mouse i, .glitch::before, .glitch::after { animation: none !important; }
}
