/* ── CineSync Design Tokens ── */

:root {
  /* Background */
  --bg-deep: #06080f;
  --bg-primary: #0a0e17;
  --bg-secondary: #121829;
  --bg-surface: #1a2035;
  --bg-elevated: #232b42;
  --bg-hover: #2a3350;

  /* Accent — primary gradient (purple-blue) */
  --accent-primary: #7c6df5;
  --accent-primary-light: #a29bfe;
  --accent-primary-dark: #5a4fcf;
  --gradient-primary: linear-gradient(135deg, #6c5ce7, #a29bfe);
  --gradient-primary-hover: linear-gradient(135deg, #7c6df5, #b3abff);

  /* Accent — secondary (coral/pink) */
  --accent-secondary: #fd79a8;
  --accent-secondary-light: #fea5c4;
  --gradient-secondary: linear-gradient(135deg, #fd79a8, #fab1d0);

  /* Accent — tertiary (teal) */
  --accent-tertiary: #00cec9;
  --accent-tertiary-light: #55efc4;

  /* Text */
  --text-primary: rgba(255, 255, 255, 0.95);
  --text-secondary: rgba(255, 255, 255, 0.65);
  --text-tertiary: rgba(255, 255, 255, 0.40);
  --text-accent: var(--accent-primary-light);

  /* Semantic */
  --color-success: #00b894;
  --color-warning: #fdcb6e;
  --color-error: #e74c6f;
  --color-info: var(--accent-primary-light);

  /* Typography */
  --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', monospace;

  --fs-xs: 0.6875rem;    /* 11px */
  --fs-sm: 0.8125rem;    /* 13px */
  --fs-base: 0.9375rem;  /* 15px */
  --fs-md: 1.0625rem;    /* 17px */
  --fs-lg: 1.25rem;      /* 20px */
  --fs-xl: 1.625rem;     /* 26px */
  --fs-2xl: 2.25rem;     /* 36px */
  --fs-3xl: 3rem;        /* 48px */
  --fs-4xl: 4rem;        /* 64px */

  --fw-normal: 400;
  --fw-medium: 500;
  --fw-semibold: 600;
  --fw-bold: 700;

  --lh-tight: 1.2;
  --lh-normal: 1.5;
  --lh-relaxed: 1.7;

  /* Spacing (4px base) */
  --space-1: 0.25rem;   /* 4px */
  --space-2: 0.5rem;    /* 8px */
  --space-3: 0.75rem;   /* 12px */
  --space-4: 1rem;      /* 16px */
  --space-5: 1.25rem;   /* 20px */
  --space-6: 1.5rem;    /* 24px */
  --space-8: 2rem;      /* 32px */
  --space-10: 2.5rem;   /* 40px */
  --space-12: 3rem;     /* 48px */
  --space-16: 4rem;     /* 64px */
  --space-20: 5rem;     /* 80px */

  /* Border Radius */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.5);
  --shadow-xl: 0 16px 48px rgba(0, 0, 0, 0.6);
  --shadow-glow: 0 0 24px rgba(124, 109, 245, 0.25);
  --shadow-glow-secondary: 0 0 24px rgba(253, 121, 168, 0.2);

  /* Glassmorphism */
  --glass-bg: rgba(26, 32, 53, 0.6);
  --glass-border: rgba(255, 255, 255, 0.08);
  --glass-blur: 20px;

  /* Transitions */
  --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 Scale */
  --z-base: 1;
  --z-dropdown: 100;
  --z-overlay: 200;
  --z-modal: 300;
  --z-toast: 400;
  --z-max: 999;
}
