/* ===================================== 
   CSS VARIABLES MODULE
   Global design tokens and theming
   Must be loaded FIRST
   ===================================== */

/* Fonts now loaded in HTML head for better performance */

/* ===== CSS VARIABLES & THEMING ===== */
:root {
  /* Primary Brand Colors */
  --color-primary: #ff3500;
  --color-primary-hover: #e02e00;
  --color-primary-light: rgba(255, 53, 0, 0.2);
  --color-primary-lighter: rgba(255, 53, 0, 0.1);
  --color-primary-dark: #cc2a00;
  
  /* Background Colors */
  --color-bg-gradient-start: #000032;
  --color-bg-gradient-mid: #180202;
  --color-bg-gradient-end: #000032;
  --color-bg-dark: #0a0a0a;
  --color-bg-light: #1a1a1a;
  --color-bg-card: #333;
  
  /* Text Colors */
  --color-text: #ffffff;
  --color-text-muted: rgba(255, 255, 255, 0.7);
  --color-text-disabled: rgba(255, 255, 255, 0.4);
  --color-text-hover: rgba(255, 255, 255, 0.9);
  
  /* Glass Morphism Effects */
  --glass-bg: rgba(255, 255, 255, 0.05);
  --glass-bg-hover: rgba(255, 255, 255, 0.08);
  --glass-bg-active: rgba(255, 255, 255, 0.1);
  --glass-bg-light: rgba(255, 255, 255, 0.03);
  --glass-border: rgba(255, 255, 255, 0.1);
  --glass-border-hover: rgba(255, 255, 255, 0.2);
  --glass-border-light: rgba(255, 255, 255, 0.08);
  --glass-border-heavy: rgba(255, 255, 255, 0.15);
  
  /* Semantic Colors */
  --color-success: #28a745;
  --color-success-light: rgba(40, 167, 69, 0.2);
  --color-danger: #dc3545;
  --color-danger-light: rgba(220, 53, 69, 0.2);
  --color-warning: #ffc107;
  --color-warning-light: rgba(255, 193, 7, 0.2);
  --color-info: #60a5fa;
  --color-info-light: rgba(96, 165, 250, 0.2);
  --color-muted: #6c757d;
  --color-muted-light: rgba(108, 117, 125, 0.2);
  
  /* Tier Colors */
  --color-tier1: #ffd700;
  --color-tier1-light: rgba(255, 215, 0, 0.2);
  --color-tier2: #c0c0c0;
  --color-tier2-light: rgba(192, 192, 192, 0.2);
  --color-tier3: #cd7f32;
  --color-tier3-light: rgba(205, 127, 50, 0.2);
  
  /* Spacing Scale */
  --spacing-xs: 0.25rem;
  --spacing-sm: 0.5rem;
  --spacing-md: 1rem;
  --spacing-lg: 1.5rem;
  --spacing-xl: 2rem;
  --spacing-2xl: 3rem;
  --spacing-3xl: 4rem;
  
  /* Typography */
  --font-primary: 'Roboto', sans-serif;
  --font-heading: 'Rajdhani', sans-serif;
  --font-weight-light: 300;
  --font-weight-regular: 400;
  --font-weight-medium: 500;
  --font-weight-semibold: 600;
  --font-weight-bold: 700;
  --font-weight-extrabold: 800;
  
  /* Font Sizes */
  --font-size-xs: 0.7rem;
  --font-size-sm: 0.85rem;
  --font-size-base: 0.9rem;
  --font-size-md: 1rem;
  --font-size-lg: 1.1rem;
  --font-size-xl: 1.3rem;
  --font-size-2xl: 1.5rem;
  --font-size-3xl: 2rem;
  
  /* Borders & Radius */
  --border-radius-sm: 4px;
  --border-radius-md: 6px;
  --border-radius-lg: 8px;
  --border-radius-xl: 12px;
  --border-radius-round: 50%;
  --border-width: 1px;
  
  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.15);
  --shadow-xl: 0 20px 25px rgba(0, 0, 0, 0.2);
  --shadow-glow: 0 0 20px rgba(255, 53, 0, 0.3);
  
  /* Transitions */
  --transition-fast: 0.15s ease;
  --transition-normal: 0.3s ease;
  --transition-slow: 0.5s ease;
  --transition-all: all 0.3s ease;
  
  /* Z-index Scale */
  --z-base: 1;
  --z-dropdown: 100;
  --z-sticky: 500;
  --z-overlay: 900;
  --z-modal: 1000;
  --z-popover: 1050;
  --z-tooltip: 1100;
  --z-notification: 1200;
  
  /* Layout */
  --container-max-width: 1280px;
  --navbar-height: 40px;
  --footer-height: 200px;
  
  /* Animations */
  --animation-spin: spin 1s linear infinite;
  --animation-pulse: pulse 2s infinite;
  --animation-fade-in: fadeIn 0.3s ease-in;
}