/* ==========================================================================
   Rolling Bounce Arcade — Design Tokens (Extracted from Google Stitch MCP)
   Project: Retro Red Ball Game Loop (projects/13097790400970932437)
   Design System: Rolling Bounce Arcade (assets/57ee88affde94256b39507dd1ab71853)
   ========================================================================== */

:root {
  /* --- Core Palette (Material / Stitch Tokens) --- */
  --color-primary: #b61722;
  --color-primary-bright: #ef4444;
  --color-primary-container: #da3437;
  --color-primary-rim: #fca5a5;
  --color-primary-shadow: #930013;
  --color-primary-shadow-deep: #991b1b;
  --color-primary-fixed: #ffdad7;
  --color-primary-fixed-dim: #ffb3ad;
  --color-on-primary: #ffffff;
  --color-on-primary-container: #fffbff;
  --color-on-primary-fixed: #410004;
  --color-on-primary-fixed-variant: #930013;

  --color-secondary: #006e2f;
  --color-secondary-bright: #22c55e;
  --color-secondary-mid: #16a34a;
  --color-secondary-deep: #15803d;
  --color-secondary-shadow: #005321;
  --color-secondary-container: #6bff8f;
  --color-secondary-fixed: #6bff8f;
  --color-secondary-fixed-dim: #4ae176;
  --color-on-secondary: #ffffff;
  --color-on-secondary-container: #007432;
  --color-on-secondary-fixed: #002109;

  --color-tertiary: #735c00;
  --color-tertiary-bright: #facc15;
  --color-tertiary-mid: #eab308;
  --color-tertiary-deep: #ca8a04;
  --color-tertiary-container: #cea700;
  --color-tertiary-fixed: #ffe083;
  --color-tertiary-fixed-dim: #eec200;
  --color-on-tertiary: #ffffff;
  --color-on-tertiary-container: #4e3e00;
  --color-on-tertiary-fixed: #231b00;

  /* --- Atmospheric & World Accents --- */
  --color-sky-light: #bae6fd;
  --color-sky-mid: #38bdf8;
  --color-sky-deep: #0284c7;

  --color-wood-plank: #92400e;
  --color-wood-shadow: #78350f;
  --color-wood-dark: #451a03;

  --color-steel-light: #475569;
  --color-steel-dark: #334155;

  /* --- Surface & Neutral Tokens --- */
  --color-background: #f9f9ff;
  --color-surface: #f9f9ff;
  --color-surface-bright: #f9f9ff;
  --color-surface-dim: #cfdaf2;
  --color-surface-container-lowest: #ffffff;
  --color-surface-container-low: #f0f3ff;
  --color-surface-container: #e7eeff;
  --color-surface-container-high: #dee8ff;
  --color-surface-container-highest: #d8e3fb;
  --color-surface-variant: #d8e3fb;
  --color-on-surface: #111c2d;
  --color-on-surface-variant: #5b403e;

  --color-inverse-surface: #263143;
  --color-inverse-on-surface: #ecf1ff;

  --color-neutral-900: #0f172a;
  --color-neutral-800: #1e293b;
  --color-outline: #8f6f6d;
  --color-outline-variant: #e4beba;

  --color-error: #ba1a1a;
  --color-error-container: #ffdad6;
  --color-on-error: #ffffff;
  --color-on-error-container: #93000a;

  /* --- Glossy & Tactile Gradients --- */
  --grad-red-gloss: linear-gradient(180deg, #ff6b6b 0%, #ef4444 45%, #dc2626 100%);
  --grad-green-gloss: linear-gradient(180deg, #6bff8f 0%, #22c55e 45%, #16a34a 100%);
  --grad-gold-gloss: linear-gradient(180deg, #ffe083 0%, #facc15 45%, #eab308 100%);
  --grad-wood-plank: linear-gradient(180deg, #b45309 0%, #92400e 60%, #78350f 100%);
  --grad-sky: linear-gradient(180deg, #38bdf8 0%, #7dd3fc 55%, #bae6fd 100%);
  --grad-hud-sheen: linear-gradient(180deg, rgba(255, 255, 255, 0.35) 0%, rgba(255, 255, 255, 0) 55%);

  /* --- Typography --- */
  --font-display: 'Rubik', system-ui, -apple-system, sans-serif;
  --font-body: 'Outfit', system-ui, -apple-system, sans-serif;

  --text-display-hero: 48px;
  --text-headline-lg: 32px;
  --text-headline-md: 24px;
  --text-headline-sm: 20px;
  --text-hud-counter: 22px;
  --text-body-lg: 18px;
  --text-body-md: 16px;
  --text-body-sm: 14px;
  --text-label-lg: 16px;
  --text-label-md: 13px;

  /* --- Radii (Roundedness: 3 / ROUND_FULL) --- */
  --radius-sm: 0.5rem;
  --radius-default: 1rem;
  --radius-md: 1.5rem;
  --radius-lg: 2rem;
  --radius-xl: 3rem;
  --radius-full: 9999px;
  --radius-wood: 0.875rem;

  /* --- Spacing --- */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2.25rem;
  --margin-desktop: 1.5rem;
  --margin-mobile: 0.75rem;

  /* --- Tactile Elevation & Drop Shadows --- */
  --shadow-hud-pill: inset 0 1.5px 0 rgba(255, 255, 255, 0.55), 0 4px 0 #0f172a;
  --shadow-btn-red: 0 6px 0 #930013, 0 8px 16px rgba(15, 23, 42, 0.35);
  --shadow-btn-red-pressed: 0 1px 0 #930013;
  --shadow-btn-green: 0 6px 0 #005321, 0 8px 16px rgba(15, 23, 42, 0.3);
  --shadow-btn-green-pressed: 0 1px 0 #005321;
  --shadow-btn-gold: 0 5px 0 #735c00, 0 8px 16px rgba(15, 23, 42, 0.25);
  --shadow-btn-gold-pressed: 0 1px 0 #735c00;
  --shadow-btn-wood: 0 5px 0 #78350f, 0 8px 16px rgba(15, 23, 42, 0.35);
  --shadow-btn-wood-pressed: 0 1px 0 #78350f;
  --shadow-btn-surface: 0 4px 0 #cfdaf2;
  --shadow-modal-board: 0 14px 0 #0f172a, 0 24px 48px rgba(15, 23, 42, 0.75);
  --shadow-display-text: 0 2px 0 #1e293b, 0 4px 10px rgba(15, 23, 42, 0.4);
}
