/* ═══════════════════════════════════════════════
   YNA STORE V3 — Design Tokens (CSS Variables)
   All colors, spacing, typography, shadows, etc.
   ═══════════════════════════════════════════════ */

:root {
  /* ─── Backgrounds ─── */
  --bg: #050410;
  --bg-2: #0c0820;
  --bg-3: #110e25;

  /* ─── Surfaces & Glass ─── */
  --card: rgba(255, 255, 255, 0.06);
  --card-hover: rgba(255, 255, 255, 0.09);
  --card-strong: rgba(255, 255, 255, 0.11);
  --line: rgba(255, 255, 255, 0.1);
  --line-strong: rgba(255, 255, 255, 0.18);

  /* ─── Typography Colors ─── */
  --text: #f0eeff;
  --text-secondary: rgba(220, 215, 255, 0.85);
  --muted: rgba(220, 215, 255, 0.68);
  --muted-2: rgba(200, 195, 240, 0.48);

  /* ─── Brand Colors ─── */
  --primary: #c026d3;
  --primary-light: #e879f9;
  --primary-dark: #9333ea;
  --primary-2: #6d28d9;
  --accent: #22d3ee;
  --accent-2: #818cf8;
  --pink: #f472b6;

  /* ─── Status Colors ─── */
  --success: #34d399;
  --danger: #f87171;
  --warning: #fbbf24;
  --info: #60a5fa;

  /* ─── Neon Glows ─── */
  --neon-purple: rgba(192, 38, 211, 0.7);
  --neon-cyan: rgba(34, 211, 238, 0.6);
  --neon-pink: rgba(244, 114, 182, 0.55);

  /* ─── Per-product accent (overridden by JS per page) ─── */
  --product-accent: var(--primary);
  --product-accent-glow: rgba(192, 38, 211, 0.3);

  /* ─── Spacing ─── */
  --space-2xs: 2px;
  --space-xs: 4px;
  --space-sm: 8px;
  --space-md: 16px;
  --space-lg: 24px;
  --space-xl: 32px;
  --space-2xl: 48px;
  --space-3xl: 64px;
  --space-4xl: 96px;

  /* ─── Border Radius ─── */
  --radius-xs: 6px;
  --radius-sm: 12px;
  --radius-md: 18px;
  --radius-lg: 24px;
  --radius-full: 9999px;

  /* ─── Typography ─── */
  --font-display: 'Space Grotesk', system-ui, sans-serif;
  --font-body: 'Nunito', system-ui, sans-serif;

  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-lg: 1.125rem;
  --text-xl: 1.25rem;
  --text-2xl: 1.5rem;
  --text-3xl: 2rem;
  --text-4xl: 2.5rem;
  --text-5xl: 3.5rem;

  /* ─── Layout ─── */
  --max-width: 1200px;
  --header-height: 72px;
  --header-height-scrolled: 60px;

  /* ─── Shadows ─── */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.55), 0 8px 32px rgba(0, 0, 0, 0.3);
  --shadow-neon: 0 0 40px rgba(192, 38, 211, 0.2), 0 0 80px rgba(34, 211, 238, 0.1);
  --shadow-card: 0 8px 32px rgba(0, 0, 0, 0.4);

  /* ─── Transitions ─── */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --duration-fast: 150ms;
  --duration-normal: 300ms;
  --duration-slow: 500ms;

  /* ─── Z-Index Scale ─── */
  --z-bg: -1;
  --z-base: 1;
  --z-card: 10;
  --z-header: 100;
  --z-drawer: 200;
  --z-modal: 300;
  --z-toast: 400;
  --z-loader: 500;
}

/* ─── Reduced Motion ─── */
@media (prefers-reduced-motion: reduce) {
  :root {
    --duration-fast: 1ms;
    --duration-normal: 1ms;
    --duration-slow: 1ms;
  }
}
