/* ========================================
   DESIGN TOKENS - Premium Web Player
   Todas as variáveis visuais do projeto.
   Carregadas dinamicamente via config.js
   ======================================== */

:root {
  /* ---- Cores do Tema ---- */
  --color-primary: #e50914;
  --color-secondary: #b81d24;
  --color-accent: #f5c518;
  --color-bg: #0a0a0a;
  --color-surface: #141414;
  --color-card: #1a1a2e;
  --color-text: #ffffff;
  --color-text-secondary: #b3b3b3;
  --color-text-muted: #666666;
  --color-gradient-start: #e50914;
  --color-gradient-end: #b81d24;
  --color-input-bg: #222233;
  --color-input-border: #333355;
  --color-navbar-bg: rgba(10, 10, 10, 0.92);
  --color-overlay: rgba(0, 0, 0, 0.75);

  /* ---- Tipografia ---- */
  --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-display: 'Bebas Neue', 'Impact', sans-serif;
  --font-size-xs: 0.75rem;
  --font-size-sm: 0.875rem;
  --font-size-base: 1rem;
  --font-size-md: 1.125rem;
  --font-size-lg: 1.25rem;
  --font-size-xl: 1.5rem;
  --font-size-2xl: 2rem;
  --font-size-3xl: 2.5rem;
  --font-size-4xl: 3.5rem;
  --font-size-hero: 4.5rem;
  --font-weight-light: 300;
  --font-weight-normal: 400;
  --font-weight-medium: 500;
  --font-weight-semibold: 600;
  --font-weight-bold: 700;
  --line-height-tight: 1.1;
  --line-height-normal: 1.5;
  --line-height-relaxed: 1.7;

  /* ---- Espaçamentos ---- */
  --spacing-xs: 0.25rem;
  --spacing-sm: 0.5rem;
  --spacing-md: 1rem;
  --spacing-lg: 1.5rem;
  --spacing-xl: 2rem;
  --spacing-2xl: 3rem;
  --spacing-3xl: 4rem;
  --spacing-4xl: 6rem;

  /* ---- Bordas ---- */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --radius-2xl: 24px;
  --radius-full: 50%;

  /* ---- Sombras ---- */
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.5);
  --shadow-xl: 0 12px 40px rgba(0, 0, 0, 0.6);
  --shadow-glow: 0 0 20px rgba(229, 9, 20, 0.3);
  --shadow-glow-accent: 0 0 20px rgba(245, 197, 24, 0.3);

  /* ---- Transições ---- */
  --transition-fast: 150ms ease;
  --transition-base: 250ms ease;
  --transition-slow: 400ms ease;
  --transition-spring: 400ms cubic-bezier(0.34, 1.56, 0.64, 1);

  /* ---- Z-index ---- */
  --z-base: 1;
  --z-dropdown: 100;
  --z-sticky: 200;
  --z-navbar: 500;
  --z-modal: 1000;
  --z-overlay: 1500;
  --z-player: 2000;
  --z-toast: 3000;

  /* ---- Dimensões ---- */
  --navbar-height: 64px;
  --sidebar-width: 240px;
  --card-width: 200px;
  --card-height: 300px;
  --card-width-lg: 300px;
  --card-height-lg: 170px;
  --content-max-width: 1600px;
}

/* ---- Media Query Tokens ---- */
@media (max-width: 768px) {
  :root {
    --navbar-height: 56px;
    --card-width: 140px;
    --card-height: 210px;
    --font-size-hero: 2.5rem;
    --font-size-4xl: 2rem;
    --spacing-3xl: 2rem;
  }
}

@media (min-width: 1920px) {
  :root {
    --card-width: 240px;
    --card-height: 360px;
    --card-width-lg: 360px;
    --card-height-lg: 200px;
    --content-max-width: 1800px;
  }
}
