/**
 * CSS Custom Properties (Design Tokens)
 * Dark, moody aesthetic with purple/green neon accents
 */

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

  /* Background Colors */
  --bg-dark: #0a0a0f;
  --bg-surface: #12121a;
  --bg-elevated: #1a1a25;
  --bg-elevated-hover: #22222f;

  /* Brand - Purple */
  --purple-deep: #2d1b4e;
  --purple-mid: #6b2fa3;
  --purple-bright: #9b4dca;
  --purple-glow: #c77dff;

  /* Brand - Green (Primary CTA) */
  --green-deep: #0d3d2e;
  --green-mid: #00b368;
  --green-bright: #00ff88;
  --green-glow: #7dffba;

  /* Text Colors */
  --text-primary: #ffffff;
  --text-secondary: #a0a0b0;
  --text-muted: #606070;
  --text-inverse: #0a0a0f;

  /* Utility Colors */
  --overlay: rgba(10, 10, 15, 0.7);
  --overlay-heavy: rgba(10, 10, 15, 0.85);
  --border-color: rgba(255, 255, 255, 0.1);
  --border-color-light: rgba(255, 255, 255, 0.05);
  --focus-ring: rgba(0, 255, 136, 0.5);

  /* Status Colors */
  --success: #00b368;
  --error: #ff4757;
  --warning: #ffa502;

  /* Star Rating */
  --star-color: #ffd700;

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

  /* Font Families */
  --font-heading: 'Oswald', sans-serif;
  --font-body: 'Merriweather', Georgia, serif;
  --font-mono: 'SF Mono', 'Monaco', 'Consolas', monospace;

  /* Font Sizes - Mobile First (scaled up in responsive.css) */
  --text-xs: 0.75rem;     /* 12px */
  --text-sm: 0.875rem;    /* 14px */
  --text-base: 1rem;      /* 16px */
  --text-lg: 1.125rem;    /* 18px */
  --text-xl: 1.25rem;     /* 20px */
  --text-2xl: 1.5rem;     /* 24px */
  --text-3xl: 1.875rem;   /* 30px */
  --text-4xl: 2.25rem;    /* 36px */
  --text-5xl: 3rem;       /* 48px */
  --text-6xl: 3.75rem;    /* 60px */
  --text-7xl: 4.5rem;     /* 72px */

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

  /* Line Heights */
  --leading-none: 1;
  --leading-tight: 1.1;
  --leading-snug: 1.25;
  --leading-normal: 1.5;
  --leading-relaxed: 1.625;
  --leading-loose: 2;

  /* Letter Spacing */
  --tracking-tight: -0.02em;
  --tracking-normal: 0;
  --tracking-wide: 0.05em;
  --tracking-wider: 0.1em;

  /* ==========================================
     SPACING
     ========================================== */

  /* Base unit: 8px */
  --space-0: 0;
  --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 */
  --space-24: 6rem;     /* 96px */
  --space-32: 8rem;     /* 128px */

  /* Section Spacing */
  --section-padding: var(--space-16);
  --section-padding-lg: var(--space-24);

  /* ==========================================
     LAYOUT
     ========================================== */

  /* Container */
  --container-max: 1200px;
  --container-narrow: 800px;
  --container-padding: var(--space-4);

  /* Header */
  --header-height: 72px;
  --header-height-scrolled: 64px;

  /* ==========================================
     BORDERS & RADIUS
     ========================================== */

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

  --border-width: 1px;
  --border-width-thick: 2px;

  /* ==========================================
     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);

  /* Glow Effects */
  --glow-green: 0 0 20px rgba(0, 255, 136, 0.3);
  --glow-green-strong: 0 0 40px rgba(0, 255, 136, 0.5), 0 0 80px rgba(0, 255, 136, 0.2);
  --glow-purple: 0 0 20px rgba(155, 77, 202, 0.3);
  --glow-purple-strong: 0 0 40px rgba(155, 77, 202, 0.5), 0 0 80px rgba(155, 77, 202, 0.2);

  /* Glassmorphism */
  --glass-bg: rgba(18, 18, 26, 0.7);
  --glass-border: rgba(255, 255, 255, 0.08);
  --glass-blur: blur(20px);

  /* ==========================================
     TRANSITIONS
     ========================================== */

  --transition-fast: 150ms ease;
  --transition-base: 250ms ease;
  --transition-slow: 400ms ease;
  --transition-slower: 600ms ease;

  /* Specific transitions */
  --transition-color: color var(--transition-fast);
  --transition-bg: background-color var(--transition-fast);
  --transition-transform: transform var(--transition-base);
  --transition-opacity: opacity var(--transition-base);
  --transition-shadow: box-shadow var(--transition-base);
  --transition-all: all var(--transition-base);

  /* Premium Easing */
  --ease-out-expo: cubic-bezier(0.19, 1, 0.22, 1);
  --ease-out-back: cubic-bezier(0.34, 1.56, 0.64, 1);
  --ease-in-out-circ: cubic-bezier(0.85, 0, 0.15, 1);

  /* ==========================================
     Z-INDEX SCALE
     ========================================== */

  --z-base: 0;
  --z-dropdown: 100;
  --z-sticky: 200;
  --z-fixed: 300;
  --z-modal-backdrop: 400;
  --z-modal: 500;
  --z-popover: 600;
  --z-tooltip: 700;
  --z-header: 1000;
  --z-mobile-menu: 1100;

  /* ==========================================
     BREAKPOINTS (for reference, used in media queries)
     ========================================== */

  /* Mobile: default (up to 479px) */
  /* Mobile Large: 480px */
  /* Tablet: 768px */
  /* Desktop: 1024px */
  /* Desktop Large: 1280px */
  /* Desktop XL: 1440px */
}

/* Dark mode is default, but add a class for potential light mode toggle */
.light-mode {
  --bg-dark: #f5f5f7;
  --bg-surface: #ffffff;
  --bg-elevated: #ffffff;
  --text-primary: #0a0a0f;
  --text-secondary: #606070;
  --text-muted: #a0a0b0;
  --border-color: rgba(0, 0, 0, 0.1);
}
