/* 
 * PopRace.org Design System Variables
 * 2025 Unified Theme - Navy & Gold Brand
 * Dark theme only (no light/dark toggle)
 */

:root {
  /* === BRAND COLORS === */
  
  /* PopRace Brand Theme Colors - Primary Palette */
  --navy: #1e3a5f;
  --navy-blue: #1e3a5f;
  --gold: #d4a574;
  --cream: #f5e6d3;
  --bright-gold: #f4c430;
  --dark-navy: #0f1e2e;
  --light-blue-gray: #4a6785;
  --navy-light: #2d4a6f;
  
  /* Brand Color Alpha Variants (for backgrounds, overlays) */
  --gold-alpha-10: rgba(212, 165, 116, 0.1);
  --gold-alpha-20: rgba(212, 165, 116, 0.2);
  --gold-alpha-30: rgba(212, 165, 116, 0.3);
  --gold-alpha-70: rgba(212, 165, 116, 0.7);
  --navy-light-alpha-30: rgba(74, 103, 133, 0.3);
  --navy-light-alpha-40: rgba(74, 103, 133, 0.4);
  
  /* === SEMANTIC COLORS (Mapped to Brand) === */
  
  /* Primary = Gold (brand accent) */
  --color-primary: #d4a574;
  --color-primary-hover: #f4c430;
  --color-primary-light: #f4c430;
  --color-primary-dark: #b8956a;
  
  /* Surface Colors = Navy tones */
  --color-surface: #1e3a5f;
  --color-surface-secondary: #0f1e2e;
  --color-surface-tertiary: #2d4a6f;
  --color-surface-elevated: #2d4a6f;
  
  /* Border Colors = Gold/Navy */
  --color-border: #d4a574;
  --color-border-light: rgba(212, 165, 116, 0.3);
  --color-border-dark: #d4a574;
  
  /* Text Colors = Cream/Gold */
  --color-text: #f5e6d3;
  --color-text-secondary: rgba(245, 230, 211, 0.8);
  --color-text-tertiary: rgba(245, 230, 211, 0.6);
  --color-text-inverse: #0f1e2e;
  
  /* State Colors */
  --color-error: #ef4444;
  --color-error-light: #fee2e2;
  --color-success: #10b981;
  --color-success-light: #d1fae5;
  --color-warning: #f59e0b;
  --color-warning-light: #fef3c7;
  --color-info: #3b82f6;
  --color-info-light: #dbeafe;
  
  /* Shorthand aliases for state colors */
  --success: var(--color-success);
  --error: var(--color-error);
  --warning: var(--color-warning);
  --info: var(--color-info);
  
  /* Filter Chip Colors */
  --color-chip-bg: #dbeafe;
  --color-chip-text: #1e40af;
  --color-chip-hover: #bfdbfe;
  
  /* === SPACING === */
  --spacing-xs: 0.25rem;    /* 4px */
  --spacing-sm: 0.5rem;     /* 8px */
  --spacing-md: 1rem;       /* 16px */
  --spacing-lg: 1.5rem;     /* 24px */
  --spacing-xl: 2rem;       /* 32px */
  --spacing-2xl: 3rem;      /* 48px */
  
  /* === TYPOGRAPHY === */
  --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  
  /* 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 Weights */
  --font-weight-normal: 400;
  --font-weight-medium: 500;
  --font-weight-semibold: 600;
  --font-weight-bold: 700;
  
  /* Line Heights */
  --line-height-tight: 1.25;
  --line-height-normal: 1.5;
  --line-height-relaxed: 1.75;
  
  /* === BORDERS === */
  --border-width: 1px;
  --border-width-thick: 2px;
  
  /* Border Radius */
  --radius-xs: 0.125rem;    /* 2px */
  --radius-sm: 0.25rem;     /* 4px */
  --radius-md: 0.375rem;    /* 6px */
  --radius-lg: 0.5rem;      /* 8px */
  --radius-xl: 0.75rem;     /* 12px */
  --radius-2xl: 1rem;       /* 16px */
  --radius-full: 9999px;    /* Fully rounded */
  
  /* === SHADOWS === */
  --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.1), 0 1px 2px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1), 0 2px 4px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1), 0 4px 6px rgba(0, 0, 0, 0.05);
  --shadow-xl: 0 20px 25px rgba(0, 0, 0, 0.1), 0 10px 10px rgba(0, 0, 0, 0.04);
  --shadow-2xl: 0 25px 50px rgba(0, 0, 0, 0.15);
  
  /* === Z-INDEX === */
  --z-base: 1;
  --z-dropdown: 10;
  --z-sticky: 20;
  --z-fixed: 30;
  --z-modal-backdrop: 40;
  --z-modal: 50;
  --z-popover: 60;
  --z-tooltip: 70;
  
  /* === TRANSITIONS === */
  --transition-fast: 150ms;
  --transition-base: 250ms;
  --transition-slow: 350ms;
  --transition-slower: 500ms;
  
  --transition-ease-in: cubic-bezier(0.4, 0, 1, 1);
  --transition-ease-out: cubic-bezier(0, 0, 0.2, 1);
  --transition-ease-in-out: cubic-bezier(0.4, 0, 0.2, 1);
  
  /* === LAYOUT === */
  --header-height: 64px;
  --max-content-width: 1280px;

  /* NOTE: Removed unused variables (Phase 2.3 cleanup):
     --fab-size, --fab-offset: No FAB button in UI
     --drawer-width, --drawer-transition, --backdrop-transition: No drawer implemented
  */

  /* === FILTER SPECIFIC === */
  --chip-height: 32px;
  --chip-padding-x: 0.75rem;
  --chip-gap: 0.5rem;

  --search-height: 44px;
  --search-height-lg: 48px;
}

/* === RESPONSIVE BREAKPOINTS === */
/* Use these in media queries */
/* 
@media (min-width: 640px)  { ... } // sm
@media (min-width: 768px)  { ... } // md
@media (min-width: 1024px) { ... } // lg
@media (min-width: 1280px) { ... } // xl
*/
