/* ═══════════════════════════════════════════════════════════════
   KSTRADIO — PLANET KNOSHO
   Design System v1.0
   Physical scene: A creative discovers this at night on desktop,
   drawn by the alien signal — the interface must feel like
   tuning into a hidden frequency. Alive, dark, unmistakably KSTRADIO.
   Color strategy: DRENCHED — the surface IS the brand.
═══════════════════════════════════════════════════════════════ */

/* ── DESIGN TOKENS ──────────────────────────────────────────── */
:root {
  /* Surfaces — deep space palette */
  --surface-0:  #0A0A0A;
  --surface-1:  #0E0E14;
  --surface-2:  #141420;
  --surface-3:  #1C1C2E;
  --surface-4:  #242438;

  /* Ink */
  --ink:        #FFFFFF;
  --ink-muted:  rgba(255, 255, 255, 0.62);
  --ink-dim:    rgba(255, 255, 255, 0.35);
  --ink-ghost:  rgba(255, 255, 255, 0.12);

  /* Brand — KSTRADIO Purple */
  --brand:        #7B2FBE;
  --brand-strong: #9B50DE;
  --brand-dim:    rgba(123, 47, 190, 0.25);
  --brand-glow:   0 0 30px rgba(123, 47, 190, 0.55), 0 0 60px rgba(123, 47, 190, 0.25);
  --brand-border: rgba(123, 47, 190, 0.5);

  /* Accent — Neon Lime (Planet Knosho signal color) */
  --accent:        #C8F200;
  --accent-strong: #D4FF1A;
  --accent-dim:    rgba(200, 242, 0, 0.2);
  --accent-glow:   0 0 20px rgba(200, 242, 0, 0.7), 0 0 50px rgba(200, 242, 0, 0.3);
  --accent-border: rgba(200, 242, 0, 0.5);

  /* UI chrome */
  --border:        rgba(123, 47, 190, 0.28);
  --border-active: rgba(123, 47, 190, 0.75);
  --focus:         #C8F200;
  --monitor-idle:  rgba(123, 47, 190, 0.35);
  --monitor-hover: rgba(200, 242, 0, 0.65);

  /* Typography */
  --font-display: 'Barlow Condensed', 'Impact', 'Arial Narrow', sans-serif;
  --font-body:    'Inter', system-ui, -apple-system, sans-serif;
  --font-mono:    'Share Tech Mono', 'Courier New', monospace;

  /* Spacing (8px grid) */
  --sp-1: 0.5rem;
  --sp-2: 1rem;
  --sp-3: 1.5rem;
  --sp-4: 2rem;
  --sp-5: 2.5rem;
  --sp-6: 3rem;
  --sp-8: 4rem;
  --sp-10: 5rem;
  --sp-12: 6rem;
  --sp-16: 8rem;

  /* Radius */
  --radius-sm:  4px;
  --radius-md:  8px;
  --radius-lg:  16px;
  --radius-xl:  24px;
  --radius-pill: 9999px;

  /* Transitions */
  --ease-out-expo:  cubic-bezier(0.19, 1, 0.22, 1);
  --ease-out-quart: cubic-bezier(0.25, 1, 0.5, 1);
  --ease-in-quart:  cubic-bezier(0.5, 0, 0.75, 0);
  --dur-fast:   120ms;
  --dur-base:   280ms;
  --dur-slow:   500ms;
  --dur-xslow:  900ms;

  /* Z-index scale */
  --z-canvas:   0;
  --z-scene:    10;
  --z-content:  20;
  --z-overlay:  30;
  --z-door:     40;
  --z-top:      50;
}

/* ── RESET & BASE ───────────────────────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
}

body {
  background: var(--surface-0);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  overflow: hidden;
  height: 100dvh;
  width: 100vw;
}

img, svg { display: block; max-width: 100%; }
button { cursor: pointer; border: none; background: none; font: inherit; }
input { font: inherit; }
a { color: inherit; text-decoration: none; }

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

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* ── SCREEN SYSTEM ──────────────────────────────────────────── */
.screen {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100dvh;
  overflow: hidden;
}

.screen--active { display: flex !important; }

/* Shared star canvas */
.stars-canvas {
  position: absolute;
  inset: 0;
  z-index: var(--z-canvas);
  pointer-events: none;
}

/* ══════════════════════════════════════════════════════════════
   SCREEN 1: LANDING
══════════════════════════════════════════════════════════════ */

#screen-landing {
  background: var(--surface-0);
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--sp-6);
}

/* Header wordmark */
.landing-header {
  position: absolute;
  top: var(--sp-4);
  left: 50%;
  transform: translateX(-50%);
  z-index: var(--z-content);
}

.wordmark {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2.5vw, 1.75rem);
  font-weight: 900;
  letter-spacing: 0.35em;
  color: var(--accent);
  text-shadow: var(--accent-glow);
  text-transform: uppercase;
}

/* Mascot */
.mascot-container {
  position: relative;
  z-index: var(--z-content);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.mascot-glow {
  position: absolute;
  bottom: -20px;
  left: 50%;
  transform: translateX(-50%);
  width: 260px;
  height: 60px;
  background: radial-gradient(ellipse, rgba(123, 47, 190, 0.55) 0%, transparent 70%);
  filter: blur(15px);
  animation: pulse-glow 3s ease-in-out infinite;
}

.mascot-svg {
  width: clamp(200px, 28vw, 340px);
  height: auto;
  filter: drop-shadow(0 0 30px rgba(123, 47, 190, 0.4));
  animation: mascot-float 4s ease-in-out infinite;
}

/* Mascot img (swap in when real PNG is available) */
.mascot-img {
  width: clamp(200px, 28vw, 340px);
  height: auto;
  filter: drop-shadow(0 0 30px rgba(123, 47, 190, 0.4));
  animation: mascot-float 4s ease-in-out infinite;
}

@keyframes mascot-float {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-14px); }
}

@keyframes pulse-glow {
  0%, 100% { opacity: 0.6; transform: translateX(-50%) scaleX(1); }
  50%       { opacity: 1;   transform: translateX(-50%) scaleX(1.15); }
}

/* Copy block */
.landing-copy {
  position: relative;
  z-index: var(--z-content);
  text-align: center;
}

.landing-tagline {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5.5vw, 5rem);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.01em;
  text-wrap: balance;
  text-transform: uppercase;
  color: var(--ink);
}

.landing-tagline em {
  color: var(--accent);
  font-style: normal;
  text-shadow: var(--accent-glow);
}

.landing-sub {
  margin-top: var(--sp-2);
  font-family: var(--font-mono);
  font-size: clamp(0.7rem, 1.2vw, 0.85rem);
  letter-spacing: 0.2em;
  color: var(--ink-muted);
  text-transform: uppercase;
}

/* CTA button */
.landing-cta {
  position: relative;
  z-index: var(--z-content);
}

.btn-enter {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  padding: 1rem 2.5rem;
  background: transparent;
  border: 2px solid var(--accent);
  border-radius: var(--radius-sm);
  font-family: var(--font-display);
  font-size: clamp(1rem, 1.8vw, 1.3rem);
  font-weight: 900;
  letter-spacing: 0.2em;
  color: var(--accent);
  text-transform: uppercase;
  transition: background var(--dur-base) var(--ease-out-quart),
              color var(--dur-base) var(--ease-out-quart),
              box-shadow var(--dur-base) var(--ease-out-quart),
              transform var(--dur-fast) var(--ease-out-quart);
  position: relative;
  overflow: hidden;
}

.btn-enter::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--dur-base) var(--ease-out-expo);
  z-index: -1;
}

.btn-enter:hover {
  color: var(--surface-0);
  box-shadow: var(--accent-glow);
}
.btn-enter:hover::before { transform: scaleX(1); }
.btn-enter:active { transform: scale(0.97); }

.btn-enter__arrow {
  transition: transform var(--dur-base) var(--ease-out-expo);
}
.btn-enter:hover .btn-enter__arrow { transform: translateX(6px); }

/* Bottom ticker */
.landing-ticker {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 36px;
  background: rgba(123, 47, 190, 0.15);
  border-top: 1px solid var(--brand-border);
  overflow: hidden;
  display: flex;
  align-items: center;
  z-index: var(--z-content);
}

.ticker-track {
  display: flex;
  white-space: nowrap;
  animation: ticker-scroll 25s linear infinite;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  color: var(--brand-strong);
  text-transform: uppercase;
}

.ticker-track span { padding-right: 3rem; }

@keyframes ticker-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ══════════════════════════════════════════════════════════════
   SCREEN 2: ENTRY GATE
══════════════════════════════════════════════════════════════ */

#screen-gate {
  background: var(--surface-0);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--sp-4);
}

.gate-bg {
  position: absolute;
  inset: 0;
  z-index: var(--z-canvas);
  overflow: hidden;
}

/* Subtle scan-grid lines in background */
.scan-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(123, 47, 190, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(123, 47, 190, 0.04) 1px, transparent 1px);
  background-size: 60px 60px;
}

.gate-prompt {
  font-family: var(--font-mono);
  font-size: clamp(0.7rem, 1.2vw, 0.9rem);
  letter-spacing: 0.25em;
  color: var(--brand-strong);
  text-transform: uppercase;
  position: relative;
  z-index: var(--z-content);
  text-align: center;
}

/* ── TICKET ──────────────────────────────────────────────────── */
.ticket-wrapper {
  position: relative;
  z-index: var(--z-content);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-3);
  width: 100%;
  max-width: 820px;
  padding: 0 var(--sp-4);
}

.ticket {
  display: flex;
  width: 100%;
  background: var(--surface-2);
  border: 1.5px solid var(--brand-border);
  border-radius: var(--radius-md);
  box-shadow: var(--brand-glow), inset 0 1px 0 rgba(255,255,255,0.05);
  overflow: hidden;
  position: relative;
  min-height: 240px;
}

/* Left stub */
.ticket-stub {
  width: 130px;
  flex-shrink: 0;
  background: var(--surface-3);
  border-right: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  padding: var(--sp-3) var(--sp-2);
  gap: var(--sp-2);
}

.stub-logo {
  font-size: 2rem;
  color: var(--accent);
  text-shadow: var(--accent-glow);
  line-height: 1;
}

.stub-brand {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 900;
  letter-spacing: 0.15em;
  color: var(--ink);
  text-transform: uppercase;
  writing-mode: vertical-rl;
  text-orientation: mixed;
  transform: rotate(180deg);
}

.stub-divider {
  width: 1px;
  height: 1px;
  background: transparent;
}

.stub-info {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  font-family: var(--font-mono);
  font-size: 0.55rem;
  letter-spacing: 0.1em;
  color: var(--ink-dim);
  text-transform: uppercase;
  text-align: center;
}

.stub-barcode-vert {
  margin: var(--sp-1) 0;
}

.stub-seat {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  color: var(--accent);
  letter-spacing: 0.1em;
}

/* Perforated edge */
.ticket-perf {
  width: 20px;
  flex-shrink: 0;
  position: relative;
  background: var(--surface-2);
  border-left: 1.5px dashed var(--brand-border);
}

/* Circular notches top + bottom */
.ticket-perf::before,
.ticket-perf::after {
  content: '';
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--surface-0);
  border: 1.5px solid var(--brand-border);
}
.ticket-perf::before { top: -9px; }
.ticket-perf::after  { bottom: -9px; }

/* Main ticket body */
.ticket-body {
  flex: 1;
  padding: var(--sp-3) var(--sp-4);
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
}

.ticket-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.ticket-type-badge {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.25em;
  color: var(--accent);
  text-transform: uppercase;
  border: 1px solid var(--accent-border);
  padding: 2px 10px;
  border-radius: var(--radius-sm);
}

.ticket-dest {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.4rem;
  color: var(--ink);
  letter-spacing: 0.05em;
}

.dest-code { color: var(--ink); }
.dest-arrow { color: var(--ink-dim); font-size: 0.9rem; letter-spacing: -0.05em; }

/* Fields */
.ticket-fields {
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
}

.field-group {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.field-label {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  color: var(--ink-dim);
  text-transform: uppercase;
}

.field-input {
  background: var(--surface-1);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 0.95rem;
  letter-spacing: 0.05em;
  padding: 0.55rem 0.85rem;
  width: 100%;
  transition: border-color var(--dur-base) var(--ease-out-quart),
              box-shadow var(--dur-base) var(--ease-out-quart);
}

.field-input::placeholder { color: var(--ink-dim); }

.field-input:focus {
  outline: none;
  border-color: var(--accent-border);
  box-shadow: 0 0 0 2px var(--accent-dim), inset 0 0 12px rgba(200, 242, 0, 0.04);
}

.ticket-meta {
  display: flex;
  gap: var(--sp-4);
  font-family: var(--font-mono);
  font-size: 0.58rem;
  color: var(--ink-dim);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* Footer */
.ticket-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-3);
  padding-top: var(--sp-1);
  border-top: 1px solid var(--border);
}

.ticket-barcode {
  opacity: 0.6;
  flex-shrink: 0;
}

.field-error {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: #ff4d4d;
  letter-spacing: 0.1em;
  min-height: 1rem;
}

/* SCAN TO BOARD button */
.btn-scan {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 0.85rem 2rem;
  background: var(--accent);
  color: var(--surface-0);
  font-family: var(--font-display);
  font-size: clamp(0.9rem, 1.5vw, 1.1rem);
  font-weight: 900;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  border-radius: var(--radius-sm);
  transition: box-shadow var(--dur-base) var(--ease-out-quart),
              transform var(--dur-fast) var(--ease-out-quart),
              background var(--dur-base) var(--ease-out-quart);
  flex-shrink: 0;
  position: relative;
  overflow: hidden;
}

/* Wipe shimmer sweep on hover */
.btn-scan::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    transparent 35%,
    rgba(255, 255, 255, 0.35) 50%,
    transparent 65%
  );
  transform: translateX(-140%);
  transition: transform 0.45s var(--ease-out-expo);
  pointer-events: none;
}

.btn-scan:hover::after {
  transform: translateX(140%);
}

.btn-scan:hover {
  background: var(--accent-strong);
  box-shadow: var(--accent-glow);
  transform: translateY(-1px);
}

.btn-scan:active { transform: scale(0.97) translateY(0); }

.btn-scan__icon {
  font-size: 0.9em;
  letter-spacing: -0.1em;
}

/* Scan line overlay */
.scan-line {
  position: absolute;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--accent), rgba(200,242,0,0.3), var(--accent), transparent);
  box-shadow: 0 0 20px var(--accent), 0 0 40px rgba(200,242,0,0.4);
  top: -3px;
  opacity: 0;
  pointer-events: none;
  z-index: var(--z-overlay);
}

/* ACCESS GRANTED overlay */
.access-granted-overlay {
  position: fixed;
  inset: 0;
  background: var(--surface-0);
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: var(--z-overlay);
}

.ag-inner {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-3);
}

.ag-hexagon {
  font-size: 4rem;
  color: var(--accent);
  text-shadow: var(--accent-glow);
  animation: spin-slow 8s linear infinite;
}

@keyframes spin-slow {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

.ag-text {
  font-family: var(--font-display);
  font-size: clamp(3rem, 8vw, 7rem);
  font-weight: 900;
  letter-spacing: 0.15em;
  color: var(--accent);
  text-transform: uppercase;
  text-shadow: var(--accent-glow);
}

.ag-sub {
  font-family: var(--font-mono);
  font-size: clamp(0.8rem, 1.5vw, 1rem);
  letter-spacing: 0.35em;
  color: var(--ink-muted);
  text-transform: uppercase;
}

.ag-bar {
  width: 200px;
  height: 2px;
  background: var(--accent);
  box-shadow: var(--accent-glow);
  animation: ag-bar-expand 0.5s var(--ease-out-expo) forwards;
  transform-origin: center;
}

@keyframes ag-bar-expand {
  from { transform: scaleX(0); opacity: 0; }
  to   { transform: scaleX(1); opacity: 1; }
}

/* Door panels */
.door {
  position: fixed;
  top: 0;
  bottom: 0;
  width: 50%;
  z-index: var(--z-door);
  background: var(--surface-0);
  display: none;
}

.door-left  { left: 0; }
.door-right { right: 0; }

/* Door panel detail (circuit line texture) */
.door-left::before,
.door-right::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(
    to bottom,
    transparent 0%,
    var(--brand) 20%,
    var(--accent) 50%,
    var(--brand) 80%,
    transparent 100%
  );
  box-shadow: 0 0 12px var(--brand);
}
.door-left::before  { right: 0; }
.door-right::before { left: 0; }

/* ══════════════════════════════════════════════════════════════
   SCREEN 3: THE HUB — BATCAVE
══════════════════════════════════════════════════════════════ */

#screen-hub {
  background: var(--surface-0);
  overflow: hidden;
  display: none;
  align-items: center;
  justify-content: center;
}

.hub-bg {
  position: absolute;
  inset: 0;
  z-index: var(--z-canvas);
  pointer-events: none;
}

/* Ambient floor glow */
.hub-floor-glow {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 35%;
  background: radial-gradient(ellipse at 50% 100%, rgba(123,47,190,0.18) 0%, transparent 70%);
  pointer-events: none;
}

/* Hub header bar */
.hub-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 50px;
  background: rgba(14, 14, 20, 0.85);
  border-bottom: 1px solid var(--brand-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 var(--sp-4);
  z-index: var(--z-content);
  backdrop-filter: blur(8px);
}

.hub-logo {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 900;
  letter-spacing: 0.3em;
  color: var(--accent);
  text-shadow: var(--accent-glow);
}

.hub-status {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  color: var(--brand-strong);
  display: flex;
  align-items: center;
  gap: var(--sp-2);
}

.hub-status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 8px var(--accent);
  animation: blink 2s ease-in-out infinite;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.3; }
}

.hub-nick {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  color: var(--ink-muted);
}

/* Hub scene container */
.hub-scene {
  position: relative;
  width: 100%;
  height: 100%;
  perspective: 1400px;
  z-index: var(--z-scene);
}

/* ── MASCOT CHAIR ──────────────────────────────────────────── */
.mascot-chair {
  position: absolute;
  left: 8%;
  bottom: 8%;
  width: clamp(180px, 20vw, 280px);
  z-index: var(--z-content);
  pointer-events: none;
}

.mascot-chair-art {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 0 30px rgba(123,47,190,0.4));
}

.chair-glow {
  position: absolute;
  bottom: -20px;
  left: 50%;
  transform: translateX(-50%);
  width: 120%;
  height: 40px;
  background: radial-gradient(ellipse, rgba(123,47,190,0.45) 0%, transparent 70%);
  filter: blur(10px);
  animation: pulse-glow 3s ease-in-out infinite;
}

/* ── MONITORS ──────────────────────────────────────────────── */
.monitor-grid {
  position: absolute;
  inset: 0;
  /* Individual monitors use absolute positioning for the batcave feel */
}

.monitor {
  position: absolute;
  background: var(--surface-2);
  border: 1.5px solid var(--monitor-idle);
  border-radius: var(--radius-md);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
  cursor: pointer;
  text-decoration: none;
  color: var(--ink);
  padding: var(--sp-3);
  transition:
    border-color var(--dur-base) var(--ease-out-quart),
    box-shadow var(--dur-base) var(--ease-out-quart),
    transform var(--dur-base) var(--ease-out-quart),
    background var(--dur-base) var(--ease-out-quart);
  /* Scanlines inside the monitor */
  background-image: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 3px,
    rgba(0,0,0,0.12) 3px,
    rgba(0,0,0,0.12) 4px
  );
}

.monitor::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius-md);
  background: radial-gradient(ellipse at 30% 30%, rgba(255,255,255,0.04) 0%, transparent 60%);
  pointer-events: none;
}

.monitor:hover {
  border-color: var(--accent);
  box-shadow: 0 0 20px rgba(200,242,0,0.35), 0 0 50px rgba(200,242,0,0.12), inset 0 0 30px rgba(200,242,0,0.04);
  background-color: var(--surface-3);
  transform: translateZ(24px) scale(1.03);
}

.monitor:active {
  transform: translateZ(12px) scale(0.98);
}

/* Monitor content */
.monitor-icon {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  line-height: 1;
  transition: transform var(--dur-base) var(--ease-out-expo);
}
.monitor:hover .monitor-icon { transform: scale(1.15); }

.monitor-label {
  font-family: var(--font-display);
  font-size: clamp(0.75rem, 1.3vw, 1rem);
  font-weight: 900;
  letter-spacing: 0.2em;
  text-align: center;
  text-transform: uppercase;
  color: var(--ink);
  transition: color var(--dur-base) var(--ease-out-quart);
}
.monitor:hover .monitor-label { color: var(--accent); }

.monitor-sub {
  font-family: var(--font-mono);
  font-size: clamp(0.55rem, 0.9vw, 0.68rem);
  letter-spacing: 0.1em;
  color: var(--ink-dim);
  text-align: center;
  transition: color var(--dur-base) var(--ease-out-quart);
}
.monitor:hover .monitor-sub { color: var(--ink-muted); }

/* Monitor status light (top-right corner) */
.monitor-light {
  position: absolute;
  top: 10px;
  right: 12px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--brand-strong);
  opacity: 0.6;
  transition: background var(--dur-base), box-shadow var(--dur-base), opacity var(--dur-base);
}
.monitor:hover .monitor-light {
  background: var(--accent);
  box-shadow: 0 0 8px var(--accent);
  opacity: 1;
}

/* ── MONITOR POSITIONS (Batcave arc layout) ─────────────────── */
/* Top arc — 5 monitors */
.monitor-1 { /* MUSIC — center-right large, main feature */
  width: clamp(160px, 18vw, 230px);
  height: clamp(130px, 14vw, 180px);
  left: 50%;
  top: 8%;
  transform: perspective(1000px) rotateY(-6deg);
}

.monitor-2 { /* COMICS — left of center-top */
  width: clamp(140px, 15vw, 200px);
  height: clamp(110px, 12vw, 155px);
  left: 33%;
  top: 6%;
  transform: perspective(1000px) rotateY(-2deg);
}

.monitor-3 { /* MERCH — far right */
  width: clamp(130px, 14vw, 185px);
  height: clamp(105px, 11vw, 145px);
  right: 5%;
  top: 14%;
  transform: perspective(1000px) rotateY(-18deg);
}

.monitor-4 { /* BLOG — left side */
  width: clamp(120px, 13vw, 170px);
  height: clamp(100px, 10vw, 135px);
  left: 18%;
  top: 12%;
  transform: perspective(1000px) rotateY(10deg);
}

.monitor-5 { /* PODCAST — far left */
  width: clamp(115px, 12vw, 155px);
  height: clamp(95px, 9.5vw, 125px);
  left: 4%;
  top: 22%;
  transform: perspective(1000px) rotateY(18deg);
}

/* Middle / lower arc — 4 monitors flanking the mascot */
.monitor-6 { /* EDUCATION — right-center middle */
  width: clamp(130px, 14vw, 185px);
  height: clamp(105px, 11vw, 145px);
  right: 10%;
  top: 38%;
  transform: perspective(1000px) rotateY(-14deg);
}

.monitor-7 { /* COMMUNITY — far right low */
  width: clamp(120px, 12vw, 160px);
  height: clamp(95px, 9.5vw, 125px);
  right: 3%;
  top: 56%;
  transform: perspective(1000px) rotateY(-20deg);
}

.monitor-8 { /* CONTACT — lower center */
  width: clamp(125px, 13vw, 170px);
  height: clamp(100px, 10vw, 135px);
  left: 42%;
  top: 55%;
  transform: perspective(1000px) rotateY(-8deg);
}

.monitor-9 { /* HIRE ME — lower right of mascot */
  width: clamp(115px, 12vw, 155px);
  height: clamp(95px, 9.5vw, 125px);
  left: 30%;
  top: 62%;
  transform: perspective(1000px) rotateY(-4deg);
}

/* Hub nav hint */
.hub-nav-hint {
  position: absolute;
  bottom: var(--sp-3);
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  color: var(--ink-ghost);
  text-transform: uppercase;
  z-index: var(--z-content);
  animation: fade-in-up 1s var(--ease-out-expo) 1.5s both;
}

@keyframes fade-in-up {
  from { opacity: 0; transform: translateX(-50%) translateY(10px); }
  to   { opacity: 1; transform: translateX(-50%) translateY(0); }
}

/* ══════════════════════════════════════════════════════════════
   INDIVIDUAL PAGES — Shared shell
══════════════════════════════════════════════════════════════ */

.page-shell {
  min-height: 100dvh;
  background: var(--surface-0);
  color: var(--ink);
  font-family: var(--font-body);
  overflow-y: auto;
}

/* Persistent radio bar (appears on all pages except index) */
.radio-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 56px;
  background: rgba(14, 14, 20, 0.96);
  border-top: 1px solid var(--brand-border);
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  padding: 0 var(--sp-4);
  z-index: var(--z-top);
  backdrop-filter: blur(12px);
}

.radio-label {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  color: var(--accent);
  text-transform: uppercase;
  white-space: nowrap;
}

.radio-track-name {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--ink-muted);
  flex: 1;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.radio-controls {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
}

.radio-btn {
  background: none;
  border: 1px solid var(--border);
  color: var(--ink-muted);
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  cursor: pointer;
  transition: border-color var(--dur-fast), color var(--dur-fast);
}
.radio-btn:hover { border-color: var(--accent); color: var(--accent); }

/* Page nav */
.page-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 54px;
  background: rgba(10, 10, 10, 0.92);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 var(--sp-4);
  z-index: var(--z-top);
  backdrop-filter: blur(12px);
}

.nav-back {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  color: var(--ink-muted);
  text-transform: uppercase;
  transition: color var(--dur-fast);
  display: flex;
  align-items: center;
  gap: 6px;
}
.nav-back:hover { color: var(--accent); }

.nav-wordmark {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 900;
  letter-spacing: 0.3em;
  color: var(--accent);
}

/* Page content area */
.page-content {
  padding: calc(54px + var(--sp-6)) var(--sp-4) calc(56px + var(--sp-6));
  max-width: 1200px;
  margin: 0 auto;
}

/* Section heading pattern */
.section-heading {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.5vw, 4rem);
  font-weight: 900;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  text-wrap: balance;
  line-height: 1.05;
}

.section-heading .hl {
  color: var(--accent);
  text-shadow: var(--accent-glow);
}

/* ══════════════════════════════════════════════════════════════
   UTILITIES
══════════════════════════════════════════════════════════════ */

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

.glow-text-accent  { text-shadow: var(--accent-glow); }
.glow-text-brand   { text-shadow: var(--brand-glow); }

/* Entrance animation utility */
@keyframes fade-in {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.animate-in {
  animation: fade-in 0.6s var(--ease-out-quart) both;
}

/* ══════════════════════════════════════════════════════════════
   SCREEN: VERIFY — Email confirmation gate
══════════════════════════════════════════════════════════════ */

#screen-verify {
  background: var(--surface-0);
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 40;
}

.verify-card {
  position: relative;
  z-index: var(--z-content);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: var(--sp-5);
  max-width: 520px;
  padding: var(--sp-8) var(--sp-6);
}

.verify-hex {
  font-size: 3rem;
  color: var(--accent);
  text-shadow: var(--accent-glow);
  animation: pulse-glow 2.5s ease-in-out infinite;
}

.verify-label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.3em;
  color: var(--brand-strong);
  text-transform: uppercase;
  margin-bottom: var(--sp-2);
}

.verify-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 900;
  letter-spacing: -0.01em;
  color: var(--ink);
  text-transform: uppercase;
  text-wrap: balance;
  line-height: 1.05;
}

.verify-title em {
  color: var(--accent);
  text-shadow: var(--accent-glow);
  font-style: normal;
}

.verify-email-addr {
  font-family: var(--font-mono);
  font-size: clamp(0.75rem, 1.5vw, 0.9rem);
  letter-spacing: 0.12em;
  color: var(--accent);
  text-shadow: var(--accent-glow);
}

.verify-body {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  color: var(--ink-muted);
  line-height: 1.9;
  text-transform: uppercase;
  max-width: 34ch;
}

/* ── Ticket passenger name preview ─────────────────────────── */
.ticket-passenger-name {
  font-family: var(--font-mono);
  font-size: 0.58rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  text-align: center;
  min-height: 1.1em;
  margin-bottom: 4px;
  opacity: 0.9;
}

/* ── Board the station button — black wipe animation ─────── */
.btn-board {
  position: relative;
  overflow: hidden;
  font-family: var(--font-display);
  font-size: clamp(1rem, 2vw, 1.15rem);
  font-weight: 900;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--surface-0);
  background: var(--accent);
  border: none;
  padding: var(--sp-3) var(--sp-8);
  border-radius: var(--radius-sm);
  cursor: pointer;
  box-shadow: var(--accent-glow);
  transition: color 0.35s ease, box-shadow var(--dur-base), transform var(--dur-fast);
}

.btn-board::before {
  content: '';
  position: absolute;
  inset: 0;
  background: #0A0A0A;
  transform: translateX(-101%);
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
}

.btn-board:hover::before {
  transform: translateX(0);
}

.btn-board__text {
  position: relative;
  z-index: 1;
}

.btn-board:hover {
  color: #ffffff;
  box-shadow: 0 0 40px rgba(200,242,0,0.6);
  transform: translateY(-2px);
}

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

.verify-skip {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  color: var(--ink-dim);
  text-transform: uppercase;
}

.verify-resend {
  color: var(--ink-muted);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color var(--dur-fast);
}

.verify-resend:hover { color: var(--ink); }
