/* ==========================================================================
   THE KINETIC PULSE - DESIGN TOKENS & SYSTEM VARIABLES
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=JetBrains+Mono:wght@400;500;600;700&family=Space+Grotesk:wght@300;400;500;600;700&display=swap');

:root {
  /* --- Core Dark Palette --- */
  --bg-dark: #08080A;
  --bg-darker: #040405;
  --bg-card: rgba(18, 18, 22, 0.7);
  --bg-card-hover: rgba(26, 26, 32, 0.85);
  --bg-surface: #121216;
  --bg-surface-elevated: #1B1B22;
  --bg-overlay: rgba(8, 8, 10, 0.85);

  /* --- Dynamic Mode Accent (Default: Strength) --- */
  --accent-mode: #CCFF00;
  --accent-mode-rgb: 204, 255, 0;

  /* --- Discipline Mode Accents --- */
  --accent-strength: #E2F13C;      /* Lime-yellow / Electric Chartreuse (#CCFF00 / #E2F13C) */
  --accent-conditioning: #FF4D00;  /* Hyper-orange */
  --accent-combat: #FF0055;        /* Cyber-crimson */
  --accent-recovery: #00E5FF;      /* Electric-cyan */

  /* Mode RGB equivalents for dynamic alpha layering */
  --accent-strength-rgb: 226, 241, 60;
  --accent-conditioning-rgb: 255, 77, 0;
  --accent-combat-rgb: 255, 0, 85;
  --accent-recovery-rgb: 0, 229, 255;

  /* --- Typography Families --- */
  --font-display: 'Bebas Neue', 'Impact', sans-serif;
  --font-body: 'Space Grotesk', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', 'SF Mono', Consolas, monospace;

  /* --- High-Contrast Text Tokens --- */
  --text-primary: #FFFFFF;
  --text-secondary: rgba(255, 255, 255, 0.75);
  --text-muted: rgba(255, 255, 255, 0.45);
  --text-dim: rgba(255, 255, 255, 0.25);
  --text-inverse: #08080A;

  /* --- Borders & Structural Lines --- */
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-medium: rgba(255, 255, 255, 0.16);
  --border-strong: rgba(255, 255, 255, 0.28);
  --border-accent: rgba(var(--accent-mode-rgb, 204, 255, 0), 0.4);

  /* --- Glows & Lighting --- */
  --glow-mode: 0 0 25px rgba(var(--accent-mode-rgb, 204, 255, 0), 0.35);
  --glow-intense: 0 0 35px rgba(var(--accent-mode-rgb, 204, 255, 0), 0.6), 0 0 70px rgba(var(--accent-mode-rgb, 204, 255, 0), 0.2);
  --glow-subtle: 0 0 15px rgba(var(--accent-mode-rgb, 204, 255, 0), 0.18);

  /* --- Elevation & Shadows --- */
  --shadow-card: 0 10px 30px -10px rgba(0, 0, 0, 0.8);
  --shadow-elevated: 0 20px 45px -10px rgba(0, 0, 0, 0.9);
  --shadow-modal: 0 30px 70px -15px rgba(0, 0, 0, 0.95);

  /* --- Geometry & Radii (Athletic / Tactical) --- */
  --radius-none: 0px;
  --radius-sm: 2px;
  --radius-md: 4px;
  --radius-lg: 8px;
  --radius-pill: 9999px;

  /* --- Layout & Dimensions --- */
  --container-max: 1440px;
  --header-height: 80px;

  /* --- Animation & Transitions --- */
  --transition-instant: 0.1s ease;
  --transition-fast: 0.18s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-smooth: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-slow: 0.65s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-mode: color 0.4s ease, border-color 0.4s ease, background-color 0.4s ease, box-shadow 0.4s ease;

  /* --- Layer Stacking Order --- */
  --z-negative: -1;
  --z-base: 1;
  --z-overlay: 10;
  --z-dock: 50;
  --z-header: 100;
  --z-modal-backdrop: 900;
  --z-modal: 1000;
  --z-toast: 1100;
}
