/* === QuizGames.win — Design Tokens === */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Outfit:wght@300;400;500;600;700;800;900&family=JetBrains+Mono:wght@400;500;600&display=swap');

:root {
    /* ── Core Palette ── */
    --bg-primary: #0a0a0f;
    --bg-secondary: #12121a;
    --bg-tertiary: #1a1a2e;
    --bg-card: #16162a;
    --bg-card-hover: #1e1e3a;
    --bg-elevated: #1f1f35;

    /* ── Surface & Glass ── */
    --glass-bg: rgba(22, 22, 42, 0.6);
    --glass-border: rgba(255, 255, 255, 0.06);
    --glass-highlight: rgba(255, 255, 255, 0.03);

    /* ── Text ── */
    --text-primary: #f0f0f5;
    --text-secondary: #a0a0b8;
    --text-muted: #6a6a82;
    --text-inverse: #0a0a0f;

    /* ── Accent: Electric Blue ── */
    --accent-primary: #6366f1;
    --accent-primary-bright: #818cf8;
    --accent-primary-dim: #4f46e5;
    --accent-primary-glow: rgba(99, 102, 241, 0.25);

    /* ── Accent: Neon Cyan ── */
    --accent-cyan: #22d3ee;
    --accent-cyan-dim: #06b6d4;
    --accent-cyan-glow: rgba(34, 211, 238, 0.2);

    /* ── Accent: Vibrant Purple ── */
    --accent-purple: #a855f7;
    --accent-purple-dim: #9333ea;
    --accent-purple-glow: rgba(168, 85, 247, 0.2);

    /* ── Accent: Hot Pink ── */
    --accent-pink: #ec4899;
    --accent-pink-dim: #db2777;
    --accent-pink-glow: rgba(236, 72, 153, 0.2);

    /* ── Status Colors ── */
    --success: #34d399;
    --success-bg: rgba(52, 211, 153, 0.1);
    --warning: #fbbf24;
    --warning-bg: rgba(251, 191, 36, 0.1);
    --error: #f87171;
    --error-bg: rgba(248, 113, 113, 0.1);
    --info: #60a5fa;
    --info-bg: rgba(96, 165, 250, 0.1);

    /* ── Gradients ── */
    --gradient-primary: linear-gradient(135deg, #6366f1 0%, #a855f7 50%, #ec4899 100%);
    --gradient-blue-cyan: linear-gradient(135deg, #6366f1 0%, #22d3ee 100%);
    --gradient-purple-pink: linear-gradient(135deg, #a855f7 0%, #ec4899 100%);
    --gradient-dark: linear-gradient(180deg, #0a0a0f 0%, #12121a 100%);
    --gradient-card: linear-gradient(145deg, rgba(22, 22, 42, 0.8) 0%, rgba(10, 10, 15, 0.9) 100%);
    --gradient-hero: radial-gradient(ellipse at 50% 0%, rgba(99, 102, 241, 0.15) 0%, transparent 60%);

    /* ── Typography ── */
    --font-display: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    --font-mono: 'JetBrains Mono', monospace;

    --text-xs: 0.75rem;
    --text-sm: 0.875rem;
    --text-base: 1rem;
    --text-lg: 1.125rem;
    --text-xl: 1.25rem;
    --text-2xl: 1.5rem;
    --text-3xl: 1.875rem;
    --text-4xl: 2.25rem;
    --text-5xl: 3rem;
    --text-6xl: 3.75rem;
    --text-7xl: 4.5rem;

    --weight-light: 300;
    --weight-normal: 400;
    --weight-medium: 500;
    --weight-semibold: 600;
    --weight-bold: 700;
    --weight-extrabold: 800;
    --weight-black: 900;

    /* ── Spacing ── */
    --space-1: 0.25rem;
    --space-2: 0.5rem;
    --space-3: 0.75rem;
    --space-4: 1rem;
    --space-5: 1.25rem;
    --space-6: 1.5rem;
    --space-8: 2rem;
    --space-10: 2.5rem;
    --space-12: 3rem;
    --space-16: 4rem;
    --space-20: 5rem;
    --space-24: 6rem;

    /* ── Border Radius ── */
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    --radius-2xl: 1.5rem;
    --radius-full: 9999px;

    /* ── Shadows ── */
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.5);
    --shadow-xl: 0 16px 48px rgba(0, 0, 0, 0.6);
    --shadow-glow-primary: 0 0 30px rgba(99, 102, 241, 0.3);
    --shadow-glow-cyan: 0 0 30px rgba(34, 211, 238, 0.3);
    --shadow-glow-purple: 0 0 30px rgba(168, 85, 247, 0.3);

    /* ── Transitions ── */
    --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-base: 250ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 400ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-spring: 500ms cubic-bezier(0.34, 1.56, 0.64, 1);

    /* ── Layout ── */
    --max-width: 1200px;
    --max-width-sm: 640px;
    --max-width-md: 768px;
    --max-width-lg: 1024px;
    --nav-height: 72px;
}