/* ============================================
   CSS VARIABLES - juegodeblackjackonline.com
   Color Palette: #FFB200, #EB5B00, #D91656, #640D5F
   ============================================ */

:root {
  /* Primary Colors */
  --color-primary: #D91656;
  --color-primary-dark: #b01147;
  --color-primary-light: #e64478;
  --color-primary-rgb: 217, 22, 86;

  /* Secondary Colors */
  --color-secondary: #640D5F;
  --color-secondary-dark: #4a0947;
  --color-secondary-light: #8a1a82;
  --color-secondary-rgb: 100, 13, 95;

  /* Accent Colors */
  --color-accent: #FFB200;
  --color-accent-dark: #cc8e00;
  --color-accent-light: #ffc433;
  --color-accent-rgb: 255, 178, 0;

  /* Tertiary */
  --color-tertiary: #EB5B00;
  --color-tertiary-dark: #bc4900;
  --color-tertiary-light: #ff7526;
  --color-tertiary-rgb: 235, 91, 0;

  /* Neutral Colors */
  --color-white: #ffffff;
  --color-black: #1a1a2e;
  --color-gray-100: #f8f9fa;
  --color-gray-200: #e9ecef;
  --color-gray-300: #dee2e6;
  --color-gray-400: #ced4da;
  --color-gray-500: #adb5bd;
  --color-gray-600: #6c757d;
  --color-gray-700: #495057;
  --color-gray-800: #343a40;
  --color-gray-900: #212529;

  /* Background Colors */
  --color-bg: #fafafa;
  --color-bg-dark: #1a1a2e;
  --color-bg-card: #ffffff;
  --color-bg-header: linear-gradient(135deg, #640D5F 0%, #D91656 100%);
  --color-bg-footer: #1a1a2e;

  /* Status Colors */
  --color-success: #28a745;
  --color-warning: #ffc107;
  --color-danger: #dc3545;
  --color-info: #17a2b8;

  /* Typography - System Fonts */
  --font-main: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-heading: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, 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.625vw, 1.375rem);
  --text-xl: clamp(1.25rem, 1.1rem + 0.75vw, 1.5rem);
  --text-2xl: clamp(1.5rem, 1.25rem + 1.25vw, 2rem);
  --text-3xl: clamp(1.875rem, 1.5rem + 1.875vw, 2.5rem);
  --text-4xl: clamp(2.25rem, 1.75rem + 2.5vw, 3rem);

  /* Font Weights */
  --font-normal: 400;
  --font-medium: 500;
  --font-semibold: 600;
  --font-bold: 700;

  /* Line Heights */
  --leading-tight: 1.25;
  --leading-normal: 1.5;
  --leading-relaxed: 1.75;

  /* 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: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --radius-2xl: 24px;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 8px 16px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 12px 24px rgba(0, 0, 0, 0.15);
  --shadow-xl: 0 20px 40px rgba(0, 0, 0, 0.2);
  --shadow-card: 0 4px 16px rgba(0, 0, 0, 0.08);
  --shadow-card-hover: 0 8px 32px rgba(0, 0, 0, 0.12);

  /* Transitions */
  --transition-fast: 150ms ease;
  --transition: 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 Width */
  --container-max: 1280px;
  --container-narrow: 768px;
  --container-wide: 1440px;

  /* Header Height */
  --header-height: 72px;
  --header-height-mobile: 64px;
}

/* Dark Mode Variables (optional) */
@media (prefers-color-scheme: dark) {
  :root {
    /* Can be enabled if dark mode is desired */
  }
}
