/* ==========================================================================
   CSS Variables - casinoenlineagratis.net
   Color Palette: #450693, #8C00FF, #FF3F7F, #FFC400
   ========================================================================== */

:root {
  /* Primary Colors */
  --color-primary: #450693;
  --color-primary-light: #8C00FF;
  --color-secondary: #FF3F7F;
  --color-accent: #FFC400;
  
  /* Gradient Backgrounds */
  --gradient-primary: linear-gradient(135deg, #450693 0%, #8C00FF 100%);
  --gradient-hero: linear-gradient(180deg, #1a0033 0%, #450693 50%, #2d0055 100%);
  --gradient-card: linear-gradient(145deg, rgba(140, 0, 255, 0.15) 0%, rgba(69, 6, 147, 0.3) 100%);
  --gradient-cta: linear-gradient(135deg, #FF3F7F 0%, #FFC400 100%);
  --gradient-button: linear-gradient(135deg, #8C00FF 0%, #450693 100%);
  
  /* Background Colors */
  --bg-dark: #0d0015;
  --bg-darker: #080010;
  --bg-card: rgba(69, 6, 147, 0.2);
  --bg-card-hover: rgba(140, 0, 255, 0.25);
  --bg-overlay: rgba(13, 0, 21, 0.9);
  --bg-glass: rgba(255, 255, 255, 0.05);
  
  /* Text Colors */
  --text-primary: #ffffff;
  --text-secondary: rgba(255, 255, 255, 0.85);
  --text-muted: rgba(255, 255, 255, 0.6);
  --text-accent: #FFC400;
  
  /* Typography - System Fonts */
  --font-main: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  --font-heading: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  
  /* Fluid Typography */
  --text-xs: clamp(0.75rem, 0.7rem + 0.25vw, 0.875rem);
  --text-sm: clamp(0.875rem, 0.8rem + 0.4vw, 1rem);
  --text-base: clamp(1rem, 0.9rem + 0.5vw, 1.125rem);
  --text-lg: clamp(1.125rem, 1rem + 0.6vw, 1.375rem);
  --text-xl: clamp(1.25rem, 1.1rem + 0.75vw, 1.625rem);
  --text-2xl: clamp(1.5rem, 1.25rem + 1.25vw, 2rem);
  --text-3xl: clamp(1.875rem, 1.5rem + 1.875vw, 2.75rem);
  --text-4xl: clamp(2.25rem, 1.75rem + 2.5vw, 3.5rem);
  
  /* Spacing Scale */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;
  --space-4xl: 6rem;
  
  /* Border Radius */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --radius-2xl: 24px;
  --radius-full: 9999px;
  
  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.5);
  --shadow-xl: 0 20px 25px rgba(0, 0, 0, 0.6);
  --shadow-glow: 0 0 20px rgba(140, 0, 255, 0.4);
  --shadow-glow-accent: 0 0 30px rgba(255, 196, 0, 0.3);
  
  /* Transitions */
  --transition-fast: 150ms ease;
  --transition-base: 250ms ease;
  --transition-slow: 400ms ease;
  
  /* Z-index Scale */
  --z-dropdown: 100;
  --z-sticky: 200;
  --z-fixed: 300;
  --z-modal-backdrop: 400;
  --z-modal: 500;
  --z-tooltip: 600;
  
  /* Container */
  --container-max: 1280px;
  --container-padding: 1rem;
}

/* Dark theme already default, but ensure consistency */
@media (prefers-color-scheme: light) {
  :root {
    /* Keep dark theme regardless of system preference for casino aesthetic */
    --bg-dark: #0d0015;
    --bg-darker: #080010;
    --text-primary: #ffffff;
  }
}
