/* ===== CSS VARIABLES (FIXED Z-INDEX) ===== */
:root {
    /* Colors */
    --primary: #09aff4;
    --primary-dark: #0088cc;
    --primary-light: #2db9ff;
    --secondary: #00a6ff;
    --accent: #2db9ff;

    /* Background Colors */
    --bg-primary: #060922;
    --bg-secondary: #0a0f2a;
    --bg-card: rgba(9, 175, 244, 0.15);
    --bg-glass: rgba(255, 255, 255, 0.1);
    --bg-input: rgba(45, 185, 255, 0.15);

    /* Text Colors */
    --text-primary: #ffffff;
    --text-secondary: #d1e1f8;
    --text-muted: #969799;
    --text-dark: #2c3e50;

    /* Border & Shadow */
    --border-color: rgba(9, 175, 244, 0.15);
    --border-light: rgba(255, 255, 255, 0.1);
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.15);
    --shadow-lg: 0 8px 25px rgba(0, 0, 0, 0.2);
    --shadow-xl: 0 20px 40px rgba(0, 0, 0, 0.25);
    --glow: 0 0 20px rgba(9, 175, 244, 0.3);

    /* Typography */
    --font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    --font-weight-normal: 400;
    --font-weight-medium: 500;
    --font-weight-semibold: 600;
    --font-weight-bold: 700;

    /* 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: 1.875rem;
    --text-4xl: 2.25rem;
    --text-5xl: 3rem;
    --text-6xl: 3.75rem;

    /* 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-9: 5rem; /* FOR HEADER HEIGHT */
    --space-10: 2.5rem;
    --space-12: 3rem;
    --space-16: 4rem;
    --space-20: 5rem;
    --space-24: 6rem;

    /* Border Radius */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
    --radius-2xl: 24px;
    --radius-full: 9999px;

    /* Transitions */
    --transition-fast: 0.15s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;

    /* Z-index (ИСПРАВЛЕНО - ВЫСОКИЕ ЗНАЧЕНИЯ ДЛЯ КОНКУРЕНЦИИ С CHUNK) */
    --z-dropdown: 1000;
    --z-sticky: 1020;
    --z-fixed: 1030;
    --z-modal: 99999; /* ВЫСОКИЙ Z-INDEX ДЛЯ МОДАЛКИ */
    --z-tooltip: 100000;

    /* Layout */
    --container-max-width: 1200px;
    --header-height: 80px;
}