/* ========================================
   THEME.CSS - CSS Variables & Design Tokens
   ======================================== */

:root {
  /* ===== COLORS ===== */

  /* Primary - Blue Theme */
  --color-primary: #4ac6ff;          /* Malibu - bright blue */
  --color-primary-dark: #2e7190;     /* Calypso - darker blue */
  --color-primary-light: #bceaff;    /* French Pass - light blue */

  /* Secondary */
  --color-secondary: #f1c40f;        /* Gold accent */
  --color-secondary-dark: #d4a574;

  /* Status Colors */
  --color-success: #2ecc71;          /* Live/online status */
  --color-danger: #e74c3c;           /* Offline status */
  --color-warning: #f39c12;
  --color-info: #3498db;

  /* Neutrals - Dark Theme */
  --color-bg-dark: #0e0e10;          /* Main background (Twitch dark) */
  --color-bg-card: #18181b;          /* Card backgrounds */
  --color-bg-card-hover: #1f1f23;    /* Card hover state */
  --color-bg-elevated: #26262c;      /* Elevated elements (tabs, dropdowns) */
  --color-bg-input: #0e0e10;         /* Input backgrounds */

  --color-text: #efeff1;             /* Primary text (light) */
  --color-text-muted: #adadb8;       /* Secondary/muted text */
  --color-text-disabled: #53535f;    /* Disabled text */

  --color-border: #2c2c34;           /* Border color */
  --color-border-light: #3a3a44;

  /* Overlays */
  --color-overlay: rgba(0, 0, 0, 0.7);
  --color-overlay-light: rgba(0, 0, 0, 0.5);

  /* ===== SPACING ===== */
  --spacing-xs: 4px;
  --spacing-sm: 8px;
  --spacing-md: 16px;
  --spacing-lg: 24px;
  --spacing-xl: 32px;
  --spacing-2xl: 48px;
  --spacing-3xl: 64px;

  /* Container */
  --container-max-width: 1400px;
  --container-padding: var(--spacing-lg);

  /* ===== TYPOGRAPHY ===== */

  /* Font Families */
  --font-family-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-family-display: 'Poppins', sans-serif;

  /* Font Sizes */
  --font-size-xs: 12px;
  --font-size-sm: 14px;
  --font-size-md: 16px;
  --font-size-lg: 18px;
  --font-size-xl: 24px;
  --font-size-2xl: 32px;
  --font-size-3xl: 48px;

  /* Font Weights */
  --font-weight-normal: 400;
  --font-weight-medium: 500;
  --font-weight-semibold: 600;
  --font-weight-bold: 700;
  --font-weight-extrabold: 800;

  /* Line Heights */
  --line-height-tight: 1.2;
  --line-height-normal: 1.5;
  --line-height-relaxed: 1.7;

  /* ===== BORDERS & RADIUS ===== */
  --border-width: 1px;
  --border-width-thick: 2px;

  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --radius-full: 9999px;

  /* ===== SHADOWS ===== */
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.5);
  --shadow-xl: 0 20px 25px rgba(0, 0, 0, 0.6);
  --shadow-2xl: 0 25px 50px rgba(0, 0, 0, 0.7);

  /* Focus Shadow */
  --shadow-focus: 0 0 0 3px rgba(74, 198, 255, 0.4);

  /* ===== TRANSITIONS ===== */
  --transition-fast: 150ms ease-in-out;
  --transition-normal: 300ms ease-in-out;
  --transition-slow: 500ms ease-in-out;

  /* ===== Z-INDEX ===== */
  --z-index-dropdown: 1000;
  --z-index-sticky: 1010;
  --z-index-modal: 1020;
  --z-index-popover: 1030;
  --z-index-tooltip: 1040;

  /* ===== BREAKPOINTS (for reference) ===== */
  /* Mobile: < 768px */
  /* Tablet: 768px - 1024px */
  /* Desktop: > 1024px */
}

/* ===== DARK MODE VARIANTS (optional future enhancement) ===== */
/*
[data-theme="light"] {
  --color-bg-dark: #ffffff;
  --color-text: #1a1a1a;
  ... override variables for light mode
}
*/
