/* ===== Karaoke Queue · base ===== */

:root {
  /* Color tokens — Game Night Guild brand: navy + purple + teal + yellow.
     Variable names kept stable so the per-view CSS files don't need touching. */
  --bg-deep: #0a1835;
  --bg-1: #0f1f47;
  --bg-2: #16275a;
  --bg-card: #1a2960;
  --bg-card-2: #20316e;

  --ink: #f5f9ff;
  --ink-soft: #c8d4ec;
  --ink-muted: #7c8aa8;
  --ink-dim: #4a5878;

  /* Accent slot 1 — brand purple (vinyl/banner purple from the logo) */
  --neon-pink: #7c3fb4;
  --neon-pink-glow: rgba(124, 63, 180, 0.45);
  /* Accent slot 2 — brand teal (GAME NIGHT text color) */
  --neon-cyan: #3dbeca;
  --neon-cyan-glow: rgba(61, 190, 202, 0.4);
  /* Accent slot 3 — brand yellow (star) */
  --stage-gold: #f5c742;
  --stage-gold-glow: rgba(245, 199, 66, 0.45);
  --velvet-red: #d62246;

  --success: #38d39f;
  --danger: #ff4d6d;
  --warning: #ffb84d;

  /* Type */
  --font-display: 'Bungee', system-ui, sans-serif;
  --font-display-alt: 'Bungee Inline', system-ui, sans-serif;
  --font-body: 'Outfit', system-ui, -apple-system, sans-serif;

  /* Radii / shadows */
  --r-sm: 6px;
  --r-md: 12px;
  --r-lg: 20px;
  --r-xl: 28px;
  --r-pill: 999px;

  --shadow-glow-pink: 0 0 24px var(--neon-pink-glow), 0 0 60px var(--neon-pink-glow);
  --shadow-glow-cyan: 0 0 24px var(--neon-cyan-glow), 0 0 60px var(--neon-cyan-glow);
  --shadow-glow-gold: 0 0 24px var(--stage-gold-glow), 0 0 60px var(--stage-gold-glow);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  height: 100%;
  width: 100%;
  background: var(--bg-deep);
  color: var(--ink);
  font-family: var(--font-body);
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

body {
  background-image:
    radial-gradient(ellipse at top, rgba(124, 63, 180, 0.20) 0%, transparent 50%),
    radial-gradient(ellipse at bottom, rgba(61, 190, 202, 0.14) 0%, transparent 50%),
    linear-gradient(180deg, var(--bg-deep) 0%, var(--bg-1) 100%);
  background-attachment: fixed;
}

button, input, textarea, select {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
}

button {
  cursor: pointer;
  border: none;
  background: transparent;
}

input:focus, button:focus, textarea:focus {
  outline: 2px solid var(--neon-cyan);
  outline-offset: 2px;
}

a {
  color: var(--neon-cyan);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.hidden {
  display: none !important;
}

/* Subtle film grain overlay on every page */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1000;
  opacity: 0.04;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}
