/* =========================================
   ОСНОВНЫЕ НАСТРОЙКИ
   ========================================= */

body { 
    margin: 0; padding: 0; 
    overflow-x: hidden; 
    background-color: #040404; 
    font-family: 'Courier New', Courier, monospace; 
    color: #fff; 
}

/* Скрываем стандартный курсор на десктопах */
@media (min-width: 1001px) {
    body, a, button, input[type=range] {
        cursor: none !important;
    }
}

@font-face {
    font-family: 'CustomSerif';
    font-weight: normal;
    font-style: normal;
    font-display: swap;
    src: url('../fonts/BBKVWildfire-Regular.woff2') format('woff2'),
         url('../fonts/BBKVWildfire-Regular.woff') format('woff'),  
         url('../fonts/BBKVWildfire-Regular.otf') format('opentype'); 
}

/* БЛОКИРОВКА СКРОЛЛА (Пока идет загрузка) */
body.no-scroll {
    overflow: hidden !important;
    height: 100vh;
}

/* =========================================
   КАСТОМНЫЙ КУРСОР
   ========================================= */
.cursor-follower {
    position: fixed;
    top: 0;
    left: 0;
    width: 20px;
    height: 20px;
    background-color: rgba(255, 255, 255, 0.4);
    border: 1px solid #fff;
    border-radius: 50%;
    pointer-events: none;
    z-index: 1000000;
    transition: width 0.3s ease, height 0.3s ease;
    transform: translate3d(-50%, -50%, 0); 
    will-change: transform;
    display: none;
}

.cursor-follower.active {
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.15);
}

/* =========================================
   PRELOADER
   ========================================= */
#preloader {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background-color: #040404;
    z-index: 100000; /* Поверх всего */
    display: flex;
    align-items: flex-end;    
    justify-content: flex-end; 
    padding: 20px 40px;       
    box-sizing: border-box;
    pointer-events: none;
}

#loader-text {
    font-family: 'CustomSerif', 'Times New Roman', serif; 
    font-size: 25vw; 
    line-height: 0.8;
    color: #fff;
    font-weight: normal;
}

@media (max-width: 1000px) {
    #preloader { padding: 20px; }
    #loader-text { font-size: 30vw; }
}

/* --- ШУМ (NOISE OVERLAY) --- */
.noise-overlay {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%; 
    z-index: 9999; pointer-events: none; opacity: 0.55; 
    background-repeat: repeat; mix-blend-mode: screen;
}

/* --- UI LAYERS --- */
.ui-layer {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%; 
    z-index: 1; pointer-events: none !important;
}

/* ТЕКСТ СПРАВА (ПОЯВЛЯЕТСЯ В КОНЦЕ) */
.text-right-center {
    position: absolute; top: 50%; right: 50px; transform: translateY(-50%); 
    font-size: 1.5rem; text-align: right; opacity: 0; transition: opacity 0.5s; color: #fff;
}

/* =========================================
   ОПТИМИЗАЦИЯ АНИМАЦИЙ (GSAP)
   ========================================= */
.top-left-logo, 
.top-right-logo, 
.snowflakes-container, 
.highlight-container, 
.ticker-container, 
.bottom-logo-container,
.scroll-asterisk-container,
.second-screen-layer,   
.sec-grid,              
.sec-highlight,         
.sec-snowflakes,        
.sec-content-wrapper,
.third-screen-layer,
.thrd-snowflakes,
.thrd-grid,
.footer-layer,
.go-down-btn {
    will-change: transform, opacity;
    transition: none !important;
}

/* =========================================
   ЭЛЕМЕНТЫ ПЕРВОГО ЭКРАНА
   ========================================= */

/* --- ЛОГОТИП СЛЕВА ВВЕРХУ --- */
.top-left-logo {
    position: absolute; top: 30px; left: 30px;
    width: 150px; height: auto;
    z-index: 25; pointer-events: auto !important; 
}

.top-left-logo img { width: 100%; height: auto; display: block; }

/* --- SNOWFLAKES (СЛЕВА) --- */
.snowflakes-container {
    position: absolute; top: 30px; left: 70px;
    width: 720px; height: auto;
    z-index: 20; pointer-events: none;
}
.snowflakes-container img { width: 100%; height: auto; display: block; filter: brightness(0.2); }

/* --- ФОН СПРАВА ВВЕРХУ --- */
.top-right-logo {
    position: absolute; top: 0px; right: 0px;
    width: 565px; height: auto;
    z-index: 20; pointer-events: none;
}
.top-right-logo img { width: 100%; height: auto; display: block; }

/* --- HIGHLIGHT (СПРАВА) --- */
.highlight-container {
    position: absolute; top: 50%; right: 190px;
    transform: translateY(-50%);
    width: 1000px; height: auto;
    z-index: 20; pointer-events: none;
}
.highlight-container img { width: 100%; height: auto; display: block; }

/* --- КНОПКА GO DOWN --- */
.go-down-btn {
    position: absolute;
    top: 30px;
    left: 50%;
    transform: translateX(-50%); 
    
    width: 200px;
    height: 40px;
    
    background-image: url('../img/GoDown_Active.svg');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    background-color: transparent;
    border: none;
    z-index: 30;
    outline: none;
    
    pointer-events: auto; 
}
.go-down-btn:hover, .go-down-btn:active {
    background-image: url('../img/GoDown_Push.svg');
}

/* --- TICKER (БЕГУЩАЯ СТРОКА) --- */
.ticker-container {
    position: absolute; bottom: 190px; left: 0;
    width: 100%; height: 206px;
    display: flex; align-items: flex-start; overflow: hidden;
    z-index: 5; pointer-events: none;
}
.ticker-container::before { content: ''; position: absolute; top: 0px; left: 0; width: 100%; height: 9px; background: #ffffff; z-index: 6; filter: brightness(0.2); }
.ticker-container::after { content: ''; position: absolute; top: 167px; left: 0; width: 100%; height: 8px; background: #ffffff; z-index: 6; filter: brightness(0.2); }

.ticker-track {
    display: flex; width: fit-content; 
    animation: scroll-left 30s linear infinite; will-change: transform;
    opacity: 1; 
}
.ticker-item-group { display: flex; flex-shrink: 0; }
.ticker-item-group img { 
    height: 206px; 
    width: auto; 
    display: block; 
    filter: brightness(0.2);
    margin-right: 40px; 
    flex-shrink: 0;
    min-width: 1px;
}

@keyframes scroll-left { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* --- ЛОГОТИП ВНИЗУ --- */
.bottom-logo-container {
    position: absolute; bottom: 120px; left: 50%; 
    transform: translateX(-50%);
    width: 100%; max-width: 773px; 
    padding: 0 20px; box-sizing: border-box;
    display: flex; justify-content: center;
    opacity: 1; pointer-events: none;
}
.bottom-logo-container img { width: 100%; height: auto; display: block; filter: brightness(0.2); }

/* --- SCROLL ASTERISK --- */
.scroll-asterisk-container {
    position: absolute; bottom: 20px; right: 20px;
    width: 150px; height: 150px;
    z-index: 20; pointer-events: auto !important; 
}
.scroll-asterisk-container img { width: 100%; height: auto; display: block; }


/* =========================================
   ВТОРОЙ ЭКРАН
   ========================================= */

.second-screen-layer {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    pointer-events: none; opacity: 0; 
}

.sec-grid {
    position: absolute; top: 50%; transform: translateY(-50%);
    left: -100px; width: 597px; z-index: 1;
}
.sec-grid img { width: 100%; display: block; }

.sec-snowflakes {
    position: absolute; top: 10%; right: 50px;
    width: 756px; z-index: 2;
}
.sec-snowflakes img { width: 100%; display: block; filter: brightness(0.2); }

.sec-highlight {
    position: absolute; top: 50%; transform: translateY(-50%);
    left: 0; width: 824px; z-index: 1;
}
.sec-highlight img { width: 100%; display: block; }

/* --- ТЕКСТОВЫЙ БЛОК --- */
.sec-content-wrapper {
    position: absolute; top: 50%; transform: translateY(-50%);
    right: 142px; width: 440px;
    z-index: 10; text-align: center;
}

.sec-title {
    font-family: 'CustomSerif', 'Times New Roman', serif;
    font-size: 36px; color: #FFFFFF;
    line-height: 100%; margin: 0 0 30px 0; font-weight: normal;
}

.sec-body {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 20px; color: #BDBDBD;
    line-height: 160%; margin: 0 0 30px 0;
}

.sec-footer {
    font-family: 'CustomSerif', 'Times New Roman', serif;
    font-size: 36px; color: #FFFFFF;
    line-height: 100%; margin: 0;
}

/* Анимация строк текста */
.reveal-line {
    display: block; 
    opacity: 0;
    transform: translateY(20px);
}


/* =========================================
   ТРЕТИЙ ЭКРАН
   ========================================= */

.third-screen-layer {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    pointer-events: none; opacity: 0; z-index: 10;
}

.thrd-snowflakes {
    position: absolute; top: 60px; left: 40px;
    width: 720px; z-index: 2;
}
.thrd-snowflakes img { width: 100%; display: block; filter: brightness(0.2); }

.thrd-grid {
    position: absolute; top: -50px; right: -50px;
    width: 597px; z-index: 1;
}
.thrd-grid img { width: 100%; display: block; transform: rotate(90deg); }


/* =========================================
   ПЛЕЕР И УПРАВЛЕНИЕ
   ========================================= */

.player-top-logo {
    width: 400px; height: auto; display: block; filter: none; margin-bottom: 10px; 
}

.controls-container {
    position: fixed; 
    top: 52%; 
    left: 25%; 
    z-index: 10;
    display: flex; flex-direction: column; gap: 20px; 
    opacity: 0; pointer-events: none; transition: opacity 0.5s;
    align-items: center; 
}

.player-frame {
    background-image: url('../img/Player_BG.svg');
    background-repeat: no-repeat;
    background-size: 100% 100%; 
    background-position: center;
    width: 450px; 
    padding: 60px 40px 40px 40px; 
    display: flex; flex-direction: column; align-items: center;
    gap: 48px; 
}

.buttons-row {
    display: flex; align-items: flex-start; justify-content: center; gap: 0; width: 100%;
}

.btn-group {
    display: flex; flex-direction: column; align-items: center; gap: 10px; margin: 0;
}

.btn-label {
    font-family: Arial, sans-serif; font-size: 16px; color: #727272;
    text-transform: uppercase; font-weight: bold; line-height: 1;
}

/* --- КНОПКИ ПЛЕЕРА С ФИКСОМ МОРГАНИЯ (OVERLAY) --- */
.btn-player {
    position: relative; /* Для позиционирования ::after */
    background-color: transparent; 
    background-repeat: no-repeat;
    background-position: center; 
    background-size: contain; 
    border: none; 
    padding: 0; 
    outline: none;
    height: 76px; 
    transition: none;
    -webkit-tap-highlight-color: transparent;
}
.btn-player:active { transform: none !important; }

/* Псевдоэлемент с нажатой картинкой (загружается сразу, но прозрачен) */
.btn-player::after {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
    opacity: 0; 
    pointer-events: none; 
    will-change: opacity;
}

/* REWIND */
#btn-rewind { width: 90px; background-image: url('../img/Rewind_Active.png'); }
#btn-rewind::after { background-image: url('../img/Rewind_Pushed.png'); }

/* PLAY */
#btn-play { width: 188px; background-image: url('../img/Play_Active.png'); }
#btn-play::after { background-image: url('../img/Play_Pushed.png'); }

/* PAUSE */
#btn-pause { width: 90px; background-image: url('../img/Pause_Active.png'); }
#btn-pause::after { background-image: url('../img/Pause_Pushed.png'); }

/* Активация слоя при нажатии */
.btn-player:active::after,
.btn-player.pushed-state::after,
.btn-player.active::after {
    opacity: 1;
}

/* --- ГРОМКОСТЬ --- */
.volume-wrapper {
    display: flex; align-items: center; gap: 15px; width: 360px; 
    margin: 0; background: transparent; padding: 0; border: none; justify-content: center; 
}

.vol-label { 
    font-family: Arial, sans-serif; font-size: 16px; font-weight: bold; 
    color: rgba(255, 255, 255, 0.3); flex-shrink: 0; 
}

input[type=range] {
    -webkit-appearance: none; appearance: none;
    width: 100%; background: transparent; border: none; margin: 0;
}
input[type=range]:focus { outline: none; }

input[type=range]::-webkit-slider-runnable-track {
    width: 100%; height: 14px; background: #353334;
    box-shadow: inset 0px 2.36941px 4.73883px #000000; border-radius: 5px;
}
input[type=range]::-moz-range-track {
    width: 100%; height: 14px; background: #353334;
    box-shadow: inset 0px 2.36941px 4.73883px #000000; border-radius: 5px;
}

input[type=range]::-webkit-slider-thumb {
    -webkit-appearance: none; appearance: none;
    height: 66px; width: 38px;
    background-image: url('../img/Mixer.png'); background-size: contain;
    background-repeat: no-repeat; background-position: center; background-color: transparent;
    border: none; box-shadow: none; margin-top: -26px; position: relative; z-index: 2;
}
input[type=range]::-moz-range-thumb {
    border: none; box-shadow: none; height: 66px; width: 38px;
    background-image: url('../img/Mixer.png'); background-size: contain;
    background-repeat: no-repeat; background-position: center; background-color: transparent;
}

/* =========================================
   KARAOKE STYLES
   ========================================= */
.karaoke-wrapper {
    position: relative; width: 100%; min-width: 300px; height: 110px; 
    overflow: hidden; margin-top: 24px; margin-bottom: 0; text-align: center;
    -webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 20%, black 80%, transparent 100%);
    mask-image: linear-gradient(to bottom, transparent 0%, black 20%, black 80%, transparent 100%);
}

#karaoke-list {
    display: flex; flex-direction: column; align-items: center; 
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1); will-change: transform;
}

.k-line {
    padding: 2px 0; font-family: 'CustomSerif', 'Times New Roman', serif;
    white-space: nowrap; transition: all 0.6s ease; 
    font-size: 24px; color: rgba(255, 255, 255, 0.3); transform: scale(0.9); transform-origin: center;
}
.k-line.active { font-size: 38px; color: #fff; transform: scale(1); opacity: 1; }
.k-line.next-1 { font-size: 26px; color: rgba(255, 255, 255, 0.6); transform: scale(0.95); opacity: 0.8; }
.k-line.next-2 { font-size: 18px; color: rgba(255, 255, 255, 0.3); transform: scale(0.9); opacity: 0.5; }

/* --- CANVAS --- */
#canvas-container { position: fixed; top: 0; left: 0; width: 100%; height: 100vh; z-index: 2; pointer-events: none; }

/* ВЫСОТА СТРАНИЦЫ ДЛЯ БУФЕРОВ (850vh) */
.scroll-content { height: 850vh; position: relative; z-index: 0; }

/* =========================================
   ПОДВАЛ (FOOTER)
   ========================================= */
.footer-layer {
    position: fixed; bottom: 0; left: 0; width: 100%; height: 270px;
    z-index: 60; opacity: 1; transform: translateY(100%); 
    pointer-events: all; display: flex; justify-content: space-between; align-items: flex-end; 
    box-sizing: border-box; padding-bottom: 30px; padding-left: 30px; padding-right: 0; 
    background: linear-gradient(to top, #040404 0%, rgba(4,4,4,0) 100%);
}

.footer-icons { display: flex; gap: 24px; align-items: center; }
.footer-icons img { width: 60px; height: auto; display: block; transition: transform 0.2s; }
.footer-icons a:hover img { transform: scale(1.1); }

.footer-center-logo {
    position: absolute; left: 50%; transform: translateX(-50%); bottom: 40px; width: 600px;
}
.footer-center-logo img { width: 100%; display: block; filter: brightness(0.2); }

.footer-grid {
    position: absolute; bottom: 0; right: 0; width: 458px; z-index: -1; 
}
.footer-grid img { width: 100%; display: block; }

/* =========================================
   ВИДЕО ВИДЖЕТ (СЛЕВА ВНИЗУ)
   ========================================= */
.video-widget {
    position: absolute;
    bottom: 40px; 
    left: 40px;   
    display: flex;
    align-items: center;
    gap: 16px;    
    text-decoration: none;
    pointer-events: auto; 
    z-index: 50;
    will-change: transform; 
}

/* Маска (Круг) */
.video-widget-mask {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    overflow: hidden;
    position: relative;
    /* Фикс для Safari */
    -webkit-mask-image: -webkit-radial-gradient(white, black);
    transform: translateZ(0); 
    
    transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}

/* Фоновое изображение (GIF) */
.video-widget-bg {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    
    /* Изначально увеличиваем (1.2), чтобы был запас */
    transform: scale(1.2);
    transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}

/* Иконка Play */
.video-widget-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    /* Исходное состояние: только центрирование */
    transform: translate(-50%, -50%);
    width: 40px; 
    height: auto;
    z-index: 2;
    pointer-events: none;
    
    /* Плавность для компенсации зума */
    transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}

/* Текст */
.video-widget-text {
    color: #FFF;
    font-family: Arial, sans-serif;
    font-size: 24px;
    font-style: normal;
    font-weight: 700;
    
    /* Настройки шрифта */
    leading-trim: both;
    text-edge: cap;
    
    /* ИЗМЕНЕНИЯ ДЛЯ ДВУХ СТРОК: */
    line-height: 1.1;     
    text-transform: uppercase;
    white-space: normal;   
    text-align: left;      
}

/* --- HOVER ЭФФЕКТ --- */
/* 1. Увеличиваем контейнер-маску */
.video-widget:hover .video-widget-mask {
    transform: scale(1.15);
}

/* 2. Уменьшаем фон (1.2 -> 1.05), чтобы он визуально стоял на месте, но открывал края */
.video-widget:hover .video-widget-bg {
    transform: scale(1.05);
}

/* 3. Уменьшаем иконку Play (1 -> 0.87), чтобы компенсировать увеличение родителя */
.video-widget:hover .video-widget-icon {
    transform: translate(-50%, -50%) scale(0.87);
}


/* =========================================
   VIDEO OVERLAY (MODAL) - DESKTOP (DEFAULT)
   ========================================= */
.video-overlay {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    z-index: 9999;
    
    display: flex;
    justify-content: center;
    align-items: center;
    
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
    backdrop-filter: blur(5px);
}

.video-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.video-modal {
    position: relative;
    width: 90%;
    max-width: 1200px;
    background: transparent;
    transform: scale(0.95);
    transition: transform 0.4s ease;
}

.video-overlay.active .video-modal {
    transform: scale(1);
}

/* Контейнер видео (Desktop: 16:9, скругленный) */
.video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 */
    height: 0;
    background: #000;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
    border-radius: 12px; 
    overflow: hidden;
}

/* СТИЛИ ДЛЯ ТЕГА VIDEO */
.video-wrapper video {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    object-fit: contain; /* Видео вписывается целиком, черные полосы если пропорции не 16:9 */
    outline: none;
}

/* Кнопка закрытия (Desktop) */
.video-close-btn {
    position: absolute;
    top: -40px; 
    right: 0;   
    width: 100px; height: 24px;
    background: transparent; border: none; padding: 0; z-index: 10;
    transition: transform 0.2s ease, opacity 0.2s;
}
.video-close-btn img { width: 100%; height: 100%; display: block; }
.video-close-btn:hover { transform: scale(1.1); opacity: 0.8; }

/* =========================================
   АДАПТИВ ДЛЯ МОБИЛЬНЫХ (max-width: 1000px)
   ========================================= */

/* Базовая логика переключения картинок */
.img-mobile { display: none !important; }
.img-desktop { display: block !important; }

@media (max-width: 1000px) {
    
    /* Переключение картинок: инвертируем видимость */
    .img-desktop { display: none !important; }
    .img-mobile { display: block !important; width: 100%; height: auto; }

    /* 1. top-left-logo */
    .top-left-logo { width: 55px; top: 15px; left: 15px; }

    /* 2. top-right-logo */
    .top-right-logo { width: 250px; top: 0; right: 0; }

    /* 3. snowflakes-container */
    .snowflakes-container {
        width: 416px; top: 36px; left: 50%; transform: translateX(-50%);
    }

    /* 4. highlight-container */
    .highlight-container {
        width: 550px; top: 40px; left: 50%; right: auto; transform: translateX(-50%);
    }

    /* 5. ticker-container */
    .ticker-container {
        width: 100%; height: 100px; bottom: 130px; transform: none;
    }
    .ticker-container::before { height: 3px; }
    .ticker-container::after { height: 3px; top: auto; bottom: 20px; }
    
    .ticker-item-group img { 
        height: 100px; 
        margin-right: 20px;
        flex-shrink: 0;
    }

    /* 6. bottom-logo-container */
    .bottom-logo-container { width: 344px; bottom: 98px; padding: 0; }

    /* 7. btn-go-down */
    .go-down-btn {
        width: 110px; 
        height: 24px;      
        top: 10px;   
        left: 150px;      
        transform: translateX(-50%); 
    }

    /* SCROLL ASTERISK */
    .scroll-asterisk-container {
        width: 70px; height: auto;
        bottom: 20px; right: 20px;
    }

    /* 8. sec-grid */
    .sec-grid {
        width: 320px; left: -250px; top: 50%; transform: translateY(-50%);
    }

    /* 9. sec-snowflakes */
    .sec-snowflakes {
        width: 344px; top: 6px; left: 50%; right: auto; transform: translateX(-50%);
    }

    /* 10. sec-highlight */
    .sec-highlight { display: none; }

    /* --- ТЕКСТОВЫЙ БЛОК --- */
    .sec-content-wrapper {
        width: 345px;
        left: 50%;
        right: auto;
        margin-left: -172.5px; 
        text-align: center;
    }
    .sec-title { font-size: 30px; }
    .sec-body { font-size: 18px; }
    .sec-footer { font-size: 30px; }

    /* --- ПЛЕЕР И УПРАВЛЕНИЕ (Мобильный) --- */
    .controls-container {
        width: auto;
        left: 50%; 
        top: auto;  
        bottom: 16px;   
        transform: translate(-50%, 0); 
        display: flex; flex-direction: column; gap: 8px; 
    }

    .player-top-logo { 
        width: 210px; 
        margin-bottom: 0px;
    }

    .player-frame { 
        width: 210px; 
        padding: 30px 15px; 
        gap: 24px; 
        background-size: 100% 100%; 
    }

    .volume-wrapper { width: 210px; gap: 6px; }

    input[type=range]::-webkit-slider-thumb { height: 38px; width: 22px; margin-top: -11px; }
    input[type=range]::-moz-range-thumb { height: 88px; width: 22px; }
    input[type=range]::-webkit-slider-runnable-track { height: 8px; }
    input[type=range]::-moz-range-track { height: 8px; }

    .buttons-row { gap: 0; flex-wrap: nowrap; }
    .btn-player { height: 44px; }
    #btn-play { width: 109px; }
    #btn-pause, #btn-rewind { width: 52px; }
    .btn-label, .vol-label { font-size: 8px; }
    .btn-group { gap: 6px; }

    /* --- КАРАОКЕ --- */
    .karaoke-wrapper { 
        margin-top: 0; 
        height: 80px; 
    }
    
    .k-line.active { font-size: 20px; }
    .k-line.next-1 { font-size: 14px; }
    .k-line.next-2 { font-size: 12px; }
    .k-line { font-size: 10px; padding: 2px 0; }

    /* --- ТРЕТИЙ ЭКРАН --- */
    .thrd-snowflakes {
        width: 416px; 
        top: auto; 
        bottom: 0; 
        left: 50%; 
        transform: translateX(-50%); 
    }
    .thrd-grid {
        width: 314px; 
        top: -50px; 
        right: -80px; 
    }

    /* --- ФУТЕР --- */
    .footer-layer {
        height: 180px; 
        padding: 0;
        display: block; 
    }

    .footer-icons {
        position: absolute;
        bottom: 15px;
        left: 15px;
        gap: 14px;
    }
    .footer-icons img { width: 34px; }

    .footer-center-logo {
        position: absolute;
        bottom: 80px; 
        left: 50%;
        transform: translateX(-50%);
        width: 345px;
    }

    .footer-grid {
        position: absolute;
        bottom: 0;
        right: 0;
        width: 220px;
        opacity: 0.5;
    }

    .video-widget {
        left: 20px;
        bottom: 20px; 
        gap: 10px;
    }
    
    .video-widget-mask {
        width: 70px;
        height: 70px;
    }
    
    .video-widget-text {
        font-size: 16px;
    }
    
    .video-widget-icon {
        width: 24px;
    }

    /* Поддержка нативного фулскрина (убираем отступы браузера) */
    .video-overlay:fullscreen,
    .video-overlay:-webkit-full-screen {
        background-color: #000;
        padding: 0;
    }

    .video-modal {
        width: 100%;
        height: 100%;
        max-width: none;
        transform: none !important;
        background: #000;
        display: flex;
        align-items: center; 
    }

    .video-wrapper {
        padding-bottom: 0; 
        width: 100%;
        height: 100%;      
        border-radius: 0;  
        box-shadow: none;
    }
    
    /* Video на весь экран */
    .video-wrapper video {
        width: 100%;
        height: 100%;
        object-fit: contain; /* Сохраняем пропорции видео */
    }

    .video-close-btn {
        top: 20px; 
        right: 20px;
        width: 36px; height: 36px;
        background: rgba(0, 0, 0, 0.6); 
        border-radius: 50%;
        padding: 8px; 
        z-index: 2147483647; 
    }

    .img-desktop { display: none !important; }
    .img-mobile { display: block !important; width: 100%; height: auto; }
}