/* ============================================
   Hotaru Design System - CSS Variables
   Forest & Firefly Theme (Inspired by pixel art)
   ============================================ */

:root {
    /* Colors - Dark Forest Theme */
    --color-bg-primary: #0a1520;
    --color-bg-secondary: #0d1a28;
    --color-bg-tertiary: #132233;
    --color-bg-card: rgba(16, 40, 56, 0.6);
    --color-bg-card-hover: rgba(24, 56, 80, 0.7);

    /* Forest Tones */
    --color-forest-dark: #0a1520;
    --color-forest-mid: #1a3040;
    --color-forest-light: #2a4a5a;
    --color-foliage: #3a6070;

    /* Text Colors */
    --color-text-primary: #e0f4f4;
    --color-text-secondary: #8ac0c0;
    --color-text-tertiary: #5a9090;

    /* Firefly/Hotaru Colors - Glowing Greens & Yellows */
    --color-hotaru-primary: #7fff7f;
    --color-hotaru-secondary: #a0ff60;
    --color-hotaru-glow: #c0ff80;
    --color-hotaru-warm: #e0ff90;
    --color-hotaru-cyan: #60d0d0;

    /* Accent Gradient - Firefly Glow */
    --color-accent-primary: #7fff7f;
    --color-accent-secondary: #a0ff60;
    --color-accent-gradient: linear-gradient(135deg, #60d0d0 0%, #7fff7f 40%, #c0ff80 70%, #e0ff90 100%);

    /* Glass Effect - Forest Night */
    --glass-bg: rgba(10, 24, 40, 0.8);
    --glass-border: rgba(127, 255, 127, 0.12);
    --glass-blur: 20px;

    /* Borders */
    --border-subtle: 1px solid rgba(127, 255, 127, 0.08);
    --border-card: 1px solid rgba(127, 255, 127, 0.12);

    /* Shadows - Firefly Glow */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.4);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.5);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.6);
    --shadow-glow: 0 0 40px rgba(127, 255, 127, 0.25), 0 0 80px rgba(127, 255, 127, 0.1);
    --shadow-glow-intense: 0 0 20px rgba(127, 255, 127, 0.5), 0 0 60px rgba(127, 255, 127, 0.25);

    /* Typography - System Font Stack */
    --font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Inter',
                   'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    --font-mono: 'SF Mono', 'Fira Code', 'Consolas', monospace;

    /* Font Sizes - Fluid Typography */
    --text-xs: clamp(0.75rem, 0.7rem + 0.25vw, 0.875rem);
    --text-sm: clamp(0.875rem, 0.8rem + 0.35vw, 1rem);
    --text-base: clamp(1rem, 0.9rem + 0.5vw, 1.125rem);
    --text-lg: clamp(1.125rem, 1rem + 0.6vw, 1.25rem);
    --text-xl: clamp(1.25rem, 1.1rem + 0.75vw, 1.5rem);
    --text-2xl: clamp(1.5rem, 1.2rem + 1.5vw, 2rem);
    --text-3xl: clamp(2rem, 1.5rem + 2.5vw, 3rem);
    --text-4xl: clamp(2.5rem, 1.8rem + 3.5vw, 4rem);
    --text-5xl: clamp(3rem, 2rem + 5vw, 5.5rem);
    --text-6xl: clamp(3.5rem, 2.5rem + 6vw, 7rem);

    /* Font Weights */
    --weight-regular: 400;
    --weight-medium: 500;
    --weight-semibold: 600;
    --weight-bold: 700;
    --weight-heavy: 800;
    --weight-black: 900;

    /* Letter Spacing */
    --tracking-tighter: -0.05em;
    --tracking-tight: -0.025em;
    --tracking-normal: 0;
    --tracking-wide: 0.025em;
    --tracking-wider: 0.05em;

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

    /* Spacing Scale */
    --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;
    --space-20: 5rem;
    --space-24: 6rem;
    --space-32: 8rem;

    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --radius-2xl: 36px;
    --radius-full: 9999px;

    /* Transitions */
    --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-base: 300ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 500ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-spring: 600ms cubic-bezier(0.34, 1.56, 0.64, 1);

    /* Z-Index Scale */
    --z-base: 0;
    --z-dropdown: 100;
    --z-sticky: 200;
    --z-fixed: 300;
    --z-modal: 400;
    --z-popover: 500;
    --z-tooltip: 600;

    /* Container Widths */
    --container-sm: 640px;
    --container-md: 768px;
    --container-lg: 1024px;
    --container-xl: 1280px;
    --container-2xl: 1440px;

    /* Content Padding */
    --content-padding: clamp(1.5rem, 5vw, 4rem);
}
