/* ============================================
   CSS Variables - Dark Midnight Palette
   ============================================ */

:root {
    /* Primary Color Palette - Enhanced Midnight Blues */
    --primary: #1a2f6b;
    /* Rich midnight blue */
    --primary-light: #3b82f6;
    /* Vibrant blue */
    --primary-dark: #0a0e1a;
    /* Deep space black */

    /* Secondary Colors */
    --secondary: #0ea5e9;
    /* Electric sky blue */
    --secondary-light: #38bdf8;
    /* Bright cyan */

    /* Accent Colors */
    --accent: #8b5cf6;
    /* Vivid purple */
    --accent-light: #a78bfa;
    /* Soft purple */
    --neon-cyan: #00d9ff;
    /* Bright neon cyan */
    --neon-purple: #d946ef;
    /* Bright neon fuchsia */

    /* Background Colors */
    --bg-dark: #000000;
    /* Pure black for maximum contrast */
    --bg-darker: #0a0e1a;
    /* Deep midnight */
    --bg-card: rgba(10, 14, 26, 0.85);
    /* Deeper card background */
    --bg-card-hover: rgba(26, 47, 107, 0.4);

    /* Text Colors */
    --text-primary: #ffffff;
    /* Pure white */
    --text-secondary: #94a3b8;
    /* Cool slate gray */
    --text-muted: #64748b;
    /* Muted slate */

    /* Glass Effect */
    --glass: rgba(26, 47, 107, 0.15);
    --glass-border: rgba(59, 130, 246, 0.2);
    --glass-hover: rgba(26, 47, 107, 0.3);

    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.5);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.6);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.7);
    --shadow-glow: 0 0 40px rgba(59, 130, 246, 0.5);

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #1a2f6b, #0ea5e9, #00d9ff);
    --gradient-accent: linear-gradient(135deg, #8b5cf6, #d946ef);
    --gradient-midnight: linear-gradient(135deg, #000000, #0a0e1a, #1a2f6b);
    --gradient-glow: linear-gradient(135deg, rgba(0, 217, 255, 0.3), rgba(217, 70, 239, 0.3));
    --gradient-card: linear-gradient(145deg, rgba(26, 47, 107, 0.1), rgba(10, 14, 26, 0.3));

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.5s ease;
    --transition-bounce: 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);

    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 8rem;

    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 24px;
    --radius-full: 50px;

    /* Typography */
    --font-primary: 'Space Grotesk', sans-serif;
    --font-mono: 'JetBrains Mono', monospace;

    --font-size-xs: 0.75rem;
    --font-size-sm: 0.875rem;
    --font-size-base: 1rem;
    --font-size-lg: 1.125rem;
    --font-size-xl: 1.25rem;
    --font-size-2xl: 1.5rem;
    --font-size-3xl: 2rem;
    --font-size-4xl: 3rem;

    /* Z-index layers */
    --z-background: 0;
    --z-content: 1;
    --z-nav: 1000;
    --z-modal: 2000;
    --z-cursor: 9999;
}

/* Light Theme Variables */
[data-theme="light"] {
    --primary: #1e40af;
    --primary-light: #3b82f6;
    --primary-dark: #1e3a8a;

    --secondary: #0284c7;
    --secondary-light: #0ea5e9;

    --accent: #7c3aed;
    --accent-light: #8b5cf6;

    --bg-dark: #f8fafc;
    --bg-darker: #e2e8f0;
    --bg-card: rgba(255, 255, 255, 0.9);
    --bg-card-hover: rgba(248, 250, 252, 1);

    --text-primary: #0f172a;
    --text-secondary: #475569;
    --text-muted: #64748b;

    --glass: rgba(255, 255, 255, 0.5);
    --glass-border: rgba(148, 163, 184, 0.3);
    --glass-hover: rgba(255, 255, 255, 0.7);

    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.12);
    --shadow-glow: 0 0 30px rgba(59, 130, 246, 0.2);
}