/* ==========================================================================
   VPN 3301 | GHOST OS NETWORK
   ULTIMATE PREMIUM STYLESHEET (UNCOMPRESSED & EXPANDED)
   Версия: 10.0 (FINAL PERFECT PIXEL + LOCK ICON + STATS GLOW)
   ========================================================================== */

/* ==========================================================================
   1. CSS ПЕРЕМЕННЫЕ (ТОКЕНЫ ДИЗАЙНА GHOST OS)
========================================================================== */
:root {
    /* Базовая палитра (Backgrounds) */
    --color-bg-base: #030407;
    --color-bg-surface: #0a0e14;
    --color-bg-elevated: #111820;
    --color-bg-panel: rgba(12, 16, 22, 0.75);
    --color-bg-faq: #080b10;
    --color-bg-legal: rgba(10, 15, 20, 0.85);
    
    /* Акценты (Ghost OS Neon) */
    --color-neon-green: #00ff41;
    --color-neon-green-ultra: #0aff5a;
    --color-neon-green-dim: rgba(0, 255, 65, 0.15);
    --color-neon-green-glow: rgba(0, 255, 65, 0.5);
    
    /* Дополнительные цвета */
    --color-silver: #e2e8f0;
    --color-silver-dark: #94a3b8;
    --color-warning: #ffab00;
    --color-danger: #ff5f56;
    
    /* Типографика (Colors) */
    --text-primary: #ffffff;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;
    --text-inverse: #000000;
    
    /* Эффекты стекла (Glassmorphism) */
    --glass-border: rgba(255, 255, 255, 0.1);
    --glass-border-strong: rgba(255, 255, 255, 0.2);
    --glass-border-hover: rgba(0, 255, 65, 0.5);
    --glass-blur: blur(25px);
    
    /* Тени */
    --shadow-neon: 0 0 20px rgba(0, 255, 65, 0.2);
    --shadow-neon-strong: 0 0 40px rgba(0, 255, 65, 0.5);
    --shadow-glass: 0 15px 35px rgba(0, 0, 0, 0.8);
    --shadow-card-hover: 0 20px 50px rgba(0, 255, 65, 0.15);
    
    /* Шрифты (Премиальная типографика) */
    --font-sans: 'Montserrat', system-ui, -apple-system, sans-serif;
    --font-display: 'Orbitron', sans-serif;
    --font-mono: 'JetBrains Mono', monospace;
    
    /* Размеры и отступы */
    --container-max-width: 1440px;
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 8rem;
    
    /* Transitions (Плавные переходы) */
    --transition-fast: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-normal: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    
    /* Радиусы скругления */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 32px;
    
    /* Z-Index архитектура */
    --z-background: -20;
    --z-grid: -10;
    --z-particles: 0;
    --z-content: 10;
    --z-header: 1000;
    --z-mobile-menu: 1001;
    --z-preloader: 9999;
}

/* ==========================================================================
   2. СБРОС СТИЛЕЙ И БАЗОВЫЕ НАСТРОЙКИ
========================================================================== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    background-color: #05070a;
}

body {
    font-family: var(--font-sans);
    color: var(--text-primary);
    background-color: transparent;
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    max-width: 100vw;
}

.overflow-hidden-until-loaded {
    overflow: hidden !important;
    height: 100vh !important;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

ul, ol {
    list-style: none;
}

img, svg {
    max-width: 100%;
    display: block;
}

.container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 40px;
    position: relative;
    z-index: var(--z-content);
}

/* ==========================================================================
   3. УТИЛИТЫ И ТИПОГРАФИКА
========================================================================== */
.font-orbitron { font-family: var(--font-display); }
.font-mono { font-family: var(--font-mono); }
.font-sans { font-family: var(--font-sans); }

.text-neon-green { color: var(--color-neon-green); text-shadow: 0 0 12px rgba(0, 255, 65, 0.4); }
.text-silver { color: var(--color-silver); }
.text-muted { color: var(--text-muted); }
.text-secondary { color: var(--text-secondary); }
.text-warning { color: var(--color-warning); }
.text-white { color: #ffffff; }

.text-gradient-green {
    background: linear-gradient(135deg, #00ff41 0%, #00b32c 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.text-center { text-align: center; }
.text-right { text-align: right; }
.w-100 { width: 100%; }

.mt-3 { margin-top: 1rem; }
.mt-4 { margin-top: 1.5rem; }
.mt-5 { margin-top: 3rem; }
.mb-3 { margin-bottom: 1rem; }
.mb-4 { margin-bottom: 1.5rem; }

/* ==========================================================================
   ELITE PRELOADER STYLES (VPN 3301) - TERMINAL BOOT EDITION
========================================================================== */
.elite-preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: #000000;
    z-index: 99999;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.6s;
    font-family: 'JetBrains Mono', 'Courier New', monospace;
}

/* Класс для плавного исчезновения */
.elite-preloader.fade-out {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.preloader-core {
    width: 90%;
    max-width: 800px;
    display: flex;
    flex-direction: column;
}

/* === ТЕРМИНАЛЬНОЕ ОКНО === */
.terminal-window {
    background: rgba(10, 10, 10, 0.95);
    border: 1px solid rgba(0, 255, 65, 0.3);
    border-radius: 8px;
    padding: 20px;
    box-shadow: 
        0 0 20px rgba(0, 255, 65, 0.2),
        0 0 40px rgba(0, 255, 65, 0.1),
        inset 0 0 50px rgba(0, 255, 65, 0.03);
    animation: terminalBoot 0.8s ease-out, terminalPulse 4s ease-in-out infinite;
    position: relative;
    overflow: hidden;
}

.terminal-window::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(0, 255, 65, 0.1) 50%, 
        transparent 100%);
    animation: terminalScanline 3s ease-in-out infinite;
}

.terminal-window::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        repeating-linear-gradient(
            0deg,
            transparent,
            transparent 2px,
            rgba(0, 255, 65, 0.03) 2px,
            rgba(0, 255, 65, 0.03) 4px
        );
    pointer-events: none;
    animation: terminalFlicker 0.15s linear infinite;
}

/* Дополнительные эффекты для терминала */
.terminal-window .matrix-rain {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    opacity: 0.1;
    background: 
        linear-gradient(90deg, transparent 98%, rgba(0, 255, 65, 0.3) 100%),
        linear-gradient(0deg, transparent 98%, rgba(0, 255, 65, 0.2) 100%);
    background-size: 20px 20px;
    animation: matrixRain 8s linear infinite;
}

.terminal-window .data-stream {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 4px;
    height: 4px;
    background: rgba(0, 255, 65, 0.8);
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(0, 255, 65, 0.8);
    animation: dataStreamPulse 1.5s ease-in-out infinite;
}

.terminal-window .data-stream::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    width: 8px;
    height: 8px;
    border: 1px solid rgba(0, 255, 65, 0.4);
    border-radius: 50%;
    animation: dataStreamRipple 2s ease-out infinite;
}

/* Заголовок терминала */
.terminal-header {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(0, 255, 65, 0.2);
    animation: headerGlow 2s ease-in-out infinite alternate;
    position: relative;
    min-height: 40px;
}

.terminal-header::before {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0%;
    height: 1px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(0, 255, 65, 0.8) 50%, 
        transparent 100%);
    animation: headerLineGrow 3s ease-in-out infinite;
}

.terminal-header .network-indicator {
    position: absolute;
    top: 50%;
    right: 10px;
    transform: translateY(-50%);
    display: flex;
    gap: 3px;
    align-items: flex-end;
    z-index: 10;
}

.terminal-header .network-bar {
    width: 3px;
    background: rgba(0, 255, 65, 0.3);
    border-radius: 2px;
    animation: networkActivity 1.5s ease-in-out infinite;
}

.terminal-header .network-bar:nth-child(1) { height: 8px; animation-delay: 0s; }
.terminal-header .network-bar:nth-child(2) { height: 12px; animation-delay: 0.2s; }
.terminal-header .network-bar:nth-child(3) { height: 16px; animation-delay: 0.4s; }
.terminal-header .network-bar:nth-child(4) { height: 20px; animation-delay: 0.6s; }

.terminal-title {
    color: #00ff41;
    font-size: 0.9rem;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    gap: 10px;
    text-shadow: 0 0 10px rgba(0, 255, 65, 0.5);
    animation: titlePulse 1.5s ease-in-out infinite;
    flex: 1;
    padding-right: 50px; /* Оставляем место для network-indicator */
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.terminal-dots {
    display: flex;
    gap: 6px;
    margin-right: 15px;
}

.terminal-dots span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    display: block;
    box-shadow: 0 0 5px currentColor;
    animation: dotPulse 2s ease-in-out infinite;
}

.terminal-dots span:nth-child(1) { 
    background: #ff5f56;
    box-shadow: 0 0 8px #ff5f56;
    animation-delay: 0s;
}
.terminal-dots span:nth-child(2) { 
    background: #ffbd2e;
    box-shadow: 0 0 8px #ffbd2e;
    animation-delay: 0.3s;
}
.terminal-dots span:nth-child(3) { 
    background: #27c93f;
    box-shadow: 0 0 8px #27c93f;
    animation-delay: 0.6s;
}

/* Тело терминала */
.terminal-body {
    min-height: 300px;
    color: #00ff41;
    font-size: 0.9rem;
    line-height: 1.6;
    text-align: center;
    position: relative;
}

/* Строки терминала */
.terminal-line {
    opacity: 0;
    transform: translateY(-10px) scale(0.95);
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-shadow: 0 0 8px rgba(0, 255, 65, 0.6);
    position: relative;
    overflow: hidden;
}

.terminal-line::before {
    content: '';
    position: absolute;
    left: -10px;
    top: 50%;
    width: 4px;
    height: 4px;
    background: #00ff41;
    border-radius: 50%;
    transform: translateY(-50%) scale(0);
    box-shadow: 0 0 6px #00ff41;
}

.terminal-line::after {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 0%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(0, 255, 65, 0.1) 50%, 
        transparent 100%);
    animation: lineHighlight 2s ease-in-out infinite;
}

.terminal-line.show {
    animation: terminalLineAppear 0.5s ease forwards, lineGlow 3s ease-in-out infinite;
}

.terminal-line.show::before {
    animation: bulletAppear 0.3s ease 0.2s forwards, bulletPulse 2s ease-in-out infinite 0.5s;
}

.terminal-line.show::after {
    animation: lineHighlight 2s ease-in-out infinite 0.3s;
}

.terminal-prompt {
    color: #0aff5a;
    margin-right: 8px;
    font-weight: bold;
    text-shadow: 0 0 10px rgba(10, 255, 90, 0.8);
    animation: promptFlicker 3s ease-in-out infinite;
}

.terminal-text {
    color: #00ff41;
    text-shadow: 0 0 8px rgba(0, 255, 65, 0.6);
    position: relative;
}

.terminal-text.success {
    color: #0aff5a;
    text-shadow: 0 0 10px rgba(10, 255, 90, 0.8);
    animation: successGlow 1s ease-in-out;
}

.terminal-text.warning {
    color: #ffbd2e;
    text-shadow: 0 0 10px rgba(255, 189, 46, 0.8);
    animation: warningPulse 0.5s ease-in-out;
}

.terminal-text.error {
    color: #ff5f56;
    text-shadow: 0 0 10px rgba(255, 95, 86, 0.8);
    animation: errorShake 0.5s ease-in-out;
}

.terminal-text.info {
    color: #00d4ff;
    text-shadow: 0 0 10px rgba(0, 212, 255, 0.8);
    animation: infoSlide 0.5s ease-in-out;
}

/* Прогресс-бар в терминале */
.terminal-progress {
    margin: 15px 0;
    opacity: 0;
    transform: scale(0.9);
    position: relative;
}

.terminal-progress.show {
    animation: progressAppear 0.6s ease forwards;
}

.terminal-progress::before {
    content: '';
    position: absolute;
    top: -10px;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(0, 255, 65, 0.3) 50%, 
        transparent 100%);
    animation: progressGlow 2s ease-in-out infinite;
}

.progress-bar-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    position: relative;
}

.progress-bar-container::before {
    content: '[';
    color: #00ff41;
    font-size: 1.2rem;
    animation: bracketPulse 1s ease-in-out infinite, bracketGlow 3s ease-in-out infinite;
}

.progress-bar-container::after {
    content: ']';
    color: #00ff41;
    font-size: 1.2rem;
    animation: bracketPulse 1s ease-in-out infinite reverse, bracketGlow 3s ease-in-out infinite;
}

.progress-bar-track {
    flex: 1;
    max-width: 500px;
    height: 20px;
    background: rgba(0, 255, 65, 0.1);
    border: 1px solid rgba(0, 255, 65, 0.3);
    border-radius: 4px;
    overflow: hidden;
    position: relative;
    box-shadow: 
        0 0 10px rgba(0, 255, 65, 0.2),
        inset 0 0 10px rgba(0, 255, 65, 0.1);
    animation: trackPulse 2s ease-in-out infinite;
}

.progress-bar-track::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(255, 255, 255, 0.2) 50%, 
        transparent 100%);
    animation: trackSweep 3s ease-in-out infinite;
}

.progress-bar-track::after {
    content: '';
    position: absolute;
    top: 2px;
    left: 2px;
    right: 2px;
    bottom: 2px;
    background: 
        repeating-linear-gradient(
            90deg,
            transparent,
            transparent 8px,
            rgba(0, 255, 65, 0.05) 8px,
            rgba(0, 255, 65, 0.05) 16px
        );
    animation: trackPattern 4s linear infinite;
}

.progress-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, 
        rgba(0, 255, 65, 0.4) 0%, 
        rgba(0, 255, 65, 0.8) 50%, 
        rgba(0, 255, 65, 0.4) 100%);
    width: 0%;
    transition: width 0.3s ease;
    position: relative;
    box-shadow: 
        0 0 15px rgba(0, 255, 65, 0.6),
        inset 0 0 10px rgba(0, 255, 65, 0.3);
    animation: fillGlow 1s ease-in-out infinite alternate;
}

.progress-bar-fill::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(255, 255, 255, 0.4) 50%, 
        transparent 100%);
    animation: progressShine 1.5s ease-in-out infinite;
}

.progress-bar-fill::after {
    content: '';
    position: absolute;
    top: 2px;
    left: 2px;
    right: 2px;
    bottom: 2px;
    background: linear-gradient(90deg, 
        rgba(0, 255, 65, 0.2) 0%, 
        rgba(0, 255, 65, 0.4) 50%, 
        rgba(0, 255, 65, 0.2) 100%);
    animation: innerGlow 0.8s ease-in-out infinite alternate;
}

.progress-percentage {
    color: #ffffff;
    font-weight: bold;
    min-width: 50px;
    text-align: center;
    font-size: 1rem;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.8);
    animation: percentGlow 1.2s ease-in-out infinite alternate;
}

/* Курсор */
.terminal-cursor {
    display: inline-block;
    width: 8px;
    height: 16px;
    background-color: #00ff41;
    margin-left: 2px;
    animation: cursorBlink 1s step-end infinite, cursorGlow 2s ease-in-out infinite, cursorFloat 3s ease-in-out infinite;
    vertical-align: text-bottom;
    box-shadow: 0 0 8px rgba(0, 255, 65, 0.8);
    position: relative;
}

.terminal-cursor::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    border: 1px solid rgba(0, 255, 65, 0.3);
    animation: cursorHalo 2.5s ease-in-out infinite;
}

.terminal-cursor::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 2px;
    height: 2px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    animation: cursorCore 1.5s ease-in-out infinite;
}

/* Финальное сообщение */
.terminal-complete {
    margin-top: 20px;
    padding: 15px;
    background: rgba(0, 255, 65, 0.1);
    border: 1px solid rgba(0, 255, 65, 0.3);
    border-radius: 4px;
    text-align: center;
    opacity: 0;
    transform: scale(0.8) rotateX(-10deg);
    box-shadow: 
        0 0 20px rgba(0, 255, 65, 0.3),
        inset 0 0 20px rgba(0, 255, 65, 0.1);
    position: relative;
    overflow: hidden;
}

.terminal-complete::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(255, 255, 255, 0.2) 50%, 
        transparent 100%);
    animation: completeShine 2s ease-in-out infinite;
}

.terminal-complete::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border: 2px solid rgba(0, 255, 65, 0.0);
    border-radius: 4px;
    animation: completeBorder 3s ease-in-out infinite;
}

.terminal-complete.show {
    animation: completeAppear 0.8s ease forwards, completeFloat 4s ease-in-out infinite 0.8s;
}

.complete-text {
    color: #0aff5a;
    font-size: 1.1rem;
    font-weight: bold;
    text-shadow: 
        0 0 10px rgba(10, 255, 90, 0.8),
        0 0 20px rgba(10, 255, 90, 0.5),
        0 0 30px rgba(10, 255, 90, 0.3);
    animation: completeTextGlow 1.5s ease-in-out infinite alternate;
}

/* === АНИМАЦИИ === */
@keyframes terminalBoot {
    0% {
        opacity: 0;
        transform: scale(0.8) rotateX(-15deg);
        filter: blur(5px);
    }
    50% {
        opacity: 0.7;
        transform: scale(0.95) rotateX(-5deg);
        filter: blur(2px);
    }
    100% {
        opacity: 1;
        transform: scale(1) rotateX(0deg);
        filter: blur(0px);
    }
}

@keyframes terminalScanline {
    0% {
        left: -100%;
    }
    100% {
        left: 100%;
    }
}

@keyframes terminalFlicker {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.98; }
}

@keyframes headerGlow {
    0% {
        box-shadow: 0 1px 0 rgba(0, 255, 65, 0.2);
    }
    100% {
        box-shadow: 0 1px 0 rgba(0, 255, 65, 0.4);
    }
}

@keyframes titlePulse {
    0%, 100% {
        text-shadow: 0 0 10px rgba(0, 255, 65, 0.5);
    }
    50% {
        text-shadow: 0 0 15px rgba(0, 255, 65, 0.8);
    }
}

@keyframes dotPulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.2);
        opacity: 0.8;
    }
}

@keyframes terminalLineAppear {
    0% {
        opacity: 0;
        transform: translateY(-10px) scale(0.95);
    }
    50% {
        opacity: 0.7;
        transform: translateY(-2px) scale(0.98);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes bulletAppear {
    0% {
        transform: translateY(-50%) scale(0);
        opacity: 0;
    }
    50% {
        transform: translateY(-50%) scale(1.5);
        opacity: 1;
    }
    100% {
        transform: translateY(-50%) scale(1);
        opacity: 1;
    }
}

@keyframes promptFlicker {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

@keyframes successGlow {
    0% {
        text-shadow: 0 0 10px rgba(10, 255, 90, 0.8);
        transform: scale(1);
    }
    50% {
        text-shadow: 0 0 20px rgba(10, 255, 90, 1);
        transform: scale(1.02);
    }
    100% {
        text-shadow: 0 0 15px rgba(10, 255, 90, 0.9);
        transform: scale(1);
    }
}

@keyframes warningPulse {
    0%, 100% {
        text-shadow: 0 0 10px rgba(255, 189, 46, 0.8);
    }
    50% {
        text-shadow: 0 0 20px rgba(255, 189, 46, 1);
    }
}

@keyframes errorShake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-2px); }
    75% { transform: translateX(2px); }
}

@keyframes infoSlide {
    0% {
        transform: translateX(-10px);
        opacity: 0;
    }
    100% {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes progressAppear {
    0% {
        opacity: 0;
        transform: scale(0.9) rotateX(-10deg);
    }
    100% {
        opacity: 1;
        transform: scale(1) rotateX(0deg);
    }
}

@keyframes bracketPulse {
    0%, 100% {
        text-shadow: 0 0 5px rgba(0, 255, 65, 0.5);
        transform: scale(1);
    }
    50% {
        text-shadow: 0 0 10px rgba(0, 255, 65, 0.8);
        transform: scale(1.1);
    }
}

@keyframes trackPulse {
    0%, 100% {
        box-shadow: 
            0 0 10px rgba(0, 255, 65, 0.2),
            inset 0 0 10px rgba(0, 255, 65, 0.1);
    }
    50% {
        box-shadow: 
            0 0 15px rgba(0, 255, 65, 0.3),
            inset 0 0 15px rgba(0, 255, 65, 0.15);
    }
}

@keyframes fillGlow {
    0% {
        box-shadow: 
            0 0 15px rgba(0, 255, 65, 0.6),
            inset 0 0 10px rgba(0, 255, 65, 0.3);
    }
    100% {
        box-shadow: 
            0 0 25px rgba(0, 255, 65, 0.8),
            inset 0 0 15px rgba(0, 255, 65, 0.5);
    }
}

@keyframes progressShine {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(100%);
    }
}

@keyframes innerGlow {
    0% {
        opacity: 0.3;
    }
    100% {
        opacity: 0.7;
    }
}

@keyframes percentGlow {
    0% {
        text-shadow: 0 0 10px rgba(255, 255, 255, 0.8);
        transform: scale(1);
    }
    100% {
        text-shadow: 
            0 0 15px rgba(255, 255, 255, 1),
            0 0 25px rgba(0, 255, 65, 0.5);
        transform: scale(1.05);
    }
}

@keyframes cursorBlink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

@keyframes cursorGlow {
    0%, 100% {
        box-shadow: 0 0 8px rgba(0, 255, 65, 0.8);
    }
    50% {
        box-shadow: 0 0 15px rgba(0, 255, 65, 1);
    }
}

@keyframes completeAppear {
    0% {
        opacity: 0;
        transform: scale(0.8) rotateX(-10deg);
    }
    50% {
        opacity: 0.8;
        transform: scale(1.05) rotateX(-2deg);
    }
    100% {
        opacity: 1;
        transform: scale(1) rotateX(0deg);
    }
}

@keyframes completeTextGlow {
    0% {
        text-shadow: 
            0 0 10px rgba(10, 255, 90, 0.8),
            0 0 20px rgba(10, 255, 90, 0.5),
            0 0 30px rgba(10, 255, 90, 0.3);
    }
    100% {
        text-shadow: 
            0 0 15px rgba(10, 255, 90, 1),
            0 0 30px rgba(10, 255, 90, 0.7),
            0 0 45px rgba(10, 255, 90, 0.5);
    }
}

/* === НОВЫЕ РАСШИРЕННЫЕ АНИМАЦИИ === */
@keyframes terminalPulse {
    0%, 100% {
        box-shadow: 
            0 0 20px rgba(0, 255, 65, 0.2),
            0 0 40px rgba(0, 255, 65, 0.1),
            inset 0 0 50px rgba(0, 255, 65, 0.03);
    }
    50% {
        box-shadow: 
            0 0 30px rgba(0, 255, 65, 0.3),
            0 0 60px rgba(0, 255, 65, 0.15),
            inset 0 0 70px rgba(0, 255, 65, 0.05);
    }
}

@keyframes matrixRain {
    0% {
        background-position: 0 0, 0 0;
    }
    100% {
        background-position: 20px 20px, 20px 20px;
    }
}

@keyframes dataStreamPulse {
    0%, 100% {
        opacity: 0.8;
        transform: scale(1);
    }
    50% {
        opacity: 1;
        transform: scale(1.5);
    }
}

@keyframes dataStreamRipple {
    0% {
        opacity: 1;
        transform: scale(1);
    }
    100% {
        opacity: 0;
        transform: scale(3);
    }
}

@keyframes headerLineGrow {
    0%, 100% {
        width: 0%;
    }
    50% {
        width: 100%;
    }
}

@keyframes networkActivity {
    0%, 100% {
        background: rgba(0, 255, 65, 0.3);
        transform: scaleY(0.5);
    }
    50% {
        background: rgba(0, 255, 65, 0.8);
        transform: scaleY(1);
    }
}

@keyframes lineHighlight {
    0%, 100% {
        width: 0%;
        opacity: 0;
    }
    50% {
        width: 100%;
        opacity: 0.3;
    }
}

@keyframes lineGlow {
    0%, 100% {
        text-shadow: 0 0 8px rgba(0, 255, 65, 0.6);
    }
    50% {
        text-shadow: 0 0 15px rgba(0, 255, 65, 0.9);
    }
}

@keyframes bulletPulse {
    0%, 100% {
        box-shadow: 0 0 6px #00ff41;
    }
    50% {
        box-shadow: 0 0 12px #00ff41, 0 0 20px rgba(0, 255, 65, 0.5);
    }
}

@keyframes progressGlow {
    0%, 100% {
        opacity: 0.3;
    }
    50% {
        opacity: 0.8;
    }
}

@keyframes bracketGlow {
    0%, 100% {
        text-shadow: 0 0 5px rgba(0, 255, 65, 0.5);
    }
    50% {
        text-shadow: 0 0 15px rgba(0, 255, 65, 0.9);
    }
}

@keyframes trackSweep {
    0% {
        left: -100%;
    }
    100% {
        left: 100%;
    }
}

@keyframes trackPattern {
    0% {
        background-position: 0 0;
    }
    100% {
        background-position: 32px 0;
    }
}

@keyframes cursorFloat {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-2px);
    }
}

@keyframes cursorHalo {
    0%, 100% {
        opacity: 0.3;
        transform: scale(1);
    }
    50% {
        opacity: 0.8;
        transform: scale(1.2);
    }
}

@keyframes cursorCore {
    0%, 100% {
        opacity: 0.8;
        transform: translate(-50%, -50%) scale(1);
    }
    50% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1.5);
    }
}

@keyframes completeShine {
    0% {
        left: -100%;
    }
    100% {
        left: 100%;
    }
}

@keyframes completeBorder {
    0%, 100% {
        border-color: rgba(0, 255, 65, 0.0);
    }
    50% {
        border-color: rgba(0, 255, 65, 0.5);
    }
}

@keyframes completeFloat {
    0%, 100% {
        transform: scale(1) rotateX(0deg) translateY(0);
    }
    50% {
        transform: scale(1.02) rotateX(1deg) translateY(-2px);
    }
}

@keyframes progressShine {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(100%);
    }
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

/* === АДАПТИВНОСТЬ === */
@media (max-width: 768px) {
    .preloader-core {
        width: 95%;
    }
    
    .terminal-window {
        padding: 15px;
    }
    
    .terminal-body {
        font-size: 0.75rem;
        min-height: 250px;
    }
    
    .terminal-title {
        font-size: 0.8rem;
        padding-right: 40px; /* Меньше места на мобильных */
    }
    
    .terminal-header .network-indicator {
        right: 5px; /* Ближе к краю на мобильных */
        gap: 2px; /* Меньший зазор между полосками */
    }
    
    .terminal-header .network-bar {
        width: 2px; /* Тоньше полоски на мобильных */
    }
    
    .terminal-header .network-bar:nth-child(1) { height: 6px; }
    .terminal-header .network-bar:nth-child(2) { height: 9px; }
    .terminal-header .network-bar:nth-child(3) { height: 12px; }
    .terminal-header .network-bar:nth-child(4) { height: 15px; }
    
    .progress-bar-track {
        height: 16px;
    }
    
    .progress-percentage {
        font-size: 0.85rem;
        min-width: 40px;
    }
}

@media (max-width: 480px) {
    .terminal-body {
        font-size: 0.7rem;
    }
    
    .terminal-title {
        font-size: 0.75rem;
        padding-right: 35px; /* Еще меньше места на очень маленьких экранах */
    }
    
    .terminal-header .network-indicator {
        right: 3px; /* Очень близко к краю */
        gap: 1px; /* Минимальный зазор */
    }
    
    .terminal-header .network-bar {
        width: 2px; /* Очень тонкие полоски */
    }
    
    .terminal-header .network-bar:nth-child(1) { height: 5px; }
    .terminal-header .network-bar:nth-child(2) { height: 7px; }
    .terminal-header .network-bar:nth-child(3) { height: 9px; }
    .terminal-header .network-bar:nth-child(4) { height: 11px; }
    
    .terminal-dots {
        gap: 4px;
    }
    
    .terminal-dots span {
        width: 10px;
        height: 10px;
    }
}

/* ==========================================================================
   4. PRELOADER (УЛУЧШЕННЫЙ ПРЕМИАЛЬНЫЙ ДИЗАЙН)
========================================================================== */
.cyber-preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: linear-gradient(135deg, #010203 0%, #020508 50%, #010203 100%);
    z-index: var(--z-preloader);
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.8s ease, visibility 0.8s ease;
}

.cyber-preloader::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-image: 
        linear-gradient(rgba(0, 255, 65, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 255, 65, 0.02) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: gridPulse 3s ease-in-out infinite;
}

@keyframes gridPulse {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.6; }
}

.cyber-preloader.fade-out {
    opacity: 0;
    visibility: hidden;
}

.preloader-content {
    width: 100%;
    max-width: 900px;
    padding: 50px;
    text-align: left;
    position: relative;
    z-index: 1;
}

.glitch-logo {
    font-family: var(--font-display);
    font-size: 5.5rem;
    font-weight: 900;
    color: #ffffff;
    margin-bottom: 3rem;
    letter-spacing: 6px;
    text-shadow: 0 0 5px rgba(0, 255, 65, 0.3);
    min-height: 100px;
    white-space: pre;
}

.system-text {
    color: var(--color-neon-green);
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    letter-spacing: 2px;
    text-shadow: 0 0 10px rgba(0, 255, 65, 0.5);
}

.progress-container {
    width: 100%;
    height: 6px;
    background: rgba(0, 255, 65, 0.15);
    overflow: hidden;
    margin-bottom: 3rem;
    border-radius: 3px;
    box-shadow: inset 0 0 10px rgba(0, 255, 65, 0.2);
}

.progress-bar {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, 
        var(--color-neon-green) 0%, 
        var(--color-neon-green-ultra) 50%, 
        var(--color-neon-green) 100%);
    box-shadow: 0 0 20px var(--color-neon-green);
    transition: width 0.1s linear;
    animation: progressGlow 1.5s ease-in-out infinite;
}

@keyframes progressGlow {
    0%, 100% { box-shadow: 0 0 20px var(--color-neon-green); }
    50% { box-shadow: 0 0 30px var(--color-neon-green), 0 0 40px var(--color-neon-green-ultra); }
}

.loading-stats {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 2.6;
    font-family: var(--font-mono);
}

.loading-stats div {
    display: flex;
    gap: 10px;
    min-height: 32px;
    white-space: pre;
    animation: fadeInUp 0.5s ease-out backwards;
}

.loading-stats div:nth-child(1) { animation-delay: 0.1s; }
.loading-stats div:nth-child(2) { animation-delay: 0.2s; }
.loading-stats div:nth-child(3) { animation-delay: 0.3s; }
.loading-stats div:nth-child(4) { animation-delay: 0.4s; }
.loading-stats div:nth-child(5) { animation-delay: 0.5s; }

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.blink {
    animation: blink 1s step-end infinite;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

/* ==========================================================================
   5. ФОНОВЫЕ ЭФФЕКТЫ (SERVER IMAGE + MATRIX GRID + ANIMATED BACKGROUND)
========================================================================== */
.ambient-background {
    position: fixed;
    top: 0; 
    left: 0; 
    width: 100vw; 
    height: 100vh;
    z-index: -20;
    pointer-events: none;
    overflow: hidden;
    background-image: url('../img/server-bg.jpg');
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-color: #05070a;
    filter: brightness(0.35);
}

/* Глобальная кибер-сетка */
.ambient-background::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-image: 
        linear-gradient(rgba(0, 255, 65, 0.12) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 255, 65, 0.12) 1px, transparent 1px);
    background-size: 40px 40px;
    z-index: var(--z-grid);
    animation: gridMove 20s linear infinite;
}

@keyframes gridMove {
    0% { transform: translate(0, 0); }
    100% { transform: translate(40px, 40px); }
}

#particles-canvas {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    opacity: 0.4;
    z-index: var(--z-particles);
}

.glow-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.65;
    animation: float-orb 15s ease-in-out infinite alternate;
}

.orb-1 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(0, 255, 65, 0.2) 0%, transparent 70%);
    top: 10%;
    left: 10%;
}

.orb-2 {
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(0, 150, 255, 0.15) 0%, transparent 70%);
    bottom: 15%;
    right: 15%;
    animation-delay: -7s;
}

.orb-3 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(0, 255, 65, 0.18) 0%, transparent 70%);
    top: 50%;
    right: 20%;
    animation-delay: -3s;
}

.noise-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' /%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.05'/%3E%3C/svg%3E");
    opacity: 0.3;
    z-index: 1;
}

/* ==========================================================================
   6. HEADER & NAVIGATION (ЖЕСТКАЯ ФИКСАЦИЯ БЕЗ ПЕРЕНОСОВ)
========================================================================== */
.glass-header {
    position: fixed;
    top: 0; left: 0; width: 100%;
    padding: 20px 0;
    z-index: var(--z-header);
    transition: var(--transition-slow);
    background: transparent;
}

/* Скругленный контейнер для header - всегда одинаковый */
.glass-header .header-inner {
    background: linear-gradient(135deg, rgba(0, 255, 65, 0.05) 0%, rgba(10, 15, 20, 0.85) 100%);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(0, 255, 65, 0.2);
    border-radius: 20px;
    padding: 12px 25px;
    box-shadow: 
        0 10px 40px rgba(0, 0, 0, 0.6),
        0 0 30px rgba(0, 255, 65, 0.12),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.header-left {
    display: flex;
    align-items: center;
    flex: 1;
}

.brand-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    white-space: nowrap;
}

.logo-image-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.logo-icon-img {
    width: 36px;
    height: 36px;
    object-fit: contain;
    filter: drop-shadow(0 0 10px rgba(0, 255, 65, 0.8));
    transition: var(--transition-normal);
    flex-shrink: 0;
}

.brand-logo:hover .logo-icon-img {
    filter: drop-shadow(0 0 20px rgba(0, 255, 65, 1));
    transform: scale(1.05) rotate(5deg);
}

.brand-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    flex-shrink: 0;
}

.brand-text .title {
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 900;
    line-height: 1;
    letter-spacing: 1px;
    color: var(--text-primary);
    white-space: nowrap;
}

/* УБИРАЕМ GHOST OS SUBTITLE */
.brand-text .subtitle {
    display: none;
}

.header-center {
    display: flex;
    justify-content: center;
    flex: 2.5; 
}

.desktop-nav {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-link {
    font-family: var(--font-sans);
    font-size: 0.85rem;
    font-weight: 700;
    color: #8492a6;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    transition: var(--transition-normal);
    padding: 10px 0;
    position: relative;
    white-space: nowrap;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--color-neon-green);
    transform: translateX(-50%);
    transition: var(--transition-normal);
}

.nav-link:hover {
    color: var(--text-primary);
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.4);
}

.nav-link:hover::after {
    width: 100%;
}

/* ОТСТУП "СТАТУС СЕТИ" И "ПОДДЕРЖКА" */
.nav-link-spaced {
    margin-right: 40px; /* Отделяем меню от кнопок, как на image_673688.png */
}

.header-right {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    flex: 1;
}

.header-actions {
    display: flex;
    gap: 16px;
    align-items: center;
}

/* МОБИЛЬНОЕ МЕНЮ (БУРГЕР) */
.mobile-menu-toggle {
    display: none;
    background: linear-gradient(135deg, rgba(0, 255, 65, 0.12) 0%, rgba(0, 255, 65, 0.05) 100%);
    border: 2px solid rgba(0, 255, 65, 0.4);
    border-radius: 16px;
    cursor: pointer;
    flex-direction: column;
    gap: 6px;
    z-index: 2000;
    padding: 14px;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    box-shadow: 
        0 0 25px rgba(0, 255, 65, 0.3),
        inset 0 0 15px rgba(0, 255, 65, 0.1);
}

.mobile-menu-toggle:hover {
    background: linear-gradient(135deg, rgba(0, 255, 65, 0.20) 0%, rgba(0, 255, 65, 0.10) 100%);
    border-color: var(--color-neon-green-ultra);
    box-shadow: 0 0 35px rgba(0, 255, 65, 0.5);
    transform: scale(1.08) rotate(5deg);
}

.hamburger-line {
    width: 28px;
    height: 3px;
    background: linear-gradient(90deg, var(--color-neon-green) 0%, var(--color-neon-green-ultra) 100%);
    border-radius: 3px;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    display: block;
    box-shadow: 0 0 12px rgba(0, 255, 65, 0.6);
}

/* Анимация бургера в крестик (управляется JS) */
.mobile-menu-toggle.is-open {
    background: linear-gradient(135deg, rgba(255, 50, 50, 0.15) 0%, rgba(255, 0, 0, 0.08) 100%);
    border-color: rgba(255, 80, 80, 0.6);
    box-shadow: 
        0 0 35px rgba(255, 50, 50, 0.4),
        inset 0 0 20px rgba(255, 0, 0, 0.1);
    transform: rotate(180deg) scale(1.05);
}

.mobile-menu-toggle.is-open .line-1 {
    transform: translateY(9px) rotate(45deg);
    background: linear-gradient(90deg, #ff5f56 0%, #ff8a80 100%);
    box-shadow: 0 0 15px rgba(255, 95, 86, 0.8);
}

.mobile-menu-toggle.is-open .line-2 {
    opacity: 0;
    transform: scaleX(0) rotate(180deg);
}

.mobile-menu-toggle.is-open .line-3 {
    transform: translateY(-9px) rotate(-45deg);
    background: linear-gradient(90deg, #ff5f56 0%, #ff8a80 100%);
    box-shadow: 0 0 15px rgba(255, 95, 86, 0.8);
}


/* ==========================================================================
   7. КНОПКИ
========================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-sans);
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 8px;
    cursor: pointer;
    transition: var(--transition-normal);
    text-decoration: none;
    box-sizing: border-box;
    white-space: nowrap;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

.telegram-btn-header, .cabinet-btn-header {
    height: 48px;
    padding: 0 28px;
    line-height: 44px;
    border-radius: 14px;
}

.telegram-btn-header {
    background: rgba(0, 255, 65, 0.02);
    border: 2px solid var(--color-neon-green);
    color: var(--color-neon-green);
    box-shadow: inset 0 0 10px rgba(0, 255, 65, 0.1);
}

.telegram-btn-header:hover {
    background: rgba(0, 255, 65, 0.15);
    box-shadow: inset 0 0 20px rgba(0, 255, 65, 0.3), 0 0 20px rgba(0, 255, 65, 0.4);
    color: #ffffff;
    border-color: #ffffff;
    transform: translateY(-3px) scale(1.02);
}

.cabinet-btn-header {
    background: var(--color-neon-green-ultra);
    border: 2px solid var(--color-neon-green-ultra);
    color: #000000;
    box-shadow: 0 0 20px rgba(10, 255, 90, 0.3);
}

.cabinet-btn-header:hover {
    background: #ffffff;
    border-color: #ffffff;
    box-shadow: 0 0 35px rgba(255, 255, 255, 0.8);
    transform: translateY(-3px) scale(1.02);
}

/* Кнопка в инфраструктуре */
.btn-outline-neon {
    background: rgba(0, 255, 65, 0.12);
    border: 2px solid var(--color-neon-green);
    color: var(--color-neon-green);
    box-shadow: inset 0 0 20px rgba(0, 255, 65, 0.25), 0 0 30px rgba(0, 255, 65, 0.4);
    padding: 12px 30px;
    border-radius: 8px;
    font-weight: 700;
}

.btn-outline-neon:hover {
    background: rgba(0, 255, 65, 0.30);
    color: #ffffff;
    border-color: #ffffff;
    box-shadow: inset 0 0 30px rgba(0, 255, 65, 0.5), 0 0 40px rgba(0, 255, 65, 0.7);
    transform: translateY(-3px) scale(1.02);
}

/* Огромные кнопки для Hero */
.btn-huge-neon, .btn-huge-glass {
    padding: 0 45px;
    height: 64px;
    line-height: 60px;
    font-size: 1.1rem;
    border-radius: 12px;
    font-family: var(--font-display);
}

.btn-huge-neon {
    background: var(--color-neon-green-ultra);
    color: #000000;
    border: 2px solid var(--color-neon-green-ultra);
    box-shadow: 0 0 30px rgba(10, 255, 90, 0.4);
}

.btn-huge-neon:hover {
    background: #ffffff;
    border-color: #ffffff;
    box-shadow: 0 0 50px rgba(255, 255, 255, 0.8);
    transform: translateY(-4px) scale(1.03);
}

.btn-huge-glass {
    background: var(--color-bg-panel);
    border: 2px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: var(--glass-blur);
    color: var(--text-primary);
}

.btn-huge-glass:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--color-neon-green);
    color: var(--color-neon-green);
    box-shadow: 0 0 30px rgba(0, 255, 65, 0.2);
    transform: translateY(-4px) scale(1.03);
}

.btn-silver {
    background: var(--color-silver);
    color: #000000;
    border: 2px solid var(--color-silver);
    padding: 16px 30px;
    border-radius: 12px;
    font-size: 1rem;
    width: 100%;
    font-weight: 700;
    box-shadow: 0 0 35px rgba(226, 232, 240, 0.5);
}

.btn-silver:hover {
    background: #ffffff;
    border-color: #ffffff;
    box-shadow: 0 0 50px rgba(255, 255, 255, 0.9);
    transform: translateY(-4px) scale(1.02);
}

/* ==========================================================================
   8. СТЕКЛЯННЫЕ ПАНЕЛИ И СЕТКИ ВНУТРИ
========================================================================== */
.glass-panel {
    background: var(--color-bg-panel);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-glass);
    transition: var(--transition-normal);
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.glass-panel:hover {
    border-color: rgba(255, 255, 255, 0.15);
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
    background-size: 24px 24px;
    opacity: 0.7;
    z-index: -1;
    pointer-events: none;
}

/* ==========================================================================
   9. СЕКЦИИ (ОБЩИЕ ПРАВИЛА)
========================================================================== */
section {
    padding: var(--spacing-xl) 0;
    position: relative;
    z-index: var(--z-content);
}

.section-header {
    margin-bottom: var(--spacing-lg);
}

.section-title {
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    font-family: var(--font-display);
    font-weight: 900;
    letter-spacing: 2px;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
    text-transform: uppercase;
    text-align: center;
}

.section-subtitle {
    font-size: 1.15rem;
    color: var(--text-secondary);
    max-width: 850px;
    margin: 0 auto;
    line-height: 1.85;
}

/* ==========================================================================
   10. HERO SECTION (ГЛАВНЫЙ ЭКРАН И БЛОК СТАТИСТИКИ)
========================================================================== */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 160px;
    padding-bottom: 100px;
}

.hero-content {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}

.badge-neon {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 10px 22px;
    border-radius: 100px;
    background: rgba(0, 255, 65, 0.05);
    border: 1px solid rgba(0, 255, 65, 0.3);
    color: var(--color-neon-green);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 3rem;
    box-shadow: 0 0 20px rgba(0, 255, 65, 0.15);
    transition: var(--transition-normal);
}

.badge-neon:hover {
    background: rgba(0, 255, 65, 0.1);
    box-shadow: 0 0 30px rgba(0, 255, 65, 0.3);
    transform: scale(1.05);
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background-color: var(--color-neon-green);
    border-radius: 50%;
    box-shadow: 0 0 15px var(--color-neon-green);
    animation: pulse-green 2s infinite;
}

.hero-title-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(2.8rem, 5.5vw, 5.5rem);
    line-height: 1.15;
    letter-spacing: 4px;
    margin: 0; 
}

.hero-description {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: var(--text-secondary);
    margin-bottom: 4rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.9;
}

.hero-buttons {
    display: flex;
    gap: 25px;
    justify-content: center;
    margin-bottom: 5rem;
    flex-wrap: wrap;
}

/* КРАСИВЫЕ БЛОКИ СТАТИСТИКИ (КИБЕРПАНК СТИЛЬ) */
.hero-stats {
    display: flex;
    justify-content: center;
    gap: 40px;
    padding-top: 4rem;
    border-top: 1px solid var(--glass-border-strong);
    flex-wrap: wrap;
}

.stat-card {
    background: linear-gradient(135deg, 
        rgba(0, 255, 65, 0.08) 0%, 
        rgba(10, 15, 20, 0.85) 50%, 
        rgba(0, 255, 65, 0.05) 100%);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border: 2px solid rgba(0, 255, 65, 0.3);
    border-radius: 20px;
    padding: 30px 25px;
    min-width: 280px;
    max-width: 320px;
    flex: 1;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 
        0 15px 35px rgba(0, 0, 0, 0.6),
        0 0 30px rgba(0, 255, 65, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(0, 255, 65, 0.1) 50%, 
        transparent 100%);
    transition: left 0.6s ease;
}

.stat-card:hover::before {
    left: 100%;
}

.stat-card:hover {
    transform: translateY(-10px) scale(1.02);
    border-color: rgba(0, 255, 65, 0.6);
    box-shadow: 
        0 25px 50px rgba(0, 0, 0, 0.8),
        0 0 50px rgba(0, 255, 65, 0.3),
        inset 0 0 30px rgba(0, 255, 65, 0.1);
}

.stat-icon {
    width: 50px;
    height: 50px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 255, 65, 0.1);
    border: 2px solid rgba(0, 255, 65, 0.4);
    border-radius: 50%;
    color: var(--color-neon-green);
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    box-shadow: 0 0 20px rgba(0, 255, 65, 0.2);
}

.stat-icon svg {
    width: 24px;
    height: 24px;
    stroke: currentColor;
}

.stat-card:hover .stat-icon {
    transform: scale(1.2) rotate(10deg);
    background: rgba(0, 255, 65, 0.2);
    border-color: var(--color-neon-green);
    box-shadow: 0 0 30px rgba(0, 255, 65, 0.5);
}

.stat-content {
    display: flex;
    flex-direction: column;
    text-align: center;
    position: relative;
    z-index: 2;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
    transition: var(--transition-normal);
    position: relative;
}

.stat-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(0, 255, 65, 0.1) 0%, transparent 70%);
    transform: translate(-50%, -50%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
    z-index: 0;
}

.stat-card:hover .stat-glow {
    opacity: 1;
}

.stat-neon-glow {
    font-size: 2.8rem;
    font-family: var(--font-display);
    font-weight: 900;
    color: var(--color-neon-green-ultra);
    text-shadow: 
        0 0 20px rgba(10, 255, 90, 0.8),
        0 0 40px rgba(10, 255, 90, 0.4);
    transition: all 0.4s ease;
    margin-bottom: 10px;
    line-height: 1;
    text-align: center;
}

.stat-card:hover .stat-neon-glow {
    text-shadow: 
        0 0 30px rgba(10, 255, 90, 1),
        0 0 60px rgba(10, 255, 90, 0.6),
        0 0 90px rgba(10, 255, 90, 0.3);
    transform: scale(1.05);
}

.stat-label {
    font-size: 1rem;
    color: #8492a6;
    letter-spacing: 1px;
    transition: var(--transition-normal);
    text-align: center;
    line-height: 1.4;
    font-weight: 600;
}

.stat-card:hover .stat-label {
    color: #b8c5d1;
    text-shadow: 0 0 10px rgba(184, 197, 209, 0.3);
}

/* Специальные стили для партнерской страницы */
.stats-section {
    overflow: visible;
    padding-bottom: 100px;
}

.stats-section .container {
    overflow: visible;
}

.stats-section .hero-stats {
    overflow: visible;
    padding-top: 0;
    padding-bottom: 30px;
    margin-top: 0;
    gap: 30px;
}

.stats-section .stat-card {
    min-width: 270px;
    max-width: 320px;
    padding: 35px 25px;
}

.stats-section .stat-item {
    overflow: visible;
}

.stats-section .stat-item.glass-panel {
    overflow: visible;
}

.stats-section .stat-card:hover {
    transform: translateY(-12px) scale(1.03);
    z-index: 10;
    box-shadow: 
        0 30px 70px rgba(0, 0, 0, 0.9),
        0 0 60px rgba(0, 255, 65, 0.4),
        inset 0 0 40px rgba(0, 255, 65, 0.15);
}

.stat-item:hover .stat-label {
    color: #6b8fb8;
}

/* ==========================================================================
   11. FEATURES SECTION
========================================================================== */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 30px;
}

.feature-card {
    padding: 45px 40px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    transition: var(--transition-normal);
}

.feature-card:hover {
    transform: translateY(-12px) scale(1.02);
    border-color: var(--glass-border-hover);
    box-shadow: var(--shadow-card-hover), inset 0 0 30px rgba(0, 255, 65, 0.05);
}

.feature-icon-wrapper {
    width: 65px;
    height: 65px;
    border-radius: 14px;
    background: rgba(0, 255, 65, 0.05);
    border: 2px solid rgba(0, 255, 65, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
    transition: var(--transition-bounce);
}

.feature-card:hover .feature-icon-wrapper {
    background: rgba(0, 255, 65, 0.2);
    box-shadow: 0 0 30px rgba(0, 255, 65, 0.4);
    transform: scale(1.15) rotate(5deg);
    border-color: var(--color-neon-green);
}

.feature-icon-wrapper svg {
    width: 30px;
    height: 30px;
}

.feature-title {
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: 1px;
    line-height: 1.3;
}

.feature-desc {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.7;
}

/* ==========================================================================
   12. SERVERS SECTION (TERMINAL UI) 
========================================================================== */
.servers-section {
    position: relative;
    z-index: var(--z-content);
}

.infra-action-box {
    margin-top: 30px;
    margin-bottom: 40px;
}

.terminal-window {
    max-width: 1100px;
    margin: 0 auto;
    border-radius: 12px;
    overflow: hidden;
    background: rgba(5, 7, 10, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8);
    transition: var(--transition-normal);
}

.terminal-window:hover {
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.9), 0 0 20px rgba(0, 255, 65, 0.05);
    transform: translateY(-2px);
    border-color: rgba(0, 255, 65, 0.15);
}

.terminal-header {
    background: #111820;
    padding: 18px 25px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.terminal-dots {
    display: flex;
    gap: 10px;
    margin-right: 25px;
}

.terminal-dots span {
    width: 14px;
    height: 14px;
    border-radius: 50%;
}
.terminal-dots span:nth-child(1) { background: #ff5f56; }
.terminal-dots span:nth-child(2) { background: #ffbd2e; }
.terminal-dots span:nth-child(3) { background: #27c93f; }

.terminal-title {
    color: var(--text-muted);
    font-size: 0.95rem;
    letter-spacing: 1px;
}

.terminal-body {
    padding: 35px;
    font-size: 0.95rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.server-list-header {
    display: grid;
    grid-template-columns: 2fr 2fr 1fr 1fr;
    padding-bottom: 20px;
    border-bottom: 1px dashed rgba(255, 255, 255, 0.2);
    margin-bottom: 20px;
    color: var(--text-muted);
    font-weight: 700;
    letter-spacing: 1.5px;
    width: 100%;
    max-width: 1000px;
}

.server-row {
    display: grid;
    grid-template-columns: 2fr 2fr 1fr 1fr;
    padding: 14px 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    align-items: center;
    border-radius: 6px;
    width: 100%;
    max-width: 1000px;
    position: relative;
}

.server-row:hover {
    background: rgba(0, 255, 65, 0.02);
    border-radius: 6px;
    transform: translateX(2px);
    box-shadow: 0 2px 8px rgba(0, 255, 65, 0.08);
    border-left: 2px solid rgba(0, 255, 65, 0.3);
}

.server-row:hover .col-ping {
    text-shadow: 0 0 8px currentColor;
    transform: scale(1.05);
}

.server-row:hover .status-dot.online {
    box-shadow: 0 0 15px var(--color-neon-green);
    animation: statusPulseHover 1s ease-in-out infinite;
}

@keyframes statusPulseHover {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.9;
        transform: scale(1.2);
    }
}

.badge-mini-yt {
    font-size: 0.7rem;
    background: rgba(255, 0, 0, 0.15);
    color: #ff4d4d;
    padding: 4px 8px;
    border-radius: 4px;
    margin-left: 10px;
    vertical-align: middle;
    border: 1px solid rgba(255, 0, 0, 0.3);
}

.status-dot {
    display: inline-block;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    margin-right: 10px;
}

.status-dot.online {
    background: var(--color-neon-green);
    box-shadow: 0 0 10px var(--color-neon-green);
    animation: statusPulse 3s ease-in-out infinite;
}

@keyframes statusPulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.8;
        transform: scale(1.1);
    }
}

.terminal-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 25px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    flex-wrap: wrap;
    gap: 15px;
}

.terminal-footer > span {
    white-space: nowrap;
}

/* ==========================================================================
   13. PRICING SECTION (ФИКС ТЕКСТА ТАРИФОВ)
========================================================================== */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
    gap: 30px;
    align-items: stretch;
    max-width: 1300px;
    margin: 0 auto;
}

.tariff-card {
    padding: 50px 35px;
    display: flex;
    flex-direction: column;
    text-align: center;
    background: var(--color-bg-panel);
    backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-glass);
    transition: var(--transition-normal);
    position: relative;
    word-wrap: break-word;
    word-break: break-word;
    overflow: visible;
    min-height: 600px;
}

.tariff-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.8), 0 0 40px rgba(0, 255, 65, 0.15);
}

.tariff-card .btn {
    margin-top: auto;
}

.popular-plan {
    border-color: var(--color-neon-green);
    background: linear-gradient(180deg, rgba(0, 255, 65, 0.08) 0%, rgba(15, 20, 25, 0.5) 100%);
    transform: scale(1.04);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.6), inset 0 0 25px rgba(0, 255, 65, 0.1);
    z-index: 2;
}

.popular-plan:hover {
    transform: scale(1.04) translateY(-10px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.8), 0 0 50px rgba(0, 255, 65, 0.3);
}

.premium-plan {
    border-color: var(--color-silver);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.08) 0%, rgba(15, 20, 25, 0.5) 100%);
    transition: var(--transition-normal);
}

.premium-plan:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.8), 0 0 40px rgba(255, 255, 255, 0.2);
    border-color: #ffffff;
}

.popular-badge, .premium-badge {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 8px 20px;
    border-radius: 30px;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    white-space: nowrap;
}

.popular-badge {
    background: var(--color-neon-green);
    color: #000000;
    box-shadow: 0 0 20px rgba(0, 255, 65, 0.5);
}

.premium-badge {
    background: var(--color-silver);
    color: #000000;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.5);
}

.card-header {
    margin-bottom: 30px;
}

.plan-name {
    font-size: 2rem;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.plan-desc {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.card-price {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    margin-bottom: 40px;
    flex-wrap: nowrap;
    gap: 0;
    line-height: 1;
    height: 70px;
    position: relative;
}

.currency {
    font-size: 1.8rem;
    font-weight: 700;
    align-self: flex-start;
    margin-top: 5px;
    margin-right: 8px;
    opacity: 0.9;
}

.amount {
    font-family: var(--font-display);
    font-size: 3.2rem;
    font-weight: 900;
    line-height: 1;
    margin: 0;
}

.period {
    color: var(--text-muted);
    font-weight: 500;
    font-size: 0.85rem;
    align-self: flex-end;
    margin-bottom: 10px;
    margin-left: 8px;
    white-space: nowrap;
}

.plan-features {
    text-align: left;
    margin-bottom: 40px;
    flex-grow: 1;
}

.plan-features li {
    padding: 15px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: flex-start;
    gap: 15px;
    color: var(--text-secondary);
    font-size: 1.05rem;
    transition: var(--transition-fast);
}

.plan-features li:hover {
    color: var(--text-primary);
    padding-left: 5px;
}

.plan-features li:last-child {
    border-bottom: none;
}

.check-icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    margin-top: 4px;
    transition: var(--transition-fast);
}

.plan-features li:hover .check-icon {
    transform: scale(1.2);
    filter: drop-shadow(0 0 5px rgba(0, 255, 65, 0.6));
}

.popular-plan .btn-outline-neon {
    background: rgba(0, 255, 65, 0.15);
    border: 2px solid var(--color-neon-green-ultra);
    color: var(--color-neon-green-ultra);
    box-shadow: inset 0 0 25px rgba(10, 255, 90, 0.3), 0 0 40px rgba(10, 255, 90, 0.5);
    font-weight: 800;
}

.popular-plan .btn-outline-neon:hover {
    background: var(--color-neon-green-ultra);
    color: #000000;
    border-color: var(--color-neon-green-ultra);
    box-shadow: inset 0 0 35px rgba(10, 255, 90, 0.6), 0 0 60px rgba(10, 255, 90, 0.8);
    transform: translateY(-4px) scale(1.03);
}

/* Увеличенный знак рубля для зеленых цен */
.text-neon-green.currency {
    font-size: 2rem;
    text-shadow: 0 0 15px rgba(0, 255, 65, 0.5);
}

.text-silver.currency {
    font-size: 2rem;
}

/* ==========================================================================
   14. FAQ И SUPPORT BLOCK
========================================================================== */
.faq-accordion {
    max-width: 950px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
    position: relative;
    z-index: 10; 
}

.faq-item {
    padding: 0;
    overflow: hidden;
    background: var(--color-bg-faq);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 12px;
    transition: var(--transition-normal);
}

.faq-item:hover {
    border-color: rgba(0, 255, 65, 0.4);
    box-shadow: 0 0 20px rgba(0, 255, 65, 0.1);
}

.faq-question {
    padding: 24px 30px; 
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-size: 1.1rem;
    font-family: var(--font-sans);
    font-weight: 600;
    color: #ffffff; 
    transition: var(--transition-fast);
}

.faq-question:hover {
    background: rgba(255, 255, 255, 0.02);
}

.faq-icon-wrapper {
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-fast);
}

.faq-icon {
    width: 20px;
    height: 20px;
    transition: transform 0.4s ease;
    stroke: #ffffff; 
}

.faq-item.active .faq-question {
    color: var(--color-neon-green);
    background: rgba(0, 255, 65, 0.05);
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
    stroke: var(--color-neon-green);
}

.faq-item.active {
    border-color: var(--color-neon-green);
    box-shadow: 0 0 25px rgba(0, 255, 65, 0.15);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.6s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.4s ease;
    background: transparent;
    opacity: 0;
}

.faq-item.active .faq-answer {
    opacity: 1;
}

.faq-answer-inner {
    padding: 0 30px 30px;
}

.faq-answer p {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 15px;
    font-size: 1rem;
}

.faq-answer ul {
    margin-left: 20px;
    list-style-type: disc;
    color: var(--text-secondary);
    font-size: 1rem;
}

.faq-answer li {
    margin-bottom: 10px;
    line-height: 1.7;
}

.support-card {
    max-width: 950px;
    margin: 50px auto 0;
    padding: 50px;
    text-align: center;
    background: var(--color-bg-faq);
    border: 1px solid rgba(0, 255, 65, 0.25);
    border-radius: 20px;
    box-shadow: 0 0 40px rgba(0, 255, 65, 0.08);
    transition: var(--transition-normal);
}

.support-card:hover {
    box-shadow: 0 0 50px rgba(0, 255, 65, 0.15);
    transform: translateY(-5px);
    border-color: rgba(0, 255, 65, 0.4);
}

.support-icon {
    display: inline-flex;
    margin-bottom: 20px;
}

.support-icon svg {
    stroke: var(--color-neon-green-ultra);
    filter: drop-shadow(0 0 15px rgba(0, 255, 65, 0.6));
}

.support-card h2 {
    font-family: var(--font-sans);
    font-size: 1.8rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 20px;
}

.support-card p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto 30px;
    line-height: 1.6;
}

.btn-support-green {
    background: var(--color-neon-green-ultra);
    color: #000000;
    padding: 16px 35px;
    font-weight: 700;
    font-size: 1.05rem;
    font-family: var(--font-sans);
    border-radius: 10px;
    border: 2px solid var(--color-neon-green-ultra);
    text-transform: uppercase;
    letter-spacing: 1px;
    display: inline-block;
    text-decoration: none;
    transition: var(--transition-fast);
    box-shadow: 0 0 25px rgba(10, 255, 90, 0.4);
}

.btn-support-green:hover {
    background: #ffffff;
    border-color: #ffffff;
    box-shadow: 0 0 50px rgba(255, 255, 255, 0.9);
    transform: translateY(-4px) scale(1.03);
}

/* ==========================================================================
   15. LEGAL PAGES (БЕЗ ЗАМОЧКОВ - ЭЛЕГАНТНЫЙ ДИЗАЙН)
========================================================================== */
.legal-hero-section {
    position: relative;
    z-index: var(--z-content);
}

section {
    max-width: 100vw;
    overflow-x: hidden;
}

.legal-clause {
    background: rgba(8, 14, 10, 0.96);
    border: 1px solid rgba(0, 255, 65, 0.2);
    border-radius: 16px;
    padding: 35px;
    margin-bottom: 30px;
    position: relative;
    overflow: hidden;
    box-shadow:
        0 10px 40px rgba(0, 0, 0, 0.8),
        0 0 0 1px rgba(0, 255, 65, 0.05),
        inset 0 1px 0 rgba(0, 255, 65, 0.08);
    z-index: 1;
    transition: var(--transition-normal);
    max-width: 100%;
    word-wrap: break-word;
    overflow-wrap: break-word;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.legal-clause:hover {
    border-color: rgba(0, 255, 65, 0.35);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.85), 0 0 25px rgba(0, 255, 65, 0.1);
    transform: translateY(-3px);
}

.legal-clause h2 {
    font-family: var(--font-orbitron);
    color: var(--color-neon-green);
    font-size: 1.4rem;
    margin-bottom: 25px;
    display: block;
    border-bottom: 1px solid rgba(0, 255, 65, 0.2);
    padding-bottom: 15px;
    text-shadow: 0 0 10px rgba(0, 255, 65, 0.2);
    word-wrap: break-word;
    overflow-wrap: break-word;
    word-break: break-word;
    hyphens: auto;
}

.legal-clause h2::before {
    content: '▸ ';
    color: var(--color-neon-green);
    margin-right: 10px;
}

.legal-clause p, .legal-clause li {
    color: #e2e8f0;
    font-size: 1.05rem;
    line-height: 1.8;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.legal-clause ul {
    margin-left: 20px;
    padding-left: 20px;
}

.legal-clause li {
    margin-bottom: 10px;
}

/* ==========================================================================
   16. FOOTER (ФУТЕР)
========================================================================== */
.cyber-footer {
    background: rgba(3, 4, 7, 0.95); 
    border-top: 1px solid var(--glass-border-strong);
    padding-top: 70px;
    position: relative;
    z-index: var(--z-content);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.8fr 1.1fr 1.1fr;
    gap: 40px;
    margin-bottom: 50px;
}

/* Скругленные блоки для футера на десктопе */
.footer-brand-col {
    background: linear-gradient(135deg, rgba(0, 255, 65, 0.04) 0%, rgba(10, 15, 20, 0.6) 100%);
    border: 1px solid rgba(0, 255, 65, 0.15);
    border-radius: 24px;
    padding: 35px 30px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4), 0 0 20px rgba(0, 255, 65, 0.08);
    transition: var(--transition-normal);
}

.footer-brand-col:hover {
    border-color: rgba(0, 255, 65, 0.25);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5), 0 0 30px rgba(0, 255, 65, 0.12);
    transform: translateY(-3px);
}

.footer-links-col {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 30px 25px;
    transition: var(--transition-normal);
}

.footer-links-col:hover {
    background: rgba(255, 255, 255, 0.03);
    border-color: rgba(255, 255, 255, 0.08);
    transform: translateY(-3px);
}

.footer-links-col h4 {
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(0, 255, 65, 0.15);
}

.footer-menu li {
    margin-bottom: 15px;
}

.footer-menu a {
    color: var(--text-secondary);
    font-size: 0.95rem;
    transition: var(--transition-fast);
    display: block;
    white-space: nowrap;
}

.footer-menu a:hover {
    color: var(--color-neon-green);
    padding-left: 10px;
    text-shadow: 0 0 10px rgba(0, 255, 65, 0.3);
}

.tg-footer-link {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 10px 20px 10px 10px;
    background: rgba(0, 255, 65, 0.06);
    border: 1px solid rgba(0, 255, 65, 0.2);
    border-radius: 50px;
    transition: var(--transition-normal);
    text-decoration: none;
    flex-wrap: nowrap;
    box-shadow: 0 0 15px rgba(0, 255, 65, 0.1);
    max-width: 280px;
}

.tg-icon-circle {
    width: 34px;
    height: 34px;
    min-width: 34px;
    min-height: 34px;
    background: var(--text-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-fast);
    flex-shrink: 0;
}

.tg-icon-circle svg {
    width: 16px;
    height: 16px;
    min-width: 16px;
    min-height: 16px;
    flex-shrink: 0;
}

.tg-text {
    font-size: 0.9rem;
    color: var(--text-secondary);
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    letter-spacing: 0.3px;
}

.tg-footer-link:hover {
    background: rgba(0, 255, 65, 0.12);
    border-color: rgba(0, 255, 65, 0.4);
    transform: translateY(-1px);
    box-shadow: 0 4px 20px rgba(0, 255, 65, 0.25);
}

.tg-footer-link:hover .tg-icon-circle {
    background: var(--color-neon-green);
    box-shadow: 0 0 15px rgba(0, 255, 65, 0.6);
    transform: scale(1.05);
}

.tg-footer-link:hover .tg-text {
    color: var(--text-primary);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 30px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* ==========================================================================
   17. АНИМАЦИИ (РАСШИРЕННЫЕ ПРЕМИАЛЬНЫЕ ЭФФЕКТЫ)
========================================================================== */
@keyframes pulse-green {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(0, 255, 65, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 12px rgba(0, 255, 65, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(0, 255, 65, 0); }
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

@keyframes float-orb {
    0% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(30px, 50px) scale(1.1); }
    100% { transform: translate(0, 0) scale(1); }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes rotateIn {
    from {
        opacity: 0;
        transform: rotate(-10deg) scale(0.9);
    }
    to {
        opacity: 1;
        transform: rotate(0) scale(1);
    }
}

/* Применяем анимации к элементам */
.hero-content {
    animation: fadeIn 1s ease-out;
}

.badge-neon {
    animation: slideInUp 0.6s ease-out 0.2s backwards;
}

.hero-title-wrapper {
    animation: slideInUp 0.8s ease-out 0.4s backwards;
}

.hero-description {
    animation: slideInUp 0.8s ease-out 0.6s backwards;
}

.hero-buttons {
    animation: slideInUp 0.8s ease-out 0.8s backwards;
}

.hero-stats {
    animation: slideInUp 1s ease-out 1s backwards;
}

/* ==========================================================================
   18. РЕСПОНСИВНОСТЬ (АДАПТАЦИЯ ДЛЯ ВСЕХ ЭКРАНОВ БЕЗ СЖАТИЯ)
========================================================================== */

/* ПЛАНШЕТЫ И НОУТБУКИ (Landscape) */
@media (max-width: 1300px) {
    .header-inner { gap: 20px; }
    .desktop-nav { gap: 22px; }
    .nav-link { font-size: 0.78rem; letter-spacing: 1.2px; padding: 12px 0; }
    .nav-link-spaced { margin-right: 25px; }
    
    .telegram-btn-header, .cabinet-btn-header { 
        height: 46px; 
        padding: 0 24px; 
        font-size: 0.78rem; 
        line-height: 42px; 
    }
    
    .hero-title { font-size: 4.5rem; }
    .server-list-header, .server-row { grid-template-columns: 2fr 1fr 1fr; }
    .hide-on-mobile { display: none; }
    
    .pricing-grid { gap: 28px; }
    .tariff-card { padding: 45px 30px; }
    
    .container { padding: 0 35px; }
}

/* ПЛАНШЕТЫ (Portrait) & БОЛЬШИЕ ТЕЛЕФОНЫ */
@media (max-width: 992px) {
    .glass-header {
        padding: 10px 12px;
    }

    /* Фон — убираем fixed на планшетах/мобильных (баг iOS/Android) */
    .ambient-background {
        background-attachment: scroll;
    }
    
    .glass-header .container,
    .glass-header .header-inner {
        padding: 0 !important;
        max-width: 100% !important;
    }

    .glass-header .container.header-inner {
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        padding: 10px 16px !important;
        border-radius: 16px !important;
        box-sizing: border-box !important;
        width: 100% !important;
        overflow: visible !important;
        /* Убираем зелёное свечение на планшете */
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.6) !important;
        border-color: rgba(0, 255, 65, 0.12) !important;
    }
    
    .header-center { 
        display: none !important;
    }
    
    .desktop-nav {
        display: none !important;
    }

    /* Показываем мобильный оверлей (pointer-events управляется JS через is-open) */
    .mobile-nav-overlay {
        display: block;
    }

    .header-left {
        flex: 0 0 auto !important;
    }

    .header-right {
        flex: 0 0 auto !important;
        display: flex !important;
        align-items: center !important;
        gap: 10px !important;
        margin-left: auto !important;
    }

    .header-actions {
        display: flex !important;
        align-items: center !important;
        gap: 10px !important;
        flex-shrink: 0 !important;
    }

    .telegram-btn-header {
        display: none !important;
    }

    .cabinet-btn-header {
        height: 40px !important;
        padding: 0 16px !important;
        font-size: 0.72rem !important;
        line-height: 1 !important;
        white-space: nowrap !important;
        overflow: hidden !important;
        max-width: 140px !important;
        flex-shrink: 0 !important;
    }

    .cabinet-btn-header .icon-right {
        display: none !important;
    }

    /* Логотип — убираем blob-свечение на планшете */
    .logo-icon-img {
        filter: drop-shadow(0 0 4px rgba(0, 255, 65, 0.45)) !important;
    }

    .brand-logo:hover .logo-icon-img {
        filter: drop-shadow(0 0 8px rgba(0, 255, 65, 0.7)) !important;
    }

    .mobile-menu-toggle { 
        display: flex !important;
        flex-shrink: 0 !important;
        margin-left: 8px;
        z-index: 999;
        position: relative;
        width: 44px !important;
        height: 44px !important;
        min-width: 44px !important;
        align-items: center !important;
        justify-content: center !important;
        flex-direction: column !important;
        gap: 5px !important;
        padding: 0 !important;
        border-radius: 12px !important;
    }

    .hamburger-line {
        width: 22px !important;
        height: 2px !important;
        display: block !important;
    }

    .hero-section { padding-top: 140px; padding-bottom: 60px; }
    .hero-title { font-size: 3.5rem; letter-spacing: 2px; }
    .hero-description { font-size: 1.1rem; margin-bottom: 3rem; }
    
    /* Адаптив статистики */
    .hero-stats { 
        flex-wrap: wrap; 
        justify-content: center; 
        gap: 30px; 
        padding-top: 3rem; 
    }
    
    .stat-card {
        min-width: 240px;
        max-width: 280px;
        padding: 25px 20px;
    }
    
    .stat-icon {
        width: 45px;
        height: 45px;
        margin-bottom: 15px;
    }
    
    .stat-icon svg {
        width: 22px;
        height: 22px;
    }
    
    .stat-neon-glow { 
        font-size: 2.5rem; 
        line-height: 1;
    }
    
    .stat-label { 
        font-size: 0.95rem; 
    }
    
    /* Адаптация партнерской страницы */
    .stats-section .hero-stats {
        flex-direction: column;
        gap: 25px;
        padding-top: 0;
    }
    
    .stats-section .stat-card {
        width: 100%;
        max-width: 100%;
        min-width: auto;
        padding: 30px 25px;
        margin: 0;
        border-radius: 20px;
        background: linear-gradient(135deg, rgba(0, 255, 65, 0.08) 0%, rgba(15, 20, 25, 0.9) 100%);
        border: 2px solid rgba(0, 255, 65, 0.3);
        box-shadow: 0 15px 40px rgba(0, 0, 0, 0.7), 0 0 30px rgba(0, 255, 65, 0.15);
    }
    
    .stats-section .stat-neon-glow {
        font-size: 2.8rem;
        margin-bottom: 10px;
    }
    
    .stats-section .stat-label {
        font-size: 0.95rem;
        line-height: 1.5;
    }
    
    .features-grid { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 25px; }
    
    /* Адаптация feature-карточек на мобильных */
    .feature-card {
        padding: 35px 25px;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
    
    .feature-title {
        word-wrap: break-word;
        overflow-wrap: break-word;
        line-height: 1.3;
    }
    
    .feature-desc {
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
    
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
    .footer-brand-col { grid-column: 1 / -1; text-align: center; }
    .footer-brand-col .brand-logo { justify-content: center; }
    .tg-footer-link { margin: 0 auto; }
    
    .popular-plan { transform: scale(1); z-index: 1; }
    .popular-plan:hover { transform: translateY(-10px) scale(1.02); }
    
    .container { padding: 0 30px; }
}

/* СТАНДАРТНЫЕ МОБИЛЬНЫЕ ТЕЛЕФОНЫ */
@media (max-width: 768px) {
    section { padding: 3rem 0; }
    .container { padding: 0 25px; }
    
    /* Адаптация header на мобильных */
    .glass-header {
        padding: 12px 15px;
    }

    .glass-header .container {
        padding: 0 20px;
        max-width: 100%;
    }
    
    .glass-header .header-inner {
        border-radius: 16px;
        padding: 10px 18px;
        margin: 0;
        background: linear-gradient(135deg, rgba(0, 255, 65, 0.06) 0%, rgba(10, 15, 20, 0.88) 100%);
        border: 1px solid rgba(0, 255, 65, 0.12);
        box-shadow: 0 6px 24px rgba(0, 0, 0, 0.7);
    }
    
    /* Адаптация legal-страниц на мобильных */
    .legal-hero-section {
        padding-top: 140px !important;
        padding-bottom: 40px !important;
    }
    
    .legal-hero-section .container {
        padding: 0 20px;
    }
    
    .legal-clause {
        padding: 25px 18px;
        margin-bottom: 20px;
        margin-left: 0;
        margin-right: 0;
        border-radius: 20px;
        background: rgba(6, 12, 8, 0.97);
        border: 1px solid rgba(0, 255, 65, 0.22);
        box-shadow: 0 12px 45px rgba(0, 0, 0, 0.9), 0 0 20px rgba(0, 255, 65, 0.06);
        word-wrap: break-word;
        overflow-wrap: break-word;
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
    }
    
    .legal-clause h2 {
        font-size: 1.15rem;
        margin-bottom: 20px;
        padding-bottom: 12px;
        word-wrap: break-word;
        overflow-wrap: break-word;
        word-break: break-word;
        hyphens: auto;
        line-height: 1.4;
        flex-wrap: wrap !important;
        gap: 10px !important;
    }
    
    .legal-clause h2 svg {
        flex-shrink: 0;
        width: 20px !important;
        height: 20px !important;
    }
    
    .legal-clause p,
    .legal-clause li {
        font-size: 0.95rem;
        line-height: 1.7;
        word-wrap: break-word;
        overflow-wrap: break-word;
        color: #d1d5db;
    }
    
    .legal-clause ul {
        padding-left: 18px;
        margin-left: 0;
    }
    
    .legal-clause li {
        margin-bottom: 12px;
    }
    
    /* Адаптация фона */
    .ambient-background {
        background-size: cover;
        background-position: center;
        background-attachment: scroll;
        filter: brightness(0.30);
    }
    
    .ambient-background::before {
        background-size: 35px 35px;
    }
    
    .glow-orb {
        filter: blur(70px);
        opacity: 0.55;
    }
    
    .orb-1 { width: 300px; height: 300px; }
    .orb-2 { width: 250px; height: 250px; }
    .orb-3 { width: 220px; height: 220px; }
    
    .brand-text .title { font-size: 1.05rem; }
    .brand-text .subtitle { font-size: 0.55rem; letter-spacing: 2.5px; }
    .logo-icon-img { 
        width: 30px; 
        height: 30px;
        filter: drop-shadow(0 0 5px rgba(0, 255, 65, 0.5));
    }

    .telegram-btn-header { display: none; }
    .cabinet-btn-header { 
        height: 38px; 
        padding: 0 12px; 
        font-size: 0.7rem; 
        line-height: 34px;
        border-radius: 10px;
        white-space: nowrap;
        overflow: hidden;
        max-width: 130px;
    }

    .cabinet-btn-header .icon-right {
        display: none;
    }

    /* Прелоадер по центру на мобильных */
    .elite-preloader {
        justify-content: center;
        align-items: center;
        padding: 20px;
    }

    .preloader-core {
        width: 100%;
        max-width: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .terminal-window {
        width: 100%;
        max-width: 100%;
    }

    .hero-section { padding-top: 130px; min-height: auto; padding-bottom: 60px; }
    .hero-title { font-size: 2.8rem; line-height: 1.25; letter-spacing: 1.5px; }
    .badge-neon { font-size: 0.78rem; padding: 10px 18px; margin-bottom: 2.5rem; }
    
    .hero-buttons { flex-direction: column; width: 100%; max-width: 340px; margin: 0 auto 3rem; gap: 18px; }
    .btn-huge-neon, .btn-huge-glass { 
        width: 100%; 
        padding: 0; 
        height: 58px; 
        line-height: 54px; 
        font-size: 1.05rem; 
    }

    /* Кнопки не обрезаются на мобильных */
    .btn-support-green {
        width: 100%;
        max-width: 100%;
        padding: 14px 20px;
        font-size: 0.9rem;
        text-align: center;
        white-space: normal;
        word-break: break-word;
        box-sizing: border-box;
    }

    .btn-outline-neon {
        white-space: normal;
        word-break: break-word;
        text-align: center;
        padding: 12px 20px;
    }

    .btn-infra-stats {
        width: 100%;
        max-width: 320px;
    }
    
    /* Адаптация статистики на мобильных */
    .hero-stats {
        flex-direction: column;
        gap: 20px;
        padding-top: 2.5rem;
    }
    
    .stat-card {
        width: 100%;
        max-width: 100%;
        min-width: auto;
        padding: 25px 20px;
        margin: 0 auto;
    }
    
    .stat-icon {
        width: 40px;
        height: 40px;
        margin-bottom: 15px;
    }
    
    .stat-icon svg {
        width: 20px;
        height: 20px;
    }
    
    .stat-neon-glow {
        font-size: 2.2rem;
        line-height: 1;
    }
    
    .stat-label {
        font-size: 0.9rem;
    }
    
    .section-title { font-size: 2.2rem; margin-bottom: 1.2rem; }
    .section-subtitle { font-size: 1.08rem; line-height: 1.75; }
    
    /* Адаптация feature-grid для партнерской страницы */
    .features-grid {
        grid-template-columns: 1fr !important;
        gap: 20px;
    }
    
    .terminal-window { border-radius: 10px; }
    .terminal-body { padding: 20px 15px; }
    .server-list-header { display: none; } 
    .server-row {
        grid-template-columns: 1fr 1fr;
        gap: 4px 8px;
        text-align: left;
        padding: 12px 8px;
        border-bottom: 1px solid rgba(0, 255, 65, 0.1);
        align-items: center;
    }
    .col-loc { 
        font-weight: 700; 
        font-size: 0.9rem;
        color: #ffffff;
        grid-column: 1 / -1;
    }
    .col-hash { display: none !important; }
    .col-status { 
        display: flex; 
        align-items: center;
        font-size: 0.8rem;
        color: var(--color-neon-green);
        justify-content: flex-start;
    }
    .col-ping { 
        text-align: right !important; 
        font-size: 0.9rem;
        font-weight: 700;
    }
    .terminal-footer { flex-direction: column; gap: 10px; text-align: center; font-size: 0.8rem; }
    
    .pricing-grid { grid-template-columns: 1fr; max-width: 440px; margin: 0 auto; gap: 25px; }
    .tariff-card { min-height: auto; }
    
    .faq-question { padding: 20px 22px; font-size: 1.05rem; }
    .faq-answer-inner { padding: 0 22px 22px; }
    .support-card { padding: 35px 25px; margin-top: 35px; }
    .support-card h2 { font-size: 1.5rem; }
    
    .footer-grid { grid-template-columns: 1fr; text-align: center; gap: 35px; }
    .footer-bottom { flex-direction: column; gap: 15px; text-align: center; }
    
    /* Красивый футер на мобильных */
    .cyber-footer {
        border-top: none;
        padding-top: 50px;
        padding-bottom: 30px;
        background: linear-gradient(180deg, transparent 0%, rgba(3, 4, 7, 0.98) 10%);
    }
    
    .footer-brand-col {
        background: linear-gradient(135deg, rgba(0, 255, 65, 0.05) 0%, rgba(5, 7, 10, 0.8) 100%);
        border: 2px solid rgba(0, 255, 65, 0.2);
        border-radius: 32px;
        padding: 30px 20px;
        box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5), 0 0 30px rgba(0, 255, 65, 0.1);
    }
    
    .footer-links-col {
        background: rgba(255, 255, 255, 0.02);
        border: 1px solid rgba(255, 255, 255, 0.05);
        border-radius: 24px;
        padding: 25px 20px;
    }
    
    .footer-links-col h4 {
        margin-bottom: 20px;
        padding-bottom: 15px;
        border-bottom: 2px solid rgba(0, 255, 65, 0.2);
    }
    
    .tg-footer-link {
        width: 100%;
        max-width: 320px;
        justify-content: center;
        padding: 15px 20px;
        border-radius: 50px;
        background: rgba(0, 255, 65, 0.08);
        border: 2px solid rgba(0, 255, 65, 0.3);
        box-shadow: 0 0 20px rgba(0, 255, 65, 0.2);
    }
    
    .footer-bottom {
        margin-top: 30px;
        padding-top: 25px;
        border-top: 2px solid rgba(0, 255, 65, 0.1);
        background: rgba(0, 255, 65, 0.02);
        border-radius: 20px;
        padding: 20px;
    }
}

/* МАЛЕНЬКИЕ ЭКРАНЫ (iPhone SE) */
@media (max-width: 480px) {
    .container { padding: 0 16px; }
    
    /* Прелоадер строго по центру */
    .elite-preloader {
        justify-content: center;
        align-items: center;
        padding: 15px;
    }

    .preloader-core {
        width: 100%;
        max-width: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .terminal-window {
        width: 100%;
    }
    
    /* Адаптация header на маленьких экранах */
    .glass-header {
        padding: 10px 12px;
    }

    .glass-header .container {
        padding: 0 12px;
        max-width: 100%;
    }

    .glass-header .header-inner {
        border-radius: 14px;
        padding: 8px 12px;
        margin: 0;
        background: linear-gradient(135deg, rgba(0, 255, 65, 0.05) 0%, rgba(10, 15, 20, 0.92) 100%);
        border: 1px solid rgba(0, 255, 65, 0.1);
        box-shadow: 0 6px 20px rgba(0, 0, 0, 0.8);
    }

    .header-actions {
        gap: 8px;
    }

    .cabinet-btn-header {
        height: 34px;
        padding: 0 10px;
        font-size: 0.68rem;
        line-height: 30px;
        border-radius: 8px;
        white-space: nowrap;
        overflow: hidden;
        max-width: 120px;
    }

    .cabinet-btn-header .icon-right {
        display: none;
    }

    /* Логотип — минимальное свечение на маленьких экранах */
    .logo-icon-img {
        filter: drop-shadow(0 0 3px rgba(0, 255, 65, 0.35)) !important;
    }

    .brand-logo:hover .logo-icon-img {
        filter: drop-shadow(0 0 6px rgba(0, 255, 65, 0.6)) !important;
    }
    
    /* Адаптация legal-страниц на маленьких экранах */
    .legal-hero-section {
        padding-top: 130px !important;
        padding-bottom: 35px !important;
    }
    
    .legal-hero-section .container {
        padding: 0 16px;
    }
    
    .legal-hero-section .section-title {
        font-size: 1.8rem;
        line-height: 1.3;
        word-wrap: break-word;
    }
    
    .legal-hero-section .section-subtitle {
        font-size: 1rem;
        line-height: 1.6;
    }
    
    .legal-clause {
        padding: 22px 16px;
        margin-bottom: 18px;
        margin-left: 0;
        margin-right: 0;
        border-radius: 18px;
        background: rgba(6, 12, 8, 0.97);
        border: 1px solid rgba(0, 255, 65, 0.25);
        box-shadow: 0 12px 45px rgba(0, 0, 0, 0.9), 0 0 35px rgba(0, 255, 65, 0.08);
    }
    
    .legal-clause h2 {
        font-size: 1.05rem;
        margin-bottom: 18px;
        padding-bottom: 10px;
        word-wrap: break-word;
        overflow-wrap: break-word;
        word-break: break-word;
        hyphens: auto;
        line-height: 1.4;
        letter-spacing: 0.5px;
        flex-wrap: wrap !important;
        gap: 8px !important;
    }
    
    .legal-clause h2::before {
        margin-right: 8px;
    }
    
    .legal-clause h2 svg {
        flex-shrink: 0;
        width: 18px !important;
        height: 18px !important;
    }
    
    .legal-clause p,
    .legal-clause li {
        font-size: 0.92rem;
        line-height: 1.65;
        word-wrap: break-word;
        overflow-wrap: break-word;
        color: #d1d5db;
    }
    
    .legal-clause ul {
        padding-left: 16px;
        margin-left: 0;
    }
    
    .legal-clause li {
        margin-bottom: 10px;
    }
    
    .legal-clause strong {
        color: var(--color-neon-green);
        font-weight: 700;
    }
    
    /* Адаптация фона для мобильных */
    .ambient-background {
        background-size: cover;
        background-position: center center;
        background-attachment: scroll;
        filter: brightness(0.28);
    }
    
    .ambient-background::before {
        background-size: 30px 30px;
    }
    
    .glow-orb {
        filter: blur(60px);
        opacity: 0.50;
    }
    
    .orb-1 { width: 250px; height: 250px; }
    .orb-2 { width: 200px; height: 200px; }
    .orb-3 { width: 180px; height: 180px; }
    
    /* Адаптация терминала прелоадера */
    .glitch-logo { font-size: 3.2rem; margin-bottom: 2.5rem; }
    .system-text { font-size: 0.95rem; }
    .loading-stats { font-size: 0.85rem; line-height: 2.2; }
    
    .hero-title { font-size: 2.2rem; }
    .hero-description { font-size: 1.05rem; }

    /* Кнопки не обрезаются на маленьких экранах */
    .btn {
        white-space: normal;
        word-break: break-word;
        text-align: center;
    }

    .btn-huge-neon, .btn-huge-glass {
        width: 100%;
        height: auto;
        min-height: 52px;
        padding: 14px 20px;
        line-height: 1.3;
        font-size: 0.95rem;
    }

    .btn-support-green {
        width: 100%;
        max-width: 100%;
        padding: 14px 16px;
        font-size: 0.88rem;
        white-space: normal;
        word-break: break-word;
        text-align: center;
        box-sizing: border-box;
    }
    
    /* Адаптация статистики на очень маленьких экранах */
    .hero-stats {
        gap: 16px;
        padding-top: 2rem;
    }
    
    .stat-card {
        padding: 20px 16px;
    }
    
    .stat-icon {
        width: 35px;
        height: 35px;
        margin-bottom: 12px;
    }
    
    .stat-icon svg {
        width: 18px;
        height: 18px;
    }
    
    .stat-neon-glow { 
        font-size: 2rem; 
        line-height: 1;
    }
    
    .stat-item { 
        gap: 8px; 
    }
    
    .stat-label { 
        font-size: 0.85rem; 
    }
    
    /* Адаптация партнерской страницы на маленьких экранах */
    .stats-section .hero-stats {
        flex-direction: column;
        gap: 18px;
        padding-top: 0;
    }
    
    .stats-section .stat-card {
        width: 100%;
        max-width: 100%;
        min-width: auto;
        padding: 25px 20px;
        margin: 0;
        border-radius: 20px;
        background: linear-gradient(135deg, rgba(0, 255, 65, 0.08) 0%, rgba(15, 20, 25, 0.9) 100%);
        border: 2px solid rgba(0, 255, 65, 0.35);
        box-shadow: 0 15px 50px rgba(0, 0, 0, 0.8), 0 0 40px rgba(0, 255, 65, 0.15);
    }
    
    .stats-section .stat-neon-glow {
        font-size: 2.5rem;
        margin-bottom: 8px;
    }
    
    .stats-section .stat-label {
        font-size: 0.9rem;
        line-height: 1.5;
    }
    
    .feature-card { padding: 35px 25px; }
    .feature-icon-wrapper { width: 55px; height: 55px; }
    .feature-icon-wrapper svg { width: 26px; height: 26px; }
    .feature-title { font-size: 1.25rem; }
    .feature-desc { font-size: 0.98rem; }
    
    /* Адаптация feature-grid для партнерской страницы на маленьких экранах */
    .features-grid {
        grid-template-columns: 1fr !important;
        gap: 18px;
    }
    
    .feature-card {
        padding: 30px 20px;
    }
    
    .amount { font-size: 3rem; }
    .currency { font-size: 1.6rem; margin-right: 6px; }
    .period { font-size: 0.8rem; margin-left: 6px; }
    .card-price { height: 60px; }
    .text-neon-green.currency { font-size: 1.8rem; }
    .text-silver.currency { font-size: 1.8rem; }
    .tariff-card { padding: 40px 25px; min-height: auto; }
    
    .cabinet-btn-header {
        font-size: 0.72rem;
        padding: 0 14px;
        height: 38px;
        line-height: 34px;
        border-radius: 10px;
    }
    .cabinet-btn-header .icon-right { display: none; }
    
    .section-title { font-size: 1.9rem; }
}


/* ==========================================================================
   LEGAL CONTENT WRAPPER (замена glass-panel с padding: 60px)
========================================================================== */
.legal-content-wrapper {
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
}

/* ==========================================================================
   МОБИЛЬНАЯ ОПТИМИЗАЦИЯ — ФИНАЛЬНАЯ ВЕРСИЯ
========================================================================== */

/* ── ПРЕЛОАДЕР: блюр поверх фона страницы ── */
.elite-preloader {
    background: rgba(3, 4, 7, 0.75) !important;
    backdrop-filter: blur(20px) !important;
    -webkit-backdrop-filter: blur(20px) !important;
}

/* ══════════════════════════════════════════════════════
   МОБИЛЬНОЕ МЕНЮ — FULLSCREEN OVERLAY (все экраны ≤992px)
   ══════════════════════════════════════════════════════ */

/* Оверлей — показывается только на ≤992px через медиа-запросы */
.mobile-nav-overlay {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    z-index: 9997;
    background: rgba(3, 4, 7, 0.0);
    backdrop-filter: blur(0px);
    -webkit-backdrop-filter: blur(0px);
    transition: background 0.4s ease, backdrop-filter 0.4s ease;
    pointer-events: none;
}

/* На десктопе — принудительно скрыт */
@media (min-width: 993px) {
    .mobile-nav-overlay {
        display: none !important;
        visibility: hidden !important;
        pointer-events: none !important;
    }
}

.mobile-nav-overlay.is-open {
    background: rgba(2, 3, 5, 0.92);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    pointer-events: all;
}

/* Панель меню — выезжает сверху */
.mobile-nav-panel {
    position: absolute;
    top: 0; left: 0; right: 0;
    background: linear-gradient(160deg,
        rgba(0, 20, 10, 0.99) 0%,
        rgba(3, 8, 5, 0.99) 50%,
        rgba(0, 15, 8, 0.99) 100%
    );
    border-bottom: 1px solid rgba(0, 255, 65, 0.25);
    box-shadow:
        0 30px 80px rgba(0, 0, 0, 0.95),
        0 0 60px rgba(0, 255, 65, 0.08),
        inset 0 0 120px rgba(0, 255, 65, 0.03);
    padding: 0 0 28px;
    transform: translateY(-100%);
    transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 9998;
    overflow: hidden;
}

/* Декоративная зелёная полоса сверху */
.mobile-nav-panel::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: linear-gradient(90deg,
        transparent 0%,
        rgba(0, 255, 65, 0.6) 20%,
        var(--color-neon-green) 50%,
        rgba(0, 255, 65, 0.6) 80%,
        transparent 100%
    );
    box-shadow: 0 0 20px rgba(0, 255, 65, 0.5);
}

/* Фоновый паттерн сетки */
.mobile-nav-panel::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(0, 255, 65, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 255, 65, 0.03) 1px, transparent 1px);
    background-size: 40px 40px;
    pointer-events: none;
}

.mobile-nav-overlay.is-open .mobile-nav-panel {
    transform: translateY(0);
}

/* Шапка панели */
.mobile-nav-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 20px 16px;
    border-bottom: 1px solid rgba(0, 255, 65, 0.12);
    position: relative;
    z-index: 1;
}

.mobile-nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.mobile-nav-logo img {
    width: 34px;
    height: 34px;
    filter: drop-shadow(0 0 10px rgba(0, 255, 65, 0.8));
}

.mobile-nav-logo span {
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 900;
    color: #fff;
    letter-spacing: 3px;
    text-shadow: 0 0 20px rgba(0, 255, 65, 0.3);
}

.mobile-nav-close {
    width: 38px; height: 38px;
    display: flex; align-items: center; justify-content: center;
    background: rgba(255, 50, 50, 0.1);
    border: 1px solid rgba(255, 60, 60, 0.35);
    border-radius: 10px;
    cursor: pointer;
    color: rgba(255, 100, 100, 0.9);
    font-size: 1.1rem;
    font-weight: 700;
    line-height: 1;
    transition: all 0.2s ease;
    position: relative;
    z-index: 1;
}

.mobile-nav-close:active {
    background: rgba(255, 50, 50, 0.25);
    border-color: rgba(255, 60, 60, 0.7);
    transform: scale(0.92);
}

/* Ссылки меню */
.mobile-nav-links {
    display: flex;
    flex-direction: column;
    padding: 10px 16px 0;
    gap: 2px;
    position: relative;
    z-index: 1;
}

.mobile-nav-links a {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 15px 18px;
    font-family: var(--font-display);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 2.5px;
    color: rgba(200, 220, 210, 0.8);
    border-radius: 12px;
    border: 1px solid transparent;
    transition: all 0.22s ease;
    text-decoration: none;
    position: relative;
}

/* Зелёная точка-маркер перед каждым пунктом */
.mobile-nav-links a::before {
    content: '';
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: rgba(0, 255, 65, 0.35);
    flex-shrink: 0;
    transition: all 0.22s ease;
    box-shadow: 0 0 6px rgba(0, 255, 65, 0.2);
}

.mobile-nav-links a:active,
.mobile-nav-links a:hover {
    background: rgba(0, 255, 65, 0.07);
    border-color: rgba(0, 255, 65, 0.2);
    color: var(--color-neon-green);
    padding-left: 22px;
}

.mobile-nav-links a:active::before,
.mobile-nav-links a:hover::before {
    background: var(--color-neon-green);
    box-shadow: 0 0 10px rgba(0, 255, 65, 0.7);
}

/* Разделитель */
.mobile-nav-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0, 255, 65, 0.15), transparent);
    margin: 8px 16px;
}

/* Кнопка кабинета */
.mobile-nav-cabinet {
    margin: 10px 16px 0;
    position: relative;
    z-index: 1;
}

.mobile-nav-cabinet a {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    height: 52px;
    background: linear-gradient(135deg, #00ff41 0%, #00cc33 100%);
    color: #000 !important;
    font-family: var(--font-display);
    font-size: 0.82rem;
    font-weight: 900;
    letter-spacing: 2.5px;
    border-radius: 14px;
    text-decoration: none;
    transition: all 0.25s ease;
    box-shadow:
        0 0 25px rgba(0, 255, 65, 0.45),
        0 8px 20px rgba(0, 0, 0, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.25);
    position: relative;
    overflow: hidden;
}

/* Блик на кнопке */
.mobile-nav-cabinet a::before {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 60%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
    transition: left 0.5s ease;
}

.mobile-nav-cabinet a:active::before {
    left: 150%;
}

.mobile-nav-cabinet a:active {
    transform: scale(0.97);
    box-shadow: 0 0 35px rgba(0, 255, 65, 0.65), 0 4px 12px rgba(0, 0, 0, 0.5);
}

@media (max-width: 768px) {

    /* Фон — убираем тяжёлые частицы, орбы оставляем */
    #particles-canvas { display: none; }

    .glow-orb {
        filter: blur(80px);
        opacity: 0.35;
        animation: none !important;
    }

    /* Упрощаем hover-анимации */
    .stat-card:hover,
    .feature-card:hover,
    .price-card:hover,
    .server-row:hover,
    .terminal-window:hover {
        transform: none !important;
        box-shadow: inherit !important;
    }

    /* Убираем задержки анимаций hero */
    .hero-content,
    .badge-neon,
    .hero-title-wrapper,
    .hero-description,
    .hero-buttons,
    .hero-stats {
        animation: none !important;
        opacity: 1 !important;
        transform: none !important;
    }

    /* ══════════════════════════════════════════
       ХЕДЕР — ПОЛНЫЙ ФИКС ДЛЯ ВСЕХ ТЕЛЕФОНОВ
       ══════════════════════════════════════════ */

    /* Убираем лишние отступы у обёрток хедера */
    .glass-header {
        padding: 8px 10px !important;
    }

    .glass-header .container,
    .glass-header .header-inner {
        padding: 0 !important;
        max-width: 100% !important;
    }

    /* Внутренний контейнер: строгий flex */
    .glass-header .container.header-inner {
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        overflow: visible !important;
        gap: 0 !important;
        padding: 8px 12px !important;
        border-radius: 14px !important;
        box-sizing: border-box !important;
        width: 100% !important;
        /* Убираем зелёное свечение на мобильном */
        box-shadow: 0 6px 20px rgba(0, 0, 0, 0.7) !important;
        border-color: rgba(0, 255, 65, 0.1) !important;
    }

    /* Лого — не сжимается */
    .header-left {
        flex: 0 0 auto !important;
        min-width: 0 !important;
        overflow: hidden !important;
    }

    /* Центр (старый nav) — скрыт полностью */
    .header-center {
        display: none !important;
    }

    /* Правая часть */
    .header-right {
        flex: 0 0 auto !important;
        display: flex !important;
        align-items: center !important;
        gap: 8px !important;
        margin-left: auto !important;
    }

    .header-actions {
        display: flex !important;
        align-items: center !important;
        gap: 8px !important;
        flex-shrink: 0 !important;
    }

    .telegram-btn-header {
        display: none !important;
    }

    /* Кнопка ЛИЧНЫЙ КАБИНЕТ */
    .cabinet-btn-header {
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        height: 36px !important;
        padding: 0 14px !important;
        font-size: 0.65rem !important;
        line-height: 1 !important;
        border-radius: 10px !important;
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
        max-width: 100px !important;
        flex-shrink: 0 !important;
        box-sizing: border-box !important;
        letter-spacing: 1px !important;
    }

    .cabinet-btn-header .icon-right {
        display: none !important;
    }

    /* Бургер */
    .mobile-menu-toggle {
        display: flex !important;
        flex-shrink: 0 !important;
        flex-direction: column !important;
        gap: 5px !important;
        padding: 0 !important;
        width: 40px !important;
        height: 40px !important;
        min-width: 40px !important;
        align-items: center !important;
        justify-content: center !important;
        border-radius: 10px !important;
        box-sizing: border-box !important;
    }

    .hamburger-line {
        width: 22px !important;
        height: 2px !important;
        display: block !important;
    }

    /* Legal страницы */
    .legal-content-wrapper { padding: 0; }
    .legal-clause {
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
}

@media (max-width: 480px) {

    /* Орбы ещё тише */
    .glow-orb {
        filter: blur(60px);
        opacity: 0.25;
    }

    /* Хедер на очень маленьких экранах */
    .glass-header {
        padding: 6px 8px !important;
    }

    .glass-header .container.header-inner {
        padding: 7px 10px !important;
    }

    .cabinet-btn-header {
        height: 34px !important;
        padding: 0 8px !important;
        font-size: 0.58rem !important;
        max-width: 100px !important;
        border-radius: 8px !important;
    }

    .mobile-menu-toggle {
        width: 36px !important;
        height: 36px !important;
        min-width: 36px !important;
        border-radius: 8px !important;
    }

    .hamburger-line {
        width: 18px !important;
    }

    /* Убираем лишние анимации */
    .status-dot.online {
        animation: none;
        box-shadow: 0 0 6px var(--color-neon-green);
    }

    /* Legal страницы */
    .legal-content-wrapper { padding: 0; }

    .legal-clause {
        padding: 20px 14px !important;
        border-radius: 14px !important;
        margin-bottom: 16px !important;
    }

    .legal-clause h2 {
        font-size: 1rem !important;
        gap: 8px !important;
    }

    .legal-clause h2 svg {
        width: 16px !important;
        height: 16px !important;
        flex-shrink: 0;
    }
}


/* ==========================================================================
   MINI PRELOADER (MINIMAL: logo + typing text + progress bar)
========================================================================== */
.mini-preloader {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 28px;
    width: 100%;
    max-width: 420px;
    padding: 0 20px;
}

.mini-logo {
    display: flex;
    align-items: center;
    gap: 14px;
}

.mini-logo-img {
    width: 44px;
    height: 44px;
    filter: drop-shadow(0 0 12px rgba(0, 255, 65, 0.8));
}

.mini-logo-text {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 900;
    color: #ffffff;
    letter-spacing: 2px;
    text-shadow: 0 0 15px rgba(0, 255, 65, 0.4);
}

.mini-status-line {
    display: flex;
    align-items: center;
    gap: 4px;
    min-height: 22px;
}

.mini-status-text {
    font-family: var(--font-mono);
    font-size: 0.85rem;
    color: var(--color-neon-green);
    text-shadow: 0 0 10px rgba(0, 255, 65, 0.6);
    letter-spacing: 1px;
}

.mini-cursor {
    display: inline-block;
    width: 7px;
    height: 15px;
    background: var(--color-neon-green);
    box-shadow: 0 0 8px rgba(0, 255, 65, 0.8);
    animation: cursorBlink 1s step-end infinite;
    flex-shrink: 0;
}

.mini-progress-wrap {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 12px;
}

.mini-progress-track {
    flex: 1;
    height: 4px;
    background: rgba(0, 255, 65, 0.15);
    border-radius: 4px;
    overflow: hidden;
    position: relative;
}

.mini-progress-fill {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, var(--color-neon-green) 0%, var(--color-neon-green-ultra) 100%);
    border-radius: 4px;
    box-shadow: 0 0 10px rgba(0, 255, 65, 0.6);
    transition: width 0.15s ease;
}

.mini-progress-pct {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--color-neon-green);
    min-width: 38px;
    text-align: right;
    text-shadow: 0 0 8px rgba(0, 255, 65, 0.5);
}
