/* ========================================
   VARIABLES & DESIGN TOKENS
   MysteryErlebnis Design System
   ======================================== */

:root {
  /* ======================================== 
     PRIMARY COLORS - Mystery Red Palette 
     ======================================== */
  --color-primary: #610000;           /* Mystery Red */
  --color-primary-dark: #3D0000;      /* Darker Mystery */
  --color-primary-darker: #1A0000;    /* Deepest Mystery */
  --color-primary-light: #8B0000;     /* Lighter Mystery */
  --color-primary-lighter: #A52A2A;   /* Softest Mystery */
  
  /* ======================================== 
     SECONDARY COLORS - White & Grays 
     ======================================== */
  --color-secondary: #FFFFFF;         /* Pure White */
  --color-secondary-95: #F8F8F8;      /* Near White */
  --color-secondary-90: #E5E5E5;      /* Light Gray */
  
  /* ======================================== 
     ACCENT COLORS - Golden Mystery 
     ======================================== */
  --color-accent: #FFD700;             /* Golden Mystery */
  --color-accent-dark: #DAA520;       /* Dark Gold */
  --color-accent-light: #FFED4E;      /* Light Gold */
  
  /* ======================================== 
     NEUTRAL COLORS 
     ======================================== */
  --color-black: #000000;
  --color-gray-900: #111111;
  --color-gray-800: #1F1F1F;
  --color-gray-700: #2D2D2D;
  --color-gray-600: #4A4A4A;
  --color-gray-500: #6B6B6B;
  --color-gray-400: #8C8C8C;
  --color-gray-300: #ADADAD;
  --color-gray-200: #CECECE;
  --color-gray-100: #EFEFEF;
  
  /* ======================================== 
     SEMANTIC COLORS 
     ======================================== */
  --color-success: #00A67E;
  --color-warning: #FFA500;
  --color-error: #DC3545;
  --color-info: #17A2B8;
  
  /* ======================================== 
     TYPOGRAPHY 
     ======================================== */
  --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-display: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  
  /* Font Sizes - Desktop */
  --text-xs: 0.75rem;      /* 12px */
  --text-sm: 0.875rem;     /* 14px */
  --text-base: 1rem;       /* 16px */
  --text-lg: 1.125rem;     /* 18px */
  --text-xl: 1.25rem;      /* 20px */
  --text-2xl: 1.5rem;      /* 24px */
  --text-3xl: 1.875rem;    /* 30px */
  --text-4xl: 2.25rem;     /* 36px */
  --text-5xl: 3rem;        /* 48px */
  --text-6xl: 3.75rem;     /* 60px */
  --text-7xl: 4.5rem;      /* 72px */
  --text-8xl: 6rem;        /* 96px */
  
  /* Font Weights */
  --font-light: 300;
  --font-regular: 400;
  --font-medium: 500;
  --font-semibold: 600;
  --font-bold: 700;
  --font-black: 900;
  
  /* Line Heights */
  --leading-tight: 1.2;
  --leading-snug: 1.375;
  --leading-normal: 1.5;
  --leading-relaxed: 1.625;
  --leading-loose: 2;
  
  /* ======================================== 
     SPACING SYSTEM 
     ======================================== */
  --space-xs: 0.25rem;     /* 4px */
  --space-sm: 0.5rem;      /* 8px */
  --space-md: 1rem;        /* 16px */
  --space-lg: 1.5rem;      /* 24px */
  --space-xl: 2rem;        /* 32px */
  --space-2xl: 2.5rem;     /* 40px */
  --space-3xl: 3rem;       /* 48px */
  --space-4xl: 4rem;       /* 64px */
  --space-5xl: 5rem;       /* 80px */
  --space-6xl: 6rem;       /* 96px */
  --space-7xl: 8rem;       /* 128px */
  --space-8xl: 10rem;      /* 160px */
  
  /* ======================================== 
     LAYOUT 
     ======================================== */
  --container-max: 1280px;
  --container-wide: 1440px;
  --container-narrow: 960px;
  --container-padding: var(--space-lg);
  
  /* ======================================== 
     BORDERS & 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;
  
  --border-width: 1px;
  --border-width-2: 2px;
  --border-width-4: 4px;
  
  /* ======================================== 
     SHADOWS 
     ======================================== */
  --shadow-xs: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-sm: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  --shadow-inner: inset 0 2px 4px 0 rgba(0, 0, 0, 0.06);
  
  /* Mystery Glow Shadows */
  --shadow-glow-primary: 0 0 30px rgba(97, 0, 0, 0.3);
  --shadow-glow-accent: 0 0 30px rgba(255, 215, 0, 0.3);
  
  /* ======================================== 
     TRANSITIONS 
     ======================================== */
  --transition-fast: 150ms ease;
  --transition-base: 250ms ease;
  --transition-slow: 350ms ease;
  --transition-slower: 500ms ease;
  
  /* 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-negative: -1;
  --z-0: 0;
  --z-10: 10;
  --z-20: 20;
  --z-30: 30;
  --z-40: 40;
  --z-50: 50;
  --z-modal: 100;
  --z-overlay: 200;
  --z-dropdown: 300;
  --z-sticky: 400;
  --z-fixed: 500;
  --z-tooltip: 600;
  --z-notification: 700;
  --z-max: 9999;
  
  /* ======================================== 
     BREAKPOINTS 
     ======================================== */
  --breakpoint-xs: 480px;
  --breakpoint-sm: 640px;
  --breakpoint-md: 768px;
  --breakpoint-lg: 1024px;
  --breakpoint-xl: 1280px;
  --breakpoint-2xl: 1536px;
}

/* ======================================== 
   DARK MODE VARIABLES (if needed)
   ======================================== */
@media (prefers-color-scheme: dark) {
  :root {
    /* Dark mode overrides can go here */
  }
}

/* ======================================== 
   RESPONSIVE FONT SIZES 
   ======================================== */
@media (max-width: 768px) {
  :root {
    /* Mobile Font Sizes */
    --text-4xl: 2rem;        /* 32px */
    --text-5xl: 2.5rem;      /* 40px */
    --text-6xl: 3rem;        /* 48px */
    --text-7xl: 3.5rem;      /* 56px */
    --text-8xl: 4rem;        /* 64px */
    
    /* Mobile Spacing */
    --container-padding: var(--space-md);
  }
}
