/* =========================================
   DESIGN TOKENS — Neepawa Minor Hockey
   White background · Black · Yellow · Silver
   ========================================= */

:root {
  /* Surfaces — white-first */
  --color-bg: #ffffff;
  --color-surface: #ffffff;
  --color-surface-2: #fafafa;
  --color-surface-offset: #f4f4f4;
  --color-surface-offset-2: #ebebeb;
  --color-surface-dynamic: #e0e0e0;
  --color-divider: #d8d8d8;
  --color-border: #cccccc;

  /* Text */
  --color-text: #111111;
  --color-text-muted: #555555;
  --color-text-faint: #999999;
  --color-text-inverse: #ffffff;

  /* Primary — black */
  --color-primary: #111111;
  --color-primary-hover: #2a2a2a;
  --color-primary-active: #3d3d3d;
  --color-primary-highlight: #e8e8e8;

  /* Accent — yellow */
  --color-accent: #f5c800;
  --color-accent-hover: #d9b000;
  --color-accent-active: #b89500;
  --color-accent-highlight: #fff8cc;

  /* Silver */
  --color-silver: #9e9e9e;
  --color-silver-light: #e8e8e8;
  --color-silver-dark: #666666;

  /* States */
  --color-success: #2e7d32;
  --color-success-highlight: #e8f5e9;
  --color-error: #c62828;
  --color-error-highlight: #ffebee;
  --color-warning: #e65100;
  --color-warning-highlight: #fff3e0;

  /* Radius */
  --radius-sm: 0.375rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;
  --radius-2xl: 1.5rem;
  --radius-full: 9999px;

  /* Transitions */
  --transition-interactive: 180ms cubic-bezier(0.16, 1, 0.3, 1);
  --transition-smooth: 300ms cubic-bezier(0.16, 1, 0.3, 1);

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.10);
  --shadow-lg: 0 12px 40px rgba(0,0,0,0.13);
  --shadow-xl: 0 24px 60px rgba(0,0,0,0.16);

  /* Content widths */
  --content-narrow: 640px;
  --content-default: 960px;
  --content-wide: 1200px;

  /* Type scale */
  --text-xs: clamp(0.75rem, 0.7rem + 0.25vw, 0.875rem);
  --text-sm: clamp(0.875rem, 0.8rem + 0.35vw, 1rem);
  --text-base: clamp(1rem, 0.95rem + 0.25vw, 1.125rem);
  --text-lg: clamp(1.125rem, 1rem + 0.75vw, 1.5rem);
  --text-xl: clamp(1.5rem, 1.2rem + 1.25vw, 2.25rem);
  --text-2xl: clamp(2rem, 1.2rem + 2.5vw, 3.5rem);
  --text-3xl: clamp(2.5rem, 1rem + 4vw, 5rem);
  --text-hero: clamp(3rem, 0.5rem + 7vw, 7rem);

  /* Spacing */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;
  --space-32: 8rem;

  /* Fonts */
  --font-display: 'Barlow Condensed', 'Arial Narrow', sans-serif;
  --font-body: 'Barlow', 'Helvetica Neue', sans-serif;
}

/* Force light mode regardless of OS preference */
@media (prefers-color-scheme: dark) {
  :root {
    color-scheme: light;
    --color-bg: #ffffff;
    --color-surface: #ffffff;
    --color-surface-2: #fafafa;
    --color-text: #111111;
    --color-text-muted: #555555;
    --color-text-faint: #999999;
  }
}
