/* Cogignition Arcade — 3D cabinet carousel shell. CRT scanlines + vignette over
   the WebGL scene; the games' own CRT takes over once you launch one. */
* { margin: 0; padding: 0; box-sizing: border-box; }

html, body {
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: #0a0612;
  touch-action: none;
}

#scene {
  position: fixed;
  inset: 0;
  display: block;
  width: 100vw;
  height: 100vh;
}

/* scanlines + vignette above the canvas */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 5;
  background:
    linear-gradient(rgba(0, 0, 0, 0) 50%, rgba(0, 0, 0, 0.18) 50%),
    radial-gradient(130% 110% at 50% 45%, transparent 58%, rgba(0, 0, 0, 0.6));
  background-size: 100% 3px, 100% 100%;
}

.title, .hint {
  position: fixed;
  left: 0;
  right: 0;
  z-index: 6;
  text-align: center;
  font-family: ui-monospace, "JetBrains Mono", monospace;
  pointer-events: none;
}
.title {
  top: 26px;
  color: #ffd447;
  font-size: clamp(18px, 4vw, 28px);
  letter-spacing: 0.22em;
  text-shadow: 0 0 12px rgba(176, 38, 255, 0.5);
}
.hint {
  bottom: 22px;
  color: #9a8fb0;
  font-size: 12px;
  letter-spacing: 0.1em;
}

/* no-JS fallback */
.fallback {
  position: fixed; inset: 0; z-index: 80; display: flex;
  flex-direction: column; align-items: center; justify-content: center;
  gap: 18px; background: #0a0612; color: #f3e9ff; font-family: ui-monospace, monospace;
}
.fallback h1 { color: #ffd447; letter-spacing: 0.1em; }
.fallback a { color: #44ff88; text-decoration: none; border: 2px solid #44ff88; padding: 10px 18px; border-radius: 8px; }
.fallback a:hover { background: rgba(68, 255, 136, 0.12); }
