/* css/style.css */

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

html, body {
    overflow-x: hidden;
}

/* === ИСПРАВЛЕНИЕ СКРОЛЛА: Блокировка прокрутки при открытом меню === */
body.no-scroll {
    overflow: hidden !important;
    height: 100vh;
    touch-action: none;
    width: 100%;
    position: relative;
}

/* === UTILITY CLASSES (GLOBAL) === */
.hidden-control {
    display: none !important;
}

/* PRELOADER STYLES START */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #0a0a0a;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    opacity: 1;
    visibility: visible;
    transition: opacity 0.5s ease-out, visibility 0s linear 0.5s;
}

.preloader-logo {
    margin-bottom: 20px;
}

.preloader-logo img {
    width: 80px;
    height: 80px;
    object-fit: contain;
    animation: pulseLogo 1.5s ease-in-out infinite alternate;
}

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

.preloader-spinner {
    width: 50px;
    height: 50px;
    border: 4px solid rgba(0, 255, 102, 0.3);
    border-top-color: #00FF66;
    border-radius: 50%;
    animation: spinPreloader 1s linear infinite;
}

@keyframes spinPreloader {
    to {
        transform: rotate(360deg);
    }
}

.preloader-hidden {
    opacity: 0;
    visibility: hidden;
}
/* PRELOADER STYLES END */


body {
    font-family: 'Arial', sans-serif;
    background: #0a0a0a;
    color: #ffffff;
    padding-bottom: 100px; 
}

main {
    padding-top: 80px;
}


/* Header */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid rgba(0, 255, 102, 0.2);
}

.navbar {
    padding: 0.75rem 0;
}

.nav-container {
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
}

.logo-img {
    width: 48px;
    height: 48px;
    object-fit: contain;
}

.nav-menu {
    list-style: none;
}

.social-icons {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-left: 1.5rem;
}

.social-icon img {
    width: 24px;
    height: 24px;
    transition: opacity 0.3s ease, transform 0.3s ease;
    opacity: 0.7;
}

.social-icon:hover img {
    opacity: 1;
    transform: scale(1.1);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
    margin-left: 1.5rem;
}

.bar {
    width: 25px;
    height: 3px;
    background: #00FF66;
    border-radius: 2px;
    transition: all 0.3s ease-in-out;
}

/* Скрываем новый десктопный плеер по умолчанию (для мобильных) */
#desktop-footer-player {
    display: none;
}

.desktop-nav-trigger {
    display: none;
}

/* === УНИФИЦИРОВАННЫЕ СТИЛИ ДЛЯ БЕГУЩЕЙ СТРОКИ === */

/* Анимация перемещения для всех плееров */
@keyframes marquee {
    0% { transform: translateX(var(--marquee-start, 100%)); }
    100% { transform: translateX(var(--marquee-end, -100%)); }
}

/* Стили для контейнеров (viewports), которые обрезают текст */
.track-line,
.mfp-track-line,
.mobile-title-viewport {
    position: relative;
    overflow: hidden;
    white-space: nowrap;
    width: 100%;
    cursor: pointer;
    display: flex;
    align-items: center;
    min-height: 1.2em;
}

/* Стили для самого текста (span), который будет анимироваться */
#desktop-track-artist, #desktop-track-title,
#fs-track-artist, #fs-track-title,
#mobile-track-artist, #mobile-track-title {
    display: inline-block;
    white-space: nowrap;
    position: relative;
    padding-right: 0;
    transform: translateX(0);
    will-change: transform; /* Оптимизация производительности */
}
/* === КОНЕЦ СТИЛЕЙ БЕГУЩЕЙ СТРОКИ === */


/* === MAIN SLIDER STYLES START === */
.main-slider-section {
    padding: 0;
    margin-bottom: 2rem;
}

.main-slider {
    width: 100%;
    aspect-ratio: 1496 / 400;
    border-radius: 0;
    overflow: hidden;
    background: #111;
}

.main-slider .swiper-slide {
    text-align: center;
    font-size: 18px;
    background: #0a0a0a;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
}

.main-slider .swiper-slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.main-slider .swiper-slide a {
    display: block;
    width: 100%;
    height: 100%;
    cursor: pointer;
}

/* Customizing Navigation and Pagination */
.main-slider .swiper-button-next,
.main-slider .swiper-button-prev {
    color: #00FF66;
    transition: opacity 0.3s ease;
}
.main-slider:hover .swiper-button-next,
.main-slider:hover .swiper-button-prev {
    opacity: 1;
}

.main-slider .swiper-pagination-bullet {
    background: rgba(255, 255, 255, 0.5);
    opacity: 1;
    transition: background-color 0.3s ease;
}

.main-slider .swiper-pagination-bullet-active {
    background-color: #00FF66;
}
/* === MAIN SLIDER STYLES END === */


@media (min-width: 992px) {
    .desktop-nav-hover {
        display: block;
        margin-left: 2rem;
    }
    
    .desktop-nav-trigger {
        display: none !important;
    }

    .desktop-nav-hover .nav-menu {
        display: flex;
        flex-direction: row;
        align-items: center;
        gap: 2rem;
        margin-left: 0;
        position: static;
        background: transparent;
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        border: none;
        border-radius: 0;
        padding: 0;
        min-width: auto;
        box-shadow: none;
        opacity: 1;
        visibility: visible;
        transform: none;
    }
    
    .desktop-nav-hover .nav-menu .nav-link {
        display: block;
        padding: 0.5rem 0;
        white-space: nowrap;
        color: #ffffff !important;
        text-decoration: none !important;
        background-color: transparent !important;
        transition: color 0.2s ease;
        text-transform: uppercase;
        font-weight: 600;
        font-size: 0.9rem;
        letter-spacing: 0.5px;
    }
    
    .desktop-nav-hover .nav-menu .nav-link::after {
        display: none !important;
    }
    
    .desktop-nav-hover .nav-menu .nav-link:hover {
        background-color: transparent !important;
        color: #00FF66 !important;
    }
    
    .social-icons {
        margin-left: auto;
    }

    /* === DESKTOP FOOTER PLAYER STYLES START === */
    #desktop-footer-player {
        display: flex;
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 90px;
        background: #0a0a0a;
        border-top: 1px solid rgba(0, 255, 102, 0.3);
        z-index: 1100;
        padding: 0 40px;
        align-items: center;
        justify-content: space-between;
        box-shadow: 0 -5px 20px rgba(0,0,0,0.5);
    }

    .desktop-player-left {
        display: flex;
        align-items: center;
        gap: 20px;
        flex: 1;
        max-width: 65%; 
    }

    .desktop-player__play-btn {
        width: 54px;
        height: 54px;
        border-radius: 50%;
        background-color: #000;
        border: 2px solid #fff;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        transition: transform 0.2s ease, border-color 0.2s ease;
        flex-shrink: 0;
    }

    .desktop-player__play-btn:hover {
        transform: scale(1.05);
        border-color: #00FF66;
    }

    .desktop-player__play-btn .icon-play {
        display: block;
        width: 0; height: 0;
        border-left: 18px solid #fff;
        border-top: 12px solid transparent;
        border-bottom: 12px solid transparent;
        margin-left: 4px;
    }

    #desktop-footer-player.playing .desktop-player__play-btn .icon-play {
        display: none;
    }

    #desktop-footer-player.playing .desktop-player__play-btn .icon-pause {
        display: flex;
        width: 16px; height: 20px;
        justify-content: space-between;
    }
    #desktop-footer-player.playing .desktop-player__play-btn .icon-pause::before,
    #desktop-footer-player.playing .desktop-player__play-btn .icon-pause::after {
        content: ''; display: block;
        width: 5px; height: 20px;
        background: #fff;
        border-radius: 2px;
    }
    
    .desktop-player__play-btn .icon-loading { display: none; }
    #desktop-footer-player.loading .desktop-player__play-btn .icon-play,
    #desktop-footer-player.loading .desktop-player__play-btn .icon-pause { display: none; }
    #desktop-footer-player.loading .desktop-player__play-btn .icon-loading {
        display: block; width: 24px; height: 24px;
        border: 3px solid rgba(255,255,255,0.3);
        border-top-color: #00FF66;
        border-radius: 50%;
        animation: spin 1s linear infinite;
    }

    .desktop-player-logos {
        display: flex;
        align-items: center;
        gap: 10px;
        margin-left: 20px;
    }
    
    .desktop-player-logos img {
        width: 71px;
        height: 71px;
        border-radius: 8px;
        object-fit: contain;
        background-color: transparent;
        flex-shrink: 0;
        cursor: pointer;
        transition: all 0.2s ease;
        opacity: 0.5;
        border: 2px solid transparent;
    }

    .desktop-player-logos img:hover {
        opacity: 0.8;
        transform: scale(1.05);
    }

    .desktop-player-logos img.active {
        opacity: 1;
        border-color: #00FF66;
        box-shadow: 0 0 10px rgba(0, 255, 102, 0.2);
    }

    .desktop-player__art {
        width: 54px;
        height: 54px;
        background-color: #282828;
        background-size: cover;
        background-position: center;
        border-radius: 8px;
        flex-shrink: 0;
        box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    }

    .desktop-player__info {
        display: flex;
        flex-direction: column;
        justify-content: center;
        overflow: hidden;
        min-width: 150px; 
    }

    /* === DESKTOP PLAYER :: TRACK TEXT STYLES (EASY EDIT) === */
    #desktop-footer-player #desktop-track-artist {
        font-size: 0.9rem;  /* <--- МЕНЯЙТЕ РАЗМЕР ШРИФТА АРТИСТА ЗДЕСЬ */
        font-weight: 400;
        color: #aaaaaa;
    }

    #desktop-footer-player #desktop-track-title {
        font-size: 1.2rem;  /* <--- МЕНЯЙТЕ РАЗМЕР ШРИФТА НАЗВАНИЯ ЗДЕСЬ */
        font-weight: 700;
        color: #ffffff;
    }

    /* Отступ между артистом и названием трека */
    #desktop-footer-player #desktop-track-artist-viewport {
        margin-bottom: 4px; /* <--- МЕНЯЙТЕ РАССТОЯНИЕ МЕЖДУ СТРОКАМИ ЗДЕСЬ */
    }
    /* === END OF TEXT STYLES === */
    
    .desktop-player__dj-info {
        font-size: 0.75rem;
        color: #00FF66;
        margin-top: 2px;
        font-style: italic;
    }

    .desktop-player-controls {
        display: flex;
        align-items: center;
        gap: 25px;
    }

    .desktop-player-controls .stream-selector {
        position: relative;
    }
    
    .desktop-player-controls .stream-select {
        appearance: none;
        -webkit-appearance: none;
        -moz-appearance: none;
        background-color: #333333;
        border: 1px solid #222;
        color: #e8eaed;
        padding: 8px 30px 8px 12px;
        border-radius: 4px;
        cursor: pointer;
        font-size: 0.9rem;
        outline: none;
        transition: background-color 0.2s ease;
    }
    
    .desktop-player-controls .stream-selector::after {
        content: '▼';
        font-size: 0.7rem;
        position: absolute;
        top: 50%;
        right: 10px;
        transform: translateY(-50%);
        color: #9aa0a6;
        pointer-events: none;
    }

    .desktop-player-controls .stream-select:hover {
        background-color: #404040;
        color: #fff;
    }

    .desktop-player-controls .stream-select:focus {
        border-color: #555;
    }

    .desktop-player-controls .stream-select option {
        background-color: #333333;
        color: #ffffff;
        padding: 5px;
    }

    .desktop-player-controls .sms-button {
        padding: 8px 20px;
        font-size: 0.9rem;
        border-radius: 6px;
        background: transparent;
        border: 1px solid #00FF66;
        color: #00FF66;
        box-shadow: none;
    }
    .desktop-player-controls .sms-button:hover {
        background: #00FF66;
        color: #0a0a0a;
        box-shadow: 0 0 15px rgba(0, 255, 102, 0.4);
    }
    .desktop-player-controls .sms-button .sms-text {
        display: inline;
    }
    .desktop-player-controls .sms-button svg {
        fill: currentColor;
    }

    .desktop-player-controls .volume-control {
        display: flex;
        align-items: center;
        gap: 10px;
        width: 140px;
    }
    .desktop-player-controls .volume-slider {
        height: 4px;
        background: #333;
    }
    .desktop-player-controls .volume-slider::-webkit-slider-thumb {
        width: 12px; height: 12px;
        background: #00FF66;
    }
    /* === DESKTOP FOOTER PLAYER STYLES END === */
}

#mobile-player {
    display: none;
    position: fixed;
    left: 0;
    width: 100%;
    z-index: 1500;
    background: rgba(24, 24, 24, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-top: 1px solid rgba(0, 255, 102, 0.2);
    align-items: center;
    padding: 8px 12px;
    gap: 12px;
    min-height: 66px;
}

.mobile-album-art {
    width: 50px;
    height: 50px;
    flex-shrink: 0;
    background-color: #282828;
    background-size: cover;
    background-position: center;
    border-radius: 6px;
}

.mobile-track-info {
    flex-grow: 1;
    overflow: hidden;
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 50px;
}

/* === MOBILE PLAYER (BAR) :: TRACK TEXT STYLES (EASY EDIT) === */
#mobile-player #mobile-track-artist {
    font-size: 0.8rem; /* <--- МЕНЯЙТЕ РАЗМЕР ШРИФТА АРТИСТА ЗДЕСЬ */
    font-weight: 400;
    color: #b3b3b3;
    margin-bottom: 2px; /* <--- МЕНЯЙТЕ РАССТОЯНИЕ МЕЖДУ СТРОКАМИ ЗДЕСЬ */
}

#mobile-player #mobile-track-title {
    font-size: 1rem;   /* <--- МЕНЯЙТЕ РАЗМЕР ШРИФТА НАЗВАНИЯ ЗДЕСЬ */
    font-weight: 700;
    color: #ffffff;
}
/* === END OF TEXT STYLES === */


.mobile-play-pause-btn {
    width: 50px;
    height: 50px;
    flex-shrink: 0;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mobile-play-pause-btn .icon-play,
.mobile-play-pause-btn .icon-pause,
.mobile-play-pause-btn .icon-loading {
    display: none;
}

.mobile-play-pause-btn .icon-play {
    display: block;
    width: 0;
    height: 0;
    border-left: 20px solid #00FF66;
    border-top: 12px solid transparent;
    border-bottom: 12px solid transparent;
    margin-left: 4px;
}

#mobile-player.playing .mobile-play-pause-btn .icon-play {
    display: none;
}
#mobile-player.playing .mobile-play-pause-btn .icon-pause {
    display: flex;
    width: 18px;
    height: 20px;
    justify-content: space-between;
}
#mobile-player.playing .mobile-play-pause-btn .icon-pause::before,
#mobile-player.playing .mobile-play-pause-btn .icon-pause::after {
    content: '';
    display: block;
    width: 6px;
    height: 20px;
    background: #00FF66;
    border-radius: 2px;
}

#mobile-player.loading .mobile-play-pause-btn .icon-play,
#mobile-player.loading .mobile-play-pause-btn .icon-pause {
    display: none;
}
#mobile-player.loading .mobile-play-pause-btn .icon-loading {
    display: block;
    width: 24px;
    height: 24px;
    border: 3px solid rgba(0, 255, 102, 0.4);
    border-top-color: #00FF66;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

.mobile-player-toggle {
    width: 40px;
    height: 50px;
    flex-shrink: 0;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.arrow-up {
    width: 12px;
    height: 12px;
    border-left: 2px solid #fff;
    border-top: 2px solid #fff;
    transform: rotate(45deg);
}
@keyframes spin { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } }
#fullscreen-player {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 66px; 
    background-color: #0a0a0a;
    z-index: 1600;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5vh;
    padding: 20px;
    transform: translateY(100%);
    visibility: hidden;
    transition: transform 0.4s ease, visibility 0s 0.4s;
}

#fullscreen-player.visible {
    transform: translateY(0);
    visibility: visible;
    transition: transform 0.4s ease, visibility 0s 0s;
}

.fs-close-btn {
    position: absolute;
    top: 15px;
    left: 15px;
    width: 40px;
    height: 40px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.arrow-down {
    width: 14px;
    height: 14px;
    border-left: 2px solid #fff;
    border-bottom: 2px solid #fff;
    transform: rotate(-45deg);
}

.fs-art-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    width: 75vw;
    max-width: 300px;
    aspect-ratio: 1 / 1;
    margin: 0 auto;
}

.fs-album-art {
    width: 100%;
    height: 100%;
    max-width: none;
    aspect-ratio: auto;
    background-color: #282828;
    background-size: cover;
    background-position: center;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.3);
    position: relative;
    cursor: pointer;
    z-index: 1;
}

.fs-nav-arrow {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 20;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    border-radius: 50%;
    transition: background 0.2s ease, transform 0.2s ease;
    border: none;
}

.fs-nav-arrow:hover {
    background: rgba(0, 0, 0, 0.8);
    transform: translateY(-50%) scale(1.1);
}

.fs-nav-arrow::after {
    content: '';
    display: block;
    width: 10px;
    height: 10px;
    border-top: 2px solid #fff;
    border-right: 2px solid #fff;
}

.fs-arrow-left {
    left: 10px;
}
.fs-arrow-left::after {
    transform: rotate(-135deg);
    margin-left: 4px;
}

.fs-arrow-right {
    right: 10px;
}
.fs-arrow-right::after {
    transform: rotate(45deg);
    margin-right: 4px;
}

.fs-play-pause-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.4);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 5;
}

.fs-play-pause-overlay .icon-play,
.fs-play-pause-overlay .icon-pause,
.fs-play-pause-overlay .icon-loading {
    display: none;
}

.fs-play-pause-overlay .icon-play {
    display: block;
    width: 0; height: 0;
    border-left: 30px solid #fff;
    border-top: 20px solid transparent;
    border-bottom: 20px solid transparent;
    margin-left: 8px;
}

#fullscreen-player.playing .fs-play-pause-overlay .icon-play { display: none; }
#fullscreen-player.playing .fs-play-pause-overlay .icon-pause {
    display: flex;
    width: 24px; height: 30px;
    justify-content: space-between;
}
#fullscreen-player.playing .fs-play-pause-overlay .icon-pause::before,
#fullscreen-player.playing .fs-play-pause-overlay .icon-pause::after {
    content: ''; display: block;
    width: 8px; height: 30px;
    background: #fff; border-radius: 2px;
}

#fullscreen-player.loading .fs-play-pause-overlay .icon-play,
#fullscreen-player.loading .fs-play-pause-overlay .icon-pause { display: none; }
#fullscreen-player.loading .fs-play-pause-overlay .icon-loading {
    display: block; width: 40px; height: 40px;
    border: 4px solid rgba(255, 255, 255, 0.4);
    border-top-color: #fff; border-radius: 50%;
    animation: spin 1s linear infinite;
}

.fs-track-info {
    text-align: center;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: -25px;
}

.fs-dj-name {
    color: #9aa0a6;
    font-size: 0.9rem;
    margin-bottom: 10px;
}

/* === FULLSCREEN PLAYER :: TRACK TEXT STYLES (EASY EDIT) === */

/* Новое правило для центрирования обеих строк ТОЛЬКО в полноэкранном плеере */
#fullscreen-player .mfp-track-line,
#fullscreen-player #fs-title-viewport {
    justify-content: center;
}

#fullscreen-player #fs-track-artist {
    font-size: 1.2rem; /* <--- МЕНЯЙТЕ РАЗМЕР ШРИФТА АРТИСТА ЗДЕСЬ */
    font-weight: 400;
    color: #b3b3b3;
}

#fullscreen-player #fs-track-title {
    font-size: 1.8rem; /* <--- МЕНЯЙТЕ РАЗМЕР ШРИФТА НАЗВАНИЯ ЗДЕСЬ */
    font-weight: 700;
    color: #ffffff;
}

/* Отступ между артистом и названием трека */
#fullscreen-player #mfp-artist-line {
    margin-bottom: 8px; /* <--- МЕНЯЙТЕ РАССТОЯНИЕ МЕЖДУ СТРОКАМИ ЗДЕСЬ */
}
/* === END OF TEXT STYLES === */

.fs-controls {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    width: 100%;
    max-width: 300px;
    margin-top: -27px;
}

#fullscreen-player.platform-ios .fs-stream-selector {
    display: none;
}
.volume-control {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-grow: 1;
    max-width: 250px;
}
.volume-icon {
    color: #9aa0a6;
    font-size: 1.2rem;
    cursor: pointer;
    transition: color 0.2s ease;
}
.volume-icon:hover {
    color: #e8eaed;
}
.volume-slider {
    width: 100%; height: 5px; background: #5f6368; border-radius: 2.5px;
    outline: none; cursor: pointer; appearance: none; -webkit-appearance: none;
}
.volume-slider::-webkit-slider-thumb {
    appearance: none; -webkit-appearance: none; width: 16px; height: 16px;
    background: #fff; border-radius: 50%; cursor: pointer; border: none;
    transition: all 0.2s ease;
}
.volume-slider::-webkit-slider-thumb:hover {
    box-shadow: 0 0 0 4px rgba(0, 255, 102, 0.3);
}
.volume-slider::-moz-range-thumb {
    width: 16px; height: 16px; background: #fff; border-radius: 50%; cursor: pointer; border: none;
}
.stream-selector { position: relative; }
.stream-select {
    -webkit-appearance: none; -moz-appearance: none; appearance: none;
    background-color: #303134; border: 1px solid #5f6368;
    color: #e8eaed; border-radius: 8px; padding: 6px 30px 6px 12px;
    font-size: 0.85rem; cursor: pointer; transition: all 0.3s ease;
}
.stream-select:hover { border-color: #9aa0a6; }
.stream-selector::after {
    content: '▾'; position: absolute; top: 50%; right: 10px;
    transform: translateY(-50%); color: #9aa0a6; pointer-events: none;
}


/* === СТИЛИ КНОПКИ "ПРИВЕТ В ЭФИР" === */
@keyframes pulse-glow {
    0% { box-shadow: 0 0 8px rgba(0, 255, 102, 0.4), 0 0 10px rgba(0, 255, 102, 0.3); }
    50% { box-shadow: 0 0 16px rgba(0, 255, 102, 0.7), 0 0 20px rgba(0, 255, 102, 0.5); }
    100% { box-shadow: 0 0 8px rgba(0, 255, 102, 0.4), 0 0 10px rgba(0, 255, 102, 0.3); }
}

.sms-button, .fs-sms-button, .dj-live-banner-sms-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    font-weight: bold;
    text-decoration: none;
    transition: all 0.2s ease-out;
    background: linear-gradient(45deg, #00FF66, #00CC52);
    color: #0a0a0a;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}
.sms-button svg, .fs-sms-button svg, .dj-live-banner-sms-button svg {
    width: 18px;
    height: 18px;
    fill: #0a0a0a;
}
.sms-button:hover, .fs-sms-button:hover, .dj-live-banner-sms-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 255, 102, 0.4);
}
.sms-button:active, .fs-sms-button:active, .dj-live-banner-sms-button:active {
    transform: translateY(1px);
    box-shadow: 0 2px 5px rgba(0, 255, 102, 0.3);
}
.sms-button.dj-live, .fs-sms-button.dj-live, .dj-live-banner-sms-button.dj-live {
    animation: pulse-glow 2s infinite ease-in-out;
}
/* Специфичные стили для разных кнопок */
.fs-sms-button {
    width: 100%;
    padding: 12px;
    font-size: 1rem;
}
.dj-live-banner-sms-button {
    padding: 10px 20px;
    font-size: 1rem;
}
/* Старый .sms-icon класс не нужен, SVG теперь сам по себе иконка */
.sms-button .sms-icon, .fs-sms-button .sms-icon, .dj-live-banner-sms-button .sms-icon { 
    display: none; 
}
/* === КОНЕЦ СТИЛЕЙ КНОПКИ === */


/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background-color: rgba(0,0,0,0.6);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

.modal-content {
    background-color: #1a1a1a;
    padding: 25px 30px;
    border: 1px solid rgba(0, 255, 102, 0.2);
    border-radius: 15px;
    width: 80%;
    max-width: 500px;
    box-shadow: 0 10px 30px rgba(0, 255, 102, 0.1);
    position: relative;
    max-height: 80vh;
    overflow-y: auto;
}

#smsModal .modal-content {
    margin: 5vh auto;
    animation: modalOpen 0.3s ease-out;
}

@keyframes modalOpen {
    from {transform: scale(0.9); opacity: 0;}
    to {transform: scale(1); opacity: 1;}
}

#career-app-root .modal .modal-content {
    position: absolute;
    left: 50%;
    top: 50%;
    margin: 0;
    max-height: 85vh;
    animation: careerModalOpenAnimation 0.3s ease-out forwards;
}

@keyframes careerModalOpenAnimation {
    from {
        transform: translate(-50%, -50%) scale(0.9);
        opacity: 0;
    }
    to {
        transform: translate(-50%, -50%) scale(1);
        opacity: 1;
    }
}


.close-button {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    line-height: 1;
}

.close-button:hover,
.close-button:focus {
    color: #00FF66;
    text-decoration: none;
    cursor: pointer;
}

.modal-content h2 {
    margin-top: 0;
    margin-bottom: 20px;
    color: #00FF66;
    text-align: center;
    font-size: 1.6rem;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #cccccc;
    font-size: 0.9rem;
    font-weight: 500;
}

.form-group input[type="text"],
.form-group input[type="url"],
.form-group input[type="number"],
.form-group input[type="date"],
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 10px 12px;
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(0, 255, 102, 0.2);
    border-radius: 8px;
    color: #ffffff;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input[type="date"],
.form-group select {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}
.form-group input[type="number"] {
    -moz-appearance: textfield;
}

.form-group input[type="date"] {
    text-align: left;
    direction: ltr;
}


.form-group input[type="text"]:focus,
.form-group input[type="url"]:focus,
.form-group input[type="number"]:focus,
.form-group input[type="date"]:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: #00FF66;
    box-shadow: 0 0 0 2px rgba(0, 255, 102, 0.3);
}

.form-group input[type="date"]::-webkit-calendar-picker-indicator {
    filter: invert(1) brightness(1.5);
    color: #00FF66;
    cursor: pointer;
    font-size: 1.2rem;
    margin-left: 5px;
    opacity: 1;
}

.form-group select {
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%2300FF66' width='18px' height='18px'%3e%3cpath d='M7 10l5 5 5-5z'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 18px;
    padding-right: 30px;
}
.form-group select option {
    background: #1a1a1a;
    color: #ffffff;
}


.form-group textarea {
    resize: vertical;
    min-height: 80px;
}

.submit-button {
    background: linear-gradient(45deg, #00FF66, #00CC52);
    color: #0a0a0a;
    padding: 12px 20px;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: bold;
    transition: all 0.3s ease;
    display: block;
    width: 100%;
    margin-top: 10px;
}

.submit-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 255, 102, 0.3);
}

.modal-content::-webkit-scrollbar {
    width: 8px;
}
.modal-content::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
}
.modal-content::-webkit-scrollbar-thumb {
    background: rgba(0, 255, 102, 0.4);
    border-radius: 10px;
}
.modal-content::-webkit-scrollbar-thumb:hover {
    background: rgba(0, 255, 102, 0.6);
}


#notificationContainer {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 3000;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.notification {
    background-color: #222;
    color: #fff;
    padding: 12px 18px;
    border-radius: 8px;
    margin-bottom: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    opacity: 0;
    transform: translateX(100%);
    transition: opacity 0.5s ease, transform 0.5s ease;
    min-width: 250px;
    max-width: 350px;
    font-size: 0.95rem;
    border-left: 5px solid;
}

.notification.show {
    opacity: 1;
    transform: translateX(0);
}

.notification.success {
    border-left-color: #00FF66;
    background-color: rgba(0, 255, 102, 0.15);
    color: #00FF66;
}
.notification.success::before {
    content: "✔ ";
    font-weight: bold;
}


.notification.error {
    border-left-color: #ff4444;
    background-color: rgba(255, 68, 68, 0.15);
    color: #ff4444;
}
.notification.error::before {
    content: "✖ ";
    font-weight: bold;
}


.section {
    padding: 4rem 0;
    position: relative;
}
.section:nth-child(odd):not(.song-history-section):not(.track-request-section) {
    background: rgba(0, 255, 102, 0.02);
}


.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.history-request-wrapper {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    gap: 2rem;
}

.song-history-section,
.track-request-section {
    flex: 1;
    min-width: 300px;
    padding: 1rem 0;
}

.history-container, .request-container {
    width: 100%;
}


.section-title {
    font-size: clamp(2rem, 5vw, 2.5rem);
    text-align: center;
    margin-bottom: 2rem;
    color: #00FF66;
    position: relative;
    font-weight: 600;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #00FF66, #00CC52);
    border-radius: 2px;
}

.history-title, .request-title {
    text-align: left;
}
.history-title::after, .request-title::after {
    left: 0;
    transform: translateX(0);
}


.song-history-container {
    width: 100%;
    background: rgba(255, 255, 255, 0.03);
    padding: 1rem;
    border-radius: 10px;
    border: 1px solid rgba(0, 255, 102, 0.1);
    max-height: calc((47px + 0.7rem * 2 + 1px) * 6 - 0.7rem);
    overflow-y: auto;
    min-height: 100px;
}

.song-history-container::-webkit-scrollbar {
    width: 8px;
}
.song-history-container::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
}
.song-history-container::-webkit-scrollbar-thumb {
    background: rgba(0, 255, 102, 0.3);
    border-radius: 10px;
}
.song-history-container::-webkit-scrollbar-thumb:hover {
    background: rgba(0, 255, 102, 0.5);
}


.history-loading, .history-empty, .history-error, .request-loading, .request-empty, .request-error {
    text-align: center;
    color: #888;
    font-style: italic;
    padding: 1rem 0;
}

.song-history-item {
    display: flex;
    align-items: center;
    padding: 0.6rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    opacity: 0;
    transform: translateY(10px);
    animation: fadeInHistoryItem 0.3s ease-out forwards;
}
@keyframes fadeInHistoryItem {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
.song-history-item:nth-child(1) { animation-delay: 0.05s; }
.song-history-item:nth-child(2) { animation-delay: 0.1s; }
.song-history-item:nth-child(3) { animation-delay: 0.15s; }
.song-history-item:nth-child(4) { animation-delay: 0.2s; }
.song-history-item:nth-child(5) { animation-delay: 0.25s; }
.song-history-item:nth-child(6) { animation-delay: 0.3s; }


.song-history-item:last-child {
    border-bottom: none;
}

.history-item-art {
    width: 45px;
    height: 45px;
    background-color: rgba(255,255,255,0.05);
    background-size: cover;
    background-position: center;
    border-radius: 4px;
    margin-right: 12px;
    flex-shrink: 0;
}

.history-item-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
    flex-grow: 1;
    overflow: hidden;
    min-width: 0;
}


.song-history-item .track {
    color: #dddddd;
    text-align: left;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-weight: 500;
    font-size: 0.95rem;
    cursor: pointer;
}
.song-history-item .track:hover {
    color: #00FF66;
}

.song-history-item .time {
    color: #00FF66;
    font-size: 0.8em;
    text-align: left;
    margin-top: 3px;
}


.track-request-wrapper {
    position: relative;
}


/* DJ Live Banner Styles */
.dj-live-banner {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(10, 10, 10, 0.97);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    z-index: 10;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    color: #00FF66;
    border: 1px solid rgba(0, 255, 102, 0.2);
    box-sizing: border-box;
}

.dj-live-banner p {
    font-size: 1.3rem;
    font-weight: bold;
    margin-bottom: 15px;
}
.dj-live-banner p .dj-name {
    color: #ffffff;
}

#trackRequestContent.dj-live-active {
    filter: blur(3px);
    pointer-events: none;
    opacity: 0.5;
}


.track-request-content {
    background: rgba(255, 255, 255, 0.03);
    padding: 1rem;
    border-radius: 10px;
    border: 1px solid rgba(0, 255, 102, 0.1);
    height: calc((42px + 0.7rem * 2 + 1px) * 6 - 0.7rem + 2rem);
    display: flex;
    flex-direction: column;
    transition: filter 0.3s ease, opacity 0.3s ease;
}

.track-search-form {
    display: flex;
    margin-bottom: 1rem;
    flex-shrink: 0;
}

#trackSearchInput {
    flex-grow: 1;
    padding: 10px 12px;
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(0, 255, 102, 0.2);
    border-radius: 8px 0 0 8px;
    color: #ffffff;
    font-size: 0.95rem;
    outline: none;
}
#trackSearchInput:focus {
    border-color: #00FF66;
    box-shadow: 0 0 0 2px rgba(0, 255, 102, 0.3);
}

#trackSearchForm button {
    padding: 10px 15px;
    background: #00FF66;
    color: #0a0a0a;
    border: none;
    border-radius: 0 8px 8px 0;
    cursor: pointer;
    font-size: 1.1rem;
    transition: background-color 0.3s ease;
}
#trackSearchForm button:hover {
    background: #00cc52;
}

.requestable-tracks-container {
    flex-grow: 1;
    overflow-y: auto;
    min-height: 80px;
    max-height: calc((35px + 0.6rem * 2 + 1px) * 6 - 0.8rem);
}

.requestable-tracks-container::-webkit-scrollbar {
    width: 8px;
}
.requestable-tracks-container::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
}
.requestable-tracks-container::-webkit-scrollbar-thumb {
    background: rgba(0, 255, 102, 0.3);
    border-radius: 10px;
}
.requestable-tracks-container::-webkit-scrollbar-thumb:hover {
    background: rgba(0, 255, 102, 0.5);
}

.requestable-track-item {
    display: flex;
    align-items: center;
    padding: 0.6rem 0.3rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    cursor: pointer;
    transition: background-color 0.2s ease;
    opacity: 0;
    transform: translateY(10px);
    animation: fadeInTrack 0.3s ease-out forwards;
}

@keyframes fadeInTrack {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.requestable-track-item:nth-child(1) { animation-delay: 0.05s; }
.requestable-track-item:nth-child(2) { animation-delay: 0.1s; }
.requestable-track-item:nth-child(3) { animation-delay: 0.15s; }


.requestable-track-item:hover {
    background-color: rgba(0, 255, 102, 0.07);
}
.requestable-track-item:last-child {
    border-bottom: none;
}

.request-item-art {
    width: 35px;
    height: 35px;
    background-color: rgba(255,255,255,0.05);
    background-size: cover;
    background-position: center;
    border-radius: 4px;
    margin-right: 10px;
    flex-shrink: 0;
}
.request-item-info {
    flex-grow: 1;
    overflow: hidden;
    min-width: 0;
    display: flex;
    align-items: baseline;
}
.request-item-info .artist-name {
    font-size: 0.85rem;
    color: #b0b0b0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-right: 0.4em;
    font-weight: 500;
}
.request-item-info .track-name {
    font-size: 0.9rem;
    color: #dddddd;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    flex-shrink: 1;
}

/* === СТИЛИ СЛАЙДЕРОВ И КАРТОЧЕК === */
.career-swiper,
.team-swiper {
    width: 100%;
    position: relative;
    padding: 0 40px;
    box-sizing: border-box;
    margin-bottom: 2.5rem;
}
.career-swiper .swiper-wrapper,
.team-swiper .swiper-wrapper {
    align-items: stretch;
}
.career-swiper .swiper-slide,
.team-swiper .swiper-slide {
    width: 280px;
    height: auto;
    margin-right: 20px;
    box-sizing: border-box;
    display: flex;
    justify-content: center;
    align-items: stretch;
}
.career-swiper .swiper-slide .position-card,
.team-swiper .swiper-slide .team-card {
    width: 100%;
    height: 100%;
    margin: 0;
}
.career-swiper-prev, .career-swiper-next,
.team-swiper-prev, .team-swiper-next {
    color: #00FF66 !important;
    width: 40px !important;
    height: 40px !important;
    top: 50% !important;
    transform: translateY(-50%);
    margin-top: 0 !important;
}
.career-swiper-prev:after, .career-swiper-next:after,
.team-swiper-prev:after, .team-swiper-next:after {
    font-size: 24px !important;
}
.career-swiper-prev, .team-swiper-prev { left: 0 !important; }
.career-swiper-next, .team-swiper-next { right: 0 !important; }
.about-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}
.about-content p {
    font-size: 1.2rem;
    line-height: 1.8;
    color: #cccccc;
}
.career-content {
    text-align: center;
}
.career-content > p {
    font-size: 1.2rem;
    margin-bottom: 3rem;
    color: #cccccc;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
}
.team-card {
    background: rgba(255, 255, 255, 0.03);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    border: 1px solid rgba(0, 255, 102, 0.15);
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}
.team-card:hover {
    border-color: #00FF66;
}
.team-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: linear-gradient(135deg, #00FF66, #00b247);
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 255, 102, 0.3);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}
.team-card h3 {
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
    color: #ffffff;
}
.team-card p {
    color: #00FF66;
    font-size: 0.95rem;
}
.position-card {
    background: rgba(255, 255, 255, 0.03);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    border: 1px solid rgba(0, 255, 102, 0.15);
    transition: border-color 0.3s ease;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.position-card:hover {
    border-color: #00FF66;
}
.position-card h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: #00FF66;
}
.position-card p {
    color: #cccccc;
    font-size: 1rem;
}
.career-apply {
    text-align: center;
    margin-top: 2.5rem;
}
.apply-button {
    background: linear-gradient(45deg, #00FF66, #00CC52);
    color: #0a0a0a;
    padding: 12px 25px;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: bold;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}
.apply-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 255, 102, 0.3);
}

.footer {
    background: #080808;
    padding: 2.5rem 0;
    text-align: left; /* Выравнивание по левому краю на ПК */
    border-top: 1px solid rgba(0, 255, 102, 0.15);
}

.footer p {
    color: #777777;
    font-size: 0.9rem;
}

/* Footer Partners Styles */
.footer-partners {
    display: flex;
    align-items: center;
    justify-content: flex-start; /* Выравнивание слева на ПК */
    gap: 30px;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-partners a {
    display: block;
    opacity: 0.6;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.footer-partners a:hover {
    opacity: 1;
    transform: scale(1.05);
}

.footer-partners img {
    height: 100px;
    width: auto;
    object-fit: contain;
    /* Делаем логотипы серыми по умолчанию */
    filter: grayscale(100%) brightness(0.8);
    transition: filter 0.3s ease;
}

.footer-partners a:hover img {
    /* Возвращаем цвет при наведении */
    filter: grayscale(0%) brightness(1);
}

/* === SCROLL TO TOP BUTTON === */
.scroll-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background: #00FF66;
    color: #0a0a0a;
    border-radius: 50%;
    text-align: center;
    line-height: 50px;
    font-size: 24px;
    font-weight: bold;
    text-decoration: none;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transform: translateY(100px);
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 255, 102, 0.3);
}

.scroll-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-to-top:hover {
    background: #33ff85;
    transform: scale(1.1);
}


/* === PROGRAMS PAGE STYLES (GRID DESIGN) === */
.programs-page {
    padding-top: 2rem; 
    padding-bottom: 5rem;
}

.programs-page .section-title {
    margin-bottom: 3rem;
}

.programs-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.program-card {
    background-color: #181818;
    border-radius: 12px;
    overflow: hidden;
    text-decoration: none;
    color: #ffffff;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.program-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 255, 102, 0.1);
    border-color: rgba(0, 255, 102, 0.3);
}

.program-card-image-wrapper {
    aspect-ratio: 1 / 1;
    overflow: hidden;
}

.program-card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.program-card:hover .program-card-image {
    transform: scale(1.05);
}

.program-card-info {
    padding: 1.25rem;
}

.program-card-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin: 0 0 0.5rem 0;
    line-height: 1.3;
}

.program-card-schedule {
    font-size: 0.9rem;
    color: #b3b3b3;
    margin: 0;
}

.programs-loading, .programs-error {
    color: #888;
    font-style: italic;
    grid-column: 1 / -1;
    text-align: center;
}

.programs-error {
    color: #ff4444;
}
/* === PROGRAMS PAGE STYLES END === */


/* === TEAM PAGE STYLES START (NEW GRID DESIGN) === */
.team-page {
    padding-top: 2rem;
    padding-bottom: 5rem;
}

.team-page .section-title {
    margin-bottom: 3rem;
}

.team-grid-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.team-member-card {
    background-color: #181818;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}
.team-member-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 255, 102, 0.1);
    border-color: rgba(0, 255, 102, 0.3);
}

.team-member-photo {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 12px 12px 0 0;
}

.team-member-photo-placeholder {
    width: 100%;
    aspect-ratio: 1 / 1;
    background-color: #282828;
    border-radius: 12px 12px 0 0;
}

.team-member-info {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.team-member-info h3 {
    font-size: 1.4rem;
    font-weight: 600;
    margin: 0 0 0.25rem 0;
}

.team-member-role {
    color: #00FF66;
    font-size: 0.9rem;
    margin-bottom: 1rem;
    font-style: italic;
}

.team-member-bio {
    color: #b3b3b3;
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 1rem;
    flex-grow: 1;
}

.team-social-icons {
    margin-top: auto;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: center;
    gap: 1.5rem;
}
.team-social-icons .social-icon img {
    opacity: 0.8;
}
.team-social-icons .social-icon:hover img {
    opacity: 1;
}

.team-loading, .team-error {
    color: #888;
    font-style: italic;
    grid-column: 1 / -1;
    text-align: center;
}
.team-error {
    color: #ff4444;
}
/* === TEAM PAGE STYLES END === */


/* === ADMIN PANEL STYLES START === */
.admin-view {
    display: none;
}
.nav-item.dropdown {
    position: relative;
}

.dropdown-toggle {
    cursor: pointer;
    color: #ffffff;
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 0;
    transition: color 0.3s ease;
    text-decoration: none !important;
}

.dropdown-toggle:hover {
    color: #00FF66;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #1a1a1a;
    border: 1px solid rgba(0, 255, 102, 0.2);
    border-radius: 8px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.3);
    list-style: none;
    padding: 0.5rem 0;
    margin-top: 10px;
    min-width: 220px;
    z-index: 1001;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity 0.3s ease, visibility 0s linear 0.3s, transform 0.3s ease;
}
.dropdown-menu.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    transition: opacity 0.3s ease, visibility 0s linear 0s, transform 0.3s ease;
}
.dropdown-item {
    display: block;
    width: 100%;
    text-align: left;
    background: none;
    border: none;
    color: #ffffff;
    padding: 10px 20px;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.2s ease, color 0.2s ease;
}
.dropdown-item:hover {
    background-color: rgba(0, 255, 102, 0.1);
}
.dropdown-item.active {
    color: #00FF66;
    font-weight: bold;
}
.checkbox-group {
    display: flex;
    align-items: center;
    gap: 10px;
}
.checkbox-group input[type="checkbox"] {
    width: auto;
}

.admin-form {
    background-color: rgba(255, 255, 255, 0.03);
    padding: 2rem;
    border-radius: 15px;
    border: 1px solid rgba(0, 255, 102, 0.15);
    margin-top: 2rem;
}

.program-list-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(255, 255, 255, 0.03);
    padding: 10px 15px;
    border-radius: 8px;
    margin-bottom: 10px;
    border: 1px solid transparent;
    transition: border-color 0.3s ease;
    cursor: grab;
}
.program-list-item:hover {
    border-color: rgba(0, 255, 102, 0.3);
}
.sortable-ghost {
    opacity: 0.4;
    background: #2a2a2a;
}

.program-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.program-thumb {
    width: 50px;
    height: 50px;
    object-fit: cover;
    border-radius: 5px;
}

.program-actions {
    display: flex;
    gap: 10px;
}

.edit-btn, .delete-btn, .cancel-button {
    padding: 8px 12px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.2s ease;
}

.edit-btn {
    background-color: #337ab7;
    color: white;
}
.edit-btn:hover {
    background-color: #286090;
}

.delete-btn {
    background-color: #d9534f;
    color: white;
}
.delete-btn:hover {
    background-color: #c9302c;
}

.cancel-button {
    background-color: #777;
    color: white;
    width: 100%;
    margin-top: 10px;
}
.cancel-button:hover {
    background-color: #555;
}
/* === ADMIN PANEL STYLES END === */


@media (max-width: 991px) {
    .programs-grid, .team-grid-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    html, body {
        overflow-x: hidden;
    }
    
    main {
        padding-top: 75px;
    }

    .nav-container {
        padding: 0 1rem;
    }
    .hamburger {
        display: flex;
        z-index: 1001;
        margin-left: auto;
    }

    .social-icons {
        margin-left: 1.5rem;
    }
    
    .desktop-nav-hover {
        position: static;
        margin-left: 0;
    }

    .nav-menu {
        display: flex; 
        position: fixed; 
        left: -100%; 
        top: 0; 
        height: 100vh; 
        flex-direction: column;
        justify-content: center; 
        background: rgba(10, 10, 10, 0.98); 
        width: 100%;
        text-align: center; 
        transition: left 0.3s ease-in-out; 
        z-index: 1000; 
        margin-left: 0;
        padding: 0;
        gap: 1.5rem;
    }
    .nav-menu.active { left: 0; }

    .nav-menu .nav-link {
        color: #ffffff !important;
        font-size: 1.8rem;
        font-weight: bold;
        padding: 1rem;
        text-decoration: none !important;
    }

    .nav-menu .nav-link:hover {
        color: #00FF66 !important;
    }

    .nav-menu .nav-link::after {
        display: none;
    }

    .hamburger.active .bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
    .hamburger.active .bar:nth-child(2) { opacity: 0; }
    .hamburger.active .bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

    #mobile-player {
        display: flex;
        bottom: 0;
    }

    body {
        padding-bottom: 85px; 
    }
    
    .section {
        padding: 2rem 0;
    }
    .section-title::after {
        bottom: -8px;
        width: 50px;
    }
    .history-title, .request-title {
        margin-left: 0;
        text-align: center;
    }
    .history-title::after, .request-title::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .container {
        padding: 0 1rem;
    }
    .history-request-wrapper {
        flex-direction: column;
        padding: 0 1rem;
        gap: 1rem;
    }
    .song-history-section,
    .track-request-section {
        padding-top: 1rem;
        padding-bottom: 1rem;
        width: 100%;
        max-width: 100%;
    }

    .history-container, .request-container {
        padding: 0;
        margin-left: 0;
        max-width: 100%;
    }


    .song-history-container, .track-request-content {
        padding: 1rem;
        max-width: 100%;
        margin-left: 0;
        margin-right: 0;
    }
    .song-history-container {
        max-height: calc((35px + 0.5rem * 2 + 1px) * 6 + 1rem - 0.5rem);
    }
    .track-request-content {
        height: auto;
    }
     .dj-live-banner {
    }
    .dj-live-banner p {
        font-size: 1.1rem;
    }
    .dj-live-banner-sms-button {
        font-size: 0.9rem;
        padding: 8px 12px;
    }
    .requestable-tracks-container {
        max-height: calc((35px + 0.6rem * 2 + 1px) * 6 - 10px);
    }

    .song-history-item {
        font-size: 0.85rem;
        padding: 0.5rem 0;
    }
    .history-item-art, .request-item-art {
        width: 35px;
        height: 35px;
        margin-right: 8px;
    }
    .request-item-info {
        flex-direction: row;
        align-items: baseline;
    }
    .request-item-info .artist-name {
        margin-right: 0.4em;
    }

    .career-swiper .swiper-slide {
        margin-right: 0;
    }
    
    .modal-content {
        width: 90%;
        max-height: 75vh;
        padding: 20px;
    }
    #smsModal .modal-content {
        margin: 8vh auto;
    }
    #career-app-root .modal .modal-content {
        width: 90%;
        max-height: 85vh;
        padding: 20px;
    }


    .modal-content h2 {
        font-size: 1.4rem;
    }

    #notificationContainer {
        top: 10px; right: 10px; width: calc(100% - 20px); align-items: center;
    }
    .notification {
        min-width: auto; width: 100%; max-width: none; transform: translateY(-100%);
    }
    .notification.show {
        transform: translateY(0);
    }

    .programs-swiper, .team-swiper, .career-swiper { padding: 0; }
    .programs-swiper-prev, .programs-swiper-next, .team-swiper-prev, .team-swiper-next,
    .career-swiper-prev, .career-swiper-next { display: none !important; }

    .scroll-to-top {
        width: 40px;
        height: 40px;
        line-height: 40px;
        font-size: 20px;
        bottom: 15px;
        right: 15px;
    }
    
    .scroll-to-top.show {
        transform: translateY(-81px); 
    }
    .scroll-to-top:hover {
        transform: scale(1.1) translateY(-81px);
    }

    /* === MAIN SLIDER MOBILE STYLES === */
    .main-slider-section {
        padding: 0;
        margin-bottom: 1.5rem;
    }
    .main-slider .swiper-button-next,
    .main-slider .swiper-button-prev {
        display: none;
    }
    
    /* === PROGRAMS PAGE MOBILE STYLES START === */
    .programs-page {
        padding-top: 1.5rem;
        padding-bottom: 3rem;
    }
    .programs-grid {
        grid-template-columns: 1fr;
    }
    .program-card-title {
        font-size: 1.1rem;
    }
    .program-card-info {
        padding: 1rem;
    }
    /* === PROGRAMS PAGE MOBILE STYLES END === */
    
    /* === TEAM PAGE MOBILE STYLES START === */
    .team-page {
        padding-top: 1.5rem;
    }
    .team-grid-container {
        grid-template-columns: 1fr;
    }
    .team-member-info {
        padding: 1.25rem;
    }
    /* === TEAM PAGE MOBILE STYLES END === */

    /* === FOOTER MOBILE STYLES === */
    .footer {
        text-align: center; /* На мобильном текст по центру */
    }
    
    .footer-partners {
        justify-content: center; /* Партнеры по центру на мобильном */
    }

}

@media (max-width: 768px) {
    .programs-grid, .team-grid-container {
        grid-template-columns: 1fr;
    }
}


/* Custom Scrollbar for Desktop START */
@media (min-width: 769px) {
    html::-webkit-scrollbar {
        width: 10px;
    }
    html::-webkit-scrollbar-track {
        background: #1a1a1a;
        border-radius: 10px;
    }
    html::-webkit-scrollbar-thumb {
        background-color: #00FF66;
        border-radius: 10px;
        border: 2px solid #1a1a1a;
    }
    html::-webkit-scrollbar-thumb:hover {
        background-color: #00cc52;
    }
    html {
        scrollbar-width: thin;
        scrollbar-color: #00FF66 #1a1a1a;
    }
}
/* Custom Scrollbar for Desktop END */

/* === ADMIN PANEL MENU FIX START === */
.admin-nav-menu {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 1.5rem;
    margin-left: 2rem;
    position: static;
    left: auto;
    top: auto;
    height: auto;
    width: auto;
    background: none;
    padding: 0;
}
/* === ADMIN PANEL MENU FIX END === */




/* === PLAYER PAGE STYLES START === */
.player-page-section {
    padding-top: 2rem;
    padding-bottom: -4rem;
}

.player-page-description {
    margin-bottom: -4rem; /* Исправлено */
}

.iframe-preview-container {
    margin-bottom: -4rem; /* Исправлено */
}

/* Стили для текстового поля с кодом */
#iframeCode {
    width: 100%;
    height: 70px; /* Увеличено для лучшей читаемости */
    background-color: #202124;
    color: #e8eaed;
    border: 1px solid #3c4043;
    border-radius: 8px;
    padding: 1rem;
    font-family: monospace;
    resize: vertical; /* Разрешаем менять высоту */
}

@media (max-width: 600px) {
    .section.player-page-section {
        padding-top: 1.5rem;
        padding-bottom: 2rem;
    }

    .player-page-description {
        max-width: 90%;
        margin-left: auto;
        margin-right: auto;
        /* Уменьшаем отступ снизу, чтобы следующий блок поднялся выше */
        margin-bottom: -4rem; 
    }

    .iframe-preview-container {
        /* Задаем отрицательный отступ сверху, чтобы плеер "подлез" под описание */
        margin-top: -7rem;
        position: relative; /* Обязательно для корректной работы z-index */
        z-index: 1;
    }

    /* Выбираем div, который идет сразу после контейнера с iframe */
    .iframe-preview-container + div {
        /* Делаем еще более сильный отрицательный отступ для блока с кодом */
        margin-top: -7rem;
        position: relative; /* Обязательно для корректной работы z-index */
        z-index: 2; /* Ставим этот блок выше плеера на случай пересечения */
        
        /* Важно: добавляем фон, чтобы плеер не просвечивал сквозь этот блок */
        background: #0a0a0a; 
        /* Добавляем внутренние отступы, чтобы контент не прилипал к краям */
        padding: 1rem;
        border-radius: 12px;
        margin-left: 1rem;
        margin-right: 1rem;
    }

    #iframeCode {
        height: 112px !important; 
    }
}
/* === PLAYER PAGE STYLES END === */