/* ═══════════════════════════════════════════════════════════════════════════
   谷屋 GuWu · Hyper-Arcade 3D 宇宙门户样式表
   ═══════════════════════════════════════════════════════════════════════════ */

:root {
  --space: #060818;
  --glass: rgba(12, 16, 46, 0.72);
  --glass-strong: rgba(14, 19, 54, 0.86);
  --glass-soft: rgba(255, 255, 255, 0.05);
  --ink: #f4f7ff;
  --ink-2: #b9c5ef;
  --ink-3: #8392c7;
  --line: rgba(92, 225, 255, 0.24);
  --line-dim: rgba(255, 255, 255, 0.12);

  --electric: #2e60ff;
  --electric-dark: #1f48cc;
  --magenta: #ff257e;
  --cyan: #5ce1ff;
  --mint: #24e59e;
  --violet: #9c8cff;

  --radius-sm: 12px;
  --radius-md: 18px;
  --radius-lg: 24px;
  --radius-pill: 999px;

  --font-sans: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB",
               "Noto Sans SC", "Microsoft YaHei", "Helvetica Neue", sans-serif;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
}

body {
  margin: 0;
  background: var(--space);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}

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

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

button,
input {
  font: inherit;
  color: inherit;
}

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

.num {
  font-variant-numeric: tabular-nums;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 200;
  background: var(--electric);
  color: #fff;
  padding: 10px 16px;
  border-radius: var(--radius-sm);
}

.skip-link:focus {
  left: 16px;
  top: 16px;
}

.container {
  width: min(1160px, calc(100% - 32px));
  margin-inline: auto;
}

/* ── 全屏 3D Three.js 背景与 2D 粒子叠加层 ─────────────────────────────────── */

.webgl-stage,
.fx-overlay,
.ambient-vignette {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.webgl-stage {
  z-index: 0;
}

.ambient-vignette {
  z-index: 1;
  background:
    radial-gradient(circle at 20% 20%, rgba(37, 84, 235, 0.14), transparent 46%),
    radial-gradient(circle at 80% 75%, rgba(255, 37, 126, 0.13), transparent 48%),
    linear-gradient(180deg, rgba(6, 8, 24, 0.18) 0%, rgba(6, 8, 24, 0.56) 100%);
}

.fx-overlay {
  z-index: 60;
}

header,
main,
footer {
  position: relative;
  z-index: 10;
}

/* ── HUD 赛博玻璃面板与全息流动边框 ───────────────────────────────────────── */

.hud-panel {
  position: relative;
  background: var(--glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1.5px solid var(--line);
  box-shadow: 0 18px 48px rgba(3, 6, 22, 0.52), inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.holo-border::before {
  content: "";
  position: absolute;
  inset: -1.5px;
  border-radius: inherit;
  padding: 1.5px;
  background: linear-gradient(125deg, rgba(92, 225, 255, 0.8), rgba(46, 96, 255, 0.4), rgba(255, 37, 126, 0.8), rgba(92, 225, 255, 0.8));
  background-size: 240% 240%;
  animation: holo-shift 5.5s linear infinite;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  z-index: 1;
}

@keyframes holo-shift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* ── 滚动揭示编排 ─────────────────────────────────────────────────────────── */

[data-reveal] {
  opacity: 0;
  transform: translateY(28px) scale(0.985);
  transition: opacity 0.65s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--reveal-delay, 0ms);
}

[data-reveal].is-revealed {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* ── 顶部导航 ─────────────────────────────────────────────────────────────── */

.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(8, 11, 32, 0.8);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}

.scroll-progress {
  position: absolute;
  left: 0;
  bottom: -1px;
  height: 3px;
  width: 100%;
  transform-origin: left center;
  transform: scaleX(0);
  background: linear-gradient(90deg, var(--cyan), var(--electric), var(--magenta));
  box-shadow: 0 0 12px var(--cyan);
  pointer-events: none;
}

.topbar-inner {
  min-height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

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

.brand-mark {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  overflow: hidden;
  border: 1.5px solid var(--cyan);
  box-shadow: 0 0 14px rgba(92, 225, 255, 0.35);
  transition: transform 0.22s cubic-bezier(0.22, 1, 0.36, 1);
}

.brand:hover .brand-mark {
  transform: rotate(-8deg) scale(1.08);
}

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

.brand-text strong {
  font-size: 18px;
  font-weight: 900;
  letter-spacing: -0.02em;
  color: #fff;
}

.brand-text small {
  font-size: 10.5px;
  color: var(--cyan);
  font-weight: 700;
  letter-spacing: 0.08em;
}

.nav {
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav a {
  position: relative;
  font-size: 15px;
  font-weight: 600;
  color: var(--ink-2);
  padding: 6px 2px;
  transition: color 0.15s ease;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: var(--cyan);
  box-shadow: 0 0 8px var(--cyan);
  transform: scaleX(0);
  transition: transform 0.2s cubic-bezier(0.22, 1, 0.36, 1);
}

.nav a:hover {
  color: #fff;
}

.nav a:hover::after {
  transform: scaleX(1);
}

.topbar-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid var(--line);
  font-size: 13px;
  font-weight: 600;
  color: #fff;
  white-space: nowrap;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 10px var(--mint);
  animation: dot-breathe 2s ease-in-out infinite;
  flex-shrink: 0;
}

@keyframes dot-breathe {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.3); opacity: 0.72; }
}

.status-pill.is-closed .status-dot {
  background: var(--magenta);
  box-shadow: 0 0 10px var(--magenta);
}

.status-pill.is-exclusive .status-dot {
  background: var(--cyan);
  box-shadow: 0 0 10px var(--cyan);
}

.menu-btn {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.08);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

.menu-btn span {
  display: block;
  width: 18px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: transform 0.18s ease, opacity 0.18s ease;
}

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

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

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

.mobile-drawer {
  border-top: 1px solid var(--line);
  background: rgba(10, 14, 40, 0.96);
  padding: 12px 16px 20px;
}

.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.mobile-nav a {
  display: flex;
  align-items: center;
  min-height: 46px;
  padding: 0 14px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  color: var(--ink);
}

.mobile-nav a:hover {
  background: rgba(92, 225, 255, 0.12);
}

.mobile-nav a.mobile-cta {
  margin-top: 6px;
  justify-content: center;
  background: linear-gradient(90deg, var(--electric), var(--magenta));
  color: #fff;
}

/* ── 霓虹磁吸按钮 ─────────────────────────────────────────────────────────── */

.btn {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 24px;
  border-radius: var(--radius-pill);
  font-size: 15px;
  font-weight: 800;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform 0.18s cubic-bezier(0.22, 1, 0.36, 1),
              box-shadow 0.2s ease,
              filter 0.15s ease;
}

.btn-sm {
  min-height: 38px;
  padding: 0 16px;
  font-size: 14px;
}

.btn-primary {
  background: linear-gradient(135deg, var(--electric), #447bff);
  border-color: var(--cyan);
  color: #fff;
  box-shadow: 0 0 24px rgba(46, 96, 255, 0.55);
}

.btn-primary:hover {
  box-shadow: 0 0 32px rgba(92, 225, 255, 0.72);
  filter: brightness(1.08);
}

.btn-neon-pink {
  background: rgba(255, 37, 126, 0.16);
  border-color: var(--magenta);
  color: #fff;
  box-shadow: 0 0 22px rgba(255, 37, 126, 0.35);
}

.btn-neon-pink:hover {
  background: rgba(255, 37, 126, 0.3);
  box-shadow: 0 0 30px rgba(255, 37, 126, 0.65);
}

.btn-ripple {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  transform: scale(0);
  animation: ripple-out 0.55s ease-out forwards;
  pointer-events: none;
}

@keyframes ripple-out {
  to {
    transform: scale(4.2);
    opacity: 0;
  }
}

.pill {
  display: inline-flex;
  align-items: center;
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  font-size: 12.5px;
  font-weight: 800;
}

.pill-cyan {
  background: rgba(92, 225, 255, 0.14);
  color: var(--cyan);
  border: 1px solid rgba(92, 225, 255, 0.45);
}

.pill-outline {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--line-dim);
  color: var(--ink-2);
}

/* ── HERO 首屏 ────────────────────────────────────────────────────────────── */

.hero {
  padding: 54px 0 68px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
  gap: 36px;
  align-items: center;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}

.hero-title {
  margin: 0 0 18px;
  font-size: clamp(2.1rem, 4.5vw, 3.45rem);
  line-height: 1.15;
  font-weight: 900;
  letter-spacing: -0.03em;
  color: #fff;
  text-shadow: 0 6px 28px rgba(6, 8, 24, 0.8);
}

.title-glitch {
  position: relative;
  display: inline-block;
}

.title-glitch::before,
.title-glitch::after {
  content: attr(data-text);
  position: absolute;
  left: 0;
  top: 0;
  opacity: 0.7;
  pointer-events: none;
}

.title-glitch::before {
  color: var(--cyan);
  clip-path: inset(0 0 62% 0);
  animation: glitch-top 4.2s infinite linear alternate-reverse;
}

.title-glitch::after {
  color: var(--magenta);
  clip-path: inset(62% 0 0 0);
  animation: glitch-bot 3.6s infinite linear alternate-reverse;
}

@keyframes glitch-top {
  0%, 88%, 100% { transform: translate(0); opacity: 0; }
  90% { transform: translate(-2px, -1px); opacity: 0.75; }
  94% { transform: translate(2px, 1px); opacity: 0.75; }
}

@keyframes glitch-bot {
  0%, 84%, 100% { transform: translate(0); opacity: 0; }
  86% { transform: translate(2px, 1px); opacity: 0.75; }
  91% { transform: translate(-2px, -1px); opacity: 0.75; }
}

.title-kinetic {
  display: inline-block;
  background: linear-gradient(90deg, var(--cyan), #a6b9ff, var(--magenta));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 0 18px rgba(92, 225, 255, 0.32));
}

.hero-lead {
  margin: 0 0 26px;
  max-width: 56ch;
  font-size: 17px;
  line-height: 1.72;
  color: var(--ink-2);
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 30px;
}

.hero-facts {
  margin: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  padding: 16px 18px;
  border-radius: var(--radius-md);
  background: var(--glass);
  border: 1px solid var(--line);
  backdrop-filter: blur(12px);
}

.hero-facts dt {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ink-3);
  margin-bottom: 2px;
}

.hero-facts dd {
  margin: 0;
  font-size: 22px;
  font-weight: 900;
  color: #fff;
  letter-spacing: -0.02em;
}

.hero-facts dd small {
  font-size: 14px;
  font-weight: 700;
  color: var(--cyan);
  margin-left: 2px;
}

/* ── 3D 倾斜与高光扫过层 ─────────────────────────────────────────────────── */

.tilt-card {
  transform-style: preserve-3d;
  will-change: transform;
  transition: transform 0.22s cubic-bezier(0.22, 1, 0.36, 1),
              box-shadow 0.22s ease;
}

.card-glare {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  opacity: 0;
  background: radial-gradient(
    280px circle at var(--mx, 50%) var(--my, 50%),
    rgba(92, 225, 255, 0.22),
    transparent 65%
  );
  transition: opacity 0.25s ease;
  z-index: 2;
}

.tilt-card:hover .card-glare {
  opacity: 1;
}

/* ── 交互式街机机台终端 + 4K 音游试打 ──────────────────────────────────────── */

.cabinet {
  border-radius: var(--radius-lg);
  padding: 16px;
}

.cabinet-bezel {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.cabinet-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 2px 4px;
}

.cabinet-brand {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--ink-2);
}

.cabinet-head-right {
  display: flex;
  align-items: center;
  gap: 8px;
}

.sfx-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-height: 28px;
  padding: 0 10px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.08);
  color: var(--ink);
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}

.sfx-btn[aria-pressed="true"] {
  background: rgba(92, 225, 255, 0.22);
  border-color: var(--cyan);
  color: var(--cyan);
}

.cabinet-live {
  font-size: 12px;
  font-weight: 800;
  color: var(--cyan);
  background: rgba(92, 225, 255, 0.14);
  border: 1px solid rgba(92, 225, 255, 0.4);
  padding: 3px 10px;
  border-radius: var(--radius-pill);
}

.cabinet-screen {
  position: relative;
  overflow: hidden;
  background: rgba(9, 12, 36, 0.88);
  border: 1.5px solid rgba(92, 225, 255, 0.45);
  border-radius: 18px;
  padding: 14px;
  box-shadow: inset 0 0 36px rgba(46, 96, 255, 0.22);
}

.screen-scan {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 4;
  background-image: repeating-linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0.03) 0,
    rgba(255, 255, 255, 0.03) 1px,
    transparent 1px,
    transparent 4px
  );
}

.rhythm-view {
  position: relative;
  z-index: 1;
}

.rhythm-hud {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 10px;
}

.hud-left {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.hud-hint {
  font-size: 11px;
  color: var(--ink-3);
}

.hud-stats {
  display: flex;
  gap: 10px;
  font-size: 11px;
  color: var(--ink-2);
}

.hud-stats strong {
  color: var(--cyan);
  font-size: 15px;
  margin-left: 3px;
}

.rhythm-stage-wrap {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(92, 225, 255, 0.25);
  background: rgba(5, 8, 24, 0.85);
}

.rhythm-stage {
  width: 100%;
  height: 190px;
}

.rhythm-judge {
  position: absolute;
  left: 50%;
  top: 42%;
  transform: translate(-50%, -50%) scale(0.92);
  font-size: 20px;
  font-weight: 900;
  letter-spacing: 0.08em;
  color: var(--cyan);
  text-shadow: 0 0 18px rgba(92, 225, 255, 0.8);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.16s ease, transform 0.16s cubic-bezier(0.22, 1, 0.36, 1);
}

.rhythm-judge.is-show {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1.1);
}

.rhythm-judge.is-perfect { color: var(--cyan); }
.rhythm-judge.is-great { color: var(--mint); }
.rhythm-judge.is-miss { color: var(--magenta); }

.arcade-keys {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin-top: 10px;
}

.arc-key {
  min-height: 48px;
  border-radius: 10px;
  border: 1.5px solid rgba(92, 225, 255, 0.35);
  background: linear-gradient(180deg, rgba(46, 96, 255, 0.32) 0%, rgba(18, 23, 62, 0.9) 100%);
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  cursor: pointer;
  touch-action: manipulation;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
  box-shadow: 0 4px 0 #050716;
  transition: transform 0.06s ease, box-shadow 0.06s ease, border-color 0.08s ease;
}

.arc-key-cap {
  font-size: 13px;
  font-weight: 900;
}

.arc-key-bar {
  width: 62%;
  height: 4px;
  border-radius: 4px;
  background: var(--cyan);
  box-shadow: 0 0 8px var(--cyan);
}

.arc-key[data-lane="1"] .arc-key-bar,
.arc-key[data-lane="2"] .arc-key-bar {
  background: var(--magenta);
  box-shadow: 0 0 8px var(--magenta);
}

.arc-key.is-pressed {
  transform: translateY(3px);
  box-shadow: 0 1px 0 #050716;
  border-color: #fff;
  background: linear-gradient(180deg, rgba(92, 225, 255, 0.45) 0%, rgba(46, 96, 255, 0.7) 100%);
}

.telemetry-view[hidden],
.rhythm-view[hidden] {
  display: none;
}

.screen-top,
.screen-main,
.eq-bars,
.screen-metrics {
  position: relative;
  z-index: 1;
}

.screen-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 14px;
}

.screen-zone-tag {
  font-size: 12px;
  font-weight: 800;
  color: var(--cyan);
  letter-spacing: 0.06em;
}

.screen-rate {
  font-size: 13px;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.1);
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  color: #fff;
}

.screen-headline {
  font-size: 26px;
  font-weight: 900;
  margin-bottom: 4px;
}

.screen-desc {
  margin: 0;
  font-size: 14px;
  color: var(--ink-2);
}

.eq-bars {
  height: 62px;
  margin: 24px 0 22px;
  display: flex;
  align-items: flex-end;
  gap: 6px;
}

.eq-bars span {
  flex: 1;
  height: var(--h);
  border-radius: 4px 4px 2px 2px;
  background: var(--cyan);
  box-shadow: 0 0 10px rgba(92, 225, 255, 0.5);
  animation: eq-pulse 1.2s ease-in-out infinite alternate;
  animation-delay: var(--d);
}

.eq-bars span:nth-child(3n) {
  background: var(--magenta);
  box-shadow: 0 0 10px rgba(255, 37, 126, 0.5);
}

.eq-bars span:nth-child(4n) {
  background: var(--violet);
}

.eq-bars.tempo-calm span { animation-duration: 2.2s; }
.eq-bars.tempo-party span { animation-duration: 1.5s; }

@keyframes eq-pulse {
  from { transform: scaleY(0.4); opacity: 0.65; }
  to { transform: scaleY(1); opacity: 1; }
}

.screen-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.m-label {
  display: block;
  font-size: 11px;
  color: var(--ink-3);
  margin-bottom: 2px;
}

.m-val {
  font-size: 14.5px;
  font-weight: 700;
  color: #fff;
}

.deck-tabs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 6px;
  width: 100%;
}

.deck-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 40px;
  padding: 0 8px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.06);
  color: var(--ink-2);
  font-size: 12.5px;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.deck-led {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  flex-shrink: 0;
}

.deck-btn.is-active {
  background: var(--electric);
  border-color: var(--cyan);
  color: #fff;
  box-shadow: 0 0 16px rgba(46, 96, 255, 0.6);
}

.deck-btn.is-active .deck-led {
  background: var(--cyan);
  box-shadow: 0 0 8px var(--cyan);
}

/* ── 赛博跑马灯带 ─────────────────────────────────────────────────────────── */

.marquee-band {
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(11, 15, 42, 0.78);
  backdrop-filter: blur(8px);
  padding: 12px 0;
}

.marquee-track {
  display: flex;
  align-items: center;
  gap: 24px;
  width: max-content;
  font-size: 13.5px;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: var(--ink-2);
  will-change: transform;
}

.marquee-track b {
  color: var(--magenta);
}

/* ── 通用区块 ─────────────────────────────────────────────────────────────── */

.section {
  padding: 72px 0;
}

.section-head {
  max-width: 660px;
  margin-bottom: 34px;
}

.section-head h2 {
  margin: 0 0 10px;
  font-size: clamp(1.65rem, 3.2vw, 2.35rem);
  font-weight: 900;
  letter-spacing: -0.025em;
  line-height: 1.22;
  color: #fff;
}

.section-head p {
  margin: 0;
  font-size: 16px;
  color: var(--ink-2);
}

/* SVG 微动效 */
.svg-note-1,
.svg-note-2,
.svg-note-3,
.svg-note-4 {
  animation: note-bob 2.2s ease-in-out infinite alternate;
}
.svg-note-2 { animation-delay: 0.4s; }
.svg-note-3 { animation-delay: 0.8s; }
.svg-note-4 { animation-delay: 1.2s; }

@keyframes note-bob {
  from { transform: translateY(0); }
  to { transform: translateY(10px); }
}

.svg-pulse {
  transform-box: fill-box;
  transform-origin: center;
  animation: beat-ring 1.3s ease-in-out infinite alternate;
}

@keyframes beat-ring {
  from { transform: scale(0.9); }
  to { transform: scale(1.24); }
}

.zone-card:hover .tile-left {
  transform: translate(18px, 14px) rotate(-11deg);
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.zone-card:hover .tile-right {
  transform: translate(90px, 10px) rotate(12deg);
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.dice-spin {
  transform-box: fill-box;
  transform-origin: center;
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.zone-card:hover .dice-spin {
  transform: rotate(24deg) scale(1.07);
}

/* ── 空间分区 Bento ──────────────────────────────────────────────────────── */

.zones-bento {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.zone-card {
  border-radius: var(--radius-lg);
  padding: 26px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.zone-wide {
  grid-column: span 2;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  align-items: center;
  gap: 28px;
}

.zone-kicker {
  display: inline-block;
  padding: 4px 11px;
  border-radius: var(--radius-pill);
  font-size: 12px;
  font-weight: 800;
  margin-bottom: 10px;
}

.kicker-cyan {
  background: rgba(92, 225, 255, 0.16);
  color: var(--cyan);
}

.kicker-mint {
  background: rgba(36, 229, 158, 0.16);
  color: var(--mint);
}

.kicker-magenta {
  background: rgba(255, 37, 126, 0.18);
  color: #ff69a8;
}

.zone-copy h3 {
  margin: 0 0 10px;
  font-size: 22px;
  font-weight: 800;
  color: #fff;
}

.zone-copy p {
  margin: 0;
  color: var(--ink-2);
  font-size: 15px;
  line-height: 1.7;
}

.zone-tags {
  list-style: none;
  margin: 18px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.zone-tags li {
  font-size: 13px;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--line-dim);
  color: var(--ink);
}

.zone-art {
  display: flex;
  justify-content: center;
}

.zone-art-mini {
  background: rgba(6, 9, 28, 0.65);
  border-radius: var(--radius-md);
  border: 1px solid var(--line-dim);
  padding: 12px;
  display: flex;
  justify-content: center;
}

.zone-art-mini svg {
  height: 112px;
  width: auto;
}

/* ── 四步自助流程 ─────────────────────────────────────────────────────────── */

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

.step-card {
  border-radius: var(--radius-md);
  padding: 22px;
  transition: transform 0.2s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.2s ease;
}

.step-card:hover {
  transform: translateY(-5px);
  border-color: var(--cyan);
}

.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--electric), var(--cyan));
  color: #060818;
  font-size: 16px;
  font-weight: 900;
  margin-bottom: 14px;
}

.step-card h3 {
  margin: 0 0 8px;
  font-size: 18px;
  font-weight: 800;
  color: #fff;
}

.step-card p {
  margin: 0;
  font-size: 14.5px;
  color: var(--ink-2);
}

.step-card code {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 13px;
  background: rgba(92, 225, 255, 0.14);
  color: var(--cyan);
  padding: 2px 6px;
  border-radius: 6px;
}

/* ── 计费表与试算器 ───────────────────────────────────────────────────────── */

.pricing-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.04fr);
  gap: 24px;
  align-items: start;
}

.rate-board,
.calc-card {
  border-radius: var(--radius-lg);
  padding: 26px;
}

.rate-board-head,
.calc-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
}

.rate-board-head h3,
.calc-head h3 {
  margin: 0;
  font-size: 20px;
  font-weight: 800;
  color: #fff;
}

.calc-head span {
  font-size: 13px;
  color: var(--ink-3);
  font-weight: 600;
}

.rate-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.rate-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 16px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line-dim);
}

.rate-row strong {
  display: block;
  font-size: 16px;
  font-weight: 800;
  color: #fff;
}

.rate-row span {
  font-size: 13px;
  color: var(--ink-3);
}

.rate-prices {
  text-align: right;
  flex-shrink: 0;
}

.price-std {
  display: block;
  font-size: 20px;
  font-weight: 800;
  color: #fff;
}

.price-mem {
  display: block;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--cyan);
}

.split-demo {
  margin-top: 20px;
  padding: 16px;
  border-radius: var(--radius-md);
  background: rgba(6, 9, 28, 0.65);
  border: 1px solid var(--line-dim);
}

.split-demo-head {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 12px;
}

.split-demo-head strong {
  font-size: 14.5px;
  color: #fff;
}

.split-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.split-pill {
  min-height: 34px;
  padding: 0 10px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--line-dim);
  background: rgba(255, 255, 255, 0.06);
  font-size: 12px;
  font-weight: 700;
  color: var(--ink-2);
  cursor: pointer;
}

.split-pill.is-active {
  background: var(--electric);
  border-color: var(--cyan);
  color: #fff;
}

.split-bar {
  display: flex;
  width: 100%;
  min-height: 40px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1.5px solid var(--line);
}

.split-seg {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6px 8px;
  font-size: 12px;
  font-weight: 800;
  color: #fff;
  text-align: center;
  transition: width 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.seg-weekend { background: var(--magenta); }
.seg-weekday { background: var(--electric); }

.split-summary {
  margin: 10px 0 0;
  font-size: 13px;
  font-weight: 700;
  color: var(--ink-2);
}

.calc-group {
  margin-bottom: 20px;
}

.calc-label {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: var(--ink-2);
  margin-bottom: 8px;
}

.calc-label-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 8px;
}

.calc-label-row .calc-label {
  margin-bottom: 0;
}

.calc-hours-val {
  font-size: 15px;
  color: var(--cyan);
}

.seg {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.seg-btn {
  min-height: 44px;
  padding: 6px 10px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line-dim);
  background: rgba(255, 255, 255, 0.06);
  font-size: 13.5px;
  font-weight: 700;
  color: var(--ink-2);
  cursor: pointer;
  transition: border-color 0.15s ease, background-color 0.15s ease, color 0.15s ease, transform 0.12s ease;
}

.seg-btn:active { transform: scale(0.97); }

.seg-btn.is-active {
  background: var(--electric);
  border-color: var(--cyan);
  color: #fff;
  box-shadow: 0 0 16px rgba(46, 96, 255, 0.5);
}

.calc-range {
  width: 100%;
  height: 36px;
  accent-color: var(--cyan);
  cursor: pointer;
}

.range-marks {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: var(--ink-3);
  margin-top: -2px;
}

.calc-checks {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 10px;
}

.check-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 0 12px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--line-dim);
  font-size: 13.5px;
  font-weight: 700;
  cursor: pointer;
}

.check-chip input {
  width: 18px;
  height: 18px;
  accent-color: var(--magenta);
  cursor: pointer;
}

.calc-result {
  background: rgba(5, 8, 24, 0.88);
  color: #fff;
  border-radius: var(--radius-md);
  padding: 20px;
  border: 1.5px solid var(--line);
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.calc-result.is-flash {
  border-color: var(--cyan);
  box-shadow: 0 0 24px rgba(92, 225, 255, 0.36);
}

.calc-result-main {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.calc-result-main span {
  font-size: 14px;
  color: var(--ink-2);
}

.calc-result-main strong {
  font-size: 34px;
  font-weight: 900;
  color: var(--cyan);
  text-shadow: 0 0 18px rgba(92, 225, 255, 0.45);
  letter-spacing: -0.02em;
}

.calc-breakdown {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  padding-top: 14px;
}

.calc-breakdown span {
  display: block;
  font-size: 12px;
  color: var(--ink-3);
}

.calc-breakdown strong {
  font-size: 14.5px;
  font-weight: 700;
}

/* ── 会员权益与券卡 ───────────────────────────────────────────────────────── */

.perks-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.perk-card {
  border-radius: var(--radius-lg);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.perk-top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}

.perk-badge {
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  font-size: 12px;
  font-weight: 800;
}

.badge-magenta { background: var(--magenta); color: #fff; }
.badge-blue { background: var(--electric); color: #fff; }
.badge-cyan { background: rgba(92, 225, 255, 0.18); color: var(--cyan); }
.badge-ink { background: rgba(255, 255, 255, 0.12); color: #fff; }

.perk-price {
  font-size: 20px;
  font-weight: 900;
  color: #fff;
}

.perk-price small {
  font-size: 13px;
  font-weight: 700;
  color: var(--ink-3);
}

.perk-card h3 {
  margin: 0;
  font-size: 20px;
  font-weight: 800;
  color: #fff;
}

.perk-card p {
  margin: 0;
  font-size: 15px;
  color: var(--ink-2);
  flex: 1;
}

.perk-foot {
  padding-top: 10px;
  border-top: 1px solid var(--line-dim);
  font-size: 13px;
  font-weight: 700;
  color: var(--cyan);
}

/* ── 本店守则签收 ─────────────────────────────────────────────────────────── */

.rules-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.rules-head h2 {
  margin: 0 0 8px;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 900;
  color: #fff;
}

.rules-head p {
  margin: 0;
  color: var(--ink-2);
}

.rules-controls {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
}

.rules-meter {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 700;
  color: var(--ink-2);
}

.rules-meter-track {
  width: 110px;
  height: 8px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid var(--line-dim);
  overflow: hidden;
}

.rules-meter-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--cyan), var(--mint));
  transition: width 0.25s cubic-bezier(0.22, 1, 0.36, 1);
}

.ack-all-btn {
  min-height: 30px;
  padding: 0 10px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--cyan);
  background: rgba(92, 225, 255, 0.14);
  color: var(--cyan);
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
}

.ack-all-btn:hover {
  background: var(--cyan);
  color: var(--space);
}

.rule-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.filter-chip {
  min-height: 40px;
  padding: 0 14px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--line-dim);
  background: rgba(255, 255, 255, 0.06);
  font-size: 13.5px;
  font-weight: 700;
  color: var(--ink-2);
  cursor: pointer;
}

.filter-chip.is-active {
  background: var(--electric);
  border-color: var(--cyan);
  color: #fff;
}

.rules-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.rule-item {
  width: 100%;
  text-align: left;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: var(--glass);
  backdrop-filter: blur(12px);
  border: 1px solid var(--line-dim);
  border-radius: var(--radius-md);
  padding: 16px;
  cursor: pointer;
  transition: transform 0.14s ease, border-color 0.16s ease, background-color 0.16s ease;
}

.rule-item:hover {
  border-color: var(--cyan);
  transform: translateY(-2px);
}

.rule-item[hidden] {
  display: none;
}

.rule-warn {
  border-color: rgba(255, 37, 126, 0.35);
}

.rule-tag {
  flex-shrink: 0;
  padding: 3px 9px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 800;
  background: rgba(92, 225, 255, 0.15);
  color: var(--cyan);
  margin-top: 2px;
}

.rule-warn .rule-tag {
  background: rgba(255, 37, 126, 0.2);
  color: #ff69a8;
}

.rule-item p {
  margin: 0;
  font-size: 15px;
  color: var(--ink);
  flex: 1;
}

.rule-check {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 1.5px solid var(--line);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 900;
  color: transparent;
  transition: background-color 0.16s ease, border-color 0.16s ease, color 0.16s ease, transform 0.2s cubic-bezier(0.22, 1, 0.36, 1);
}

.rule-item.is-acked {
  border-color: var(--mint);
  background: rgba(16, 62, 54, 0.48);
}

.rule-item.is-acked .rule-check {
  background: var(--mint);
  border-color: var(--mint);
  color: #060818;
  transform: scale(1.1);
}

.live-notices {
  margin-top: 26px;
  padding: 20px;
  border-radius: var(--radius-md);
}

.live-notices-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 12px;
}

.live-notices-head h3 {
  margin: 0;
  font-size: 18px;
}

.live-notices-head span {
  font-size: 12.5px;
  color: var(--mint);
  font-weight: 700;
}

.live-notices-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.live-notice-card {
  padding: 14px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line-dim);
}

.live-notice-card strong {
  display: block;
  margin-bottom: 4px;
  color: #fff;
}

.live-notice-card p {
  margin: 0;
  font-size: 14px;
  color: var(--ink-2);
  white-space: pre-line;
}

/* ── 到店指引（深空收尾带 + 激光扫描） ────────────────────────────────────── */

.visit-band {
  padding: 76px 0;
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(8, 12, 36, 0.45) 0%, rgba(5, 7, 22, 0.9) 100%);
}

.visit-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 36px;
  align-items: center;
}

.visit-copy h2 {
  margin: 14px 0 14px;
  font-size: clamp(1.7rem, 3.2vw, 2.4rem);
  font-weight: 900;
  line-height: 1.2;
}

.visit-copy p {
  margin: 0 0 24px;
  color: var(--ink-2);
  font-size: 16px;
  max-width: 52ch;
}

.visit-meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.visit-meta div {
  padding: 14px 16px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--line-dim);
}

.visit-meta span {
  display: block;
  font-size: 12px;
  color: var(--cyan);
  margin-bottom: 4px;
  font-weight: 700;
}

.visit-meta strong {
  font-size: 14.5px;
}

.qr-mock {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  padding: 24px;
}

.qr-scan-line {
  position: absolute;
  left: 0;
  right: 0;
  top: -12px;
  height: 6px;
  background: linear-gradient(90deg, transparent, var(--cyan), var(--magenta), transparent);
  box-shadow: 0 0 18px var(--cyan);
  opacity: 0;
  pointer-events: none;
  z-index: 4;
}

.qr-mock.is-scanning .qr-scan-line {
  opacity: 1;
  animation: scan-sweep 1.25s linear infinite;
}

@keyframes scan-sweep {
  from { top: 0%; }
  to { top: 100%; }
}

.qr-top {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line-dim);
}

.qr-dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--magenta);
  box-shadow: 0 0 10px var(--magenta);
}

.sim-btn {
  margin-left: auto;
  min-height: 32px;
  padding: 0 12px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--cyan);
  background: rgba(92, 225, 255, 0.16);
  color: var(--cyan);
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
}

.sim-btn:hover {
  background: var(--cyan);
  color: var(--space);
}

.qr-steps {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 18px 0;
}

.qr-step {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  font-weight: 600;
  padding: 7px 10px;
  border-radius: var(--radius-sm);
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.qr-step.is-lit {
  background: rgba(92, 225, 255, 0.16);
  transform: translateX(6px);
}

.qr-step strong {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--electric);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  flex-shrink: 0;
}

.qr-step.is-lit strong {
  background: var(--magenta);
  box-shadow: 0 0 12px var(--magenta);
}

.qr-foot {
  padding-top: 12px;
  border-top: 1px solid var(--line-dim);
  font-size: 13px;
  font-weight: 700;
  color: var(--ink-3);
}

/* ── 页脚 ─────────────────────────────────────────────────────────────────── */

.footer {
  background: rgba(4, 6, 18, 0.94);
  color: var(--ink-3);
  padding: 32px 0 calc(32px + env(safe-area-inset-bottom));
  border-top: 1px solid var(--line-dim);
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.footer-brand strong {
  color: #fff;
  font-size: 16px;
  margin-right: 10px;
}

.footer-brand span {
  font-size: 13.5px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  font-size: 14px;
  font-weight: 600;
}

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

.footer-note {
  width: 100%;
  margin: 6px 0 0;
  font-size: 12.5px;
}

/* ── 移动端与平板响应式适配 ───────────────────────────────────────────────── */

@media (max-width: 960px) {
  .nav,
  .hide-mobile {
    display: none;
  }

  .menu-btn {
    display: inline-flex;
  }

  .hero {
    padding: 32px 0 48px;
  }

  .hero-grid,
  .pricing-layout,
  .visit-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

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

  .zone-wide {
    grid-column: span 1;
    grid-template-columns: 1fr;
  }

  .zones-bento {
    grid-template-columns: 1fr;
  }

  .rules-controls {
    align-items: flex-start;
  }
}

@media (max-width: 640px) {
  .container {
    width: calc(100% - 28px);
  }

  .topbar-inner {
    min-height: 62px;
  }

  .status-pill {
    font-size: 12px;
    padding: 5px 10px;
  }

  .section {
    padding: 48px 0;
  }

  .hero-lead {
    font-size: 15.5px;
  }

  .hero-ctas {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .hero-ctas .btn {
    width: 100%;
    padding: 0 12px;
    font-size: 14.5px;
  }

  .hero-facts {
    gap: 8px;
    padding: 12px;
  }

  .hero-facts dd {
    font-size: 18px;
  }

  .cabinet {
    padding: 12px;
  }

  .cabinet-screen {
    padding: 12px;
  }

  .rhythm-stage {
    height: 168px;
  }

  .screen-headline {
    font-size: 23px;
  }

  .screen-metrics {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
  }

  .m-val {
    font-size: 13.5px;
  }

  .deck-tabs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
  }

  .deck-btn {
    min-height: 42px;
  }

  .steps-grid,
  .perks-grid,
  .rules-grid,
  .visit-meta {
    grid-template-columns: 1fr;
  }

  .zone-card,
  .rate-board,
  .calc-card,
  .perk-card {
    padding: 20px;
  }

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

  .seg.seg-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .seg.seg-3 .seg-btn {
    font-size: 12.5px;
    padding: 6px 4px;
    line-height: 1.25;
  }

  .calc-breakdown {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .calc-result-main strong {
    font-size: 28px;
  }

  .visit-band {
    padding: 52px 0;
  }
}

@media (max-width: 400px) {
  .brand-text small {
    display: none;
  }

  .status-pill {
    max-width: 172px;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .hero-ctas {
    grid-template-columns: 1fr;
  }

  .hud-hint {
    display: none;
  }
}

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

  [data-reveal] {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }

  .holo-border::before,
  .title-glitch::before,
  .title-glitch::after,
  .eq-bars span,
  .svg-note-1,
  .svg-note-2,
  .svg-note-3,
  .svg-note-4,
  .svg-pulse,
  .status-dot,
  .qr-scan-line {
    animation: none !important;
  }

  * {
    transition-duration: 0.001ms !important;
  }
}
