:root {
    --bg: #003153;
    --lime: #c1ff00;
    --white: #fff;
    --purp: #8a2be2;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: #000; /* Чтобы не было светлых просветов */
    overflow-x: hidden; /* Защита от горизонтального скролла */
    margin: 0;
    padding: 0;
}

header {
    overflow: hidden; /* Это обрежет всё, что вылетает за границы шапки сверху */
}

.header {
    position: fixed; /* Или absolute, если он не должен ездить при скролле */
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    margin: 0 !important;
    background: rgba(0, 0, 0, 0.9); /* Убедись, что фон хедера темный */
    backdrop-filter: blur(10px);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html, body { 
    width: 100%; 
    height: 100%;
    background: var(--bg); 
    color: var(--white); 
    font-family: 'Montserrat', sans-serif;
    overflow-x: hidden; /* ЗАПРЕТ СКРОЛЛА ВПРАВО */
}

.container { max-width: 1200px; margin: 0 auto; padding: 0 30px; position: relative; }

/* ФИГУРЫ НА ФОНЕ */
.bg-visuals {
    position: fixed;
    top: 0; left: 0;
    width: 100vw; height: 100vh;
    overflow: hidden;
    pointer-events: none;
}
.shape {
    position: absolute;
    border: 1px solid rgba(193, 255, 0, 0.15); /* ЛАЙМОВЫЙ КОНТУР */
    border-radius: 50%;
}
.s-1 { width: 600px; height: 600px; right: -150px; top: -100px; }
.s-2 { width: 1000px; height: 1000px; right: -300px; bottom: -200px; }

/* HEADER */
/* БАЗОВЫЙ ХЕДЕР */
header { 
    position: fixed; /* Сразу ставим fixed, чтобы не прыгал */
    top: 0;
    left: 0;
    width: 100%; 
    z-index: 1000; /* Самый высокий приоритет */
    padding: 30px 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    /* Плавный градиент сверху, чтобы даже без скролла кнопки были видны */
    background: linear-gradient(to bottom, rgba(10,10,10,0.8) 0%, transparent 100%);
}

/* ХЕДЕР ПРИ СКРОЛЛЕ (АКЦЕНТ) */
/* Усиленный Хедер при скролле */
header.header-scroll {
    padding: 12px 0;
    background: #000000; /* Чисто черный, никакой прозрачности */
    border-bottom: 2px solid var(--lime); /* Жирная линия для акцента */
    box-shadow: 0 15px 40px rgba(5, 5, 5, 0.678); /* Глубокая тень */
}

/* Фикс для наложения */
header {
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.425) 0%, rgba(0, 0, 0, 0.486) 60%, transparent 100%);
}
/* Чтобы контент первого экрана не залезал под хедер сразу, 
   добавим отступ самой секции hero */
.hero { 
    padding-top: 100px; 
}
.hero-section {
    padding-top: 100px; /* Регулируй под высоту своего хедера */
    margin-top: 0 !important;
}
.header-wrap { display: flex; justify-content: space-between; align-items: center; }
.logo { font-weight: 900; font-size: 1.7rem; }
.logo span { color: var(--lime); }

.header-right { display: flex; align-items: center; gap: 5px; }

.logo-link {
    display: inline-block;
    text-decoration: none; /* Убирает подчёркивание ссылки */
    color: inherit; /* Сохраняет исходный цвет текста */
}

/* КНОПКИ В ХЕДЕРЕ */
.btn-glow { 
    text-decoration: none; font-size: 13px; font-weight: 900; text-transform: uppercase;
    padding: 14px 28px; border-radius: 50px; border: 2px solid rgba(255,255,255,0.1); 
    color: #fff; transition: 0.3s ease;
}
.btn-glow.bvb:hover { background: var(--purp); border-color: var(--purp); box-shadow: 0 0 30px var(--purp); transform: translateY(-3px); }
.btn-glow.nvg:hover { background: var(--lime); color: #000; border-color: var(--lime); box-shadow: 0 0 30px var(--lime); transform: translateY(-3px); }

.login-link {
    color: #fff;
    font-weight: 900;
    text-transform: uppercase;
    font-size: 13px;
    text-decoration: none;
    margin: 0 10px;
    opacity: 0.7;
    transition: all 0.3s ease;
    padding: 8px 15px;
    border-radius: 20px;
}

.login-link:hover {
    opacity: 1;
    color: #fff;
}
/* НАВЕДЕНИЕ: ОБВОДКА */
.burger-trigger, .close-trigger { 
    color: #fff;
    opacity: 0.7;
    opacity: 0.7;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 10px 20px;
    border: 1px solid transparent;
    border-radius: 50px
}
.burger-trigger:hover, .close-trigger:hover { 
    opacity: 1;
    color: #fff;
}
.b-icon {
    display: flex;
    flex-direction: column;
    gap: 5px; /* Расстояние между палками */
}
.burger-trigger span, .close-trigger span { font-size: 13px; font-weight: 900; }
.b-icon span, .close-icon span { display: block; background: var(--lime); height: 2px; width: 24px; }

/* МЕНЮ ОВЕРЛЕЙ */
.menu-overlay {
    position: fixed; top: 0; left: 0; width: 100%; height: 100vh;
    background: #020202; z-index: 2000; display: flex; align-items: center;
    transform: translateY(-100%);
    transition: transform 0.6s cubic-bezier(0.8, 0, 0.2, 1);
}
.menu-overlay.active { transform: translateY(0); }

.menu-rel-box { height: 100%; display: flex; align-items: center; width: 100%; position: relative; }

.close-trigger { position: absolute; top: 40px; right: 30px; } /* СТРОГО НАД МЕНЮ */
.close-icon { width: 26px; height: 26px; position: relative; }
.close-icon span { width: 100%; position: absolute; top: 12px; }
.close-icon span:nth-child(1) { transform: rotate(45deg); }
.close-icon span:nth-child(2) { transform: rotate(-45deg); }

.nav-content { display: flex; gap: 120px; }
.nav-block a { display: block; font-size: 3rem; font-weight: 900; color: #fff; text-decoration: none; margin-bottom: 30px; transition: 0.3s; }
.nav-block a:hover { color: var(--lime); transform: translateX(20px); }

/* HERO */
.hero { height: 100vh; display: flex; align-items: center; }
h1 { font-size: 6.5rem; font-weight: 900; line-height: 0.85; text-transform: uppercase; }
.text-outline {
    color: var(--bg);
    text-shadow: 1px 1px 0 #fff, -1px 1px 0 #fff, 1px -1px 0 #fff, -1px -1px 0 #fff;
}
p { margin: 35px 0; font-size: 1.6rem; color: rgba(255,255,255,0.4); }
.cta-button {
    padding: 24px 65px;
    background: var(--lime);
    border: none;
    font-weight: 900;
    text-transform: uppercase;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 14px;
}

.cta-button:hover {
    transform: scale(1.05) translateY(-2px);
    box-shadow: 0 0 40px rgba(193, 255, 0, 0.6); /* Мощное свечение лаймом */
    background: #d4ff33; /* Чуть светлее при наведении */
}









.events-section {
    position: relative;
    padding: 250px 0; /* Увеличим отступ сверху */
    z-index: 5; /* Чтобы секция была под хедером, но над фоновыми фигурами */
}

.section-title {
    position: relative;
    z-index: 10;
    font-size: 3.5rem;
    font-weight: 900;
    margin-bottom: 60px; /* Отступ от заголовка до новостей */
    text-transform: uppercase;
    color: #fff;
    opacity: 1 !important; /* На случай, если анимация reveal его скрыла */
    transform: none !important;
}

.section-title span {
    color: var(--lime);
}

/* Фикс, чтобы слайдер не «съедал» заголовок при скролле */
.slider-wrapper {
    margin-top: 20px;
} 

.slider-wrapper {
    width: 100vw;
    overflow-x: hidden;
    cursor: grab;
    padding: 20px 0 60px 0;
    position: relative;
    /* Убираем синее выделение при клике на мобилках */
    -webkit-tap-highlight-color: transparent;
    scroll-behavior: auto !important; /* Важно: отключаем плавность для JS-прыжка */
    touch-action: pan-y; /* Позволяет скроллить страницу вертикально на мобилках */
    user-select: none;
    -webkit-user-select: none;
}


.slider-wrapper:active { cursor: grabbing; }

.slider-track {
    display: flex;
    gap: 40px;
    width: max-content;
    padding-left: calc((100vw - 1200px) / 2 + 30px);
    padding-right: 100px;
    will-change: transform;
}

@media (max-width: 1240px) {
    .slider-track { padding-left: 30px; }
}

/* КАРТОЧКА */
.event-card {
    width: 420px;
    background: #111;
    border-radius: 24px;
    border: 1px solid rgba(255,255,255,0.08);
    overflow: hidden;
    flex-shrink: 0;
    transition: transform 0.4s cubic-bezier(0.2, 0, 0.2, 1), border-color 0.3s ease;
    user-select: none;
}

.event-card:hover {
    border-color: var(--lime);
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0,0,0,0.6), 0 0 20px rgba(193, 255, 0, 0.1);
}

.card-img { width: 100%; height: 240px; overflow: hidden; position: relative; }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; pointer-events: none; }
.event-card:hover .card-img img { transform: scale(1.1); }

.card-content { padding: 30px; position: relative; }

.card-tag {
    display: inline-block;
    font-size: 10px;
    font-weight: 900;
    text-transform: uppercase;
    color: var(--lime);
    border: 1px solid var(--lime);
    padding: 4px 10px;
    border-radius: 4px;
    margin-bottom: 15px;
}

.card-content h3 { font-size: 1.6rem; margin-bottom: 12px; color: #fff; line-height: 1.2; }
.card-content p { font-size: 1rem; color: rgba(255,255,255,0.5); margin-bottom: 25px; line-height: 1.6; }

.card-btn {
    text-decoration: none;
    font-size: 13px;
    font-weight: 900;
    color: #fff;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: gap 0.3s;
}
.card-btn span { color: var(--lime); font-size: 18px; }
.card-btn:hover { color: var(--lime); gap: 15px; }
































/* Контейнер секции */
.qr-cyber-section {
    border: 1px solid rgba(193, 255, 0, 0.2) !important;
    background: rgba(10, 5, 20, 0.6) !important;
    padding: 60px 40px !important;
}

.centered-text {
    text-align: center;
    width: 100%;
    margin-bottom: 50px;
    font-size: 2rem !important;
    letter-spacing: 2px;
}

/* Сетка карточек */
.qr-mega-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

/* Сама карточка */
.qr-card-v4 {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 30px;
    border-radius: 25px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.qr-card-v4:hover {
    transform: translateY(-15px);
    background: rgba(193, 255, 0, 0.05);
    border-color: var(--lime);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 20px rgba(193, 255, 0, 0.1);
}

/* Оболочка самого QR кода */
.qr-wrapper {
    width: 180px;
    height: 180px;
    background: #fff;
    margin: 0 auto 20px;
    border-radius: 15px;
    padding: 10px;
    position: relative;
    overflow: hidden; /* Чтобы линия сканера не вылетала */
}

.qr-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* Эффект линии сканера */
.qr-scanner-line {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--lime);
    box-shadow: 0 0 15px var(--lime);
    z-index: 2;
    animation: scan 3s infinite linear;
    opacity: 0;
}

.qr-card-v4:hover .qr-scanner-line {
    opacity: 1;
}

@keyframes scan {
    0% { top: 0; }
    50% { top: 100%; }
    100% { top: 0; }
}

/* Текстовая инфа под QR */
.qr-info p {
    font-weight: 900;
    margin-top: 5px;
    text-transform: uppercase;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.7);
}

.qr-card-v4.accent-lime {
    border-color: rgba(193, 255, 0, 0.4);
}

/* АДАПТИВ */
@media screen and (max-width: 992px) {
    .qr-mega-grid { grid-template-columns: 1fr; }
    .qr-wrapper { width: 200px; height: 200px; }
    .qr-cyber-section { padding: 40px 20px !important; }
}








.main-footer {
    background: #050505;
    padding: 60px 0 20px;
    border-top: 1px solid var(--lime);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    align-items: start;
    margin-bottom: 40px;
}

/* ЛЕВАЯ ЧАСТЬ */
.tag {
    display: block;
    color: var(--lime);
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.contact-box { margin-bottom: 35px; }
.tel-link { font-size: 1.5rem; color: #fff; text-decoration: none; font-weight: 700; }
.contact-box p { color: #666; margin-top: 5px; }

.res-list { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.res-list a {
    color: #fff;
    text-decoration: none;
    font-size: 0.9rem;
    padding: 12px;
    background: #111;
    border-radius: 8px;
    transition: 0.3s;
    border: 1px solid transparent;
}
.res-list a:hover { border-color: var(--lime); color: var(--lime); }

/* ФОРМА */
.form-card { background: #0a0a0a; padding: 35px; border-radius: 20px; border: 1px solid #1a1a1a; }
.form-card h3 { margin-bottom: 20px; color: #fff; }

.final-form { display: flex; flex-direction: column; gap: 12px; }
.f-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

.final-form input, .final-form select, .final-form textarea {
    background: #151515;
    border: 1px solid #222;
    padding: 14px;
    color: #fff;
    border-radius: 10px;
    outline: none;
    font-size: 0.95rem;
}

.final-form textarea { height: 80px; resize: none; }

.f-btn {
    background: var(--lime);
    color: #000;
    border: none;
    padding: 16px;
    font-weight: 900;
    text-transform: uppercase;
    border-radius: 10px;
    cursor: pointer;
    margin-top: 10px;
}

/* КОПИРАЙТ */
.footer-bottom-line {
    text-align: center;
    border-top: 1px solid #1a1a1a;
    padding-top: 20px;
}
.footer-bottom-line p { color: #333; font-size: 0.8rem; margin: 0; }

/* МОБИЛЬНЫЕ ССЫЛКИ */
.mobile-only-link { display: none; background: rgba(193, 255, 0, 0.1) !important; }

/* АДАПТИВ */
@media (max-width: 992px) {
    .footer-grid { grid-template-columns: 1fr; gap: 40px; }
    .mobile-only-link { display: block !important; }
}

@media (max-width: 500px) {
    .f-row { grid-template-columns: 1fr; }
    .res-list { grid-template-columns: 1fr; }
}

































/* КЛАССЫ ДЛЯ АНИМАЦИИ ПОЯВЛЕНИЯ */
.reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s cubic-bezier(0.2, 0, 0.2, 1);
}
.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}


/* --- АДАПТИВНАЯ ВЕРСТКА --- */

@media (max-width: 1024px) {
    h1 { font-size: 4.5rem; }
    .nav-content { gap: 60px; }
}

@media (max-width: 768px) {
    /* 1. ХЕДЕР: Прячем длинные кнопки, оставляем только важное */
    .btn-glow { display: none; } /* Скрываем "Билет" и "Навигатор" на мобилках */
    
    header { top: 20px; }
    .container { padding: 0 20px; }
    
    /* 2. ГЛАВНЫЙ ЭКРАН */
    .hero-box { text-align: center; width: 100%; }
    
    h1 { 
        font-size: 3rem; 
        line-height: 1.1; 
        margin-top: 20px;
    }
    
    p { font-size: 1.1rem; margin: 20px 0 40px; }
    
    .cta-button { 
        width: 100%; /* Кнопка на всю ширину для удобства нажатия */
        padding: 20px; 
    }

    /* 3. МЕНЮ: Перестраиваем в один столбец */
    .nav-content { 
        flex-direction: column; 
        gap: 40px; 
        padding-top: 80px; /* Чтобы не перекрывалось кнопкой закрыть */
    }
    
    .nav-block a { font-size: 2.2rem; }
    
    /* 4. ФИГУРЫ: Уменьшаем, чтобы не мешались */
    .s-1 { width: 300px; height: 300px; right: -100px; }
    .s-2 { width: 500px; height: 500px; bottom: -100px; right: -150px; }
    
    /* Кнопка закрыть в меню на мобилке */
    .close-trigger { top: 25px; right: 20px; }
}

@media (max-width: 480px) {
    h1 { font-size: 2.5rem; }
    .logo { font-size: 1.3rem; }
    
    /* Делаем обводку текста чуть тоньше для мелких экранов */
    .text-outline {
        text-shadow: 1px 1px 0 #fff, -1px 1px 0 #fff;
    }
}































/* --- АДАПТИВНАЯ МАГИЯ --- */

/* 1. Общие настройки для планшетов и мобилок */
@media (max-width: 1024px) {
    .container {
        padding: 0 20px;
    }
    
    .section-title {
        font-size: 2.5rem; /* Чуть меньше заголовки */
    }
}

/* 2. Исправляем "Змейку" (Единую модель) */
@media (max-width: 900px) {
    .snake-container {
        display: flex;
        flex-direction: column;
        gap: 20px;
        height: auto !important;
        padding: 20px !important;
    }

    .snake-svg {
        display: none; /* Убираем путаницу с линией */
    }

    .snake-node {
        position: static !important;
        transform: none !important;
        width: 100% !important;
        margin-bottom: 10px;
    }

    .node-info {
        position: static !important;
        opacity: 1 !important;
        visibility: visible !important;
        width: 100% !important;
        transform: none !important;
        text-align: left !important; /* ВСЕ заголовки влево */
        background: rgba(255, 255, 255, 0.03);
        border: 1px solid rgba(193, 255, 0, 0.2);
        border-left: 4px solid var(--lime) !important; /* Жирный акцент слева */
        padding: 20px !important;
        display: block !important;
    }

    /* Убираем специфические настройки для 5 и 6 блоков, которые тянули вправо */
    .node-5 .node-info, .node-6 .node-info {
        text-align: left !important;
        right: auto !important;
        left: 0 !important;
    }

    .node-number {
        display: inline-block;
        margin-bottom: 10px;
        background: var(--lime);
        color: #000;
        width: 30px;
        height: 30px;
        text-align: center;
        line-height: 30px;
        border-radius: 50%;
        font-weight: 900;
    }
}


/* 3. Исправляем Слайдер Мероприятий */
@media (max-width: 768px) {
    .slider-item {
        width: 280px; /* Уменьшаем карточки, чтобы влезали */
        height: 380px;
    }
    
    .slider-item h3 {
        font-size: 1.2rem;
    }
}

/* 4. Футер и Форма на телефонах */
@media (max-width: 600px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .f-row {
        grid-template-columns: 1fr; /* Поля формы встают в один ряд */
    }

    .res-list {
        grid-template-columns: 1fr; /* Ресурсы в один ряд */
    }

    .main-link {
        font-size: 1.3rem; /* Телефон поменьше */
    }

    .form-card {
        padding: 20px; /* Меньше падинги, больше места под текст */
    }
}

/* 5. Хедер (Навигация) */
@media (max-width: 480px) {
    .nav-links {
        display: none; /* Прячем обычное меню, если не делали бургер */
    }
    
    /* Если у тебя есть кнопка "Начать путь", центрируем её */
    .header .btn {
        padding: 8px 15px;
        font-size: 0.8rem;
    }
}

































/* ФИНАЛЬНЫЙ ФИКС ДЛЯ ТВОЕГО МЕНЮ */

/* 1. Когда меню закрыто — полностью аннигилируем его видимость и кликабельность */
#menu-overlay {
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    /* Уводим его вверх, чтобы даже "хвосты" не торчали */
    transform: translateY(-100%) !important; 
    transition: all 0.5s cubic-bezier(0.77, 0, 0.175, 1);
    z-index: 1000;
}

/* 2. Когда меню открыто (добавляем класс active) */
#menu-overlay.active {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    transform: translateY(0) !important;
}

/* 3. Фикс той самой вылетающей ссылки */
/* Мы принудительно скрываем все ссылки внутри навигации, пока оверлей не активен */
#menu-overlay:not(.active) .nav-content a, 
#menu-overlay:not(.active) .nav-block {
    display: none !important;
}

/* 4. Защита хедера */
#main-header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 500; /* Хедер ниже открытого меню, но выше контента */
    overflow: hidden; /* Обрезаем всё, что пытается вылезти из хедера */
}

/* 5. Уменьшаем размер для мобилок (iPhone 11 и т.д.), чтобы всё влезло */
@media screen and (max-width: 430px) {
    .nav-content {
        padding-top: 80px !important; /* Даем место кнопке закрыть */
    }
    .nav-block {
        margin-bottom: 20px !important;
    }
    .links a {
        font-size: 16px !important; /* Уменьшаем шрифт ссылок */
        margin-bottom: 8px !important;
        display: block;
    }
    .category {
        font-size: 12px !important;
        margin-bottom: 10px !important;
    }
}









/* ЖЕСТКИЙ ПЕРЕНОС ДЛЯ МОБИЛОК (iPhone 11 и др.) */
@media screen and (max-width: 480px) {
    
    /* 1. Уменьшаем гигантские отступы шапки */
    header, header.header-scroll {
        padding: 10px 0 !important; /* Вместо 30px ставим 10px */
        height: 60px !important; /* Фиксируем высоту, чтобы не раздувало */
        display: flex;
        align-items: center;
    }

    /* 2. ЛОГОТИП: Теперь он точно уменьшится */
    .logo {
        font-size: 1.1rem !important; /* Уменьшаем с 1.7rem до 1.1rem */
        white-space: nowrap !important;
    }
    
    .logo span {
        font-size: 1.1rem !important;
    }

    /* 3. КОНТЕЙНЕР: Убираем лишние отступы по бокам */
    .container {
        padding: 0 15px !important; /* В два раза меньше отступы от краев экрана */
    }

    /* 4. ПРАВАЯ ЧАСТЬ: Вправляем мозги кнопкам */
    .header-right {
        gap: 10px !important; /* Сужаем расстояние между Войти и Меню */
        margin-left: auto; /* Прижимаем к логотипу, но с зазором */
    }

    /* 5. УДАЛЯЕМ ЛИШНЕЕ: Билет и Навигатор на мобилке не влезут */
    .btn-glow.bvb, 
    .btn-glow.nvg {
        display: none !important; 
    }

    /* 6. КНОПКА МЕНЮ: Делаем компактной */
    .burger-trigger span {
        font-size: 0.7rem !important; /* Надпись МЕНЮ поменьше */
    }
    
    .login-link {
        font-size: 0.8rem !important;
    }
}











/* Основной контейнер страницы */
.prof-page-final {
    padding: 120px 0 100px;
    z-index: 10;
    position: relative;
}

/* HERO СЕКЦИЯ С ЭФФЕКТОМ ГЛУБИНЫ */
.prof-hero-block .glass-wrap {
    background: rgba(10, 5, 20, 0.5);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(193, 255, 0, 0.2);
    border-radius: 40px;
    padding: 80px 40px;
    text-align: center;
    margin-bottom: 50px;
    transition: transform 0.5s ease, border-color 0.5s ease;
}

.prof-hero-block .glass-wrap:hover {
    transform: translateY(-10px);
    border-color: var(--lime);
    box-shadow: 0 20px 50px rgba(193, 255, 0, 0.1);
}

.main-title-logo {
    font-size: clamp(2.2rem, 10vw, 4.5rem);
    font-weight: 900;
    color: #fff;
    margin: 20px 0;
}

.lime-tag-hero {
    background: var(--lime);
    color: #000;
    display: inline-block;
    padding: 10px 35px;
    font-weight: 900;
    font-size: 1.2rem;
    border-radius: 4px;
    transform: skewX(-10deg);
}

/* ЖИВЫЕ БЛОКИ (NAV-BLOCK) */
.nav-block-live {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    padding: 40px;
    border-radius: 30px;
    margin-bottom: 30px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-block-live:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(193, 255, 0, 0.4);
    transform: scale(1.01);
}

/* СТАТИСТИКА */
.live-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 30px;
}

.stat-card {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 30px 15px;
    border-radius: 20px;
    text-align: center;
    transition: 0.3s;
}

.stat-card:hover {
    border-color: var(--lime);
    background: #000;
}

.stat-card h3 {
    font-size: 2.5rem;
    color: var(--lime);
    font-weight: 900;
    margin-bottom: 5px;
}

.wide-card {
    grid-column: span 4;
    border: 1px solid var(--lime);
}

/* ПРЕИМУЩЕСТВА (ИНТЕРАКТИВ) */
.benefits-interactive-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-top: 25px;
}

.benefit-item {
    background: rgba(193, 255, 0, 0.03);
    border: 1px solid rgba(193, 255, 0, 0.1);
    padding: 20px;
    border-radius: 12px;
    transition: 0.3s;
    font-size: 0.95rem;
}

.benefit-item:hover {
    background: rgba(193, 255, 0, 0.1);
    border-color: var(--lime);
    padding-left: 30px;
}

/* СПИСОК РАЗВИТИЯ */
.learning-list {
    list-style: none;
    margin-top: 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.learning-list li {
    position: relative;
    padding-left: 25px;
    opacity: 0.9;
}

.learning-list li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--lime);
    font-weight: 900;
}

/* QR СЕКЦИЯ */
.qr-container-box {
    border: 2px solid var(--lime) !important;
}

.qr-grid-layout {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 30px;
}

.qr-placeholder {
    width: 150px;
    height: 150px;
    background: #fff;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #000;
    font-weight: 900;
    margin-bottom: 10px;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.1);
}

/* МОБИЛКА */
@media screen and (max-width: 480px) {
    .live-stats-grid, .benefits-interactive-list, .learning-list { grid-template-columns: 1fr; }
    .stat-card.wide-card { grid-column: span 1; }
    .nav-block-live { padding: 25px; }
    .main-title-logo { font-size: 2rem !important; }
}















/* ТОТАЛЬНЫЙ АДАПТИВ */
@media screen and (max-width: 768px) {
    .container {
        padding: 0 15px !important;
    }

    .prof-page-final {
        padding-top: 80px; /* Уменьшаем отступ под хедер */
    }

    /* 1. Герой-блок */
    .prof-hero-block .glass-wrap {
        padding: 40px 15px;
        margin-bottom: 25px;
        border-radius: 20px;
    }

    .main-title-logo {
        font-size: 1.4rem !important; /* Уменьшаем заголовок */
        line-height: 1.2;
    }

    .lime-tag-hero {
        font-size: 0.9rem;
        padding: 8px 20px;
    }

    /* 2. Нав-блоки (карточки) */
    .nav-block-live {
        padding: 20px !important;
        margin-bottom: 15px;
        border-radius: 15px;
    }

    .category {
        font-size: 1.1rem !important;
    }

    /* 3. Статистика — делаем 2 колонки, потом 1 */
    .live-stats-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 10px;
    }

    .stat-card {
        padding: 15px 5px;
    }

    .stat-card h3 {
        font-size: 1.5rem !important;
    }

    .stat-card p {
        font-size: 0.7rem;
    }

    .wide-card {
        grid-column: span 2 !important;
    }

    /* 4. Преимущества и Мы научим — в одну колонку */
    .benefits-interactive-list, 
    .learning-list {
        grid-template-columns: 1fr !important;
        gap: 10px;
    }

    .benefit-item {
        font-size: 0.85rem;
        padding: 15px;
    }

    /* 5. QR-секция */
    .qr-grid-layout {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }

    .qr-placeholder {
        width: 120px;
        height: 120px;
    }

    /* 6. Жесткий фикс хедера (логотип) */
    header#main-header .logo {
        font-size: 1.1rem !important;
    }
    
    header#main-header .header-right {
        gap: 12px !important;
    }
}
/* Для совсем маленьких экранов (iPhone SE и т.д.) */
@media screen and (max-width: 380px) {
    .live-stats-grid {
        grid-template-columns: 1fr !important;
    }
    .wide-card {
        grid-column: span 1 !important;
    }
    .main-title-logo {
        font-size: 0.5rem !important;
    }
}