/* ============================================================
   KURA FOOTBALL — Design Tokens / CSS Custom Properties
   Palette inspirée : Lime accent + Slate base (moderne, gaming)
   ============================================================ */

:root {
  /* ---- Couleurs principales (Bleu Kura) ---- */
  --color-primary:        #2563EB;   /* Blue 600 — identité Kura */
  --color-primary-dark:   #1D4ED8;   /* Blue 700 */
  --color-primary-light:  #3B82F6;   /* Blue 500 */
  --color-primary-bg:     #EFF6FF;   /* Blue 50 */
  --color-primary-100:    #DBEAFE;   /* Blue 100 */
  --color-primary-200:    #BFDBFE;   /* Blue 200 */
  --color-primary-800:    #1E40AF;   /* Blue 800 */

  --color-secondary:      #0F172A;   /* Slate 900 */
  --color-secondary-light:#1E293B;   /* Slate 800 */

  --color-accent:         #F59E0B;   /* Amber 500 — badges */
  --color-accent-dark:    #D97706;

  /* ---- Neutres (Slate) ---- */
  --color-white:          #FFFFFF;
  --color-gray-50:        #F8FAFC;
  --color-gray-100:       #F1F5F9;
  --color-gray-200:       #E2E8F0;
  --color-gray-300:       #CBD5E1;
  --color-gray-400:       #94A3B8;
  --color-gray-500:       #64748B;
  --color-gray-600:       #475569;
  --color-gray-700:       #334155;
  --color-gray-800:       #1E293B;
  --color-gray-900:       #0F172A;

  /* ---- Gradients profils ---- */
  --gradient-player:      linear-gradient(135deg, #3B82F6, #1D4ED8);
  --gradient-complex:     linear-gradient(135deg, #60A5FA, #4F46E5);
  --gradient-manager:     linear-gradient(135deg, #FB923C, #DC2626);
  --gradient-visitor:     linear-gradient(135deg, #94A3B8, #475569);

  /* ---- Sémantiques ---- */
  --color-success:        #22C55E;
  --color-info:           #3B82F6;
  --color-warning:        #F59E0B;
  --color-danger:         #EF4444;

  /* ---- Couleurs profils ---- */
  --color-player:         #2563EB;
  --color-player-bg:      #EFF6FF;
  --color-complex:        #3B82F6;
  --color-complex-bg:     #EFF6FF;
  --color-manager:        #F97316;
  --color-manager-bg:     #FFF7ED;
  --color-visitor:        #64748B;
  --color-visitor-bg:     #F8FAFC;

  /* ---- Badges Roadmap ---- */
  --badge-now:            #2563EB;
  --badge-soon:           #3B82F6;
  --badge-later:          #8B5CF6;

  /* ---- Typographie ---- */
  --font-family-sans:     'League Spartan', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI',
                          Roboto, Oxygen, Ubuntu, Cantarell, 'Helvetica Neue', sans-serif;
  --font-family-display:  'League Spartan', var(--font-family-sans);

  /* ---- Dot bleu Kura (identité logo) ---- */
  --kura-dot-color:       #2563EB;
  --kura-dot-size:        10px;

  --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-weight-normal:   400;
  --font-weight-medium:   500;
  --font-weight-semibold: 600;
  --font-weight-bold:     700;
  --font-weight-extrabold:800;

  --line-height-tight:    1.15;
  --line-height-snug:     1.3;
  --line-height-normal:   1.5;
  --line-height-relaxed:  1.65;

  /* ---- Espacement ---- */
  --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;

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

  /* ---- Ombres ---- */
  --shadow-sm:   0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-md:   0 4px 6px -1px rgba(0, 0, 0, 0.08), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
  --shadow-lg:   0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -4px rgba(0, 0, 0, 0.04);
  --shadow-xl:   0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.04);
  --shadow-inner: inset 0 2px 4px 0 rgba(0, 0, 0, 0.04);

  /* ---- Transitions ---- */
  --transition-fast:   150ms ease;
  --transition-base:   250ms ease;
  --transition-slow:   400ms ease;
  --transition-spring: 500ms cubic-bezier(0.34, 1.56, 0.64, 1);

  /* ---- Z-index ---- */
  --z-header:    100;
  --z-overlay:   200;
  --z-modal:     300;

  /* ---- Conteneurs ---- */
  --container-sm:   640px;
  --container-md:   768px;
  --container-lg:   1024px;
  --container-xl:   1152px;
  --container-2xl:  1400px;

  /* ---- Header ---- */
  --header-height: 64px;

  /* ---- Selection color ---- */
  --selection-bg: #93C5FD;
  --selection-color: var(--color-gray-900);
}

::selection {
  background-color: var(--selection-bg);
  color: var(--selection-color);
}
