﻿:root {
  /* Colors */
  --str-color-background: #f8fafc;
  --str-color-surface: #ffffff;
  --str-color-surface-2: #f1f5f9;
  --str-color-surface-3: #e2e8f0;
  --str-color-border: #cbd5e1;
  --str-color-border-soft: #e2e8f0;
  --str-color-text: #0f172a;
  --str-color-text-muted: #475569;
  --str-color-text-disabled: #94a3b8;
  --str-color-text-inverse: #ffffff;
  --str-color-primary: #1d4ed8;
  --str-color-primary-hover: #1e40af;
  --str-color-primary-soft: #eff6ff;
  --str-color-accent: #e05d2d;
  --str-color-accent-hover: #c2451a;
  --str-color-accent-soft: #fef0eb;
  --str-color-success: #65a30d;
  --str-color-success-soft: #f7fee7;
  --str-color-live: #84cc16;
  --str-color-live-soft: #ecfccb;
  --str-color-error: #dc2626;
  --str-color-error-hover: #b91c1c;
  --str-color-error-soft: #fef2f2;
  --str-color-warning: #d97706;
  --str-color-warning-soft: #fffbeb;
  --str-color-info: #0284c7;
  --str-color-info-soft: #f0f9ff;
  --str-color-overlay: rgba(10, 20, 43, 0.56);

  /* Sport tags */
  --str-sport-padel: #e05d2d;
  --str-sport-tenis: #65a30d;
  --str-sport-pickleball: #d97706;
  --str-sport-tenis-playa: #0284c7;

  /* Typography */
  --str-font-sans: "DM Sans", system-ui, sans-serif;
  --str-font-display: "Barlow Condensed", "Arial Narrow", sans-serif;
  --str-text-xs: 12px;
  --str-text-sm: 14px;
  --str-text-base: 16px;
  --str-text-lg: 18px;
  --str-text-xl: 20px;
  --str-text-2xl: 24px;
  --str-text-3xl: 30px;
  --str-text-4xl: 36px;
  --str-scoreboard-sm: 48px;
  --str-scoreboard-lg: 72px;

  /* Spacing */
  --str-space-1: 4px;
  --str-space-2: 8px;
  --str-space-3: 12px;
  --str-space-4: 16px;
  --str-space-5: 20px;
  --str-space-6: 24px;
  --str-space-8: 32px;
  --str-space-10: 40px;
  --str-space-12: 48px;
  --str-space-16: 64px;
  --str-space-20: 80px;

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

  /* Elevation */
  --str-shadow-xs: 0 1px 2px rgba(15, 23, 42, 0.06);
  --str-shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.08), 0 1px 2px rgba(15, 23, 42, 0.05);
  --str-shadow-md: 0 4px 6px rgba(15, 23, 42, 0.07), 0 2px 4px rgba(15, 23, 42, 0.05);
  --str-shadow-lg: 0 10px 15px rgba(15, 23, 42, 0.07), 0 4px 6px rgba(15, 23, 42, 0.04);
  --str-shadow-xl: 0 20px 25px rgba(15, 23, 42, 0.07), 0 10px 10px rgba(15, 23, 42, 0.03);

  /* Z-index */
  --str-z-base: 0;
  --str-z-raised: 10;
  --str-z-dropdown: 100;
  --str-z-sticky: 200;
  --str-z-overlay: 300;
  --str-z-modal: 400;
  --str-z-toast: 500;
  --str-z-tooltip: 600;

  /* Breakpoints */
  --str-bp-sm: 640px;
  --str-bp-md: 768px;
  --str-bp-lg: 1024px;
  --str-bp-xl: 1280px;
  --str-bp-2xl: 1536px;

  /* Motion */
  --str-duration-instant: 0ms;
  --str-duration-fast: 100ms;
  --str-duration-normal: 200ms;
  --str-duration-slow: 300ms;
  --str-duration-slower: 500ms;
  --str-duration-dramatic: 800ms;
  --str-ease-out: cubic-bezier(0, 0, 0.2, 1);
  --str-ease-in: cubic-bezier(0.4, 0, 1, 1);
  --str-ease-in-out: cubic-bezier(0.4, 0, 0.2, 1);
  --str-ease-sport: cubic-bezier(0.34, 1.56, 0.64, 1);
  --str-ease-linear: linear;

  /* Focus */
  --str-focus-ring: 0 0 0 3px rgba(29, 78, 216, 0.22);
  --str-focus-ring-error: 0 0 0 3px rgba(220, 38, 38, 0.22);
  color-scheme: light;

}

:root[data-theme="dark"] {
  --str-color-background: #0a0f1e;
  --str-color-surface: #111827;
  --str-color-surface-2: #1f2937;
  --str-color-surface-3: #334155;
  --str-color-border: #334155;
  --str-color-border-soft: #475569;
  --str-color-text: #e2e8f0;
  --str-color-text-muted: #94a3b8;
  --str-color-text-disabled: #64748b;
  --str-color-text-inverse: #0f172a;

  --str-color-primary: #60a5fa;
  --str-color-primary-hover: #3b82f6;
  --str-color-primary-soft: rgba(59, 130, 246, 0.18);
  --str-color-accent: #f59e0b;
  --str-color-accent-hover: #d97706;
  --str-color-accent-soft: rgba(245, 158, 11, 0.16);
  --str-color-success: #84cc16;
  --str-color-success-soft: rgba(132, 204, 22, 0.16);
  --str-color-live: #a3e635;
  --str-color-live-soft: rgba(163, 230, 53, 0.18);
  --str-color-error: #f87171;
  --str-color-error-hover: #ef4444;
  --str-color-error-soft: rgba(248, 113, 113, 0.16);
  --str-color-warning: #fbbf24;
  --str-color-warning-soft: rgba(251, 191, 36, 0.16);
  --str-color-info: #38bdf8;
  --str-color-info-soft: rgba(56, 189, 248, 0.16);
  --str-color-overlay: rgba(2, 6, 23, 0.72);

  --str-shadow-xs: 0 1px 2px rgba(2, 6, 23, 0.5);
  --str-shadow-sm: 0 1px 3px rgba(2, 6, 23, 0.54), 0 1px 2px rgba(2, 6, 23, 0.38);
  --str-shadow-md: 0 4px 6px rgba(2, 6, 23, 0.45), 0 2px 4px rgba(2, 6, 23, 0.32);
  --str-shadow-lg: 0 10px 15px rgba(2, 6, 23, 0.48), 0 4px 6px rgba(2, 6, 23, 0.28);
  --str-shadow-xl: 0 20px 25px rgba(2, 6, 23, 0.5), 0 10px 10px rgba(2, 6, 23, 0.3);
  --str-focus-ring: 0 0 0 3px rgba(96, 165, 250, 0.36);
  --str-focus-ring-error: 0 0 0 3px rgba(248, 113, 113, 0.34);
  color-scheme: dark;
}
