/**
 * Hedaron.com - Design System Variables
 * Retro-Futuristic Gaming Portfolio
 * Based on ui-ux-pro-max design system
 */

:root {
  /* ========================================
     COLORS - Retro Futuristic Palette
     ======================================== */
  
  /* Base Colors */
  --color-bg-primary: #0a0a0c;        /* Deep black background */
  --color-bg-secondary: #0F172A;      /* Dark slate (from design system) */
  --color-surface: #111115;           /* Card background */
  --color-surface-2: #18181e;         /* Hover states */
  --color-surface-3: #1E293B;         /* Elevated surfaces */
  
  /* Text Colors */
  --color-text-primary: #F8FAFC;      /* Off-white (high contrast) */
  --color-text-secondary: #e8e8f0;    /* Slightly dimmed white */
  --color-text-muted: #5a5a6e;        /* Secondary text */
  --color-text-dim: #334155;          /* Very muted text */
  
  /* Accent Colors - Neon Cyberpunk */
  --color-accent-primary: #c8fb5a;    /* Neon green (signature) */
  --color-accent-secondary: #7c5cfc;  /* Electric purple */
  --color-accent-tertiary: #22C55E;   /* Run green (from design system) */
  --color-accent-orange: #ff6b4a;     /* Cyber orange */
  --color-accent-cyan: #4af0ff;       /* Neon cyan */
  --color-accent-pink: #ff4a9e;       /* Hot pink */
  
  /* Semantic Colors */
  --color-success: #22C55E;
  --color-error: #ff4a4a;
  --color-warning: #fbbf24;
  --color-info: #4af0ff;
  
  /* Border Colors */
  --color-border: rgba(255, 255, 255, 0.06);
  --color-border-2: rgba(255, 255, 255, 0.10);
  --color-border-3: rgba(255, 255, 255, 0.18);
  --color-border-accent: rgba(200, 251, 90, 0.3);
  
  /* ========================================
     TYPOGRAPHY
     ======================================== */
  
  /* Font Families */
  --font-primary: 'Inter Variable', 'Syne', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono: 'JetBrains Mono Variable', 'DM Mono', 'Courier New', monospace;
  --font-retro: 'VT323', 'Press Start 2P', monospace; /* For special retro elements */
  
  /* Font Sizes - Fluid Typography */
  --font-size-xs: clamp(0.625rem, 0.6rem + 0.125vw, 0.75rem);      /* 10-12px */
  --font-size-sm: clamp(0.75rem, 0.7rem + 0.25vw, 0.875rem);       /* 12-14px */
  --font-size-base: clamp(0.875rem, 0.85rem + 0.125vw, 1rem);      /* 14-16px */
  --font-size-md: clamp(1rem, 0.95rem + 0.25vw, 1.125rem);         /* 16-18px */
  --font-size-lg: clamp(1.125rem, 1.05rem + 0.375vw, 1.5rem);      /* 18-24px */
  --font-size-xl: clamp(1.5rem, 1.3rem + 1vw, 2rem);               /* 24-32px */
  --font-size-2xl: clamp(2rem, 1.5rem + 2.5vw, 3rem);              /* 32-48px */
  --font-size-3xl: clamp(3rem, 2rem + 5vw, 5.125rem);              /* 48-82px */
  
  /* Font Weights */
  --font-weight-light: 300;
  --font-weight-normal: 400;
  --font-weight-medium: 500;
  --font-weight-semibold: 600;
  --font-weight-bold: 700;
  --font-weight-extrabold: 800;
  
  /* Line Heights */
  --line-height-tight: 1.1;
  --line-height-snug: 1.375;
  --line-height-normal: 1.6;
  --line-height-relaxed: 1.9;
  
  /* Letter Spacing */
  --letter-spacing-tight: -0.05em;
  --letter-spacing-normal: 0;
  --letter-spacing-wide: 0.04em;
  --letter-spacing-wider: 0.1em;
  --letter-spacing-widest: 0.22em;
  
  /* ========================================
     SPACING
     ======================================== */
  
  --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 */
  
  /* ========================================
     SHADOWS & GLOWS - Cyberpunk Effects
     ======================================== */
  
  /* Box Shadows */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.5);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.5);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.5);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.5);
  --shadow-2xl: 0 40px 100px rgba(0, 0, 0, 0.7);
  
  /* Neon Glows */
  --glow-green: 0 0 10px rgba(200, 251, 90, 0.3),
                0 0 20px rgba(200, 251, 90, 0.2),
                0 0 30px rgba(200, 251, 90, 0.1);
  --glow-purple: 0 0 10px rgba(124, 92, 252, 0.3),
                 0 0 20px rgba(124, 92, 252, 0.2);
  --glow-cyan: 0 0 10px rgba(74, 240, 255, 0.3),
               0 0 20px rgba(74, 240, 255, 0.2);
  
  /* Text Glows */
  --text-glow-green: 0 0 10px rgba(200, 251, 90, 0.5),
                     0 0 20px rgba(200, 251, 90, 0.3);
  --text-glow-purple: 0 0 10px rgba(124, 92, 252, 0.5),
                      0 0 20px rgba(124, 92, 252, 0.3);
  
  /* ========================================
     TRANSITIONS & ANIMATIONS
     ======================================== */
  
  /* Durations */
  --duration-fast: 150ms;
  --duration-normal: 200ms;
  --duration-slow: 300ms;
  --duration-slower: 500ms;
  
  /* Easing Functions */
  --ease-in-out: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-out: cubic-bezier(0, 0, 0.2, 1);
  --ease-in: cubic-bezier(0.4, 0, 1, 1);
  --ease-bounce: cubic-bezier(0.16, 1, 0.3, 1);
  
  /* Common Transitions */
  --transition-colors: color var(--duration-normal) var(--ease-in-out),
                       background-color var(--duration-normal) var(--ease-in-out),
                       border-color var(--duration-normal) var(--ease-in-out);
  --transition-transform: transform var(--duration-normal) var(--ease-out);
  --transition-all: all var(--duration-normal) var(--ease-in-out);
  --transition-glow: box-shadow var(--duration-slow) var(--ease-in-out);
  
  /* ========================================
     BORDERS & RADIUS
     ======================================== */
  
  --border-width: 1px;
  --border-width-2: 2px;
  
  --radius-none: 0;
  --radius-sm: 0.125rem;  /* 2px */
  --radius-md: 0.25rem;   /* 4px */
  --radius-lg: 0.5rem;    /* 8px */
  --radius-xl: 1rem;      /* 16px */
  --radius-full: 9999px;
  
  /* ========================================
     Z-INDEX LAYERS
     ======================================== */
  
  --z-base: 1;
  --z-dropdown: 100;
  --z-sticky: 200;
  --z-overlay: 500;
  --z-modal: 600;
  --z-toast: 700;
  --z-noise: 9999;
  
  /* ========================================
     BREAKPOINTS (for reference in JS)
     ======================================== */
  
  --breakpoint-sm: 640px;
  --breakpoint-md: 768px;
  --breakpoint-lg: 1024px;
  --breakpoint-xl: 1280px;
  --breakpoint-2xl: 1536px;
  
  /* ========================================
     EFFECTS - Retro Futuristic
     ======================================== */
  
  /* Grid Pattern */
  --grid-size: 64px;
  --grid-color: var(--color-border);
  
  /* Noise Overlay */
  --noise-opacity: 0.035;
  
  /* Scanlines (CRT effect) */
  --scanline-color: rgba(255, 255, 255, 0.02);
  --scanline-height: 2px;
  
  /* Glitch Effect */
  --glitch-offset: 2px;
  --glitch-color-1: rgba(255, 0, 255, 0.3);
  --glitch-color-2: rgba(0, 255, 255, 0.3);
}

/* ========================================
   DARK MODE ADJUSTMENTS (Future-proof)
   ======================================== */

@media (prefers-color-scheme: light) {
  :root {
    /* Keep dark mode - this is a cyberpunk site! */
    /* But respect user preferences if needed later */
  }
}

/* ========================================
   REDUCED MOTION
   ======================================== */

@media (prefers-reduced-motion: reduce) {
  :root {
    --duration-fast: 0ms;
    --duration-normal: 0ms;
    --duration-slow: 0ms;
    --duration-slower: 0ms;
  }
  
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
