/* ============================================================
   Alpha Voleibol Club — Design Tokens
   Source of truth: DESIGN.md (Google design.md spec)
   ============================================================ */

:root {
  /* Colors — Primary palette */
  --alpha-navy: #0B1F3A;
  --alpha-navy-deep: #061328;
  --alpha-gold: #F5C518;
  --alpha-gold-bright: #FFD938;
  --alpha-white: #FFFFFF;
  --alpha-cream: #FAF7EE;
  --alpha-charcoal: #1A1A1A;
  --alpha-graphite: #3A3A3A;
  --alpha-mist: #E5E7EB;

  /* Colors — Semantic */
  --color-success: #10B981;
  --color-error: #EF4444;
  --color-warning: #F59E0B;
  --color-info: #3B82F6;

  /* On-* (texto sobre fondo) */
  --on-primary: var(--alpha-white);
  --on-tertiary: var(--alpha-navy);
  --on-neutral: var(--alpha-charcoal);

  /* Typography — families */
  --font-display: "Bebas Neue", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, sans-serif;
  --font-mono: "JetBrains Mono", monospace;

  /* Typography — sizes */
  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-lg: 1.125rem;
  --text-xl: 1.25rem;
  --text-2xl: 1.75rem;
  --text-3xl: 2.25rem;
  --text-4xl: 3.5rem;
  --text-5xl: 6rem;

  /* Spacing — base 4px */
  --sp-xs: 4px;
  --sp-sm: 8px;
  --sp-md: 16px;
  --sp-lg: 24px;
  --sp-xl: 32px;
  --sp-2xl: 48px;
  --sp-3xl: 64px;
  --sp-4xl: 96px;

  /* Rounded */
  --r-none: 0;
  --r-sm: 4px;
  --r-md: 8px;
  --r-lg: 16px;
  --r-xl: 24px;
  --r-full: 9999px;

  /* Elevation (sombras navy-tinted) */
  --sh-sm: 0 2px 8px rgba(11, 31, 58, 0.08);
  --sh-md: 0 8px 16px rgba(11, 31, 58, 0.12);
  --sh-lg: 0 16px 32px rgba(11, 31, 58, 0.16);
  --sh-xl: 0 24px 48px rgba(11, 31, 58, 0.20);

  /* Motion */
  --ease-default: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-out: cubic-bezier(0, 0, 0.2, 1);
  --ease-bounce: cubic-bezier(0.68, -0.55, 0.27, 1.55);
  --dur-fast: 150ms;
  --dur-base: 300ms;
  --dur-slow: 500ms;
  --dur-hero: 800ms;

  /* Layout */
  --container-max: 1280px;
  --header-topbar-h: 32px;
  --header-main-h: 72px;
  --header-h: calc(var(--header-topbar-h) + var(--header-main-h));
}

@media (max-width: 768px) {
  :root {
    --text-3xl: 1.75rem;
    --text-4xl: 2.5rem;
    --text-5xl: 3.5rem;
    --header-topbar-h: 30px;
    --header-main-h: 64px;
    --header-h: calc(var(--header-topbar-h) + var(--header-main-h));
  }
}

@media (prefers-reduced-motion: reduce) {
  :root {
    --dur-fast: 0.01ms;
    --dur-base: 0.01ms;
    --dur-slow: 0.01ms;
    --dur-hero: 0.01ms;
  }
}
