/* ==========================================================================
   CSS Design Tokens - Team 2852 High Voltage
   ========================================================================== */

:root {
  /* Brand Colors */
  --hv-primary: #d42e12;
  --hv-primary-dark: #a82410;
  --hv-primary-light: #ff4a2e;
  --hv-primary-rgb: 212, 46, 18;
  --hv-secondary: #1a1a1a;
  --hv-accent: #ffd700;

  /* Neutrals */
  --hv-white: #ffffff;
  --hv-gray-50: #fafafa;
  --hv-gray-100: #f7f7f7;
  --hv-gray-200: #e5e5e5;
  --hv-gray-300: #d4d4d4;
  --hv-gray-400: #a3a3a3;
  --hv-gray-500: #737373;
  --hv-gray-600: #525252;
  --hv-gray-700: #404040;
  --hv-gray-800: #262626;
  --hv-gray-900: #171717;
  --hv-black: #000000;

  /* Typography */
  --font-primary: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-display: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --font-weight-light: 300;
  --font-weight-regular: 400;
  --font-weight-medium: 500;
  --font-weight-bold: 700;
  --font-weight-black: 900;

  --font-size-xs: 0.75rem;
  --font-size-sm: 0.875rem;
  --font-size-base: 1rem;
  --font-size-lg: 1.125rem;
  --font-size-xl: 1.25rem;
  --font-size-2xl: 1.5rem;
  --font-size-3xl: 1.875rem;
  --font-size-4xl: 2.25rem;
  --font-size-5xl: 3rem;
  --font-size-6xl: 3.75rem;

  --line-height-tight: 1.1;
  --line-height-snug: 1.25;
  --line-height-normal: 1.5;
  --line-height-relaxed: 1.625;

  /* Spacing Scale (8px base) */
  --space-1: 0.25rem;   /* 4px */
  --space-2: 0.5rem;    /* 8px */
  --space-3: 0.75rem;   /* 12px */
  --space-4: 1rem;      /* 16px */
  --space-5: 1.25rem;   /* 20px */
  --space-6: 1.5rem;    /* 24px */
  --space-8: 2rem;      /* 32px */
  --space-10: 2.5rem;   /* 40px */
  --space-12: 3rem;     /* 48px */
  --space-16: 4rem;     /* 64px */
  --space-20: 5rem;     /* 80px */
  --space-24: 6rem;     /* 96px */

  /* Transitions */
  --transition-fast: 150ms ease;
  --transition-base: 300ms ease;
  --transition-slow: 500ms ease;
  --transition-bounce: 500ms cubic-bezier(0.68, -0.55, 0.265, 1.55);
  --transition-smooth: 300ms cubic-bezier(0.4, 0, 0.2, 1);

  /* Shadows */
  --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.15);
  --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.2);
  --shadow-xl: 0 16px 48px rgba(0, 0, 0, 0.25);
  --shadow-glow: 0 0 30px rgba(var(--hv-primary-rgb), 0.3);
  --shadow-glow-lg: 0 0 60px rgba(var(--hv-primary-rgb), 0.4);

  /* Border Radius */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --radius-2xl: 24px;
  --radius-full: 9999px;

  /* Z-index Scale */
  --z-base: 1;
  --z-dropdown: 100;
  --z-sticky: 500;
  --z-fixed: 1000;
  --z-overlay: 1500;
  --z-modal: 2000;

  /* Container Widths */
  --container-sm: 640px;
  --container-md: 768px;
  --container-lg: 1024px;
  --container-xl: 1280px;

  /* Sponsor Tier Colors */
  --tier-platinum-start: #e5e4e2;
  --tier-platinum-end: #a0a0a0;
  --tier-gold-start: #ffd700;
  --tier-gold-end: #b8860b;
  --tier-silver-start: #c0c0c0;
  --tier-silver-end: #808080;
  --tier-bronze-start: #cd7f32;
  --tier-bronze-end: #8b4513;
}

/* Reduced motion preference */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
