/* ============================================
   KNIDOS GAMES - Design System Variables
   ============================================ */

:root {
  /* Brand Colors */
  --knidos-primary: #cdfe46;
  --knidos-primary-dark: #b8e53f;
  --knidos-primary-glow: rgba(205, 254, 70, 0.35);
  --knidos-primary-soft: #ecffae;
  --knidos-purple: #5e2ac7;
  --knidos-purple-glow: rgba(94, 42, 199, 0.35);
  
  /* Background Palette - Dark Theme */
  --bg-primary: #1a1a1a;
  --bg-secondary: #202020;
  --bg-tertiary: #2a2a2a;
  --bg-card: #1e1e1e;
  --bg-card-hover: #262626;
  
  /* Text Colors */
  --text-primary: #f7f7f7;
  --text-secondary: #c2c2c2;
  --text-muted: #8a8a8a;
  --text-accent: var(--knidos-primary);
  
  /* Trading Colors */
  --bull-green: #00d68f;
  --bull-green-glow: rgba(0, 214, 143, 0.3);
  --bear-red: #ff4757;
  --bear-red-glow: rgba(255, 71, 87, 0.3);
  --whale-blue: #3b82f6;
  --whale-blue-glow: rgba(59, 130, 246, 0.3);
  
  /* Game-specific accent colors */
  --pixel-purple: var(--knidos-purple);
  --cyber-cyan: #22d3ee;
  --retro-orange: #fb923c;
  --neo-pink: #ec4899;
  
  /* Gradients */
  --gradient-primary: linear-gradient(135deg, var(--knidos-primary) 0%, var(--knidos-primary-soft) 100%);
  --gradient-accent: linear-gradient(135deg, var(--knidos-primary) 0%, var(--knidos-purple) 100%);
  --gradient-dark: linear-gradient(180deg, #121212 0%, var(--bg-primary) 100%);
  --gradient-card: linear-gradient(145deg, var(--bg-card) 0%, var(--bg-tertiary) 100%);
  --gradient-glow: radial-gradient(ellipse at center, var(--knidos-primary-glow) 0%, transparent 70%);
  
  /* Shadows */
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.5);
  --shadow-glow: 0 0 20px var(--knidos-primary-glow);
  --shadow-glow-strong: 0 0 40px var(--knidos-primary-glow);
  
  /* Typography */
  --font-display: 'Groutpix F Torch', 'Press Start 2P', 'Clash Grotesk', 'Space Grotesk', sans-serif;
  --font-body: 'Clash Grotesk', 'Space Grotesk', sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', monospace;
  --font-pixel: 'Press Start 2P', monospace;
  
  /* Font Sizes */
  --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;
  
  /* Spacing */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  
  /* Border Radius */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --radius-2xl: 24px;
  --radius-full: 9999px;
  
  /* Transitions */
  --transition-fast: 150ms ease;
  --transition-base: 250ms ease;
  --transition-slow: 400ms ease;
  --transition-bounce: 400ms cubic-bezier(0.34, 1.56, 0.64, 1);
  
  /* Z-Index Scale */
  --z-base: 0;
  --z-above: 10;
  --z-modal: 1200;
  --z-overlay: 1000;
  --z-top: 9999;
}

/* Reduced motion preference */
@media (prefers-reduced-motion: reduce) {
  :root {
    --transition-fast: 0ms;
    --transition-base: 0ms;
    --transition-slow: 0ms;
    --transition-bounce: 0ms;
  }
}
