/* ==========================================================================
   IC7 Game — Design Tokens ("Neon Vault")
   Single source of truth for color, type, spacing, radius, elevation.
   ========================================================================== */

:root {
  /* Core surfaces */
  --color-bg:             #0A0A0C;
  --color-bg-alt:         #121215;
  --color-surface:        #17171B;
  --color-surface-raised: #1E1E23;
  --color-border:         #2A2A30;
  --color-border-glow:    rgba(230, 30, 45, 0.35);

  /* Accent — one red, used deliberately */
  --color-accent:         #E61E2D;
  --color-accent-bright:  #FF3B4A;
  --color-accent-dim:     #8C1119;
  --color-accent-glow:    rgba(230, 30, 45, 0.45);

  /* Gold — bonus/premium callouts only */
  --color-gold:           #E8B84B;

  /* Telegram brand — scoped to the Telegram button component only */
  --color-telegram:       #26A5E4;

  /* Text */
  --color-text-primary:   #F5F5F7;
  --color-text-secondary: #A5A5AD;
  --color-text-muted:     #6B6B73;
  --color-text-on-accent: #FFFFFF;

  /* Status */
  --color-success:        #2ECC71;
  --color-warning:        #E8B84B;
  --color-danger:         #E61E2D;

  /* Typography */
  --font-display: 'Sora', 'Poppins', system-ui, sans-serif;
  --font-body:    'Inter', system-ui, -apple-system, sans-serif;
  --font-mono:    'JetBrains Mono', ui-monospace, 'SFMono-Regular', monospace;

  --fs-h1:    clamp(2.25rem, 5vw, 3.75rem);
  --fs-h2:    clamp(1.75rem, 3.5vw, 2.5rem);
  --fs-h3:    clamp(1.25rem, 2.5vw, 1.75rem);
  --fs-h4:    clamp(1.05rem, 1.6vw, 1.25rem);
  --fs-body:  1rem;
  --fs-small: 0.875rem;
  --fs-xs:    0.78rem;

  --lh-tight: 1.15;
  --lh-snug:  1.35;
  --lh-body:  1.75;

  /* Spacing (4px base) */
  --space-1: 4px;   --space-2: 8px;   --space-3: 12px;  --space-4: 16px;
  --space-5: 20px;  --space-6: 24px;  --space-8: 32px;  --space-10: 40px;
  --space-12: 48px; --space-16: 64px; --space-20: 80px; --space-24: 96px;
  --space-32: 128px;

  /* Radius */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-pill: 999px;

  /* Shadow / glow */
  --shadow-card:        0 4px 24px rgba(0, 0, 0, 0.4);
  --shadow-card-hover:  0 12px 40px rgba(0, 0, 0, 0.55);
  --shadow-glow-accent: 0 0 32px var(--color-accent-glow);
  --shadow-glow-gold:   0 0 24px rgba(232, 184, 75, 0.3);

  /* Layout */
  --container: 1240px;
  --container-narrow: 760px;

  /* Motion */
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --dur-fast: 160ms;
  --dur-med:  240ms;
  --dur-slow: 420ms;

  /* Z-index */
  --z-nav:   100;
  --z-modal: 200;
  --z-toast: 300;
}
