/* Design System: Color, Typography, Spacing, Animation */

:root {
  /* Color Palette - Retro Aesthetic */
  --color-primary: #d4a5a5;          /* Dusty rose - main accent */
  --color-primary-light: #e8c0c0;    /* Lighter dusty rose */
  --color-primary-dark: #a87d7d;     /* Darker dusty rose */

  --color-dark-bg: #0d0d0d;          /* Deep black - main background */
  --color-dark-surface: #1a1a1a;     /* Card backgrounds, elevated surfaces */
  --color-dark-border: #2a2a2a;      /* Subtle borders */
  --color-dark-hover: #252525;       /* Hover state for cards */

  --color-cream: #f5f5dc;            /* Movie poster cream - subtle accents */
  --color-sepia: #e8dcc4;            /* Vintage sepia tone */
  --color-sepia-dark: #d4c4a8;       /* Darker sepia for contrast */

  /* 90s Neon Accents */
  --color-neon-pink: #ff6ec7;        /* Bright neon pink */
  --color-neon-cyan: #00ffff;        /* Bright cyan */
  --color-neon-green: #39ff14;       /* Bright lime green */
  --color-neon-purple: #bf00ff;      /* Bright purple */
  --color-neon-orange: #ff6600;      /* Bright orange */

  /* Text Colors */
  --color-text-primary: #ffffff;     /* Main text - white */
  --color-text-secondary: #cccccc;   /* Secondary text - light gray */
  --color-text-tertiary: #999999;    /* Tertiary text - medium gray */
  --color-text-muted: #666666;       /* Muted text - dark gray */

  /* Semantic Colors */
  --color-success: #39ff14;
  --color-warning: #ff6600;
  --color-error: #ff6ec7;
  --color-info: #00ffff;

  /* Typography */
  --font-header: 'Playfair Display', 'Georgia', serif;           /* Art deco elegance */
  --font-body: 'Space Grotesk', 'Segoe UI', sans-serif;          /* Modern geometric */
  --font-accent: 'Bebas Neue', 'Trebuchet MS', sans-serif;       /* Bold display */
  --font-mono: 'Courier New', 'Courier', monospace;              /* Retro code */

  /* Font Weights */
  --fw-light: 300;
  --fw-regular: 400;
  --fw-medium: 500;
  --fw-semibold: 600;
  --fw-bold: 700;
  --fw-extrabold: 800;

  /* Font Sizes - Modular Scale (1.25) */
  --fs-xs: 0.75rem;      /* 12px */
  --fs-sm: 0.875rem;     /* 14px */
  --fs-base: 1rem;       /* 16px */
  --fs-lg: 1.25rem;      /* 20px */
  --fs-xl: 1.5625rem;    /* 25px */
  --fs-2xl: 1.953rem;    /* 31px */
  --fs-3xl: 2.44rem;     /* 39px */
  --fs-4xl: 3.052rem;    /* 49px */
  --fs-5xl: 3.815rem;    /* 61px */

  /* Line Heights */
  --lh-tight: 1.2;
  --lh-normal: 1.6;
  --lh-relaxed: 1.8;
  --lh-loose: 2;

  /* Spacing Scale */
  --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 */

  /* Border Radius */
  --radius-none: 0;
  --radius-sm: 0.25rem;
  --radius-base: 0.5rem;
  --radius-md: 0.75rem;
  --radius-lg: 1rem;
  --radius-xl: 1.5rem;
  --radius-2xl: 2rem;
  --radius-full: 9999px;

  /* Border Styles */
  --border-thin: 1px;
  --border-thick: 2px;
  --border-heavy: 3px;

  /* Animation Timings */
  --timing-fast: 150ms;
  --timing-base: 300ms;
  --timing-slow: 600ms;
  --timing-slower: 1000ms;

  /* Easing Functions */
  --ease-in: cubic-bezier(0.4, 0, 1, 1);
  --ease-out: cubic-bezier(0, 0, 0.2, 1);
  --ease-in-out: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-in-quad: cubic-bezier(0.55, 0.085, 0.68, 0.53);
  --ease-out-quad: cubic-bezier(0.25, 0.46, 0.45, 0.94);

  /* Specific Animation Timings */
  --timing-carousel: 60s;      /* Full carousel loop - 1 lap */
  --timing-pulse: 2s;          /* Hibiscus pulse cycle */
  --timing-word-cycle: 2s;     /* Word change interval */
  --timing-fade: 800ms;        /* Fade transitions */

  /* Shadows - Retro style (subtle) */
  --shadow-xs: 0 1px 2px rgba(212, 165, 165, 0.05);
  --shadow-sm: 0 1px 3px rgba(212, 165, 165, 0.1);
  --shadow-base: 0 4px 6px rgba(212, 165, 165, 0.1);
  --shadow-md: 0 10px 15px rgba(212, 165, 165, 0.1);
  --shadow-lg: 0 20px 25px rgba(212, 165, 165, 0.15);
  --shadow-xl: 0 25px 50px rgba(212, 165, 165, 0.2);

  /* Neon Glow Effects */
  --glow-sm: 0 0 8px rgba(212, 165, 165, 0.3);
  --glow-md: 0 0 16px rgba(212, 165, 165, 0.4);
  --glow-lg: 0 0 24px rgba(212, 165, 165, 0.5);
  --glow-neon: 0 0 20px rgba(255, 110, 199, 0.4);

  /* Responsive Breakpoints */
  --breakpoint-mobile: 480px;
  --breakpoint-tablet: 768px;
  --breakpoint-desktop: 1024px;
  --breakpoint-wide: 1440px;
  --breakpoint-ultra: 1920px;

  /* Container Width */
  --container-sm: 480px;
  --container-md: 640px;
  --container-lg: 960px;
  --container-xl: 1200px;
  --container-2xl: 1400px;

  /* Z-Index Scale */
  --z-hide: -1;
  --z-base: 0;
  --z-dropdown: 100;
  --z-sticky: 200;
  --z-fixed: 300;
  --z-modal-bg: 400;
  --z-modal: 500;
  --z-toast: 600;
  --z-tooltip: 700;

  /* Transition Defaults */
  --transition-base: var(--timing-base) var(--ease-in-out);
  --transition-fade: var(--timing-fade) var(--ease-in-out);
  --transition-bounce: var(--timing-slow) cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Dark mode (prefers-dark) - this is the default, so no changes needed */
@media (prefers-color-scheme: light) {
  :root {
    /* Invert if user prefers light mode (optional) */
  }
}
