:root {
    /* ============================================
       Color Palette - Netflix-inspired Dark Theme
       ============================================ */
    
    /* Primary Colors */
    --color-primary: #E50914;
    --color-primary-dark: #B20710;
    --color-primary-light: #F40612;
    
    /* Background Colors */
    --color-bg-primary: #141414;
    --color-bg-secondary: #1F1F1F;
    --color-bg-tertiary: #2A2A2A;
    --color-bg-overlay: rgba(0, 0, 0, 0.7);
    
    /* Surface Colors */
    --color-surface: #1F1F1F;
    --color-surface-hover: #2A2A2A;
    --color-surface-active: #333333;
    
    /* Text Colors */
    --color-text-primary: #FFFFFF;
    --color-text-secondary: rgba(255, 255, 255, 0.7);
    --color-text-tertiary: rgba(255, 255, 255, 0.5);
    --color-text-disabled: rgba(255, 255, 255, 0.3);
    
    /* Accent Colors */
    --color-accent-gold: #FFD700;
    --color-accent-blue: #0080FF;
    --color-accent-green: #46D369;
    --color-accent-orange: #FF9500;
    
    /* Status Colors */
    --color-success: #46D369;
    --color-error: #E50914;
    --color-warning: #FF9500;
    --color-info: #0080FF;
    
    /* Border Colors */
    --color-border: rgba(255, 255, 255, 0.1);
    --color-border-hover: rgba(255, 255, 255, 0.2);
    
    /* ============================================
       Typography
       ============================================ */
    
    /* Font Families */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-heading: 'Bebas Neue', 'Oswald', sans-serif;
    --font-mono: 'Fira Code', 'Courier New', monospace;
    
    /* Font Sizes */
    --font-size-xs: 0.75rem;      /* 12px */
    --font-size-sm: 0.875rem;     /* 14px */
    --font-size-base: 1rem;       /* 16px */
    --font-size-lg: 1.125rem;     /* 18px */
    --font-size-xl: 1.25rem;      /* 20px */
    --font-size-2xl: 1.5rem;      /* 24px */
    --font-size-3xl: 1.875rem;    /* 30px */
    --font-size-4xl: 2.25rem;     /* 36px */
    --font-size-5xl: 3rem;        /* 48px */
    --font-size-6xl: 3.75rem;     /* 60px */
    
    /* Font Weights */
    --font-weight-light: 300;
    --font-weight-normal: 400;
    --font-weight-medium: 500;
    --font-weight-semibold: 600;
    --font-weight-bold: 700;
    --font-weight-black: 900;
    
    /* Line Heights */
    --line-height-tight: 1.2;
    --line-height-normal: 1.5;
    --line-height-relaxed: 1.75;
    
    /* ============================================
       Spacing System (8px base)
       ============================================ */
    
    --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 */
    --space-20: 5rem;     /* 80px */
    --space-24: 6rem;     /* 96px */
    
    /* ============================================
       Border Radius
       ============================================ */
    
    --radius-sm: 0.25rem;   /* 4px */
    --radius-md: 0.5rem;    /* 8px */
    --radius-lg: 0.75rem;   /* 12px */
    --radius-xl: 1rem;      /* 16px */
    --radius-2xl: 1.5rem;   /* 24px */
    --radius-full: 9999px;
    
    /* ============================================
       Shadows
       ============================================ */
    
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.5);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.6);
    --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.7);
    
    /* Glow Effects */
    --glow-primary: 0 0 20px rgba(229, 9, 20, 0.5);
    --glow-gold: 0 0 20px rgba(255, 215, 0, 0.5);
    
    /* ============================================
       Transitions
       ============================================ */
    
    --transition-fast: 150ms ease-in-out;
    --transition-base: 250ms ease-in-out;
    --transition-slow: 350ms ease-in-out;
    
    /* Easing Functions */
    --ease-in-out: cubic-bezier(0.4, 0, 0.2, 1);
    --ease-out: cubic-bezier(0, 0, 0.2, 1);
    --ease-in: cubic-bezier(0.4, 0, 1, 1);
    --ease-bounce: cubic-bezier(0.68, -0.55, 0.265, 1.55);
    
    /* ============================================
       Z-Index Scale
       ============================================ */
    
    --z-dropdown: 1000;
    --z-sticky: 1020;
    --z-fixed: 1030;
    --z-modal-backdrop: 1040;
    --z-modal: 1050;
    --z-popover: 1060;
    --z-tooltip: 1070;
    
    /* ============================================
       Breakpoints (for reference in JS)
       ============================================ */
    
    --breakpoint-sm: 640px;
    --breakpoint-md: 768px;
    --breakpoint-lg: 1024px;
    --breakpoint-xl: 1280px;
    --breakpoint-2xl: 1536px;
    
    /* ============================================
       Layout
       ============================================ */
    
    --container-max-width: 1400px;
    --navbar-height: 70px;
    --footer-height: 300px;
    
    /* ============================================
       Glassmorphism
       ============================================ */
    
    --glass-bg: rgba(31, 31, 31, 0.7);
    --glass-border: rgba(255, 255, 255, 0.1);
    --glass-blur: blur(10px);
}

/* Dark theme is default, but we can add light theme support */
[data-theme="light"] {
    --color-bg-primary: #FFFFFF;
    --color-bg-secondary: #F5F5F5;
    --color-bg-tertiary: #E5E5E5;
    --color-text-primary: #000000;
    --color-text-secondary: rgba(0, 0, 0, 0.7);
    --color-text-tertiary: rgba(0, 0, 0, 0.5);
}
