body {
    font-family: 'Inter', sans-serif;
}

.glassmorphism {
    background: rgba(22, 22, 29, 0.65);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.playlist-scrollbar::-webkit-scrollbar {
    width: 8px;
}

.playlist-scrollbar::-webkit-scrollbar-track {
    background: transparent;
}

.playlist-scrollbar::-webkit-scrollbar-thumb {
    background: rgba(192, 132, 252, 0.2);
    border-radius: 10px;
    transition: background 0.3s ease;
}

.playlist-scrollbar::-webkit-scrollbar-thumb:hover {
    background: rgba(192, 132, 252, 0.4);
}

.scroll-fade {
    -webkit-mask-image: linear-gradient(to bottom, transparent, #000 20px, #000 calc(100% - 20px), transparent);
    mask-image: linear-gradient(to bottom, transparent, #000 20px, #000 calc(100% - 20px), transparent);
}

.player-icon-btn {
    @apply text-gray-400 p-2 rounded-full transition-all duration-300;
}
.player-icon-btn:hover {
    @apply text-white bg-white/10;
}
.player-icon-btn.active-control {
    @apply text-purple-400;
    filter: drop-shadow(0 0 5px rgba(192, 132, 252, 0.7));
}

.progress-bar-slider {
    -webkit-appearance: none;
    appearance: none;
    background: transparent;
    cursor: pointer;
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
}

.progress-bar-slider::-webkit-slider-runnable-track {
    background: rgba(255, 255, 255, 0.15);
    height: 8px;
    border-radius: 4px;
    transition: background 0.3s ease;
}
.group:hover .progress-bar-slider::-webkit-slider-runnable-track {
    background: rgba(255, 255, 255, 0.25);
}

.progress-bar-fill {
    transition: width 0.1s linear;
    pointer-events: none;
}

.progress-bar-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    margin-top: -4px;
    background-color: #fff;
    height: 16px;
    width: 16px;
    border-radius: 50%;
    opacity: 0;
    transform: scale(0.8);
    transition: opacity 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}
.group:hover .progress-bar-slider::-webkit-slider-thumb {
    opacity: 1;
    transform: scale(1);
    box-shadow: 0 0 10px rgba(192, 132, 252, 0.8);
}

.like-active {
    color: #ef4444;
    fill: #ef4444;
    filter: drop-shadow(0 0 4px rgba(239, 68, 68, 0.6));
}

@keyframes bounce {
    0%, 100% { transform: scaleY(0.5); opacity: 0.7; }
    50% { transform: scaleY(1); opacity: 1; }
}

.visualizer-bar {
    animation-timing-function: ease-in-out;
    animation-iteration-count: infinite;
}