/* ═══════════════════════════════════════════════
   TIMES SQUARE SKYLINE — MAIN STYLES & TOKENS
   ═══════════════════════════════════════════════ */

:root {
  --night-sky: #050418;
  --neon-cyan: #00f5ff;
  --neon-magenta: #ff00aa;
  --neon-gold: #ffb454;
  --neon-green: #00ff88;
  --neon-coral: #ff6f59;
  
  --ink: #f8f6f0;
  --ink-dim: #9ea0b8;
  --line: rgba(255, 255, 255, 0.12);
  
  --hud-bg: rgba(8, 6, 20, 0.78);
  --hud-border: rgba(255, 255, 255, 0.14);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  user-select: none;
  -webkit-user-select: none;
}

html, body {
  width: 100%;
  height: 100%;
  overflow: hidden;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--night-sky);
  color: var(--ink);
  touch-action: none;
}

/* ═══ 3D WEBGL CANVAS CONTAINER ═══ */
#webgl-container {
  position: fixed;
  inset: 0;
  z-index: 1;
  overflow: hidden;
  cursor: grab;
}

#webgl-container:active {
  cursor: grabbing;
}

/* ═══ CINEMATIC SPLASH SCREEN ═══ */
#splash {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: radial-gradient(ellipse at 50% 40%, #150f38 0%, #060416 100%);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.8s;
  padding: 24px;
  text-align: center;
}

#splash.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.splash-legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 4px 16px;
  margin-top: 28px;
  font-size: 12px;
}

.splash-legal a {
  color: var(--ink-dim);
  text-decoration: none;
}

.splash-legal a:hover,
.splash-legal a:focus-visible {
  color: var(--neon-cyan);
}

.splash-badge {
  background: rgba(0, 245, 255, 0.12);
  border: 1px solid var(--neon-cyan);
  color: var(--neon-cyan);
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  padding: 6px 14px;
  border-radius: 20px;
  margin-bottom: 20px;
  box-shadow: 0 0 15px rgba(0, 245, 255, 0.3);
}

#splash h1 {
  font-family: 'Archivo Black', sans-serif;
  font-size: clamp(34px, 7.5vw, 68px);
  line-height: 1.05;
  letter-spacing: 3px;
  color: #ffffff;
  text-shadow: 0 0 40px rgba(0, 245, 255, 0.35);
  margin-bottom: 8px;
}

#splash h1 span {
  background: linear-gradient(135deg, var(--neon-cyan), var(--neon-gold), var(--neon-magenta));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

#splash .tagline {
  color: var(--ink-dim);
  font-size: 13.5px;
  margin: 10px 0 36px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  font-weight: 500;
}

.splash-features {
  display: flex;
  gap: 14px;
  margin-bottom: 40px;
  flex-wrap: wrap;
  justify-content: center;
  max-width: 620px;
}

.feature-pill {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 12px;
  color: var(--ink);
  display: flex;
  align-items: center;
  gap: 6px;
}

#enter-btn {
  background: linear-gradient(135deg, var(--neon-cyan), #00aaff);
  border: none;
  color: #040310;
  font-family: 'Inter', sans-serif;
  font-size: 13.5px;
  font-weight: 800;
  letter-spacing: 3px;
  text-transform: uppercase;
  padding: 16px 44px;
  cursor: pointer;
  border-radius: 8px;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 0 30px rgba(0, 245, 255, 0.4), 0 10px 20px rgba(0, 0, 0, 0.4);
}

#enter-btn:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 0 45px rgba(0, 245, 255, 0.7);
  filter: brightness(1.1);
}
