
    
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    background: #fffafa;
    color: rgb(127, 51, 51);
}

:root {
--radius-round: 70%; /* или любое другое значение, например 125px */
--radius-soft: 8px;
/* --space-md: 20px;  
--space-xs: 20px;   */
--color-white: #FFCCCC; 
/* --text-sm: 32px;    */
}

/* Бесшовная фото-лента */
.photo-strip-container {
    width: 100%;
    overflow: hidden;
    position: relative;
    height: 850px;
    /* элемент авто прокрутку */
    cursor: grab; 
}

.photo-strip {
    display: flex;
    height: 850px;
    position: absolute;
    left: 0;
    transition: transform 0.3s ease-out;
}

.photo-strip img {
    height: 850px;
    width: auto;
    object-fit: cover;
    flex-shrink: 0;
     /* элемент затемнения */
    transition: opacity 0.5s ease;
} 

/* элемент авто-прокрутки */
.photo-strip-container.grabbing {
cursor: grabbing;
}
/* Затемнение при перемотке */
.photo-strip.rewinding img {
    opacity: 0.16; /* Корректное значение от 0 до 1 */
    transition: opacity 0.5s ease;
}

/* Общий контейнер для панели и кнопок */
.music-panel-wrapper {
    position: fixed;
    top: 40px;
    left: 50%;
    transform: translateX(-50%);
    width: 50%;
    z-index: 1000;
}

/* Стили для музыкальной панели */
.marquee-container {
    width: 100%;
    overflow: hidden;
    /*#adff00, #080808*/
    background: #FF6D38; /* плеер. бегущая строка */
    border-radius: 4px;
    transition: height 0.3s ease;
    height: 30px;
}

.marquee-container.expanded {
    /* height: 860px; */
    height: 660px;
    overflow-y: auto; /* Включаем вертикальную прокрутку */
    overflow-x: hidden; /* Скрываем горизонтальную прокрутку */
}


/* Стилизация вертикального скроллбара */
.marquee-container.expanded::-webkit-scrollbar {
    width: 12px; /* Ширина скроллбара */
}

/* Фон под подвижной полосой */
.marquee-container.expanded::-webkit-scrollbar-track {
    background: #FF6D38; /* Цвет фона под полосой прокрутки */
}

/* Цвет основной подвижной полосы прокрутки */
.marquee-container.expanded::-webkit-scrollbar-thumb {
    background: #3b3c36; /* Цвет полосы прокрутки */
    border-radius: 0px; /* Закругление углов полосы прокрутки */
}

/* Цвет полосы прокрутки при наведении */
.marquee-container.expanded::-webkit-scrollbar-thumb:hover {
    background: #555; /* Цвет полосы прокрутки при наведении */
}

/* Кнопки управления (десктоп) */
.repertoire-toggle {
    position: absolute;
    /* "РЕПЕРТУАР" расстояние от правого края плеера */
    left: -114px; 
    
    /* "ПЕСНИ" расстояние от правого края плеера */
    /* left: -80px;  */
    top: 0;
     /*#adff00, #080808*/
    background: #FF6D38;
    color: #080808;
    padding: 6px 12px;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 500;
}

.repertoire-menu {
    position: absolute;
    /* "Меню" расстояние от правого края плеера */
    /* right: -76px; */
    /* ТЕЛЕФОН*/
    /* right: -98px; */
    /* КОНТАКТЫ */
    right: -103px;
    top: 0;
    background: #FF6D38;
    color: #080808;
    padding: 6px 12px;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 500;
}

/* Кнопки управления (мобильные) */
.mobile-buttons {
    display: none;
    position: absolute;
    top: -28.6px; /* "Меню" "":расстояние от плеера */
    right: 0;
}

.mobile-repertoire-toggle, 
.mobile-repertoire-menu {
    display: inline-block;
    background: #adff00;
    color: #080808;
    padding: 3px 12px;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 500;
}

/* Изменён порядок кнопок для мобильной версии */
.mobile-repertoire-menu {
    margin-left: 0;
    margin-right: 5px; /* расстояние между кнопками */
}

.mobile-repertoire-toggle {
    margin-left: 0;
}

/* Блок меню */
.menu-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 30px;
    background: #FF6D38;
    border-radius: 4px;
    overflow: hidden;
    display: none;
    z-index: 2;
    transition: height 0.3s ease;
}

.menu-container.expanded {
    height: 140px;
    display: block;
}

.menu-content {
    padding: 20px;
}

.menu-item a {
    font-size: 2em;
    /* text-align: center; Центрирует текст внутри элемента */
    margin: 0 auto; /* Центрирует элемент по горизонтали */
    /* padding: 20px 20px; */
    padding: 10px 25px;
    color: #080808;
    cursor: pointer;
    font-weight: 1000;
    transition: all 0.3s;
    display: block;
    opacity: 0.9;

}

.menu-item_2 a {
    font-size: 16px;
    /* text-align: center; Центрирует текст внутри элемента */
    margin: 0 auto; /* Центрирует элемент по горизонтали */
    /* padding: 20px 20px; */
    /* padding: 10px 25px; */
    color: #080808;
    cursor: pointer;
    font-weight: 1000;
    transition: all 0.3s;
    display: block;
    /* opacity: 0.9; */

}

.menu-item:hover {
    text-shadow: 0 0 8px rgba(0, 0, 0, 0.3);
}

/* Стили для бегущей строки */
.marquee {
    display: flex;
    white-space: nowrap;
}

.marquee-container.scrollable::-webkit-scrollbar {
    display: none; /* Chrome/Safari */
}

.marquee__content {
    display: inline-flex;
    gap: 0px;
    animation: scroll 30s linear infinite;
}

/* Убираем hover-эффект на мобильных, так как он может конфликтовать */
.marquee.pause-on-hover:hover .marquee__content {
    animation-play-state: running;
}

.song-item {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    transition: all 0.3s;
    padding: 8px 16px;
    color: #050505;
    font-weight: 500;
}

.song-item i {
    font-size: 0.8em;
    margin-right: 8px;
    vertical-align: middle;
    color: #3b3c36;
}

.song-item span {
    vertical-align: middle;
}

.song-item:hover {
    text-shadow: 0 0 8px rgba(0, 0, 0, 0.3);
}

.song-item.active {
    color: rgb(68, 68, 68);
    text-shadow: 0 0 8px rgba(0, 0, 0, 0.5);
}

@keyframes scroll {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

/* Смещаем на полную ширину */
/* @keyframes scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-100%); } 
} */

/* Аудиоплеер */
.audio-player {
    display: none;
}

.expanded-content {
    display: none;
    padding: 20px;
    
}

.marquee-container.expanded .expanded-content {
    display: flex;
    justify-content: space-between;
    
}

.column {
    flex: 1;
}

.column .song-item {
    display: block;
    padding: 10px;
    cursor: pointer;
}

.marquee-container.expanded .marquee {
    border-bottom: 2px solid black;
}

.song-item i.fa-pause {
    display: none;
}

.song-item.active i.fa-play {
    display: none;
}

.song-item.active i.fa-pause {
    display: inline-block;
}

/* ЛОГО контейнер независим от других элементов */
.logo-container h1 {
    position: absolute;
    top: 44%;
    left: 50%;
    transform: translate(-50%, -50%);

    /* position: fixed; 
    top: 44%;
    left: 50%;
    transform: translate(-50%, -50%); */

    width: 420px;
    height: 160px;
    background-color: #080808;
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 100; /* Убедитесь, что лого поверх других элементов */
    
    /* СВЕЧЕНИЕ */
    animation: 
        inner-glow 10s infinite,
        outer-glow 10s infinite 0.2s; /* Задержка 0.2s */
    
}

.logo {
    font-weight: 100;
    font-size: 36px;
    text-transform: uppercase;
    letter-spacing: 8px;
    margin-bottom: 4px;
    color: #FFCCCC; /* Изменено на белый для лучшей видимости на черном фоне */
    text-align: center;
}

.sub-logo {
    font-size: 12px;
    margin-top: 14px;  
    letter-spacing: 3.2px;
    color: #FFCCCC;
    opacity: 0;
    transform: translateY(10px);
    animation: fade-in 0.7s ease-out 0.3s forwards;
    text-align: center;
}

/* уточнённый селектор для стилизации ссылок в меню*/
a.menu-item {
    display: inline-block;     /* Чтобы ссылка вела себя как блок (если нужно) */
    text-decoration: none;     /* Убирает подчёркивание */
     /* Наследует цвет текста от родителя */
    /* color: inherit;            */
    cursor: pointer;           /* Курсор в виде руки (как у ссылки) */
    transition: color 0.3s;    /* Плавное изменение цвета при наведении */
}

a.menu-item:hover {
    color: #3b3c36;            /* Меняет цвет при наведении */
}

/* СВЕЧЕНИЕ */
@keyframes inner-glow {
    0%, 20% { box-shadow: inset 0 0 0 rgba(255,255,255,0); }
    75% { box-shadow: inset 0 0 40px rgba(255,255,255,0.3); }
}
/* СВЕЧЕНИЕ */
@keyframes outer-glow {
    0%, 40% { box-shadow: 0 0 0 rgba(173,255,0,0); }
    /* 65% { box-shadow: 0 0 30px rgba(173,255,0,0.5); } */
    65% { box-shadow: 0 0 30px rgba(234, 114, 3, 0.5); }
}
/* ПОЯВЛНИЕ "кавер-ргуппа" */
@keyframes fade-in {           
    to { opacity: 0.8;color: #FFCCCC; transform: translateY(0); }
}

/* Медиа-запрос для мобильных устройств */
@media screen and (max-width: 768px) {
    
    @keyframes inner-glow {
        0%, 20% { box-shadow: inset 0 0 0 rgba(255,255,255,0); }
        75% { box-shadow: inset 0 0 152px rgba(255,255,255,0.7); }
        
    }
    
    .logo-container {
        position: relative; /* Встраиваем в поток */
        width: 100%;
        margin: 0 auto; /* Центрирование */
        padding: 0px 0; /* Отступы сверху/снизу */
        text-align: center; /* Центрирование содержимого */
        /* Фон как у логотипа */
        /* background: #080808;  */
                /* Оптимизация анимации */
        will-change: box-shadow;       /* Готовит браузер к изменению box-shadow */
        backface-visibility: hidden;   /* Фиксит "дрожание" на мобильных устройствах */
        
    }

    .logo-container h1 {
        position: static; /* Отмена absolute */
        transform: none; /* Убираем трансформацию */
        width: 100%;
        height: auto;
        padding: 15px;
        padding-top: 24px;
        margin: 0 auto;
        box-shadow: none; /* Убираем тени если нужно */
        
    }

    .logo {
        font-size: 24px; /* Уменьшаем размер для мобилок */
        letter-spacing: 4px;
        
    }

    .sub-logo {
        font-size: 10px;
        margin-top: 8px;
        
    }

    .expanded-content {
        max-height: 90vh;
        /* Плавный скролл на iOS */
        -webkit-overflow-scrolling: touch; 
        
        
    }
    
    .photo-strip img {
        height: 460px !important; /* Мобильные */   
        /* Визуальные границы блока*/
        /* outline: 1px solid blue;  */
    }
    
    .photo-strip-container {
    height: 460px !important; /* Мобильные */
    /* Визуальные границы блока*/
    /* outline: 1px solid blue; */
    
    }
    
    .mobile-buttons {
        display: flex;
        /* display: none; */
        position: static; /* Фиксируем относительно .marquee-container */
        width: 100%;
        margin: 0px auto;
        padding: 0;
        background: #3b3c36; /* Цвет фона, чтобы сливаться с окружением */
        border-top: 1px solid #333;
        z-index: 1100;
        /* outline: 1px solid rgb(13, 4, 95);    */
    }

    .mobile-repertoire-toggle,
    .mobile-repertoire-menu {
        flex: 1; /* Равные части */
        
        text-align: center;
        padding: 8px; /* Увеличиваем отступы для удобного нажатия */
        background: #080808;
        /*#800000*/
        opacity: 0.8; /* Значение от 0 (полностью прозрачный) до 1 (полностью непрозрачный) */ 
        color: #FFCCCC;
        
        font-weight: 500;
        font-size: 16px;
        cursor: pointer;
        border: none;
        outline: none;                
    }
    
        /* Убираем лишние отступы и скругления между кнопками */
    .mobile-repertoire-menu {
        border-radius: 0;
        margin-right: 1px; 
        
    }
    .mobile-repertoire-toggle {
        border-radius: 0;
        
    }

    /* IV) Сохраняем функционал (hover-эффекты, активные состояния и т. д.) */
    .mobile-repertoire-menu:hover,
    .mobile-repertoire-toggle:hover {
        background: #E65C2E;
        
    }
    /* .mobile-repertoire-menu:active,
    .mobile-repertoire-toggle:active {
        background: #D94B25;
    } */
    
    .repertoire-toggle, 
    .repertoire-menu {
        /* Скрываем десктопные кнопки */
        display: none; 
    }
    
    .music-panel-wrapper {
        /* display: none; */
        position: static ; /* или relative  */
        width: 100%;     /* 100% ширины родителя */
        max-width: none;  /* Сброс ограничений (если были) */
        margin: 0 auto;   /* Авто-отступы для центрирования (если нужно) */
        z-index: 1000;
        left: auto;       
        right: auto;
        transform: none;
        /* outline: 1px solid blue; */
    }

    .marquee-container, 
    .menu-container {
        
        height: 40px;
        width: 100%;
        position: static;   
    }

    .marquee {
        padding: 10px; /* Увеличиваем отступы для удобного нажатия */
        animation: none;   
    }
    
    /* .marquee__content {
        gap: 20px;
        animation: scroll 18s linear infinite;
        animation-play-state: running;
    } */
    .marquee__content {
        display: inline-flex;
        gap: 10px;
        animation: scroll 30s linear infinite; /* Увеличиваем длительность для 12 песен */
            /* Для плавности на мобильных */
        backface-visibility: hidden;
    }

    .song-item {
        font-size: 14px;
        padding: 6px 12px;
        margin-top: 0 !important; /* Жёстко сбрасываем отступ */
        padding-top: 0 !important;    
    }
    
    .song-title {
    
        font-size: 18px; /* Установите нужный размер шрифта */
        letter-spacing: 1px; /* Увеличивает расстояние между буквами */
        color: #fffafa;
        text-shadow: 4px 6px 7px rgba(0, 0, 0, 0.3); /* Тень текста */

        font-weight: 510; /* Жирный текст */
        

    }

    .menu-container.expanded ~ .marquee-container {
        display: none;    
    }

}
