/* tokens.css — design tokens (palette, type scale, spacing, glow)
   Single source of truth for the Hash Shogun visual system.

   v2 — Robinhood-green on deep black. All accent variables
   alias to the same green family so the rest of the CSS
   keeps working without rewrites. */

:root {
  /* ── Space palette (dark, faintly green-tinted) ── */
  --space-void:    #000000;
  --space-deep:    #050a05;
  --space-mid:     #0d130c;
  --space-elev:    #1a2218;

  /* ── Neon palette (Robinhood green family) ── */
  --neon-green:       #CFFF04;   /* primary — bright Robinhood green */
  --neon-green-hi:    #DFFF33;   /* highlight — slightly lighter */
  --neon-green-lo:    #9FCC03;   /* dim — slightly darker */
  --neon-green-dark:  #4A5A04;   /* very dark — for shadows / muted edges */

  /* Backwards-compatible aliases — keeps the rest of the CSS unchanged. */
  --neon-magenta:  var(--neon-green);
  --neon-pink:     var(--neon-green-hi);
  --neon-cyan:     var(--neon-green-lo);
  --neon-purple:   var(--neon-green-dark);

  /* ── Surface / text ── */
  --star-white:    #E8FFE0;     /* white with a hint of green */
  --text-primary:  #E8FFE0;
  --text-muted:    #6A7A5A;

  /* ── Type families ── */
  --font-display: 'Press Start 2P', 'Courier New', monospace;
  --font-body:    'VT323', 'Courier New', monospace;

  /* ── Type scale ── */
  --fs-display-xl:  clamp(40px, 10vw, 96px);
  --fs-display-l:   clamp(32px, 7vw, 64px);
  --fs-display-m:   clamp(24px, 4vw, 32px);
  --fs-body-l:      clamp(14px, 2.2vw, 22px);
  --fs-body-m:      clamp(12px, 1.8vw, 18px);

  /* ── Spacing ── */
  --gutter:        clamp(20px, 4vw, 48px);
  --top-bar-h:     64px;
  --footer-h:      88px;

  /* ── Glow tokens (green now) ── */
  --glow-magenta-sm: 0 0 8px  rgba(207, 255, 4, 0.55);
  --glow-magenta-md: 0 0 18px rgba(207, 255, 4, 0.40);
  --glow-cyan-sm:    0 0 6px  rgba(223, 255, 51, 0.45);
  --glow-purple-sm:  0 0 8px  rgba(207, 255, 4, 0.35);

  /* ── Motion ── */
  --easing:        cubic-bezier(0.22, 0.61, 0.36, 1);
  --dur-fast:      200ms;
  --dur-med:       400ms;
  --dur-slow:      1500ms;
}
