@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800;900&display=swap');

:root { --dominant: 16, 185, 129; }

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    background-color: #000000;
    color: #ffffff;
    overflow: hidden;
    margin: 0;
    height: 100dvh; 
    width: 100vw;
}

#bgBlur {
    position: absolute; inset: 0;
    background: radial-gradient(circle at 50% 20%, rgba(var(--dominant), 0.25) 0%, rgba(0,0,0,1) 60%);
    z-index: -2; 
    transition: background 1.5s ease-in-out;
}

.glass-panel {
    background: rgba(10, 10, 10, 0.6);
    backdrop-filter: blur(40px); -webkit-backdrop-filter: blur(40px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.8), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.15); border-radius: 10px; }

input[type=range] {
    -webkit-appearance: none; width: 100%; background: transparent;
    height: 6px; border-radius: 3px; cursor: pointer;
}
input[type=range]::-webkit-slider-thumb {
    -webkit-appearance: none; height: 16px; width: 16px; border-radius: 50%;
    background: #fff; margin-top: -5px; box-shadow: 0 0 15px rgba(var(--dominant), 0.8);
    opacity: 0; transition: opacity 0.2s, transform 0.2s;
}
.group-slider:hover input[type=range]::-webkit-slider-thumb { opacity: 1; transform: scale(1.2); }

.spin-slow { animation: spin 18s linear infinite; }
.spin-paused { animation-play-state: paused; }
@keyframes spin { 100% { transform: rotate(360deg); } }

.cover-wrapper {
    position: relative; border-radius: 50%;
    box-shadow: 0 0 0 8px rgba(255,255,255,0.03), 0 30px 60px rgba(0,0,0,0.9);
    overflow: hidden; transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.5s ease;
}
.playing-glow { 
    box-shadow: 0 0 0 4px rgba(255,255,255,0.1), 0 0 80px rgba(var(--dominant), 0.5), 0 30px 60px rgba(0,0,0,0.9) !important; 
    transform: scale(1.05); 
}

.cover-wrapper::after {
    content: ''; position: absolute; inset: 0; border-radius: 50%;
    background: radial-gradient(circle, transparent 30%, rgba(0,0,0,0.8) 95%); pointer-events: none;
}
.cover-hole {
    position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
    width: 14%; height: 14%; background: #000000; border-radius: 50%;
    border: 2px solid rgba(255,255,255,0.15); z-index: 10;
    box-shadow: inset 0 0 20px rgba(0,0,0,1), 0 0 10px rgba(0,0,0,0.5);
}

.soundwave { display: flex; align-items: center; justify-content: center; gap: 4px; height: 35px; }
.wave-bar { width: 4px; background: rgba(var(--dominant), 1); border-radius: 4px; animation: wave 0.8s ease-in-out infinite alternate; display: none; box-shadow: 0 0 10px rgba(var(--dominant), 0.5);}
.is-playing .wave-bar { display: block; }
.wave-bar:nth-child(1) { animation-delay: 0.0s; height: 40%; }
.wave-bar:nth-child(2) { animation-delay: 0.2s; height: 80%; }
.wave-bar:nth-child(3) { animation-delay: 0.4s; height: 100%; }
.wave-bar:nth-child(4) { animation-delay: 0.6s; height: 60%; }
.wave-bar:nth-child(5) { animation-delay: 0.8s; height: 80%; }
@keyframes wave { 0% { height: 20%; opacity: 0.5; } 100% { height: 100%; opacity: 1; } }

#toastContainer { position: fixed; top: 25px; left: 50%; transform: translateX(-50%); z-index: 10000; display: flex; flex-direction: column; gap: 10px; pointer-events: none; }
.vtoast { background: rgba(10, 10, 10, 0.9); backdrop-filter: blur(20px); border: 1px solid rgba(255,255,255,0.1); padding: 12px 24px; display: flex; align-items: center; gap: 12px; box-shadow: 0 20px 40px rgba(0,0,0,0.8); animation: toastIn 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) forwards; pointer-events: auto; border-radius: 99px; }
.vtoast.fadeOut { animation: toastOut 0.4s ease forwards; }
@keyframes toastIn { 0% { opacity: 0; transform: translateY(-40px) scale(0.8); } 100% { opacity: 1; transform: translateY(0) scale(1); } }
@keyframes toastOut { 0% { opacity: 1; transform: translateY(0) scale(1); } 100% { opacity: 0; transform: translateY(-30px) scale(0.8); } }

.modal-base { transition: opacity 0.4s ease, visibility 0.4s ease; backdrop-filter: blur(20px); }
.modal-content { transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1); }
.modal-hidden { opacity: 0; visibility: hidden; pointer-events: none; }
.modal-hidden .modal-content { transform: scale(0.9) translateY(30px); }
#queueSidebar { transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1); }
.sidebar-open { transform: translateX(0) !important; }

.btn-glow-main { box-shadow: 0 0 20px rgba(16, 185, 129, 0.3); transition: all 0.3s; }
.btn-glow-main:hover { box-shadow: 0 0 40px rgba(16, 185, 129, 0.6); transform: translateY(-2px) scale(1.02); }

.cute-loader { animation: bounceVinyl 1s infinite alternate cubic-bezier(0.5, 0.05, 1, 0.5); }
.floating-note { position: absolute; font-size: 24px; opacity: 0; animation: floatNote 2s infinite ease-in; }
.note-1 { left: 20%; animation-delay: 0.2s; }
.note-2 { left: 50%; animation-delay: 0.8s; font-size: 32px; }
.note-3 { left: 80%; animation-delay: 1.5s; }
@keyframes bounceVinyl { 0% { transform: translateY(0) scale(1); } 100% { transform: translateY(-30px) scale(1.05); } }
@keyframes floatNote { 0% { transform: translateY(20px) scale(0.5); opacity: 0; } 50% { opacity: 1; } 100% { transform: translateY(-100px) scale(1.2); opacity: 0; } }

.tiktok-icon { filter: drop-shadow(1px 1px 0px #ff0050) drop-shadow(-1px -1px 0px #00f2fe); }
