* { scrollbar-width: none; }
*::-webkit-scrollbar { display: none; }

.ad-slide { transition: opacity 0.6s ease; opacity: 0; position: absolute; inset: 0; }
.ad-slide.active { opacity: 1; }

.station-card:hover .play-overlay { opacity: 1; }
.play-overlay { opacity: 0; transition: opacity 0.2s ease; }

.genre-pill { transition: all 0.15s ease; }
.genre-pill.active { background: var(--brand); color: #fff; border-color: var(--brand); box-shadow: 0 2px 8px rgba(var(--brand-rgb),0.25); }

@keyframes pulse-ring { 0% { transform: scale(1); opacity: 0.6; } 100% { transform: scale(1.4); opacity: 0; } }
.playing-ring { animation: pulse-ring 1.5s ease-out infinite; }

@keyframes eqPulse { 0% { height: 20%; } 100% { height: 100%; } }

@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}
.marquee-wrap {
    overflow: hidden;
    width: 100%;
    position: relative;
}
.marquee-content {
    display: inline-block;
    white-space: nowrap;
    animation: marquee 8s linear infinite;
}

input[type="range"] {
    -webkit-appearance: none;
    height: 4px;
    border-radius: 2px;
    outline: none;
}
input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--brand);
    cursor: pointer;
    border: 2px solid #fff;
    box-shadow: 0 1px 3px rgba(0,0,0,0.15);
}
input[type="range"]::-moz-range-thumb {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--brand);
    cursor: pointer;
    border: 2px solid #fff;
    box-shadow: 0 1px 3px rgba(0,0,0,0.15);
}

#bottom-player {
    background: linear-gradient(to right, #f8fafc, #f1f5f9, #f8fafc) !important;
}

#bottom-player input[type="range"] {
    height: 4px;
    background: #e2e8f0;
}
#bottom-player input[type="range"]::-webkit-slider-thumb {
    width: 12px;
    height: 12px;
    background: var(--brand);
    border: none;
    box-shadow: 0 1px 4px rgba(0,0,0,0.15);
}
#bottom-player input[type="range"]::-moz-range-thumb {
    width: 12px;
    height: 12px;
    background: var(--brand);
    border: none;
    box-shadow: 0 1px 4px rgba(0,0,0,0.15);
}

#player-eq { align-items: flex-end; }
.eq-bar {
    width: 3px;
    height: 100%;
    border-radius: 2px;
    background: var(--brand);
    transform: scaleY(0.35);
    transform-origin: bottom;
    animation: eqBounce 0.9s ease-in-out infinite;
    animation-play-state: paused;
    transition: opacity 0.2s ease;
}
#player-eq .eq-bar:nth-child(1) { animation-delay: 0s; }
#player-eq .eq-bar:nth-child(2) { animation-delay: 0.15s; }
#player-eq .eq-bar:nth-child(3) { animation-delay: 0.3s; }
#player-eq .eq-bar:nth-child(4) { animation-delay: 0.45s; }
#player-eq.playing .eq-bar {
    animation-play-state: running;
}
#player-eq:not(.playing) .eq-bar {
    animation-play-state: paused;
    transform: scaleY(0.35);
    opacity: 0.5;
}
@keyframes eqBounce {
    0%, 100% { transform: scaleY(0.35); }
    50% { transform: scaleY(1); }
}
