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

html, body {
    overflow-x: hidden;
}

/* PRELOADER STYLES START */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #0a0a0a; /* Фон как у body */
    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;
}

/* 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: 1rem 0;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

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

.logo-text {
    font-size: 1.5rem;
    font-weight: bold;
    background: linear-gradient(45deg, #00FF66, #00CC52);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-fill-color: transparent;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-item {
}

.nav-link {
    color: #ffffff;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    padding: 0.5rem 0;
}

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

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: #00FF66;
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

/* Social Icons */
.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 Menu */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

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

/* Hero Section */
.hero {
    padding-top: 80px;
    padding-bottom: 3rem;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    text-align: center;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 50%, rgba(0, 255, 102, 0.1) 0%, rgba(0, 255, 102, 0.05) 40%, transparent 70%);
    animation: pulseBg 5s ease-in-out infinite alternate;
    z-index: 0;
}

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

.hero-content {
    position: relative;
    z-index: 2;
    padding: 2rem;
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: bold;
    margin-bottom: 1rem;
    background: linear-gradient(45deg, #00FF66, #ffffff, #00CC52);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-fill-color: transparent;
    animation: titleGlow 3s ease-in-out infinite alternate;
}

@keyframes titleGlow {
    0% { filter: drop-shadow(0 0 8px rgba(0, 255, 102, 0.2)); }
    100% { filter: drop-shadow(0 0 18px rgba(0, 255, 102, 0.5)); }
}

.hero-subtitle {
    font-size: clamp(1.1rem, 3vw, 1.5rem);
    margin-bottom: 2rem;
    color: #cccccc;
    letter-spacing: 2px;
    font-weight: 300;
}

/* Player */
.player {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

/* Album Art Container */
.album-art-container {
    width: 220px;
    height: 220px;
    position: relative;
    background-color: rgba(0, 255, 102, 0.05);
    background-size: cover;
    background-position: center;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    transition: opacity 0.5s ease-in-out, background-image 0.3s ease-in-out;
    opacity: 1;
}

.album-art-container.fade-out {
    opacity: 0;
}


/* Play Button */
.play-button {
    width: 80px;
    height: 80px;
    border: 3px solid #00FF66;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    background: rgba(0, 0, 0, 0.4);
    box-shadow: 0 0 15px rgba(0, 255, 102, 0.3);
    z-index: 1;
}


.play-button:hover {
    transform: scale(1.1);
    box-shadow: 0 0 30px rgba(0, 255, 102, 0.6);
    background: rgba(0, 0, 0, 0.6);
}

.play-button.loading .play-icon {
    width: 24px;
    height: 24px;
    border: 3px solid rgba(0, 255, 102, 0.3);
    border-top-color: #00FF66;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    margin: 0;
    border-left-style: none;
    border-bottom-style: none;
    border-top-style: solid;
    background: transparent;
}
.play-button.loading .play-icon::before,
.play-button.loading .play-icon::after {
    display: none;
}


@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.play-icon {
    width: 0;
    height: 0;
    border-left: 20px solid #00FF66;
    border-top: 12px solid transparent;
    border-bottom: 12px solid transparent;
    margin-left: 5px;
    transition: all 0.2s ease-in-out;
}

.play-button.playing .play-icon {
    border: none;
    width: 20px;
    height: 20px;
    background: transparent;
    margin: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.play-button.playing .play-icon::before,
.play-button.playing .play-icon::after {
    content: '';
    display: block;
    width: 6px;
    height: 20px;
    background: #00FF66;
    border-radius: 1px;
}


/* DJ Info Styles */
.dj-info {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    color: #cccccc;
    font-size: 0.95rem;
    font-weight: 500;
}

.dj-icon {
    font-size: 0.9em;
    font-weight: bold;
    color: #00FF66;
    text-transform: uppercase;
    padding: 0.1em 0.3em;
    border: 1px solid #00FF66;
    border-radius: 3px;
    line-height: 1;
}

.dj-name-text {
    /* Inherits color and font-size from .dj-info */
}

/* SMS Info Styles */
.sms-info {
    display: none;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    color: #b0b0b0;
    font-size: 0.85rem;
    font-weight: 400;
    cursor: pointer;
    transition: color 0.3s ease;
}
.sms-info:hover {
    color: #00FF66;
}

.sms-icon {
    font-size: 1.1rem;
    color: #00ccff;
    transition: color 0.3s ease;
}
.sms-info:hover .sms-icon {
    color: #00FF66;
}

.sms-text {
    /* Inherits styles from .sms-info */
}


/* --- MODIFIED AND NEW STYLES FOR MARQUEE --- */
.now-playing-info {
    text-align: center;
    min-height: 2.5em;
    line-height: 1.4em;
    width: 100%;
    max-width: 90%;
}

.track-info-styled-box {
    display: inline-block;
    width: 100%;
    padding: 0.3em 0.8em;
    background-color: rgba(0, 255, 102, 0.05);
    border: 1px solid rgba(0, 255, 102, 0.1);
    border-radius: 15px;
    box-sizing: border-box;
    cursor: pointer;
}

.track-title-marquee-viewport {
    overflow: hidden;
    white-space: nowrap;
    width: 100%;
}

.track-title-marquee-viewport:hover .track-title {
    /* animation-play-state: paused; */
}

.now-playing-info .track-title {
    font-size: 1.1rem;
    color: #00FF66;
    font-weight: 500;
    display: inline-block;
    white-space: nowrap;
    padding-left: 100%;
    animation: marquee-animation 15s linear infinite;
    will-change: transform;
}

@keyframes marquee-animation {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-100%);
    }
}

.now-playing-info .track-title:empty::before {
    content: "";
    display: inline-block;
    padding-left: 0;
    animation: none;
}
/* --- END OF MODIFIED AND NEW STYLES FOR MARQUEE --- */


/* Stream Selector */
.stream-selector {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.stream-selector label {
    color: #00FF66;
    font-weight: bold;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.stream-select {
    background: rgba(30, 30, 30, 0.8);
    border: 1px solid rgba(0, 255, 102, 0.3);
    border-radius: 25px;
    color: #ffffff;
    padding: 0.7rem 1.5rem;
    font-size: 0.9rem;
    outline: none;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    min-width: 250px;
    text-align: center;
    -moz-text-align-last: center;
    text-align-last: center;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    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%3csvg%3e");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 18px;
    padding-right: 3rem;
}

.stream-select:hover {
    border-color: #00FF66;
    background: rgba(0, 255, 102, 0.15);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 255, 102, 0.2);
}

.stream-select:focus {
    border-color: #00FF66;
    box-shadow: 0 0 0 3px rgba(0, 255, 102, 0.3);
}

.stream-select option {
    background: #1a1a1a;
    color: #ffffff;
    padding: 0.5rem;
    text-align: left;
}

.stream-select option:hover {
    background: rgba(0, 255, 102, 0.2);
}


/* Volume Control */
.volume-control {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: rgba(30, 30, 30, 0.8);
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    border: 1px solid rgba(0, 255, 102, 0.2);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

.volume-icon {
    font-size: 1.2rem;
    color: #00FF66;
    cursor: pointer;
    transition: transform 0.2s ease, color 0.2s ease;
}

.volume-icon:hover {
    transform: scale(1.15);
}

.volume-slider {
    width: 120px;
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 5px;
    outline: none;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    transition: transform 0.2s ease;
}

.volume-slider::-webkit-slider-thumb {
    appearance: none;
    -webkit-appearance: none;
    width: 18px;
    height: 18px;
    background: #00FF66;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 0 10px rgba(0, 255, 102, 0.5);
    transition: all 0.3s ease;
    margin-top: -6px;
}

.volume-slider::-moz-range-thumb {
    width: 18px;
    height: 18px;
    background: #00FF66;
    border-radius: 50%;
    cursor: pointer;
    border: none;
    box-shadow: 0 0 10px rgba(0, 255, 102, 0.5);
    transition: all 0.3s ease;
}

.volume-slider::-moz-range-thumb:hover {
    transform: scale(1.2);
    box-shadow: 0 0 15px rgba(0, 255, 102, 0.8);
}

.volume-slider::-moz-range-track {
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 5px;
}

.volume-value {
    font-size: 0.9rem;
    color: #00FF66;
    font-weight: bold;
    min-width: 40px;
    text-align: right;
}

/* 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="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="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%3csvg%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: 5rem 0;
    position: relative;
}
.section:nth-child(odd):not(.song-history-section):not(.track-request-section):not(.horoscope) {
    background: rgba(0, 255, 102, 0.02);
}
.horoscope {
     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 {
    width: 100%;
}
.request-container {
    width: 100%;
    position: relative;
}


.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;
}

/* 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;
}

.dj-live-banner-sms-button {
    background: transparent;
    border: 2px solid #00FF66;
    color: #00FF66;
    padding: 10px 15px;
    border-radius: 25px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: bold;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}
.dj-live-banner-sms-button .sms-icon {
    font-size: 1.2rem;
    color: #00FF66;
}

.dj-live-banner-sms-button:hover {
    background-color: rgba(0, 255, 102, 0.1);
    color: #ffffff;
}
.dj-live-banner-sms-button:hover .sms-icon {
    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:nth-child(4) { animation-delay: 0.2s; }
.requestable-track-item:nth-child(5) { animation-delay: 0.25s; }
.requestable-track-item:nth-child(6) { animation-delay: 0.3s; }


.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;
}


/* Horoscope Section Swiper */
.horoscope-swiper {
    width: 100%;
    position: relative;
    padding: 0 40px;
    box-sizing: border-box;
}
.horoscope-swiper .swiper-wrapper {
    align-items: stretch;
}
.horoscope-swiper .swiper-slide {
    width: 280px;
    height: auto;
    margin-right: 20px;
    box-sizing: border-box;
    display: flex;
    justify-content: center;
    align-items: stretch;
}
.horoscope-card {
    background: rgba(255, 255, 255, 0.03);
    padding: 1.5rem;
    border-radius: 15px;
    text-align: center;
    border: 1px solid rgba(0, 255, 102, 0.15);
    border-top: 3px solid; /* Цвет будет задан через style атрибут в JS */
    transition: border-color 0.3s ease, box-shadow 0.3s ease; /* Убираем transform из общего transition */
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    display: flex;
    flex-direction: column;
    width: 100%;
    min-height: 220px;
}
.horoscope-card:hover {
    border-color: #00FF66;
    /* transform: translateY(-5px); */ /* Убрана анимация смещения */
}
.horoscope-icon {
    font-size: 2.5rem;
    margin-bottom: 0.75rem;
    line-height: 1;
}
.horoscope-card h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: #ffffff;
}
.horoscope-card p {
    color: #cccccc;
    font-size: 0.85rem;
    line-height: 1.5;
    flex-grow: 1;
    margin-bottom: 0;
}
.horoscope-swiper-prev,
.horoscope-swiper-next {
    color: #00FF66 !important;
    width: 40px !important;
    height: 40px !important;
    top: 50% !important;
    transform: translateY(-50%);
    margin-top: 0 !important;
}
.horoscope-swiper-prev:after,
.horoscope-swiper-next:after {
    font-size: 24px !important;
}
.horoscope-swiper-prev { left: 0 !important; }
.horoscope-swiper-next { right: 0 !important; }


.programs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.program-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;
    cursor: default;
}
.program-card[data-url] {
    cursor: pointer;
}


.program-card:hover {
    border-color: #00FF66;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.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;
}

.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;
}

.career-swiper {
    width: 100%;
    position: relative;
    padding: 0 40px;
    box-sizing: border-box;
    margin-bottom: 2.5rem;
}

.career-swiper .swiper-wrapper {
    align-items: stretch;
}

.career-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 {
    width: 100%;
    height: 100%;
    margin: 0;
}

.career-swiper-prev,
.career-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 {
    font-size: 24px !important;
}
.career-swiper-prev { left: 0 !important; }
.career-swiper-next { right: 0 !important; }

.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: center;
    border-top: 1px solid rgba(0, 255, 102, 0.15);
}

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

.programs-swiper,
.team-swiper {
    width: 100%;
    position: relative;
    padding: 0 40px;
    box-sizing: border-box;
}

.programs-swiper .swiper-wrapper,
.team-swiper .swiper-wrapper {
    align-items: stretch;
}

.programs-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;
}
.programs-swiper .swiper-slide .program-card,
.team-swiper .swiper-slide .team-card {
    width: 100%;
    height: 100%;
    margin: 0;
}

.programs-swiper-prev, .programs-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;
}
.programs-swiper-prev:after, .programs-swiper-next:after,
.team-swiper-prev:after, .team-swiper-next:after {
    font-size: 24px !important;
}
.programs-swiper-prev, .team-swiper-prev { left: 0 !important; }
.programs-swiper-next, .team-swiper-next { right: 0 !important; }

@media (max-width: 768px) {
    html, body {
        overflow-x: hidden;
    }

    .nav-container {
        padding: 0 1rem;
    }
    .social-icons {
        margin-left: auto;
        gap: 0.6rem;
    }
    .social-icon img {
        width: 20px;
        height: 20px;
    }
    .hamburger {
        display: flex;
        z-index: 1001;
        margin-left: 1rem;
    }

    .nav-menu {
        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;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 2rem 0;
        gap: 1.5rem;
        z-index: 1000;
    }

    .nav-menu.active {
        left: 0;
    }
    .nav-menu.active ~ .social-icons {
        display: none;
    }


    .nav-item {
        width: 100%;
    }

    .nav-link {
        display: block;
        padding: 1rem 0;
        font-size: 1.2rem;
    }
    .nav-link::after {
        bottom: 0.5rem;
    }

    .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);
    }

    .hero {
        padding-top: 70px;
        padding-bottom: 3rem;
    }

    .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%;
    }


    .player {
        gap: 1rem;
        width: 95%;
        margin-left: auto;
        margin-right: auto;
    }

    .album-art-container {
        width: 180px;
        height: 180px;
    }


    .dj-info {
        font-size: 0.85rem;
    }
    .dj-icon {
        font-size: 0.8em;
    }
    .sms-info {
        font-size: 0.75rem;
    }
    .sms-icon {
        font-size: 1rem;
    }


    .now-playing-info .track-title {
        font-size: 0.9rem;
    }


    .stream-select {
        min-width: auto;
        width: 90%;
        font-size: 0.85rem;
        padding: 0.6rem 1rem;
        padding-right: 2.5rem;
        background-position: right 0.8rem center;
    }


    .volume-control {
        gap: 0.8rem;
        padding: 0.6rem 1rem;
    }

    .volume-slider {
        width: 100px;
    }
    .volume-slider::-webkit-slider-thumb {
        width: 16px;
        height: 16px;
        margin-top: -5px;
    }
    .volume-slider::-moz-range-thumb {
        width: 16px;
        height: 16px;
    }

    .volume-value {
        font-size: 0.85rem;
        min-width: 35px;
    }

    .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 .position-card {
        padding: 1.5rem;
    }

    .team-card:hover {
        border-color: #00FF66;
    }
    .team-avatar {
        width: 80px;
        height: 80px;
        margin-bottom: 1rem;
    }
    .team-avatar::after {
        width: 40%;
        height: 40%;
    }
    
    .horoscope-card {
        min-height: 180px;
    }
    .horoscope-icon {
        font-size: 2rem;
    }
    .horoscope-card h3 {
        font-size: 1.1rem;
    }
     .horoscope-card p {
        font-size: 0.8rem;
    }


    .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, .horoscope-swiper {
        padding: 0;
    }
    .programs-swiper .swiper-slide,
    .team-swiper .swiper-slide,
    .career-swiper .swiper-slide,
    .horoscope-swiper .swiper-slide {
        width: 250px;
        margin-right: 15px;
    }
    .programs-swiper-prev, .programs-swiper-next,
    .team-swiper-prev, .team-swiper-next,
    .career-swiper-prev, .career-swiper-next,
    .horoscope-swiper-prev, .horoscope-swiper-next {
        display: none !important;
    }

}

/* 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 */