/**
 * Zhdanoff.net - Design System "Neo-Terminal"
 * CSS Variables
 */

:root {
    /* Color Palette - Surface Hierarchy */
    --color-background: #131313;
    --color-surface: #131313;
    --color-surface-dim: #131313;
    --color-surface-lowest: #0e0e0e;
    --color-surface-low: #1b1b1b;
    --color-surface-container: #1f1f1f;
    --color-surface-container-high: #2a2a2a;
    --color-surface-container-highest: #353535;
    --color-surface-bright: #393939;
    --color-surface-variant: #353535;

    /* Primary Colors */
    --color-primary: #eaffde;
    --color-primary-container: #00ff00;
    --color-on-primary: #013a00;
    --color-on-primary-container: #027100;
    --color-primary-fixed: #77ff61;
    --color-primary-fixed-dim: #02e600;
    --color-on-primary-fixed: #002200;
    --color-on-primary-fixed-variant: #015300;

    /* Secondary Colors */
    --color-secondary: #c6c6c7;
    --color-secondary-fixed: #e2e2e2;
    --color-secondary-fixed-dim: #c6c6c7;
    --color-on-secondary: #2f3131;
    --color-on-secondary-fixed: #1a1c1c;
    --color-on-secondary-fixed-variant: #454747;
    --color-secondary-container: #454747;
    --color-on-secondary-container: #b4b5b5;

    /* Tertiary Colors */
    --color-tertiary: #eaffde;
    --color-tertiary-container: #00ff00;
    --color-on-tertiary: #013a00;
    --color-on-tertiary-container: #027100;
    --color-tertiary-fixed: #77ff61;
    --color-tertiary-fixed-dim: #02e600;
    --color-on-tertiary-fixed: #002200;
    --color-on-tertiary-fixed-variant: #015300;

    /* Text Colors */
    --color-on-background: #e2e2e2;
    --color-on-surface: #e2e2e2;
    --color-on-surface-variant: #b9ccaf;
    --color-inverse-surface: #e2e2e2;
    --color-inverse-on-surface: #303030;
    --color-inverse-primary: #026e00;

    /* Outline Colors */
    --color-outline: #84967c;
    --color-outline-variant: #3b4b35;

    /* Error Colors */
    --color-error: #ffb4ab;
    --color-error-container: #93000a;
    --color-on-error: #690005;
    --color-on-error-container: #ffdad6;

    /* Green Accent */
    --color-accent-green: #00FF00;
    --color-accent-green-dim: #02e600;

    /* Typography */
    --font-family: 'Space Grotesk', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-family-mono: 'JetBrains Mono', 'Fira Code', 'Courier New', monospace;

    --font-size-xs: 0.75rem;
    --font-size-sm: 0.875rem;
    --font-size-base: 1rem;
    --font-size-lg: 1.125rem;
    --font-size-xl: 1.25rem;
    --font-size-2xl: 1.5rem;
    --font-size-3xl: 1.875rem;
    --font-size-4xl: 2.25rem;
    --font-size-5xl: 3rem;
    --font-size-6xl: 3.75rem;
    --font-size-7xl: 4.5rem;
    --font-size-8xl: 6rem;
    --font-size-9xl: 7.5rem;

    --font-weight-light: 300;
    --font-weight-regular: 400;
    --font-weight-medium: 500;
    --font-weight-semibold: 600;
    --font-weight-bold: 700;

    --line-height-tight: 1.1;
    --line-height-snug: 1.25;
    --line-height-normal: 1.5;
    --line-height-relaxed: 1.625;
    --line-height-loose: 2;

    /* Letter Spacing */
    --tracking-tighter: -0.05em;
    --tracking-tight: -0.025em;
    --tracking-normal: 0;
    --tracking-wide: 0.025em;
    --tracking-wider: 0.05em;
    --tracking-widest: 0.1em;
    --tracking-super: 0.2em;
    --tracking-ultra: 0.3em;

    /* Spacing */
    --space-0: 0;
    --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 - Zero for Neo-Terminal aesthetic */
    --radius-none: 0px;
    --radius-sm: 0px;
    --radius-base: 0px;
    --radius-lg: 0px;
    --radius-xl: 0px;
    --radius-full: 9999px;

    /* Shadows */
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.3);
    --shadow-base: 0 4px 6px rgba(0, 0, 0, 0.3);
    --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.3);
    --shadow-xl: 0 20px 25px rgba(0, 0, 0, 0.3);
    --shadow-glow: 0 0 20px rgba(0, 255, 0, 0.05);
    --shadow-glow-strong: 0 0 30px rgba(0, 255, 0, 0.15);

    /* Transitions */
    --transition-fast: 150ms ease;
    --transition-base: 200ms ease;
    --transition-slow: 300ms ease;
    --transition-slower: 500ms ease;

    /* Z-index */
    --z-dropdown: 100;
    --z-sticky: 200;
    --z-fixed: 300;
    --z-modal-backdrop: 400;
    --z-modal: 500;
    --z-popover: 600;
    --z-tooltip: 700;

    /* Max Width */
    --max-width-screen: 1440px;
    --max-width-content: 1024px;
    --max-width-narrow: 768px;

    /* Container Padding */
    --container-padding: 2rem;
    --container-padding-sm: 1rem;
}

/* Responsive breakpoints */
@media (max-width: 1024px) {
    :root {
        --container-padding: 1.5rem;
    }
}

@media (max-width: 768px) {
    :root {
        --container-padding: 1rem;
    }
}
