/* ==========================================================================
   NEBODANCE · landing-core.css
   Извлечено из <style> главной страницы (index.php), v1.
   Динамические значения баннера лагеря вынесены в inline-блок шапки.
   Подключать ДО landing-2026.css.
   ========================================================================== */


        *{margin:0;padding:0;box-sizing:border-box}
        :root{--primary:#7c3aed;--primary-light:#a78bfa;--bg-deep:#0c0a1f;--text-primary:#ffffff;--border-glass:rgba(255,255,255,0.1);--radius-full:9999px}
        body{font-family:'Onest',-apple-system,sans-serif;background:var(--bg-deep);color:var(--text-primary);padding-top:100px;overflow-x:hidden}
        .container{max-width:1400px;margin:0 auto;padding:0 2rem;width:100%}
        .landing-main{position:relative;z-index:1;overflow-x:hidden}
        @media (max-width:768px){.container{padding:0 1rem}}
    


        /* ==============================================================
           БАЗОВЫЕ ПЕРЕМЕННЫЕ И СБРОС СТИЛЕЙ
           ============================================================== */
        * { margin: 0; padding: 0; box-sizing: border-box; }

        :root {
            --primary: #7c3aed;
            --primary-light: #a78bfa;
            --primary-dark: #6d28d9;
            --primary-soft: rgba(124, 58, 237, 0.15);
            --primary-glow: rgba(124, 58, 237, 0.5);
            --bg-deep: #0c0a1f;
            --bg-deep-secondary: #14112b;
            --bg-surface: rgba(20, 17, 43, 0.8);
            --bg-glass: rgba(30, 25, 55, 0.7);
            --bg-glass-light: rgba(255, 255, 255, 0.05);
            --bg-elevated: #1e1a35;
            --text-primary: #ffffff;
            --text-secondary: rgba(255, 255, 255, 0.8);
            --text-tertiary: rgba(255, 255, 255, 0.5);
            --text-inverse: #0c0a1f;
            --border-glass: rgba(255, 255, 255, 0.1);
            --border-glass-strong: rgba(255, 255, 255, 0.15);
            --shadow-color: rgba(0, 0, 0, 0.5);
            --shadow-glow: 0 0 30px rgba(124, 58, 237, 0.3);
            --font-display: 'Onest', -apple-system, sans-serif;
            --font-body: 'Onest', system-ui, sans-serif;
            --transition-smooth: cubic-bezier(0.4, 0, 0.2, 1);
            --transition-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
            --transition-spring: cubic-bezier(0.175, 0.885, 0.32, 1.275);
            --radius-sm: 8px;
            --radius-md: 16px;
            --radius-lg: 24px;
            --radius-xl: 32px;
            --radius-2xl: 48px;
            --radius-full: 9999px;
        }

        [data-theme="light"] {
            --primary: #7c3aed;
            --primary-light: #a78bfa;
            --primary-dark: #6d28d9;
            --primary-soft: rgba(124, 58, 237, 0.1);
            --primary-glow: rgba(124, 58, 237, 0.3);
            --bg-deep: #faf9ff;
            --bg-deep-secondary: #ffffff;
            --bg-surface: rgba(255, 255, 255, 0.9);
            --bg-glass: rgba(255, 255, 255, 0.8);
            --bg-glass-light: rgba(124, 58, 237, 0.05);
            --bg-elevated: #f4f2f7;
            --text-primary: #1e1b2e;
            --text-secondary: #4a4556;
            --text-tertiary: #78748c;
            --text-inverse: #ffffff;
            --border-glass: rgba(124, 58, 237, 0.1);
            --border-glass-strong: rgba(124, 58, 237, 0.2);
            --shadow-color: rgba(124, 58, 237, 0.1);
            --shadow-glow: 0 0 30px rgba(124, 58, 237, 0.15);
            color-scheme: light;
        }

        html {
            overflow-x: hidden;
            width: 100%;
            scroll-behavior: smooth;
        }

        body {
            font-family: var(--font-body);
            background: var(--bg-deep);
            color: var(--text-primary);
            margin: 0;
            padding: 0;
            min-height: 100vh;
            line-height: 1.5;
            -webkit-font-smoothing: antialiased;
            overflow-x: hidden;
            width: 100%;
            position: relative;
            transition: background 0.5s ease;
            padding-top: 100px;
        }

        .landing-main {
            position: relative;
            z-index: 1;
            overflow-x: hidden;
            width: 100%;
        }

        .container {
            max-width: 1400px;
            margin: 0 auto;
            padding: 0 2rem;
            position: relative;
            z-index: 2;
            width: 100%;
            box-sizing: border-box;
        }

        .groups-section-hidden {
            display: none !important;
        }

        /* ==============================================================
           ПОГОДНЫЕ ЭФФЕКТЫ
           ============================================================== */
        
        .weather-overlay {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            pointer-events: none;
            z-index: 0;
            overflow: hidden;
        }

        .weather-rain .weather-overlay {
            background: linear-gradient(135deg, rgba(0,0,0,0.15) 0%, rgba(0,0,0,0.25) 100%);
        }

        .rain-droplet {
            position: absolute;
            background: linear-gradient(135deg, rgba(255,255,255,0.4), rgba(255,255,255,0.1));
            border-radius: 0 0 50% 50%;
            pointer-events: none;
            animation: rainFall linear infinite;
        }

        @keyframes rainFall {
            0% { transform: translateY(-100px) translateX(0); opacity: 0.6; }
            100% { transform: translateY(100vh) translateX(20px); opacity: 0; }
        }

        .weather-clear .landing-main {
            background: radial-gradient(ellipse at 30% 20%, rgba(245,166,35,0.08) 0%, transparent 60%);
        }

        .sun-glow {
            position: fixed;
            top: -20%;
            right: -20%;
            width: 60%;
            height: 60%;
            background: radial-gradient(circle, rgba(245, 166, 35, 0.12) 0%, rgba(245, 166, 35, 0) 70%);
            border-radius: 50%;
            pointer-events: none;
            z-index: 0;
            animation: sunPulse 6s ease-in-out infinite;
        }

        @keyframes sunPulse {
            0%, 100% { transform: scale(1); opacity: 0.4; }
            50% { transform: scale(1.08); opacity: 0.7; }
        }

        .weather-clouds .weather-overlay {
            background: radial-gradient(ellipse at 50% 30%, rgba(100,100,120,0.1) 0%, transparent 70%);
        }

        .cloud-overlay {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: repeating-linear-gradient(
                transparent,
                transparent 50%,
                rgba(150, 150, 170, 0.02) 50%,
                rgba(150, 150, 170, 0.04) 100%
            );
            pointer-events: none;
        }

        .weather-snow .weather-overlay {
            background: linear-gradient(135deg, rgba(200,220,255,0.08) 0%, rgba(200,220,255,0.03) 100%);
        }

        .snow-flake {
            position: absolute;
            background: white;
            border-radius: 50%;
            pointer-events: none;
            animation: snowFall linear infinite;
            filter: blur(0.5px);
        }

        @keyframes snowFall {
            0% { transform: translateY(-100px) rotate(0deg); opacity: 0.7; }
            100% { transform: translateY(100vh) rotate(360deg); opacity: 0; }
        }

        .weather-widget {
            position: fixed;
            bottom: 20px;
            left: 20px;
            z-index: 9999;
            background: var(--bg-glass);
            backdrop-filter: blur(10px);
            border: 1px solid var(--border-glass);
            border-radius: var(--radius-full);
            padding: 0.6rem 1.2rem;
            display: flex;
            align-items: center;
            gap: 0.6rem;
            font-size: 0.875rem;
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
            transition: all 0.3s ease;
            cursor: pointer;
            font-weight: 500;
        }

        .weather-widget:hover {
            transform: translateY(-3px);
            border-color: var(--primary-light);
            box-shadow: var(--shadow-glow);
        }

        .weather-widget-icon { font-size: 1.3rem; }
        .weather-widget-temp { font-weight: 700; color: var(--text-primary); }
        .weather-widget-desc { color: var(--text-secondary); font-size: 0.8rem; }
        .weather-widget-source {
            font-size: 0.65rem;
            color: var(--text-tertiary);
            margin-left: 0.5rem;
            padding-left: 0.5rem;
            border-left: 1px solid var(--border-glass);
        }
        
        /* ==============================================================
           ДИНАМИЧЕСКИЙ БАННЕР ЛАГЕРЯ
           ============================================================== */
        
        .camp-banner-section {
            --camp-dominant: #7c3aed;
            --camp-accent-1: #a78bfa;
            --camp-accent-2: #f472b6;
            --camp-text: #ffffff;
            position: relative;
            padding: 5rem 0;
            background: var(--bg-deep);
            overflow: hidden;
            isolation: isolate;
        }

        .camp-banner-section::before {
            content: '';
            position: absolute;
            inset: -50%;
            width: 200%;
            height: 200%;
            background: 
                radial-gradient(ellipse at 20% 50%, color-mix(in srgb, var(--camp-dominant) 15%, transparent) 0%, transparent 50%),
                radial-gradient(ellipse at 80% 20%, color-mix(in srgb, var(--camp-accent-2) 10%, transparent) 0%, transparent 50%),
                radial-gradient(ellipse at 50% 80%, color-mix(in srgb, var(--camp-accent-1) 8%, transparent) 0%, transparent 50%);
            animation: bgDrift 20s ease-in-out infinite;
            pointer-events: none;
            z-index: 0;
        }

        @keyframes bgDrift {
            0%, 100% { transform: translate(0, 0) rotate(0deg); }
            33% { transform: translate(2%, -1%) rotate(1deg); }
            66% { transform: translate(-1%, 1%) rotate(-1deg); }
        }

        .camp-banner {
            position: relative;
            display: grid;
            grid-template-columns: 1.2fr 0.8fr;
            gap: 3rem;
            align-items: center;
            border-radius: var(--radius-2xl);
            padding: 3.5rem 4rem;
            overflow: hidden;
            transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
            z-index: 1;
            min-height: 480px;
        }

        .camp-banner-bg {
            position: absolute;
            inset: 0;
            background-size: cover;
            background-position: center;
            background-repeat: no-repeat;
            z-index: 0;
            transition: transform 0.5s ease;
        }
        
        .camp-banner:hover .camp-banner-bg {
            transform: scale(1.02);
        }
        
        .camp-banner-bg::after {
            content: '';
            position: absolute;
            inset: 0;
            background: linear-gradient(135deg, 
                color-mix(in srgb, var(--camp-dominant) 50%, transparent) 0%,
                color-mix(in srgb, var(--camp-dominant) 30%, transparent) 50%,
                transparent 100%
            );
            pointer-events: none;
        }

        .camp-banner.no-image .camp-banner-bg {
            background: linear-gradient(135deg, 
                color-mix(in srgb, var(--camp-dominant) 70%, #000) 0%,
                color-mix(in srgb, var(--camp-accent-2) 50%, #000) 100%
            );
        }

        .camp-banner:hover {
            transform: translateY(-6px);
            box-shadow: 0 40px 80px -20px color-mix(in srgb, var(--camp-dominant) 50%, transparent);
        }

        .camp-banner-dots {
            position: absolute;
            inset: 0;
            background-image: radial-gradient(circle, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
            background-size: 30px 30px;
            pointer-events: none;
            z-index: 0;
            mask-image: radial-gradient(ellipse at center, black 40%, transparent 70%);
        }

        .camp-banner-content {
            position: relative;
            z-index: 2;
            color: var(--camp-text);
        }

        .camp-banner-tag {
            display: inline-flex;
            align-items: center;
            gap: 0.5rem;
            background: color-mix(in srgb, var(--camp-text) 15%, transparent);
            backdrop-filter: blur(15px);
            padding: 0.5rem 1.5rem;
            border-radius: var(--radius-full);
            font-size: 0.8rem;
            font-weight: 700;
            letter-spacing: 0.25em;
            text-transform: uppercase;
            margin-bottom: 1.5rem;
            border: 1px solid color-mix(in srgb, var(--camp-text) 25%, transparent);
            color: var(--camp-text);
        }

        .camp-banner-tag i {
            font-size: 0.7rem;
            animation: tagPulse 2s ease-in-out infinite;
            color: var(--camp-accent-1);
        }

        @keyframes tagPulse {
            0%, 100% { opacity: 0.6; transform: scale(1); }
            50% { opacity: 1; transform: scale(1.1); }
        }

        .camp-banner-title {
            font-size: clamp(2.8rem, 6vw, 4.5rem);
            font-weight: 900;
            line-height: 1.05;
            margin-bottom: 1.2rem;
            letter-spacing: -0.03em;
            background: linear-gradient(135deg, 
                var(--camp-text) 0%, 
                var(--camp-accent-1) 50%, 
                var(--camp-accent-2) 100%
            );
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.2));
        }

        .camp-banner-subtitle {
            font-size: 1.2rem;
            opacity: 0.95;
            margin-bottom: 2rem;
            max-width: 550px;
            line-height: 1.7;
            font-weight: 400;
            color: var(--camp-text);
            text-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
        }

        .camp-banner-features {
            display: flex;
            flex-wrap: wrap;
            gap: 0.75rem;
            margin-bottom: 2.5rem;
        }

        .camp-feature {
            display: flex;
            align-items: center;
            gap: 0.6rem;
            background: color-mix(in srgb, var(--camp-dominant) 40%, transparent);
            backdrop-filter: blur(10px);
            padding: 0.65rem 1.4rem;
            border-radius: var(--radius-full);
            font-weight: 600;
            font-size: 0.9rem;
            border: 1px solid color-mix(in srgb, var(--camp-text) 15%, transparent);
            transition: all 0.3s ease;
            position: relative;
            overflow: hidden;
            color: var(--camp-text);
        }

        .camp-feature::before {
            content: '';
            position: absolute;
            inset: 0;
            background: linear-gradient(135deg, color-mix(in srgb, var(--camp-accent-1) 30%, transparent), transparent);
            opacity: 0;
            transition: opacity 0.3s ease;
        }

        .camp-feature:hover {
            background: color-mix(in srgb, var(--camp-dominant) 55%, transparent);
            border-color: color-mix(in srgb, var(--camp-accent-1) 50%, transparent);
            transform: translateY(-2px);
            box-shadow: 0 8px 25px color-mix(in srgb, var(--camp-accent-1) 15%, transparent);
        }

        .camp-feature:hover::before {
            opacity: 1;
        }

        .camp-feature i {
            font-size: 1rem;
            color: var(--camp-accent-1);
            filter: drop-shadow(0 0 6px color-mix(in srgb, var(--camp-accent-1) 50%, transparent));
        }

        .camp-banner-visual {
            position: relative;
            z-index: 2;
            display: flex;
            justify-content: center;
            align-items: center;
            perspective: 1000px;
        }

        .camp-banner-icon-wrapper {
            position: relative;
            width: 280px;
            height: 280px;
            display: flex;
            align-items: center;
            justify-content: center;
            animation: float3D 8s ease-in-out infinite;
            transform-style: preserve-3d;
            will-change: transform;
        }

        @keyframes float3D {
            0%, 100% { 
                transform: translateY(0) rotateY(0deg) rotateX(0deg);
            }
            25% { 
                transform: translateY(-15px) rotateY(8deg) rotateX(5deg);
            }
            50% { 
                transform: translateY(-25px) rotateY(-5deg) rotateX(-3deg);
            }
            75% { 
                transform: translateY(-10px) rotateY(3deg) rotateX(2deg);
            }
        }

        .camp-banner-icon-ring {
            position: absolute;
            border-radius: 50%;
            border: 2px solid rgba(255, 255, 255, 0.1);
            animation: ringRotate 12s linear infinite;
        }

        .camp-banner-icon-ring:nth-child(1) {
            width: 100%;
            height: 100%;
            border-color: color-mix(in srgb, var(--camp-accent-1) 20%, transparent);
            animation-duration: 15s;
        }

        .camp-banner-icon-ring:nth-child(2) {
            width: 75%;
            height: 75%;
            border-color: color-mix(in srgb, var(--camp-text) 15%, transparent);
            animation-duration: 10s;
            animation-direction: reverse;
        }

        .camp-banner-icon-ring:nth-child(3) {
            width: 50%;
            height: 50%;
            border-color: color-mix(in srgb, var(--camp-accent-2) 25%, transparent);
            animation-duration: 8s;
        }

        @keyframes ringRotate {
            from { transform: rotate(0deg); }
            to { transform: rotate(360deg); }
        }

        .camp-banner-icon {
            position: relative;
            z-index: 1;
            font-size: 8rem;
            color: var(--camp-accent-1);
            filter: drop-shadow(0 0 40px color-mix(in srgb, var(--camp-accent-1) 60%, transparent))
                    drop-shadow(0 0 80px color-mix(in srgb, var(--camp-accent-1) 30%, transparent))
                    drop-shadow(0 10px 30px rgba(0, 0, 0, 0.5));
            animation: starGlow 3s ease-in-out infinite;
            will-change: filter;
        }

        @keyframes starGlow {
            0%, 100% { 
                filter: drop-shadow(0 0 40px color-mix(in srgb, var(--camp-accent-1) 60%, transparent))
                        drop-shadow(0 0 80px color-mix(in srgb, var(--camp-accent-1) 30%, transparent))
                        drop-shadow(0 10px 30px rgba(0, 0, 0, 0.5));
            }
            50% { 
                filter: drop-shadow(0 0 60px color-mix(in srgb, var(--camp-accent-1) 90%, transparent))
                        drop-shadow(0 0 120px color-mix(in srgb, var(--camp-accent-1) 50%, transparent))
                        drop-shadow(0 10px 30px rgba(0, 0, 0, 0.5));
            }
        }

        .camp-btn {
            display: inline-flex;
            align-items: center;
            gap: 0.75rem;
            padding: 1.2rem 2.8rem;
            background: linear-gradient(135deg, 
                color-mix(in srgb, var(--camp-accent-1) 100%, white) 0%,
                color-mix(in srgb, var(--camp-accent-2) 100%, white) 100%
            );
            color: var(--camp-text);
            border-radius: var(--radius-full);
            font-weight: 700;
            font-size: 1.1rem;
            text-decoration: none;
            transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
            box-shadow: 
                0 15px 40px color-mix(in srgb, var(--camp-dominant) 40%, transparent),
                0 0 0 1px color-mix(in srgb, var(--camp-text) 15%, transparent) inset;
            border: none;
            cursor: pointer;
            position: relative;
            overflow: hidden;
            letter-spacing: 0.02em;
        }

        .camp-btn::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(
                90deg, 
                transparent, 
                color-mix(in srgb, var(--camp-text) 30%, transparent), 
                transparent
            );
            transition: left 0.6s ease;
        }

        .camp-btn::after {
            content: '';
            position: absolute;
            inset: -2px;
            border-radius: var(--radius-full);
            background: linear-gradient(135deg, var(--camp-accent-1), var(--camp-accent-2), var(--camp-dominant));
            z-index: -1;
            opacity: 0;
            transition: opacity 0.4s ease;
        }

        .camp-btn:hover {
            transform: translateY(-4px) scale(1.02);
            box-shadow: 
                0 25px 50px color-mix(in srgb, var(--camp-dominant) 50%, transparent),
                0 0 0 1px color-mix(in srgb, var(--camp-text) 25%, transparent) inset;
            gap: 1.25rem;
        }

        .camp-btn:hover::before {
            left: 100%;
        }

        .camp-btn:hover::after {
            opacity: 1;
        }

        .camp-btn i:last-child {
            transition: transform 0.3s ease;
        }

        .camp-btn:hover i:last-child {
            transform: translateX(5px);
        }

        [data-theme="light"] .camp-banner {
            box-shadow: 0 30px 60px -20px color-mix(in srgb, var(--camp-dominant) 30%, transparent);
        }
        
        [data-theme="light"] .camp-feature {
            background: color-mix(in srgb, var(--camp-dominant) 15%, white);
            color: var(--camp-dominant);
        }
        
        [data-theme="light"] .camp-feature i {
            color: var(--camp-accent-1);
        }
        
        [data-theme="light"] .camp-btn {
            background: linear-gradient(135deg, var(--camp-accent-1), var(--camp-accent-2));
            color: white;
        }

        /* ==============================================================
           ГИПЕР-БАННЕР ОТЧЕТНОГО ФЕСТИВАЛЯ
           ============================================================== */
        .hyper-event-section {
            position: relative;
            padding: 7rem 0;
            background: var(--bg-deep);
            overflow: hidden;
            isolation: isolate;
        }

        .hyper-event-canvas {
            position: absolute;
            inset: 0;
            width: 100%;
            height: 100%;
            pointer-events: none;
            z-index: 1;
            opacity: 0.4;
        }

        .hyper-event-noise {
            position: absolute;
            inset: 0;
            background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.05'/%3E%3C/svg%3E");
            background-size: 200px 200px;
            pointer-events: none;
            z-index: 0;
        }

        .hyper-event-rays {
            position: absolute;
            inset: 0;
            background: radial-gradient(ellipse at 30% 50%, rgba(124, 58, 237, 0.15) 0%, transparent 60%),
                        radial-gradient(ellipse at 70% 20%, rgba(236, 72, 153, 0.1) 0%, transparent 60%);
            pointer-events: none;
            z-index: 0;
            animation: raysPulse 8s ease-in-out infinite alternate;
        }

        @keyframes raysPulse {
            0% { opacity: 0.6; transform: scale(1); }
            100% { opacity: 1; transform: scale(1.05); }
        }

        .hyper-event-container {
            position: relative;
            z-index: 2;
        }

        .hyper-event-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 4rem;
            align-items: center;
        }

        .hyper-event-info {
            color: var(--text-primary);
        }

        .hyper-event-eyebrow {
            display: flex;
            gap: 2rem;
            align-items: center;
            margin-bottom: 2rem;
            flex-wrap: wrap;
        }

        .hyper-event-live-badge {
            display: inline-flex;
            align-items: center;
            gap: 0.5rem;
            background: rgba(255, 0, 85, 0.1);
            border: 1px solid rgba(255, 0, 85, 0.3);
            padding: 0.4rem 1.2rem;
            border-radius: var(--radius-full);
            font-weight: 700;
            font-size: 0.8rem;
            letter-spacing: 0.1em;
            text-transform: uppercase;
            color: #ff4785;
            backdrop-filter: blur(5px);
        }

        .live-dot {
            width: 8px;
            height: 8px;
            border-radius: 50%;
            background: #ff0055;
            box-shadow: 0 0 10px #ff0055;
            animation: livePulse 1.5s infinite;
        }

        @keyframes livePulse {
            0%, 100% { opacity: 1; transform: scale(1); }
            50% { opacity: 0.5; transform: scale(1.5); }
        }

        .hyper-event-series {
            font-size: 0.9rem;
            font-weight: 500;
            color: var(--text-secondary);
            letter-spacing: 0.05em;
        }

        .hyper-event-title {
            font-size: clamp(3.5rem, 8vw, 6.5rem);
            font-weight: 900;
            line-height: 0.9;
            margin-bottom: 2rem;
            letter-spacing: -0.03em;
        }

        .title-line {
            display: block;
            background: linear-gradient(135deg, var(--text-primary) 20%, var(--primary-light) 80%);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }

        .title-line.accent {
            background: linear-gradient(135deg, #f472b6, #7c3aed);
            -webkit-background-clip: text;
            background-clip: text;
        }

        .hyper-event-meta {
            display: flex;
            flex-wrap: wrap;
            gap: 2rem;
            margin-bottom: 2rem;
        }

        .meta-item {
            display: flex;
            align-items: center;
            gap: 0.8rem;
            font-size: 1.1rem;
            font-weight: 500;
            color: var(--text-secondary);
            transition: color 0.3s, transform 0.3s;
        }

        .meta-item i {
            font-size: 1.3rem;
            color: var(--primary-light);
            transition: transform 0.3s;
        }

        .meta-item:hover {
            color: var(--text-primary);
            transform: translateX(5px);
        }
        .meta-item:hover i {
            transform: scale(1.2);
        }

        .hyper-event-description {
            font-size: 1.2rem;
            line-height: 1.7;
            color: var(--text-secondary);
            max-width: 450px;
            margin-bottom: 2.5rem;
        }

        .hyper-event-cta {
            position: relative;
            display: inline-flex;
            align-items: center;
            gap: 1rem;
            padding: 1.3rem 3rem;
            background: linear-gradient(135deg, #ffffff 0%, #f0e7ff 100%);
            color: #2d1b69;
            border-radius: var(--radius-full);
            font-weight: 700;
            font-size: 1.1rem;
            letter-spacing: 0.02em;
            text-decoration: none;
            box-shadow: 0 15px 40px rgba(124, 58, 237, 0.4), 0 0 0 1px rgba(255,255,255,0.1) inset;
            transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
            overflow: hidden;
            isolation: isolate;
        }

        .hyper-event-cta::before {
            content: '';
            position: absolute;
            inset: 0;
            background: linear-gradient(135deg, #fbbf24, #f472b6);
            opacity: 0;
            transition: opacity 0.4s;
            z-index: -1;
        }

        .hyper-event-cta:hover::before {
            opacity: 1;
        }

        .hyper-event-cta:hover {
            transform: translateY(-5px);
            box-shadow: 0 25px 50px rgba(124, 58, 237, 0.6);
            color: #fff;
            gap: 1.5rem;
        }

        .cta-glow {
            position: absolute;
            inset: -4px;
            border-radius: 40px;
            background: linear-gradient(135deg, #7c3aed, #f472b6);
            filter: blur(15px);
            opacity: 0;
            transition: opacity 0.4s;
            z-index: -2;
        }

        .hyper-event-cta:hover .cta-glow {
            opacity: 0.5;
        }

        .cta-icon i {
            transition: transform 0.3s;
        }

        .hyper-event-cta:hover .cta-icon i {
            transform: translateX(6px);
        }

        .hyper-event-visual {
            display: flex;
            justify-content: center;
            align-items: center;
            perspective: 1000px;
        }

        .hyper-event-poster-wrapper {
            position: relative;
            width: 100%;
            max-width: 450px;
            aspect-ratio: 3/4;
        }

        .hyper-event-poster {
            position: relative;
            width: 100%;
            height: 100%;
            border-radius: var(--radius-2xl);
            overflow: hidden;
            box-shadow: 0 30px 60px -15px rgba(124, 58, 237, 0.5);
            transform: rotateY(-3deg) rotateX(2deg);
            transition: transform 0.4s ease;
            background: var(--bg-elevated);
        }

        .hyper-event-poster:hover {
            transform: rotateY(0deg) rotateX(0deg) scale(1.02);
            box-shadow: 0 40px 80px -20px rgba(124, 58, 237, 0.6);
        }

        .hyper-event-poster img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            display: block;
        }

        .poster-shine {
            position: absolute;
            top: 0;
            left: -75%;
            width: 50%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
            transform: skewX(-25deg);
            animation: shine 3s infinite;
        }

        @keyframes shine {
            0% { left: -75%; }
            100% { left: 125%; }
        }

        .floating-accent {
            position: absolute;
            font-size: 2rem;
            color: var(--primary-light);
            filter: drop-shadow(0 0 15px var(--primary-glow));
            animation: float 6s ease-in-out infinite;
            pointer-events: none;
            will-change: transform;
        }

        .accent-1 { top: 10%; left: -10%; animation-delay: 0s; }
        .accent-2 { bottom: 15%; right: -5%; animation-delay: 1.5s; font-size: 1.5rem; }
        .accent-3 { top: 50%; right: -15%; animation-delay: 3s; }

        @keyframes float {
            0%, 100% { transform: translateY(0) rotate(0deg); }
            50% { transform: translateY(-20px) rotate(10deg); }
        }

        /* ==============================================================
           ОСНОВНЫЕ СТИЛИ СТРАНИЦЫ
           ============================================================== */

        .scroll-top {
            position: fixed;
            bottom: 100px;
            right: 30px;
            z-index: 9998;
            width: 50px;
            height: 50px;
            border-radius: 25px;
            background: var(--bg-glass);
            backdrop-filter: blur(10px);
            border: 1px solid var(--border-glass-strong);
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            box-shadow: 0 10px 30px -10px var(--shadow-color);
            transition: all 0.3s var(--transition-bounce);
            opacity: 0;
            transform: translateY(20px);
            pointer-events: none;
            color: var(--primary);
            font-size: 24px;
        }
        .scroll-top.visible { opacity: 1; transform: translateY(0); pointer-events: all; }
        .scroll-top:hover { transform: scale(1.1) translateY(-5px); box-shadow: var(--shadow-glow); background: var(--primary); color: white; }

        /* ==============================================================
           ГАЛЕРЕЯ С ПРОСМОТРОМ ФОТО
           ============================================================== */
        .gallery-modal {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.95);
            z-index: 20000;
            align-items: center;
            justify-content: center;
            opacity: 0;
            transition: opacity 0.3s ease;
            backdrop-filter: blur(10px);
        }
        .gallery-modal.show { display: flex; opacity: 1; }
        .gallery-modal-content {
            position: relative;
            width: 90%;
            max-width: 1200px;
            height: 90%;
            max-height: 90vh;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
        }
        .gallery-modal-close {
            position: absolute;
            top: 20px;
            right: 30px;
            width: 50px;
            height: 50px;
            border-radius: 25px;
            background: rgba(255, 255, 255, 0.1);
            border: 1px solid rgba(255, 255, 255, 0.2);
            color: white;
            font-size: 28px;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: all 0.3s ease;
            z-index: 10;
        }
        .gallery-modal-close:hover { background: rgba(255, 255, 255, 0.2); transform: scale(1.1) rotate(90deg); }
        .gallery-modal-main {
            position: relative;
            width: 100%;
            height: 70%;
            display: flex;
            align-items: center;
            justify-content: center;
        }
        .gallery-modal-image {
            max-width: 100%;
            max-height: 100%;
            object-fit: contain;
            border-radius: var(--radius-xl);
            box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
            animation: zoomIn 0.3s ease;
        }
        @keyframes zoomIn {
            from { opacity: 0; transform: scale(0.9); }
            to { opacity: 1; transform: scale(1); }
        }
        .gallery-nav-btn {
            position: absolute;
            top: 50%;
            transform: translateY(-50%);
            width: 60px;
            height: 60px;
            border-radius: 30px;
            background: rgba(255, 255, 255, 0.1);
            backdrop-filter: blur(10px);
            border: 1px solid rgba(255, 255, 255, 0.2);
            color: white;
            font-size: 24px;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: all 0.3s ease;
            z-index: 10;
        }
        .gallery-nav-btn:hover { background: var(--primary); transform: translateY(-50%) scale(1.1); box-shadow: var(--shadow-glow); }
        .gallery-prev { left: 20px; }
        .gallery-next { right: 20px; }
        .gallery-modal-info { margin-top: 20px; text-align: center; color: white; }
        .gallery-modal-caption { font-size: 1.1rem; margin-bottom: 8px; }
        .gallery-modal-counter { font-size: 0.9rem; opacity: 0.7; }
        .gallery-modal-thumbnails {
            display: flex;
            gap: 10px;
            justify-content: center;
            margin-top: 20px;
            overflow-x: auto;
            padding: 10px;
            max-width: 100%;
            scrollbar-width: thin;
        }
        .gallery-modal-thumbnails::-webkit-scrollbar { height: 4px; }
        .gallery-modal-thumbnails::-webkit-scrollbar-track { background: rgba(255,255,255,0.1); border-radius: 2px; }
        .gallery-modal-thumbnails::-webkit-scrollbar-thumb { background: var(--primary); border-radius: 2px; }
        .gallery-thumb {
            width: 60px;
            height: 60px;
            border-radius: 8px;
            object-fit: cover;
            cursor: pointer;
            border: 2px solid transparent;
            transition: all 0.3s ease;
            opacity: 0.6;
        }
        .gallery-thumb:hover { opacity: 1; transform: scale(1.05); }
        .gallery-thumb.active { border-color: var(--primary); opacity: 1; }

        .schedule-section, .vk-news-section, .teachers-gallery-section, .about-section, .rental-section, .login-section { 
            padding: 6rem 0; 
            position: relative; 
            overflow: hidden;
            width: 100%;
        }
        .schedule-section { background: var(--bg-deep-secondary); }
        .vk-news-section { background: var(--bg-deep-secondary); }
        .teachers-gallery-section { background: var(--bg-deep); }
        .groups-section { background: var(--bg-deep); }
        .about-section { background: var(--bg-deep-secondary); }
        .rental-section { background: var(--bg-deep); }
        .login-section { background: var(--bg-deep-secondary); }

        .section-header { text-align: center; margin-bottom: 4rem; }
        .section-tag {
            display: inline-block;
            font-size: 0.875rem;
            font-weight: 600;
            letter-spacing: 0.2em;
            text-transform: uppercase;
            color: var(--primary-light);
            margin-bottom: 1rem;
            padding: 0.5rem 1rem;
            background: var(--bg-glass);
            backdrop-filter: blur(10px);
            border: 1px solid var(--border-glass);
            border-radius: var(--radius-full);
        }
        .section-title {
            font-size: clamp(2rem, 8vw, 4rem);
            font-weight: 700;
            line-height: 1.1;
            letter-spacing: -0.02em;
            color: var(--text-primary);
            margin-bottom: 1.5rem;
        }
        .section-title--gradient {
            background: linear-gradient(135deg, var(--primary), var(--primary-light), #f472b6);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            background-size: 200% 200%;
            animation: gradientFlow 8s ease infinite;
        }
        @keyframes gradientFlow {
            0%, 100% { background-position: 0% 50%; }
            50% { background-position: 100% 50%; }
        }
        .section-subtitle { font-size: 1.25rem; color: var(--text-secondary); max-width: 600px; margin: 0 auto; line-height: 1.6; }

        .teachers-grid {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 0.8rem;
            margin-bottom: 3rem;
        }
        .teacher-tab {
            display: flex;
            flex-direction: column;
            align-items: center;
            text-align: center;
            padding: 1.2rem 0.8rem;
            background: var(--bg-glass);
            backdrop-filter: blur(10px);
            border: 1px solid var(--border-glass);
            border-radius: var(--radius-xl);
            cursor: pointer;
            transition: all 0.3s var(--transition-spring);
            position: relative;
            overflow: hidden;
        }
        .teacher-tab::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 4px;
            background: linear-gradient(90deg, var(--primary), var(--primary-light));
            transform: translateX(-100%);
            transition: transform 0.4s ease;
        }
        .teacher-tab:hover::before { transform: translateX(0); }
        .teacher-tab.active {
            background: var(--primary-soft);
            border-color: var(--primary);
            box-shadow: var(--shadow-glow);
            transform: translateY(-4px);
        }
        .teacher-tab.active::before { transform: translateX(0); }
        .teacher-tab-avatar {
            width: 70px;
            height: 70px;
            border-radius: 35px;
            overflow: hidden;
            margin-bottom: 0.8rem;
            border: 2px solid transparent;
            transition: border-color 0.3s ease;
        }
        .teacher-tab.active .teacher-tab-avatar { border-color: var(--primary); }
        .teacher-tab-avatar img { width: 100%; height: 100%; object-fit: cover; }
        .teacher-tab-name { font-size: 0.85rem; font-weight: 600; color: var(--text-primary); margin-bottom: 0.2rem; line-height: 1.2; }
        .teacher-tab-role { font-size: 0.7rem; color: var(--text-tertiary); }

        .bento-grid.equal-columns {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 2rem;
            align-items: stretch;
        }
        .gallery-section {
            height: 100%;
            display: flex;
            flex-direction: column;
            background: var(--bg-glass);
            backdrop-filter: blur(10px);
            border: 1px solid var(--border-glass);
            border-radius: var(--radius-2xl);
            padding: 2rem;
            transition: all 0.4s var(--transition-spring);
            box-shadow: 0 20px 40px -15px var(--shadow-color);
        }
        .gallery-section:hover { border-color: var(--primary-light); box-shadow: 0 30px 60px -15px var(--primary-glow); }
        .gallery-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 1.5rem;
            flex-wrap: wrap;
            gap: 1rem;
        }
        .gallery-title { font-size: 1.5rem; font-weight: 600; color: var(--text-primary); margin: 0; }
        .gallery-nav { display: flex; gap: 0.5rem; }
        .gallery-nav-btn {
            width: 40px;
            height: 40px;
            border-radius: 20px;
            background: var(--primary-soft);
            border: 1px solid var(--border-glass);
            color: var(--text-primary);
            cursor: pointer;
            transition: all 0.3s ease;
            display: flex;
            align-items: center;
            justify-content: center;
        }
        .gallery-nav-btn:hover { background: var(--primary); color: white; transform: scale(1.05); box-shadow: var(--shadow-glow); }

        .gallery-bento {
            flex: 1;
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            grid-template-rows: repeat(2, 1fr);
            gap: 1rem;
            margin-bottom: 1.5rem;
            aspect-ratio: 3 / 2;
        }

        .gallery-bento-item {
            position: relative;
            border-radius: var(--radius-lg);
            overflow: hidden;
            cursor: pointer;
            transition: all 0.3s ease;
            width: 100%;
            height: 100%;
        }

        .gallery-bento-item::after {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: linear-gradient(135deg, rgba(124,58,237,0.2), rgba(0,0,0,0.3));
            opacity: 0;
            transition: opacity 0.3s ease;
            pointer-events: none;
        }
        .gallery-bento-item:hover::after { opacity: 1; }
        .gallery-bento-item:hover { transform: scale(1.02); box-shadow: 0 10px 30px -10px var(--primary-glow); z-index: 10; }
        .gallery-bento-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
        .gallery-bento-item:hover img { transform: scale(1.1); }
        
        .gallery-item-overlay {
            position: absolute;
            bottom: 0;
            left: 0;
            right: 0;
            padding: 1rem;
            background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
            backdrop-filter: blur(5px);
            transform: translateY(100%);
            transition: transform 0.3s ease;
            z-index: 2;
        }
        .gallery-bento-item:hover .gallery-item-overlay { transform: translateY(0); }
        .overlay-content { color: white; }
        .overlay-category { display: block; font-size: 0.8rem; opacity: 0.9; margin-bottom: 0.25rem; }
        .overlay-date { display: block; font-size: 0.7rem; opacity: 0.7; }
        .gallery-link {
            display: inline-flex;
            align-items: center;
            gap: 0.75rem;
            padding: 0.75rem 1.5rem;
            background: var(--primary-soft);
            border: 1px solid var(--border-glass);
            border-radius: var(--radius-full);
            color: var(--text-primary);
            text-decoration: none;
            font-weight: 500;
            transition: all 0.3s ease;
            margin-top: 1rem;
            width: fit-content;
        }
        .gallery-link:hover { background: var(--primary); color: white; gap: 1rem; border-color: transparent; box-shadow: var(--shadow-glow); }

        .teacher-info-card {
            height: 100%;
            display: flex;
            flex-direction: column;
            background: var(--bg-glass);
            backdrop-filter: blur(10px);
            border: 1px solid var(--border-glass);
            border-radius: var(--radius-2xl);
            padding: 2rem;
            transition: all 0.4s var(--transition-spring);
            box-shadow: 0 20px 40px -15px var(--shadow-color);
        }
        .teacher-info-card:hover { border-color: var(--primary-light); box-shadow: 0 30px 60px -15px var(--primary-glow); }
        .teacher-info-header { display: flex; gap: 1.5rem; margin-bottom: 2rem; flex-wrap: wrap; }
        .teacher-info-avatar { width: 100px; height: 100px; border-radius: 50px; overflow: hidden; border: 2px solid var(--primary); flex-shrink: 0; }
        .teacher-info-avatar img { width: 100%; height: 100%; object-fit: cover; }
        .teacher-info-name { font-size: 2rem; font-weight: 700; color: var(--text-primary); margin-bottom: 0.5rem; line-height: 1.2; }
        .teacher-info-role { display: inline-block; padding: 0.35rem 1rem; background: linear-gradient(135deg, var(--primary), var(--primary-light)); color: white; border-radius: var(--radius-full); font-size: 0.85rem; font-weight: 600; margin-bottom: 1rem; }
        .teacher-info-description { color: var(--text-secondary); line-height: 1.7; font-size: 0.95rem; margin-bottom: 2rem; flex: 1; overflow-y: auto; max-height: 300px; }
        .teacher-info-description::-webkit-scrollbar { width: 4px; }
        .teacher-info-description::-webkit-scrollbar-track { background: var(--border-glass); border-radius: 2px; }
        .teacher-info-description::-webkit-scrollbar-thumb { background: var(--primary); border-radius: 2px; }
        .styles-list { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-bottom: 2rem; }
        .style-tag { padding: 0.5rem 1.2rem; background: var(--primary-soft); border: 1px solid var(--border-glass); border-radius: var(--radius-full); color: var(--text-primary); font-size: 0.9rem; font-weight: 500; transition: all 0.3s ease; }
        .style-tag:hover { background: var(--primary); color: white; transform: translateY(-2px); }
        .groups-list { display: flex; flex-direction: column; gap: 1rem; max-height: 300px; overflow-y: auto; padding-right: 0.5rem; }
        .groups-list::-webkit-scrollbar { width: 4px; }
        .groups-list::-webkit-scrollbar-track { background: var(--border-glass); border-radius: 2px; }
        .groups-list::-webkit-scrollbar-thumb { background: var(--primary); border-radius: 2px; }
        .group-item { display: flex; align-items: center; justify-content: space-between; padding: 1rem; background: var(--bg-glass-light); border: 1px solid var(--border-glass); border-radius: var(--radius-lg); transition: all 0.3s ease; flex-wrap: wrap; gap: 0.5rem; }
        .group-item:hover { background: var(--primary-soft); border-color: var(--primary-light); transform: translateX(5px); }
        .group-link { width: 36px; height: 36px; border-radius: 18px; background: var(--bg-glass); border: 1px solid var(--border-glass); color: var(--text-primary); display: flex; align-items: center; justify-content: center; text-decoration: none; transition: all 0.3s ease; }

        .schedule-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
            gap: 2rem;
            margin-bottom: 2rem;
        }
        
        .class-card {
            position: relative;
            background: var(--bg-glass);
            backdrop-filter: blur(12px);
            border: 1px solid var(--border-glass);
            border-radius: var(--radius-xl);
            overflow: hidden;
            transition: all 0.4s var(--transition-spring);
            cursor: pointer;
            border-left: 5px solid var(--card-color, var(--primary));
            transform: translateY(0);
            display: flex;
            flex-direction: column;
            height: 100%;
            min-height: 380px;
        }
        .class-card:hover {
            transform: translateY(-8px) scale(1.02);
            border-color: var(--primary-light);
            box-shadow: 0 25px 35px -10px var(--primary-glow);
        }
        .card-header {
            padding: 1.5rem 1.5rem 0.5rem;
            display: flex;
            justify-content: space-between;
            align-items: flex-start;
        }
        .card-badge {
            background: rgba(0,0,0,0.4);
            backdrop-filter: blur(5px);
            border: 1px solid var(--border-glass);
            border-radius: var(--radius-full);
            padding: 0.3rem 1rem;
            display: inline-flex;
            align-items: center;
            gap: 0.4rem;
            font-size: 0.9rem;
            color: var(--text-primary);
        }
        .trial-badge {
            background: linear-gradient(135deg, var(--primary), var(--primary-light));
            color: white;
            padding: 0.25rem 1rem;
            border-radius: var(--radius-full);
            font-size: 0.75rem;
            font-weight: 600;
            letter-spacing: 0.05em;
            box-shadow: 0 5px 15px -5px var(--primary);
        }
        .card-body {
            padding: 0 1.5rem;
            flex: 1;
        }
        .card-title {
            font-size: 1.6rem;
            font-weight: 700;
            margin: 0.75rem 0 1rem;
            color: var(--text-primary);
            line-height: 1.3;
        }
        .card-details {
            display: flex;
            flex-direction: column;
            gap: 0.75rem;
            margin-bottom: 1.5rem;
        }
        .detail-item {
            display: flex;
            align-items: center;
            gap: 0.75rem;
            color: var(--text-secondary);
            font-size: 0.95rem;
        }
        .detail-item i {
            width: 20px;
            color: var(--primary-light);
            font-size: 1rem;
        }
        .card-footer {
            padding: 1rem 1.5rem 1.5rem;
            border-top: 1px dashed var(--border-glass);
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-top: auto;
        }
        .card-book {
            display: inline-flex;
            align-items: center;
            gap: 0.5rem;
            color: var(--primary-light);
            text-decoration: none;
            font-weight: 600;
            transition: all 0.3s ease;
        }
        .class-card:hover .card-book {
            gap: 1rem;
            color: var(--text-primary);
        }
        
        .no-classes-message {
            text-align: center;
            padding: 3rem;
            color: var(--text-tertiary);
            font-size: 1.2rem;
            background: var(--bg-glass);
            border-radius: var(--radius-xl);
            border: 1px dashed var(--border-glass);
            grid-column: 1 / -1;
        }
        
        .schedule-footer {
            text-align: center;
            margin-top: 2rem;
        }
        .schedule-link {
            display: inline-flex;
            align-items: center;
            gap: 0.75rem;
            padding: 1rem 2rem;
            background: linear-gradient(135deg, var(--primary), var(--primary-light));
            color: white;
            border-radius: var(--radius-full);
            text-decoration: none;
            font-weight: 600;
            transition: all 0.3s var(--transition-spring);
            box-shadow: 0 10px 30px -10px var(--primary);
            border: none;
            cursor: pointer;
        }
        .schedule-link:hover {
            transform: translateY(-4px) scale(1.02);
            box-shadow: 0 20px 40px -10px var(--primary);
            background: var(--primary-light);
        }

        .vk-news-header { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 3rem; flex-wrap: wrap; gap: 2rem; }
        .vk-news-link { display: inline-flex; align-items: center; gap: 0.75rem; padding: 0.75rem 1.5rem; background: var(--bg-glass); border: 1px solid var(--border-glass); border-radius: var(--radius-full); color: var(--text-primary); text-decoration: none; font-weight: 500; transition: all 0.3s ease; }
        .vk-news-link i { color: #4a76a8; font-size: 1.2rem; transition: color 0.3s ease; }
        .vk-news-link:hover { background: var(--primary); color: white; border-color: var(--primary); transform: translateY(-2px); box-shadow: var(--shadow-glow); }
        .vk-news-link:hover i { color: white; }
        .vk-news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
        .vk-news-card { position: relative; display: flex; flex-direction: column; background: var(--bg-glass); backdrop-filter: blur(10px); border: 1px solid var(--border-glass); border-radius: var(--radius-xl); overflow: hidden; text-decoration: none; color: var(--text-primary); transition: all 0.4s var(--transition-spring); height: 100%; cursor: pointer; }
        .vk-news-card:hover { transform: translateY(-8px); border-color: var(--primary-light); box-shadow: var(--shadow-glow); }
        .vk-news-card__glow { position: absolute; top: 0; left: 0; right: 0; height: 4px; background: linear-gradient(90deg, #4a76a8, var(--primary)); transform: translateX(-100%); transition: transform 0.4s ease; z-index: 2; }
        .vk-news-card:hover .vk-news-card__glow { transform: translateX(0); }
        .vk-news-media { position: relative; width: 100%; height: 200px; overflow: hidden; background: var(--bg-elevated); }
        .vk-news-image { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
        .vk-news-card:hover .vk-news-image { transform: scale(1.05); }
        .vk-news-image--placeholder { display: flex; align-items: center; justify-content: center; font-size: 3rem; color: var(--border-glass); background: linear-gradient(135deg, var(--bg-glass), var(--bg-elevated)); height: 100%; }
        .vk-news-content { padding: 1.5rem; flex: 1; }
        .vk-news-text { margin: 0; line-height: 1.6; color: var(--text-secondary); font-size: 0.95rem; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
        .vk-news-footer { padding: 1rem 1.5rem 1.5rem; display: flex; justify-content: space-between; align-items: center; border-top: 1px solid var(--border-glass); margin-top: auto; flex-wrap: wrap; gap: 0.5rem; }
        .vk-news-stats { display: flex; gap: 1rem; }
        .vk-news-stat { display: flex; align-items: center; gap: 0.25rem; font-size: 0.875rem; color: var(--text-tertiary); }
        .vk-news-stat i { font-size: 0.875rem; color: var(--primary-light); }
        .vk-news-date { font-size: 0.875rem; color: var(--text-tertiary); }

        .video-preview-overlay {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            display: flex;
            align-items: center;
            justify-content: center;
            background: rgba(0, 0, 0, 0.3);
            opacity: 0;
            transition: opacity 0.3s ease;
            pointer-events: none;
        }
        .vk-news-card:hover .video-preview-overlay { opacity: 1; }
        .video-preview-icon {
            width: 60px;
            height: 60px;
            background: rgba(0, 0, 0, 0.6);
            backdrop-filter: blur(4px);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            font-size: 1.8rem;
            border: 2px solid rgba(255, 255, 255, 0.5);
            transition: transform 0.2s ease;
        }
        .vk-news-card:hover .video-preview-icon { transform: scale(1.1); }

        .about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
        .about-text { color: var(--text-secondary); font-size: 1.25rem; line-height: 1.8; margin-bottom: 2.5rem; }
        .stats-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; margin-top: 2rem; }
        .stat-block { background: var(--bg-glass); backdrop-filter: blur(10px); border: 1px solid var(--border-glass); border-radius: var(--radius-lg); padding: 1.5rem; transition: transform 0.3s ease; }
        .stat-block:hover { transform: translateY(-4px); border-color: var(--primary-light); box-shadow: var(--shadow-glow); }
        .stat-number { font-size: 2.5rem; font-weight: 700; color: var(--primary-light); line-height: 1.2; margin-bottom: 0.25rem; }
        .stat-label { color: var(--text-tertiary); font-size: 0.875rem; text-transform: uppercase; letter-spacing: 0.05em; }
        .about-media { position: relative; border-radius: var(--radius-2xl); overflow: hidden; box-shadow: 0 30px 60px -20px var(--shadow-color); }
        .about-media img { width: 100%; height: auto; display: block; transition: transform 0.5s ease; }
        .about-media:hover img { transform: scale(1.05); }
        .about-media__caption { position: absolute; bottom: 0; left: 0; right: 0; padding: 2rem; background: linear-gradient(to top, rgba(0,0,0,0.8), transparent); color: var(--text-primary); transform: translateY(100%); transition: transform 0.3s ease; backdrop-filter: blur(5px); }
        .about-media:hover .about-media__caption { transform: translateY(0); }

        .rental-container { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
        .rental-tag { display: inline-block; padding: 0.5rem 1rem; background: rgba(0,0,0,0.3); border: 1px solid var(--border-glass); border-radius: var(--radius-full); font-size: 0.875rem; font-weight: 600; letter-spacing: 0.05em; margin-bottom: 1.5rem; color: var(--primary-light); }
        .rental-title { font-size: clamp(2rem, 5vw, 3rem); font-weight: 700; line-height: 1.2; margin-bottom: 1.5rem; color: var(--text-primary); }
        .rental-description { color: var(--text-secondary); font-size: 1.25rem; line-height: 1.8; margin-bottom: 2rem; }
        .rental-features { display: flex; gap: 2rem; margin-bottom: 2.5rem; flex-wrap: wrap; }
        .rental-feature { display: flex; align-items: center; gap: 0.5rem; color: var(--text-secondary); }
        .rental-feature i { color: var(--primary-light); font-size: 1.2rem; }
        .rental-btn { display: inline-flex; align-items: center; gap: 0.75rem; padding: 1rem 2rem; background: linear-gradient(135deg, var(--primary), var(--primary-light)); border-radius: var(--radius-full); color: white; text-decoration: none; font-weight: 600; transition: all 0.3s var(--transition-spring); box-shadow: 0 10px 30px -10px var(--primary); border: none; cursor: pointer; }
        .rental-btn:hover { transform: translateY(-4px) scale(1.02); box-shadow: 0 20px 40px -10px var(--primary); }
        .rental-slider { position: relative; width: 100%; perspective: 1500px; }
        .slider-container { position: relative; width: 100%; height: 400px; transform-style: preserve-3d; }
        .slider-track { position: relative; width: 100%; height: 100%; transform-style: preserve-3d; transition: transform 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275); }
        .slider-slide { position: absolute; width: 300px; height: 350px; left: 50%; top: 50%; margin-left: -150px; margin-top: -175px; border-radius: var(--radius-xl); overflow: hidden; background: var(--bg-elevated); box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5); transition: all 0.3s ease; cursor: pointer; transform-style: preserve-3d; backface-visibility: hidden; }
        .slider-slide.active { width: 350px; height: 400px; margin-left: -175px; margin-top: -200px; box-shadow: 0 30px 60px -15px var(--primary-glow); z-index: 10; }
        .slider-slide img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
        .slider-slide:hover img { transform: scale(1.05); }
        .slide-caption { position: absolute; bottom: 0; left: 0; right: 0; padding: 1.5rem; background: linear-gradient(to top, rgba(0,0,0,0.8), transparent); backdrop-filter: blur(5px); color: white; transform: translateY(100%); transition: transform 0.3s ease; }
        .slider-slide.active .slide-caption { transform: translateY(0); }
        .slide-title { font-size: 1.25rem; font-weight: 600; margin-bottom: 0.25rem; }
        .slide-description { font-size: 0.875rem; opacity: 0.9; }
        .slider-nav { display: flex; justify-content: center; gap: 1rem; margin-top: 2rem; }
        .slider-btn { width: 50px; height: 50px; border-radius: 25px; background: var(--bg-glass); backdrop-filter: blur(10px); border: 1px solid var(--border-glass); color: var(--text-primary); display: flex; align-items: center; justify-content: center; cursor: pointer; transition: all 0.3s ease; font-size: 1.2rem; }
        .slider-btn:hover { background: var(--primary); color: white; transform: scale(1.1); box-shadow: var(--shadow-glow); }
        .slider-dots { display: flex; gap: 0.5rem; justify-content: center; margin-top: 1rem; }
        .slider-dot { width: 10px; height: 10px; border-radius: 5px; background: var(--border-glass); transition: all 0.3s ease; cursor: pointer; }
        .slider-dot.active { width: 30px; background: var(--primary); box-shadow: var(--shadow-glow); }

        .roles-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; margin: 3rem 0 4rem; }
        .role-card { display: block; padding: 2.5rem 2rem; background: var(--bg-glass); backdrop-filter: blur(10px); border: 1px solid var(--border-glass); border-radius: var(--radius-xl); text-decoration: none; color: var(--text-primary); transition: all 0.3s var(--transition-spring); position: relative; overflow: hidden; cursor: pointer; }
        .role-card:hover { transform: translateY(-8px) scale(1.02); border-color: var(--primary-light); box-shadow: var(--shadow-glow); }
        .role-card__icon { font-size: 3rem; background: linear-gradient(135deg, var(--primary), var(--primary-light)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; margin-bottom: 1.5rem; position: relative; z-index: 1; }
        .role-card__title { font-size: 1.75rem; font-weight: 600; margin-bottom: 0.75rem; color: var(--text-primary); position: relative; z-index: 1; }
        .role-card__text { color: var(--text-secondary); margin-bottom: 1.5rem; line-height: 1.6; position: relative; z-index: 1; }
        .role-card__link { color: var(--primary-light); font-weight: 600; display: inline-flex; align-items: center; gap: 0.5rem; transition: gap 0.3s ease; position: relative; z-index: 1; }
        .role-card:hover .role-card__link { gap: 1rem; color: var(--text-primary); }
        .contact-block { text-align: center; margin-top: 4rem; padding-top: 4rem; border-top: 1px solid var(--border-glass); }
        .contact-title { font-size: 2rem; font-weight: 700; margin-bottom: 2rem; color: var(--text-primary); }
        .contact-grid { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
        .contact-item { display: inline-flex; align-items: center; gap: 0.75rem; padding: 1rem 2rem; background: var(--bg-glass); backdrop-filter: blur(10px); border: 1px solid var(--border-glass); border-radius: var(--radius-full); text-decoration: none; color: var(--text-primary); transition: all 0.3s ease; font-weight: 500; }
        .contact-item:hover { background: var(--primary); border-color: var(--primary); color: white; transform: translateY(-4px); box-shadow: var(--shadow-glow); }
        .contact-item i { font-size: 1.25rem; color: var(--primary-light); transition: color 0.3s ease; }
        .contact-item:hover i { color: white; }

        .hero-section {
            position: relative;
            min-height: 90vh;
            display: flex;
            align-items: center;
            padding: 8rem 0;
            overflow: hidden;
        }
        .hero-container { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
        .hero-title {
            font-size: clamp(2.5rem, 10vw, 5.5rem);
            font-weight: 800;
            line-height: 1.0;
            letter-spacing: -0.03em;
            margin-bottom: 1.5rem;
            color: var(--text-primary);
        }
        .hero-title-line { display: block; overflow: hidden; margin-bottom: 0.2rem; }
        .hero-title-line span { display: block; animation: slideUp 0.8s var(--transition-bounce) forwards; transform: translateY(100%); opacity: 0; }
        .hero-title-line:nth-child(1) span { animation-delay: 0.1s; }
        .hero-title-line:nth-child(2) span { animation-delay: 0.3s; }
        @keyframes slideUp { to { transform: translateY(0); opacity: 1; } }
        .hero-title--gradient {
            background: linear-gradient(135deg, var(--primary), var(--primary-light), #f472b6);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            background-size: 200% 200%;
            animation: gradientFlow 8s ease infinite;
        }
        .hero-subtitle { font-size: 1.375rem; color: var(--text-secondary); margin-bottom: 2.5rem; max-width: 550px; line-height: 1.6; opacity: 0; transform: translateY(30px); animation: fadeUp 0.6s ease 0.5s forwards; }
        @keyframes fadeUp { to { opacity: 1; transform: translateY(0); } }
        .hero-actions { display: flex; gap: 1rem; margin-bottom: 3rem; flex-wrap: wrap; opacity: 0; transform: translateY(30px); animation: fadeUp 0.6s ease 0.7s forwards; }
        .hero-stats { display: flex; gap: 2rem; opacity: 0; transform: translateY(30px); animation: fadeUp 0.6s ease 0.9s forwards; flex-wrap: wrap; }
        .hero-stat-number { font-size: 2rem; font-weight: 700; color: var(--primary-light); line-height: 1.2; }
        .hero-stat-label { font-size: 0.875rem; color: var(--text-tertiary); text-transform: uppercase; letter-spacing: 0.05em; }
        .hero-visual { position: relative; opacity: 0; transform: translateX(50px); animation: slideLeft 0.8s ease 0.3s forwards; }
        @keyframes slideLeft { to { opacity: 1; transform: translateX(0); } }
        .hero-card { background: var(--bg-glass); backdrop-filter: blur(20px); border: 1px solid var(--border-glass); border-radius: var(--radius-2xl); padding: 2rem; box-shadow: 0 30px 60px -20px var(--shadow-color); transform: perspective(1000px) rotateY(-5deg) rotateX(2deg); transition: transform 0.5s ease; }
        .hero-card:hover { transform: perspective(1000px) rotateY(0) rotateX(0); }
        .hero-card-media { border-radius: var(--radius-xl); overflow: hidden; margin-bottom: 1.5rem; }
        .hero-card-media img { width: 100%; height: auto; display: block; transition: transform 0.5s ease; }
        .hero-card:hover .hero-card-media img { transform: scale(1.05); }
        .hero-card-stats { display: flex; justify-content: space-between; color: var(--text-secondary); font-size: 0.875rem; padding: 0 0.5rem; flex-wrap: wrap; gap: 0.5rem; }

        .btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.75rem; padding: 1rem 2rem; border-radius: var(--radius-full); font-weight: 600; text-decoration: none; transition: all 0.3s var(--transition-spring); border: 1px solid transparent; cursor: pointer; font-size: 1rem; backdrop-filter: blur(10px); }
        .btn--primary { background: linear-gradient(135deg, var(--primary), var(--primary-light)); color: white; box-shadow: 0 10px 30px -10px var(--primary); }
        .btn--primary:hover { transform: translateY(-4px) scale(1.02); box-shadow: 0 20px 40px -10px var(--primary); }
        .btn--glass { background: var(--bg-glass); border: 1px solid var(--border-glass); color: var(--text-primary); }
        .btn--glass:hover { background: var(--bg-glass-light); border-color: var(--primary-light); transform: translateY(-4px) scale(1.02); box-shadow: var(--shadow-glow); }
        .btn--large { padding: 1.25rem 2.5rem; font-size: 1.125rem; }

        .fade-up, .fade-left, .fade-right, .scale-in { transition: opacity 0.8s ease, transform 0.8s ease; }
        .fade-up { opacity: 0; transform: translateY(40px); }
        .fade-up.visible { opacity: 1; transform: translateY(0); }
        .fade-left { opacity: 0; transform: translateX(-40px); }
        .fade-left.visible { opacity: 1; transform: translateX(0); }
        .fade-right { opacity: 0; transform: translateX(40px); }
        .fade-right.visible { opacity: 1; transform: translateX(0); }
        .scale-in { opacity: 0; transform: scale(0.9); }
        .scale-in.visible { opacity: 1; transform: scale(1); }
        .delay-1 { transition-delay: 0.1s; }
        .delay-2 { transition-delay: 0.2s; }
        .delay-3 { transition-delay: 0.3s; }
        .delay-4 { transition-delay: 0.4s; }
        .delay-5 { transition-delay: 0.5s; }

        .yandex-badge-section {
            padding: 5rem 0;
            background: linear-gradient(135deg, #1a1528 0%, #231e33 100%);
            position: relative;
            overflow: hidden;
            border-top: 1px solid rgba(255, 215, 0, 0.15);
            border-bottom: 1px solid rgba(255, 215, 0, 0.15);
        }
        
        .yandex-badge-container {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 4rem;
            flex-wrap: wrap;
            position: relative;
            z-index: 2;
        }
        
        .yandex-badge-visual {
            position: relative;
            width: 220px;
            height: 220px;
            display: flex;
            align-items: center;
            justify-content: center;
        }
        
        .yandex-badge-glow {
            position: absolute;
            width: 100%;
            height: 100%;
            background: radial-gradient(circle, rgba(255, 215, 0, 0.3) 0%, rgba(255, 215, 0, 0) 70%);
            border-radius: 50%;
            animation: pulseGlow 3s infinite alternate;
            z-index: 1;
        }
        
        @keyframes pulseGlow {
            0% { transform: scale(0.9); opacity: 0.4; }
            100% { transform: scale(1.15); opacity: 0.8; }
        }
        
        .yandex-official-badge {
            position: relative;
            z-index: 2;
            width: 180px;
            height: 180px;
            background: #1a1a1a;
            border-radius: 50%;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            box-shadow: 0 0 50px rgba(255, 215, 0, 0.4), inset 0 0 20px rgba(255, 215, 0, 0.1);
            border: 3px solid #FFD700;
            transition: all 0.4s var(--transition-spring);
            padding: 15px;
        }
        
        .yandex-official-badge:hover {
            transform: scale(1.05) rotate(3deg);
            box-shadow: 0 0 70px rgba(255, 215, 0, 0.6), inset 0 0 30px rgba(255, 215, 0, 0.2);
        }
        
        .badge-yandex-logo {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 5px;
            margin-bottom: 8px;
        }
        
        .badge-yandex-logo span {
            color: #FFD700;
            font-size: 1.4rem;
            font-weight: 700;
            letter-spacing: 1px;
            text-transform: uppercase;
        }
        
        .badge-yandex-logo i {
            color: #FFD700;
            font-size: 1.6rem;
        }
        
        .badge-star-rating {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 3px;
            margin-bottom: 10px;
        }
        
        .badge-star-rating i {
            color: #FFD700;
            font-size: 1rem;
            filter: drop-shadow(0 0 5px #FFD700);
        }
        
        .badge-title-main {
            font-size: 1.8rem;
            font-weight: 900;
            color: #FFD700;
            line-height: 1;
            text-shadow: 0 0 20px #FFD700;
            margin-bottom: 5px;
            letter-spacing: -1px;
        }
        
        .badge-title-sub {
            font-size: 0.7rem;
            color: #aaa;
            text-transform: uppercase;
            letter-spacing: 3px;
            margin-bottom: 8px;
        }
        
        .badge-year-big {
            font-size: 2.8rem;
            font-weight: 900;
            color: #fff;
            line-height: 1;
            text-shadow: 0 0 30px rgba(255, 215, 0, 0.5);
            background: linear-gradient(135deg, #FFD700, #FFA500);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }
        
        .yandex-badge-content {
            max-width: 550px;
            color: white;
        }
        
        .yandex-badge-title {
            font-size: 2.8rem;
            font-weight: 800;
            line-height: 1.2;
            margin-bottom: 1rem;
            background: linear-gradient(135deg, #FFD700, #FFB347);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            letter-spacing: -0.02em;
        }
        
        .yandex-badge-desc {
            font-size: 1.2rem;
            opacity: 0.95;
            margin-bottom: 2rem;
            color: #d4c5ff;
            line-height: 1.6;
        }
        
        .yandex-badge-stats {
            display: flex;
            gap: 3rem;
            flex-wrap: wrap;
        }
        
        .yandex-stat-item {
            display: flex;
            flex-direction: column;
        }
        
        .yandex-stat-value {
            font-size: 2.5rem;
            font-weight: 800;
            color: #FFD700;
            display: flex;
            align-items: center;
            gap: 8px;
            line-height: 1.2;
        }
        
        .yandex-stat-value i {
            font-size: 1.8rem;
            color: #FFD700;
            filter: drop-shadow(0 0 8px #FFD700);
        }
        
        .yandex-stat-label {
            font-size: 1rem;
            text-transform: uppercase;
            letter-spacing: 2px;
            opacity: 0.8;
            color: #b8a9e6;
        }
        
        .yandex-bg-particles {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            pointer-events: none;
            opacity: 0.3;
            background-image: 
                radial-gradient(circle at 15% 25%, #FFD700 1px, transparent 1px),
                radial-gradient(circle at 85% 75%, #FFD700 1px, transparent 1px),
                radial-gradient(circle at 45% 15%, #FFD700 1px, transparent 1px),
                radial-gradient(circle at 75% 45%, #FFD700 1px, transparent 1px);
            background-size: 60px 60px;
            animation: particlesFloat 20s linear infinite;
        }
        
        @keyframes particlesFloat {
            0% { transform: translateY(0) rotate(0deg); }
            100% { transform: translateY(-20px) rotate(1deg); }
        }

        .news-modal {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.9);
            backdrop-filter: blur(15px);
            z-index: 30000;
            align-items: center;
            justify-content: center;
            opacity: 0;
            transition: opacity 0.3s ease;
        }
        
        .news-modal.show {
            display: flex;
            opacity: 1;
        }
        
        .news-modal-content {
            position: relative;
            width: 90%;
            max-width: 900px;
            max-height: 90vh;
            background: var(--bg-deep-secondary);
            border: 1px solid var(--border-glass-strong);
            border-radius: var(--radius-2xl);
            overflow: hidden;
            display: flex;
            flex-direction: column;
            box-shadow: 0 30px 60px rgba(0, 0, 0, 0.8);
            animation: modalSlideUp 0.4s var(--transition-spring);
        }
        
        @keyframes modalSlideUp {
            from { transform: translateY(50px); opacity: 0; }
            to { transform: translateY(0); opacity: 1; }
        }
        
        .news-modal-header {
            padding: 1.5rem 2rem;
            border-bottom: 1px solid var(--border-glass);
            display: flex;
            justify-content: space-between;
            align-items: center;
            background: var(--bg-glass);
        }
        
        .news-modal-header h3 {
            margin: 0;
            font-size: 1.5rem;
            font-weight: 700;
            color: var(--text-primary);
        }
        
        .news-modal-close {
            background: none;
            border: none;
            color: var(--text-tertiary);
            font-size: 2rem;
            cursor: pointer;
            width: 40px;
            height: 40px;
            display: flex;
            align-items: center;
            justify-content: center;
            border-radius: 20px;
            transition: all 0.3s ease;
        }
        
        .news-modal-close:hover {
            background: var(--primary-soft);
            color: var(--text-primary);
            transform: rotate(90deg);
        }
        
        .news-modal-body {
            padding: 2rem;
            overflow-y: auto;
            flex: 1;
        }
        
        .news-modal-media {
            width: 100%;
            border-radius: var(--radius-xl);
            overflow: hidden;
            margin-bottom: 1.5rem;
            background: var(--bg-elevated);
        }
        
        .news-modal-media img,
        .news-modal-media video,
        .news-modal-media iframe {
            width: 100%;
            max-height: 400px;
            object-fit: contain;
            display: block;
        }
        
        .news-modal-text {
            color: var(--text-secondary);
            line-height: 1.8;
            font-size: 1.1rem;
            white-space: pre-wrap;
            margin-bottom: 2rem;
        }
        
        .news-modal-footer {
            padding: 1.5rem 2rem;
            border-top: 1px solid var(--border-glass);
            display: flex;
            justify-content: space-between;
            align-items: center;
            background: var(--bg-glass);
            flex-wrap: wrap;
            gap: 1rem;
        }
        
        .news-modal-stats {
            display: flex;
            gap: 2rem;
            color: var(--text-tertiary);
        }
        
        .news-modal-link {
            display: inline-flex;
            align-items: center;
            gap: 0.75rem;
            padding: 0.75rem 1.5rem;
            background: var(--primary);
            color: white;
            border-radius: var(--radius-full);
            text-decoration: none;
            font-weight: 600;
            transition: all 0.3s ease;
        }
        
        .news-modal-link:hover {
            transform: translateY(-3px);
            box-shadow: var(--shadow-glow);
            background: var(--primary-light);
        }

        /* ==============================================================
           АДАПТИВНОСТЬ
           ============================================================== */
        @media (max-width: 1400px) {
            .teachers-grid { grid-template-columns: repeat(4, 1fr); }
        }
        
        @media (max-width: 1200px) {
            .container { padding: 0 1.5rem; }
            .teachers-grid { grid-template-columns: repeat(4, 1fr); }
        }
        
        @media (max-width: 1024px) {
            .hero-container, .about-grid, .rental-container, .bento-grid.equal-columns, .hyper-event-grid { 
                grid-template-columns: 1fr; 
                gap: 3rem; 
            }
            .camp-banner {
                grid-template-columns: 1fr;
                text-align: center;
                padding: 2.5rem;
            }
            .camp-banner-subtitle { margin-left: auto; margin-right: auto; }
            .camp-banner-features { justify-content: center; }
            .camp-btn { margin: 0 auto; }
            .hero-content { text-align: center; }
            .hero-subtitle { margin-left: auto; margin-right: auto; }
            .hero-actions, .hero-stats { justify-content: center; }
            .vk-news-grid, .roles-grid { 
                grid-template-columns: repeat(2, 1fr); 
            }
            .teachers-grid { grid-template-columns: repeat(3, 1fr); }
            .teacher-tab { padding: 1rem 0.6rem; }
            .teacher-tab-name { font-size: 0.8rem; }
            .teacher-tab-role { font-size: 0.65rem; }
            .gallery-bento { aspect-ratio: 3 / 2; }
            .slider-slide { width: 250px; height: 300px; margin-left: -125px; margin-top: -150px; }
            .slider-slide.active { width: 300px; height: 350px; margin-left: -150px; margin-top: -175px; }
            .yandex-badge-container { flex-direction: column; text-align: center; gap: 2rem; }
            .yandex-badge-title { font-size: 2.2rem; }
            .yandex-badge-stats { justify-content: center; }
            .schedule-section, .vk-news-section, .teachers-gallery-section, 
            .groups-section, .about-section, .rental-section, .login-section { 
                padding: 4rem 0; 
            }
            .schedule-grid {
                grid-template-columns: repeat(2, 1fr);
            }
        }
        
        @media (max-width: 768px) {
            body, .landing-main, .container {
                overflow-x: hidden;
                width: 100%;
            }
            
            .container {
                padding: 0 1rem;
            }
            
            .hero-section { 
                padding: 4rem 0; 
            }
            
            .vk-news-grid, .roles-grid { 
                grid-template-columns: 1fr; 
                gap: 1.5rem; 
            }
            
            .teachers-grid { 
                grid-template-columns: repeat(2, 1fr); 
                gap: 0.8rem;
            }
            
            .teacher-tab { 
                flex-direction: row; 
                text-align: left; 
                padding: 0.8rem; 
            }
            
            .teacher-tab-avatar { 
                width: 50px; 
                height: 50px; 
                margin-bottom: 0; 
                margin-right: 0.8rem; 
            }
            
            .teacher-tab-name { font-size: 0.9rem; }
            .teacher-tab-role { font-size: 0.75rem; }
            
            .gallery-bento { 
                grid-template-columns: repeat(2, 1fr);
                grid-template-rows: repeat(3, 1fr);
                aspect-ratio: 2 / 3;
            }
            
            .gallery-header { 
                flex-direction: column; 
                align-items: flex-start; 
                gap: 1rem; 
            }
            
            .gallery-nav { 
                align-self: flex-end; 
            }
            
            .slider-container { 
                height: 350px; 
            }
            
            .slider-slide { 
                width: 200px; 
                height: 250px; 
                margin-left: -100px; 
                margin-top: -125px; 
            }
            
            .slider-slide.active { 
                width: 250px; 
                height: 300px; 
                margin-left: -125px; 
                margin-top: -150px; 
            }
            
            .scroll-top { 
                bottom: 80px; 
                right: 15px; 
            }
            
            .news-modal-content { 
                width: 95%; 
            }
            
            .yandex-official-badge { 
                width: 150px; 
                height: 150px; 
            }
            
            .badge-title-main { 
                font-size: 1.5rem; 
            }
            
            .badge-year-big { 
                font-size: 2.2rem; 
            }
            
            .yandex-stat-value { 
                font-size: 2rem; 
            }
            
            .section-header {
                margin-bottom: 2rem;
            }
            
            .section-title {
                font-size: clamp(1.8rem, 6vw, 2.5rem);
            }
            
            .section-subtitle {
                font-size: 1rem;
                padding: 0 0.5rem;
            }
            
            .weather-widget {
                bottom: 10px;
                left: 10px;
                padding: 0.5rem 1rem;
            }
            
            .weather-widget-source {
                display: none;
            }
            
            .schedule-grid {
                grid-template-columns: 1fr;
                gap: 1.5rem;
            }
            
            .class-card {
                min-height: 360px;
            }
            
            .camp-banner-icon-wrapper {
                width: 200px;
                height: 200px;
            }
            
            .camp-banner-icon {
                font-size: 5rem;
            }
        }
        
        @media (max-width: 480px) {
            .container { 
                padding: 0 0.75rem; 
            }
            
            .hero-actions { 
                flex-direction: column; 
            }
            
            .hero-actions .btn { 
                width: 100%; 
            }
            
            .hero-stats {
                justify-content: center;
                gap: 1rem;
            }
            
            .hero-stat-number {
                font-size: 1.5rem;
            }
            
            .hero-stat-label {
                font-size: 0.7rem;
            }
            
            .slider-container { 
                height: 300px; 
            }
            
            .slider-slide { 
                width: 150px; 
                height: 200px; 
                margin-left: -75px; 
                margin-top: -100px; 
            }
            
            .slider-slide.active { 
                width: 200px; 
                height: 250px; 
                margin-left: -100px; 
                margin-top: -125px; 
            }
            
            .slider-btn { 
                width: 40px; 
                height: 40px; 
            }
            
            .teacher-tab-avatar { 
                width: 40px; 
                height: 40px; 
            }
            
            .teacher-info-name { 
                font-size: 1.5rem; 
            }
            
            .gallery-section { 
                padding: 1.5rem; 
            }
            
            .yandex-badge-visual { 
                width: 180px; 
                height: 180px; 
            }
            
            .yandex-official-badge { 
                width: 140px; 
                height: 140px; 
            }
            
            .badge-title-main { 
                font-size: 1.3rem; 
            }
            
            .badge-year-big { 
                font-size: 2rem; 
            }
            
            .yandex-badge-title { 
                font-size: 1.8rem; 
            }
            
            .yandex-badge-desc { 
                font-size: 1rem; 
            }
            
            .rental-title {
                font-size: 1.8rem;
            }
            
            .rental-description {
                font-size: 1rem;
            }
            
            .rental-features {
                gap: 1rem;
            }
            
            .role-card {
                padding: 1.5rem;
            }
            
            .role-card__title {
                font-size: 1.5rem;
            }
            
            .contact-title {
                font-size: 1.5rem;
            }
            
            .contact-item {
                padding: 0.75rem 1.25rem;
                font-size: 0.9rem;
            }

            .gallery-bento {
                grid-template-columns: 1fr;
                grid-template-rows: repeat(6, 1fr);
                aspect-ratio: 1 / 2;
            }
            
            .camp-banner {
                padding: 1.5rem;
            }
            
            .camp-banner-title {
                font-size: 2rem;
            }
            
            .camp-banner-subtitle {
                font-size: 0.9rem;
            }
            
            .camp-feature {
                padding: 0.4rem 1rem;
                font-size: 0.75rem;
            }
        }
        
        @media (max-width: 360px) {
            .container {
                padding: 0 0.5rem;
            }
            
            .hero-title {
                font-size: 2rem;
            }
            
            .hero-subtitle {
                font-size: 1rem;
            }
            
            .section-title {
                font-size: 1.6rem;
            }
            
            .teachers-grid {
                grid-template-columns: 1fr;
            }
        }
        
        img, video, iframe, .class-card, .vk-news-card, .group-card, .role-card, .camp-banner {
            max-width: 100%;
        }
        
        .animated-element, .camp-banner-icon, .camp-banner-icon-wrapper, .floating-accent {
            will-change: transform, opacity, filter;
        }
    


        .camp-banner-bg {
            /* background-image задаётся в динамическом блоке шапки */
        }
    