/* Neon NFO Kit — design tokens.
 *
 * The whole kit reads from these. Import this BEFORE nfo.css:
 *
 *   @import './src/tokens.css';   // pulls in fonts.css itself
 *   @import './src/nfo.css';
 *
 * Paths inside a CSS @import are relative to the importing stylesheet, so copy
 * src/ next to the file that imports it and nothing else needs changing.
 *
 * To retheme another service, override these on :root after the import. The
 * banner geometry is independent of colour, so you can swap the whole palette
 * without touching the generator.
 */

@import './fonts.css';

:root {
  /* ---- neon accents ---- */
  --neon-cyan: #00f0ff;
  --neon-magenta: #ff2d95;
  --neon-purple: #9d4edd;
  --neon-green: #39ff14;
  --neon-amber: #ffb020;   /* live values inside the NFO box */

  /* ---- surfaces ---- */
  --nfo-bg: #06080f;
  --nfo-bg-raised: #0a1224;
  --nfo-border: rgba(0, 240, 255, 0.18);
  --nfo-radius: 12px;
  /* four-stop panel wash behind the ASCII */
  --nfo-panel-1: #05070f;
  --nfo-panel-2: #0a1224;
  --nfo-panel-3: #06060f;
  --nfo-panel-4: #140a22;

  /* ---- ink inside the box ---- */
  --nfo-frame: #2f4a6b;    /* box uprights and corners */
  --nfo-rule-ink: #1f4f63; /* ═ and ─ runs */
  --nfo-section: #7ef0ff;  /* "R E L E A S E   I N F O" */
  --nfo-kv: #587092;       /* metadata rows */
  --nfo-key: #6f8fae;      /* metadata keys */
  --nfo-greet: #4f6480;    /* greets, deliberately dimmest */
  --nfo-strong: var(--neon-amber);

  /* ---- spacing ---- */
  --nfo-sp-sm: 0.5rem;
  --nfo-sp-md: 1rem;
  --nfo-sp-lg: 1.5rem;
  --nfo-sp-xl: 2rem;

  /* ---- glow channels, as bare "r, g, b" so callers can pick their own alpha
     with rgba(var(--nfo-glow), 0.35). Retheming a glow means changing one
     number, not hunting literal colours through nfo.css. ---- */
  --nfo-glow: 0, 240, 255;
  --nfo-glow-alt: 255, 45, 149;
  --nfo-glow-strong: 255, 176, 32;

  /* ---- type ---- */
  --font-display: 'Orbitron', 'Segoe UI', system-ui, sans-serif;
  --font-body: 'Rajdhani', 'Segoe UI', system-ui, sans-serif;
  /* Mono must include the box-drawing ranges; DejaVu Sans Mono and JetBrains
     Mono both carry U+2550-256C. Name your own first if you prefer. */
  --font-mono: 'JetBrains Mono', 'DejaVu Sans Mono', 'Cascadia Mono',
               'Menlo', 'Consolas', monospace;
}

/* Reduced motion: the scanline overlay is static, but this keeps any future
   animation off for people who ask for it. */
@media (prefers-reduced-motion: reduce) {
  .nfo-header::after {
    background: radial-gradient(120% 130% at 50% 0%, transparent 45%, rgba(0, 0, 0, 0.55) 100%);
  }
}
