/*
 * ============================================================
 *  LATIN KINGS — Musik & Laidenschaft
 *  Design Tokens v1.0
 * ============================================================
 *  Importar este archivo al inicio de cada stylesheet:
 *  @import url('./assets/brand/design-tokens.css');
 * ============================================================
 */

:root {
  /* ─────────────────────────────────────────────
   * COLORS — PRIMARY (Gold)
   * ───────────────────────────────────────────── */
  --color-gold: #D4A530;
  --color-gold-light: #E8C555;
  --color-gold-dark: #B8891A;
  --color-gold-rgb: 212, 165, 48;

  /* ─────────────────────────────────────────────
   * COLORS — SECONDARY (Crimson)
   * ───────────────────────────────────────────── */
  --color-crimson: #8B1A2B;
  --color-crimson-light: #A62D3F;
  --color-crimson-dark: #6D1420;
  --color-crimson-rgb: 139, 26, 43;

  /* ─────────────────────────────────────────────
   * COLORS — ACCENT (Teal & Emerald)
   * ───────────────────────────────────────────── */
  --color-teal: #2A9D8F;
  --color-teal-light: #3DBFAE;
  --color-teal-dark: #1F7A6F;
  --color-teal-rgb: 42, 157, 143;

  --color-emerald: #2D6A4F;
  --color-emerald-light: #3D8B68;
  --color-emerald-dark: #1F4D38;
  --color-emerald-rgb: 45, 106, 79;

  /* ─────────────────────────────────────────────
   * COLORS — NEUTRALS
   * ───────────────────────────────────────────── */
  --color-black: #0D0D0D;
  --color-charcoal: #1A1A1A;
  --color-smoke: #2A2A2A;
  --color-ash: #3A3A3A;
  --color-slate: #4A4A4A;

  --color-white: #F5F0E6;
  --color-white-pure: #FFFFFF;
  --color-muted: #A09882;
  --color-muted-light: #C4B998;

  /* ─────────────────────────────────────────────
   * COLORS — SEMANTIC
   * ───────────────────────────────────────────── */
  --color-success: var(--color-teal);
  --color-warning: var(--color-gold);
  --color-error: var(--color-crimson);
  --color-info: #4A90B8;

  /* ─────────────────────────────────────────────
   * GRADIENTS
   * ───────────────────────────────────────────── */
  --gradient-gold: linear-gradient(135deg, #B8891A 0%, #D4A530 40%, #E8C555 100%);
  --gradient-gold-horizontal: linear-gradient(90deg, #B8891A 0%, #D4A530 50%, #E8C555 100%);
  --gradient-royal: linear-gradient(135deg, #6D1420 0%, #8B1A2B 40%, #D4A530 100%);
  --gradient-dark: linear-gradient(180deg, #0D0D0D 0%, #1A1A1A 100%);
  --gradient-dark-reverse: linear-gradient(180deg, #1A1A1A 0%, #0D0D0D 100%);
  --gradient-stage: radial-gradient(ellipse at center, #1A1A1A 0%, #0D0D0D 70%);
  --gradient-spotlight: radial-gradient(ellipse at top center, rgba(212, 165, 48, 0.08) 0%, transparent 60%);
  --gradient-text-gold: linear-gradient(90deg, #D4A530, #E8C555, #D4A530);
  --gradient-overlay-bottom: linear-gradient(to top, rgba(13, 13, 13, 0.9) 0%, rgba(13, 13, 13, 0.4) 40%, transparent 100%);
  --gradient-overlay-full: linear-gradient(180deg, rgba(13, 13, 13, 0.3) 0%, rgba(13, 13, 13, 0.8) 100%);

  /* ─────────────────────────────────────────────
   * TYPOGRAPHY — FONT FAMILIES
   * ───────────────────────────────────────────── */
  --font-display: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-heading: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* ─────────────────────────────────────────────
   * TYPOGRAPHY — SIZES (fluid)
   * ───────────────────────────────────────────── */
  --text-hero: clamp(3rem, 8vw, 7rem);
  --text-display: clamp(2.5rem, 5vw, 4.5rem);
  --text-h1: clamp(2rem, 4vw, 3.5rem);
  --text-h2: clamp(1.75rem, 3vw, 2.5rem);
  --text-h3: clamp(1.25rem, 2vw, 1.75rem);
  --text-h4: 1.25rem;
  --text-body-lg: 1.125rem;
  --text-body: 1rem;
  --text-small: 0.875rem;
  --text-xs: 0.75rem;

  /* ─────────────────────────────────────────────
   * TYPOGRAPHY — WEIGHTS
   * ───────────────────────────────────────────── */
  --weight-light: 300;
  --weight-regular: 400;
  --weight-medium: 500;
  --weight-semibold: 600;
  --weight-bold: 700;
  --weight-extrabold: 800;
  --weight-black: 900;

  /* ─────────────────────────────────────────────
   * TYPOGRAPHY — LINE HEIGHTS
   * ───────────────────────────────────────────── */
  --leading-none: 0.95;
  --leading-tight: 1.1;
  --leading-snug: 1.2;
  --leading-normal: 1.5;
  --leading-relaxed: 1.6;
  --leading-loose: 1.7;

  /* ─────────────────────────────────────────────
   * TYPOGRAPHY — LETTER SPACING
   * ───────────────────────────────────────────── */
  --tracking-tight: -0.02em;
  --tracking-normal: 0;
  --tracking-wide: 0.04em;
  --tracking-wider: 0.08em;
  --tracking-widest: 0.14em;

  /* ─────────────────────────────────────────────
   * SPACING
   * ───────────────────────────────────────────── */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;
  --space-4xl: 6rem;
  --space-5xl: 8rem;

  /* ─────────────────────────────────────────────
   * CONTAINERS
   * ───────────────────────────────────────────── */
  --container-sm: 640px;
  --container-md: 768px;
  --container-lg: 1024px;
  --container-xl: 1280px;
  --container-full: 1440px;

  /* ─────────────────────────────────────────────
   * BORDERS & RADIUS
   * ───────────────────────────────────────────── */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  --border-subtle: 1px solid rgba(212, 165, 48, 0.12);
  --border-accent: 1px solid rgba(212, 165, 48, 0.3);
  --border-strong: 1px solid rgba(212, 165, 48, 0.5);
  --border-muted: 1px solid rgba(255, 255, 255, 0.06);

  /* ─────────────────────────────────────────────
   * SHADOWS
   * ───────────────────────────────────────────── */
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.4);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.5);
  --shadow-lg: 0 8px 30px rgba(0, 0, 0, 0.6);
  --shadow-xl: 0 16px 50px rgba(0, 0, 0, 0.7);
  --shadow-gold: 0 4px 20px rgba(212, 165, 48, 0.25);
  --shadow-gold-lg: 0 8px 40px rgba(212, 165, 48, 0.3);
  --shadow-crimson: 0 4px 20px rgba(139, 26, 43, 0.25);
  --shadow-inner: inset 0 1px 3px rgba(0, 0, 0, 0.4);

  /* ─────────────────────────────────────────────
   * TRANSITIONS & ANIMATIONS
   * ───────────────────────────────────────────── */
  --ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
  --ease-dramatic: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in: cubic-bezier(0.4, 0, 1, 1);
  --ease-out: cubic-bezier(0, 0, 0.2, 1);

  --duration-instant: 100ms;
  --duration-fast: 150ms;
  --duration-normal: 300ms;
  --duration-slow: 500ms;
  --duration-dramatic: 800ms;
  --duration-cinematic: 1200ms;

  /* ─────────────────────────────────────────────
   * Z-INDEX SCALE
   * ───────────────────────────────────────────── */
  --z-below: -1;
  --z-base: 0;
  --z-above: 1;
  --z-sticky: 100;
  --z-header: 200;
  --z-dropdown: 300;
  --z-overlay: 400;
  --z-modal: 500;
  --z-toast: 600;
  --z-max: 9999;

  /* ─────────────────────────────────────────────
   * GLASSMORPHISM
   * ───────────────────────────────────────────── */
  --glass-bg: rgba(13, 13, 13, 0.6);
  --glass-bg-light: rgba(13, 13, 13, 0.4);
  --glass-bg-gold: rgba(212, 165, 48, 0.06);
  --glass-blur: blur(20px);
  --glass-blur-heavy: blur(40px);
  --glass-border: 1px solid rgba(212, 165, 48, 0.12);
}

/* ─────────────────────────────────────────────
 * ANIMATIONS — Keyframes
 * ───────────────────────────────────────────── */

@keyframes gold-shimmer {
  0% { background-position: -200% center; }
  100% { background-position: 200% center; }
}

@keyframes pulse-gold {
  0%, 100% { box-shadow: 0 0 0 0 rgba(212, 165, 48, 0.4); }
  50% { box-shadow: 0 0 20px 4px rgba(212, 165, 48, 0.15); }
}

@keyframes fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes fade-up {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fade-down {
  from { opacity: 0; transform: translateY(-20px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes reveal {
  from { opacity: 0; transform: translateY(40px) scale(0.95); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes scale-in {
  from { opacity: 0; transform: scale(0.9); }
  to { opacity: 1; transform: scale(1); }
}

@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-8px); }
}

@keyframes rotate-slow {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes sparkle {
  0%, 100% { opacity: 0.3; transform: scale(0.8); }
  50% { opacity: 1; transform: scale(1.2); }
}

/* ─────────────────────────────────────────────
 * REDUCED MOTION — Accessibility
 * ───────────────────────────────────────────── */

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
