/* ===== ОБЩИЕ НАСТРОЙКИ ===== */
* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

/* ===== ФОН: ГОРОД + НЕОН + РАДИО ===== */
.main-bg {
    position: relative;
    min-height: 100vh;
    background:
        linear-gradient(rgba(5, 8, 20, 0.75), rgba(0, 0, 0, 0.85)),
        url("/assets/img/city-radio.png") center center / cover no-repeat;
    background-attachment: fixed;
    overflow: hidden;
}

/* Неоновая дымка */
.main-bg::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 20% 30%, rgba(0,255,255,0.10), transparent 40%),
        radial-gradient(circle at 80% 40%, rgba(255,0,255,0.10), transparent 45%);
    pointer-events: none;
}

/* ===== ЗАГОЛОВОК ===== */
h1 {
    text-shadow:
        0 0 15px rgba(0,0,0,0.8),
        0 0 25px rgba(0,123,255,0.6);
}

/* ===== КАРТОЧКИ (СТЕКЛО) ===== */
.card {
    background-color: rgba(255,255,255,0.90) !important;
    backdrop-filter: blur(6px);
    border: none;
    box-shadow:
        0 0 25px rgba(0,255,255,0.15),
        0 0 50px rgba(255,0,255,0.1);
}

/* ===== ПЛЕЕР ===== */
#waveform {
    background: rgba(0,0,0,0.05);
}

/* ===== ТЁМНАЯ И ВИДИМАЯ ПЕРЕМОТКА ===== */
#progress {
    accent-color: #0dcaf0; /* неоновый цвет ползунка */
    background-color: #111 !important;
    height: 6px;
}

#progress::-webkit-slider-runnable-track {
    background: linear-gradient(90deg, #0dcaf0, #6610f2);
    height: 6px;
    border-radius: 5px;
}

#progress::-webkit-slider-thumb {
    background: #fff;
    border: 2px solid #0dcaf0;
    width: 14px;
    height: 14px;
    margin-top: -4px;
}

#progress::-moz-range-track {
    background: linear-gradient(90deg, #0dcaf0, #6610f2);
    height: 6px;
    border-radius: 5px;
}


/* Кнопки плеера */
#playBtn, #prevBtn, #nextBtn {
    box-shadow:
        0 0 10px rgba(0,255,255,0.4),
        0 0 20px rgba(255,0,255,0.3);
}

/* ===== ГРОМКОСТЬ ===== */
#volumeControl {
    accent-color: #0dcaf0;
}

#volumeIcon {
    filter: drop-shadow(0 0 5px rgba(0,255,255,0.8));
}

/* ===== СПИСОК ТРЕКОВ ===== */
.list-group-item {
    cursor: pointer;
    transition: background 0.2s, transform 0.1s;
}

.list-group-item:hover {
    background: rgba(0,255,255,0.08);
    transform: scale(1.01);
}

/* Активный трек */
.track-item.active {
    background: linear-gradient(90deg, rgba(0,255,255,0.15), rgba(255,0,255,0.15));
    border-left: 4px solid #0dcaf0;
    font-weight: 600;
}

/* ===== MINI PLAYER ===== */
.mini-player {
    z-index: 1000;
    background: linear-gradient(90deg, #020814, #060018);
    box-shadow:
        0 -5px 20px rgba(0,255,255,0.2),
        0 -5px 30px rgba(255,0,255,0.2);
}

/* ===== ПАГИНАЦИЯ ===== */
.pagination .page-link {
    color: #0dcaf0;
    background-color: rgba(0,0,0,0.5);
    border: none;
}

.pagination .page-item.active .page-link {
    background-color: #0dcaf0;
    color: #000;
}

/* ===== ПОЛЕ ПОИСКА ===== */
#searchInput {
    background-color: rgba(255,255,255,0.95);
    border-radius: 12px;
}

/* ===== АДАПТИВ ===== */
@media (max-width: 768px) {
    h1 {
        font-size: 1.5rem;
    }
}
