/* ═══════════════════════════════════════════════════════════
   Eduverso Run Tracker — Design Tokens
   Dark Mode Native | Neon Accents | Premium Athletic Theme
   ═══════════════════════════════════════════════════════════ */

:root {
    /* ── Surface Colors (Dark Palette) ───────────────────── */
    --bg-primary: #0A0A0F;
    --bg-secondary: #121218;
    --bg-card: #1A1A24;
    --bg-card-hover: #22222E;
    --bg-elevated: #252532;
    --bg-input: #16161E;
    --bg-overlay: rgba(0, 0, 0, 0.65);

    /* ── Neon Accent Colors ──────────────────────────────── */
    --cyan: #00F0FF;
    --cyan-dim: #00B4BF;
    --cyan-glow: rgba(0, 240, 255, 0.15);
    --cyan-glow-strong: rgba(0, 240, 255, 0.3);

    --green: #39FF14;
    --green-dim: #2BD910;
    --green-glow: rgba(57, 255, 20, 0.15);

    --orange: #FF6B2C;
    --orange-dim: #E05A20;
    --orange-glow: rgba(255, 107, 44, 0.15);

    --magenta: #FF2CF1;
    --magenta-glow: rgba(255, 44, 241, 0.15);

    --purple: #A855F7;
    --purple-dim: #9333EA;
    --purple-glow: rgba(168, 85, 247, 0.15);

    --pink: #F472B6;
    --pink-dim: #EC4899;
    --pink-glow: rgba(244, 114, 182, 0.15);

    --yellow: #FFD600;
    --yellow-glow: rgba(255, 214, 0, 0.15);

    /* ── Semantic Colors ─────────────────────────────────── */
    --success: var(--green);
    --warning: var(--orange);
    --error: #FF4757;
    --error-glow: rgba(255, 71, 87, 0.15);
    --info: var(--cyan);

    /* ── Text Colors ─────────────────────────────────────── */
    --text-primary: #F0F0F5;
    --text-secondary: #9898A6;
    --text-tertiary: #5C5C6E;
    --text-accent: var(--cyan);
    --text-on-accent: #0A0A0F;

    /* ── Borders ─────────────────────────────────────────── */
    --border-subtle: rgba(255, 255, 255, 0.06);
    --border-default: rgba(255, 255, 255, 0.1);
    --border-focus: var(--cyan);

    /* ── Gradients ───────────────────────────────────────── */
    --gradient-cyan: linear-gradient(135deg, #00F0FF 0%, #0080FF 100%);
    --gradient-green: linear-gradient(135deg, #39FF14 0%, #00C853 100%);
    --gradient-orange: linear-gradient(135deg, #FF6B2C 0%, #FF2C7D 100%);
    --gradient-card: linear-gradient(145deg, rgba(255, 255, 255, 0.03) 0%, rgba(255, 255, 255, 0) 100%);
    --gradient-hero: linear-gradient(180deg, rgba(0, 240, 255, 0.08) 0%, transparent 60%);

    /* ── Typography ──────────────────────────────────────── */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-mono: 'JetBrains Mono', 'Fira Code', 'Cascadia Code', monospace;

    --text-xs: 0.75rem;
    /* 12px */
    --text-sm: 0.8125rem;
    /* 13px */
    --text-base: 0.9375rem;
    /* 15px */
    --text-md: 1rem;
    /* 16px */
    --text-lg: 1.125rem;
    /* 18px */
    --text-xl: 1.5rem;
    /* 24px */
    --text-2xl: 2rem;
    /* 32px */
    --text-3xl: 2.5rem;
    /* 40px */
    --text-4xl: 3.5rem;
    /* 56px */

    --weight-normal: 400;
    --weight-medium: 500;
    --weight-semibold: 600;
    --weight-bold: 700;
    --weight-extrabold: 800;

    /* ── Spacing ─────────────────────────────────────────── */
    --space-1: 0.25rem;
    /* 4px */
    --space-2: 0.5rem;
    /* 8px */
    --space-3: 0.75rem;
    /* 12px */
    --space-4: 1rem;
    /* 16px */
    --space-5: 1.25rem;
    /* 20px */
    --space-6: 1.5rem;
    /* 24px */
    --space-8: 2rem;
    /* 32px */
    --space-10: 2.5rem;
    /* 40px */
    --space-12: 3rem;
    /* 48px */
    --space-16: 4rem;
    /* 64px */

    /* ── Border Radius ───────────────────────────────────── */
    --radius-sm: 0.5rem;
    /* 8px */
    --radius-md: 0.75rem;
    /* 12px */
    --radius-lg: 1rem;
    /* 16px */
    --radius-xl: 1.25rem;
    /* 20px */
    --radius-2xl: 1.5rem;
    /* 24px */
    --radius-full: 50%;

    /* ── Shadows ─────────────────────────────────────────── */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.5);
    --shadow-glow: 0 0 20px var(--cyan-glow);
    --shadow-card: 0 4px 24px rgba(0, 0, 0, 0.35);

    /* ── Transitions ─────────────────────────────────────── */
    --ease-out: cubic-bezier(0.25, 0, 0.25, 1);
    --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
    --duration-fast: 150ms;
    --duration-normal: 250ms;
    --duration-slow: 400ms;

    /* ── Z-Index  ────────────────────────────────────────── */
    --z-dropdown: 100;
    --z-sticky: 200;
    --z-modal: 500;
    --z-toast: 600;
    --z-tooltip: 700;

    /* ── Layout ──────────────────────────────────────────── */
    --sidebar-width: 260px;
    --header-height: 64px;
    --bottom-nav-height: 64px;
    --max-content: 1200px;
}