* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Poppins', sans-serif; }

body {
    height: 100vh; width: 100vw;
    display: flex; justify-content: center; align-items: center;
    background: #000; overflow: hidden; color: white;
}

.background {
    position: fixed; inset: 0;
    background-size: cover; background-position: center;
    filter: brightness(25%) blur(40px); z-index: -1;
    transition: 1s ease-in-out;
}

/* LANDING PAGE STYLE */
.landing-page {
    position: fixed; inset: 0; z-index: 200;
    display: flex; justify-content: center; align-items: center;
    background: #000;
}

.landing-content {
    position: relative; width: 85%; max-width: 350px;
    border-radius: 30px; overflow: hidden;
    box-shadow: 0 20px 50px rgba(0,0,0,0.8);
}

#landing-img { width: 100%; height: 450px; object-fit: cover; display: block; }

.landing-info {
    position: absolute; bottom: 0; left: 0; right: 0;
    padding: 40px 20px;
    background: linear-gradient(transparent, rgba(0,0,0,0.9));
    text-align: center;
}

.landing-info h1 { font-size: 1.8rem; margin-bottom: 5px; }
.landing-info p { opacity: 0.8; margin-bottom: 20px; }

.start-btn {
    width: 70px; height: 70px; border-radius: 50%;
    background: #fff; color: #000; border: none;
    font-size: 1.8rem; cursor: pointer;
    transition: transform 0.3s;
}
.start-btn:hover { transform: scale(1.1); }

/* MAIN PLAYER STYLE */
.container {
    width: 90%; max-width: 400px; height: 100vh;
    display: flex; flex-direction: column; justify-content: space-around;
    padding: 15px;
}

.top-nav { display: flex; justify-content: space-between; width: 100%; }

.icon-btn, .action-btn { background: none; border: none; color: #fff; font-size: 1.2rem; cursor: pointer; opacity: 0.6; transition: 0.3s; }

/* WARNA TOMBOL AKTIF */
.action-btn.active { color: #1DB954; opacity: 1; transform: scale(1.1); text-shadow: 0 0 8px rgba(29, 185, 84, 0.4); }

.album-art-container { text-align: center; }
.album-cover { width: 180px; height: 160px; border-radius: 20px; object-fit: cover; box-shadow: 0 10px 40px rgba(0,0,0,0.6); margin-top: 10px; margin-bottom: 10px; }

.song-info h1 { font-size: 1.1rem; margin-top: 10px; }
.song-info p { opacity: 0.6; font-size: 0.9rem; }

#lyrics-container { height: 100px; display: flex; align-items: center; justify-content: center; text-align: center; margin: 10px 0; }
.lyric-line { font-size: 1rem; line-height: 1.5; display: none; opacity: 0; transition: opacity 0.4s ease; }
.lyric-line.active { display: block; opacity: 1; animation: fadeInUp 0.5s ease; }

.progress-container { width: 100%; height: 5px; background: rgba(255,255,255,0.1); border-radius: 10px; cursor: pointer; margin-bottom: 25px; }
.progress-bar { width: 0%; height: 100%; background: #fff; border-radius: 10px; transition: width 0.1s linear; }

.control-buttons { display: flex; justify-content: space-between; align-items: center; }
.play-btn { width: 55px; height: 55px; border-radius: 50%; background: #fff; color: #000; border: none; font-size: 1.2rem; cursor: pointer; }

/* OVERLAY & PLAYLIST */
.overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.8); z-index: 100; display: none; justify-content: center; align-items: center; backdrop-filter: blur(10px); }
.overlay-content { background: rgba(24, 24, 24, 0.95); width: 90%; max-width: 400px; max-height: 75vh; padding: 25px; border-radius: 25px; border: 1px solid rgba(255,255,255,0.1); overflow: hidden; display: flex; flex-direction: column; }
#playlist-list { overflow-y: auto; padding: 0; margin-top: 10px; }
.playlist-item { display: flex; align-items: center; gap: 15px; padding: 12px; margin-bottom: 8px; border-radius: 15px; cursor: pointer; background: rgba(255,255,255,0.03); transition: 0.3s; }
.playlist-item.active { background: rgba(255,255,255,0.1); }
.playlist-item img { width: 50px; height: 50px; border-radius: 10px; object-fit: cover; }
.playlist-info .song-title { font-size: 0.95rem; font-weight: 600; display: block; }
.playing-now { color: #1DB954; font-size: 0.7rem; font-weight: bold; text-transform: uppercase; }

@keyframes fadeInUp { from { transform: translateY(10px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }

@media (max-width: 480px) { .album-cover { width: 50vw; height: 50vw; } .container { height: 100dvh; } }

@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }