/* ===================== SYSTEM.CSS ===================== */
/* Website Music Player Web */

/* Project 3 */

/* Spotiwind - Pemutar Musik Web */
/* Created By WinandaDev on 18 November 2025 */
/* For Learning and Development Purposes Only */
/* ===================================================== */

/* Menyembunyikan konten desktop dan mobile secara default */
#desktop-content, #mobile-content {
    display: none; 
}

/* ===================== RESET & BODY ===================== */
html, body {
    width: 100%;
    height: 100%;
    min-height: 100%;
    min-width: 100%;
    margin: 0;
    padding: 0;
    background: black;
    overflow-x: hidden;
    scrollbar-color: transparent transparent;
    scrollbar-width: none;
}

body.overlay-active {
    pointer-events: none;
}

/* ===================== NAVBAR UTAMA ===================== */
.navbar-container {
    position: fixed;
    top: 0;
    left: 0;
    background-color: black;
    width: 100%;
    height: 55px;
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

.navbar-left .logo img {
    margin-left: 18px;
    border-radius: 50%;
    width: 35px;
    height: 35px;
    -webkit-user-drag: none;
    -moz-user-drag: none;
    -ms-user-drag: none;
}

.navbar-left .brand-name {
    margin-top: 3px;
    margin-left: 8px;
    font-family: "Poppins";
    font-size: 15px;
}

.navbar-left {
    display: flex;
    align-items: center;
}

.navbar-right {
    display: flex;
    align-items: center;
}

.menu-icon svg {
    cursor: pointer;
    margin-left: -3px;
    margin-right: 20px;
    width: 32px;
    height: 32px;
    color: white;
    display: block;
}

.menu-icon svg:hover {
    color: gray;
}

.navbar-list {
    display: none;
}

/* ===================== MENU OVERLAY ===================== */
.menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: black;
    display: flex;
    flex-direction: column;
    padding: 32px 24px;
    transform: translateX(100%);
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: transform;
    opacity: 1;
    overflow-y: auto;
    overflow-x: hidden;
    scrollbar-width: none;
    scrollbar-color: transparent transparent;
    z-index: 5000;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

.menu-overlay.active {
    display: flex;
    transform: translateX(0%);
    pointer-events: auto;
}

.close-icon {
    position: absolute;
    top: 32px;
    right: 32px;
    cursor: pointer;
}

.close-icon svg {
    margin-top: -10px;
    margin-right: 30px;
    width: 40px;
    height: 40px;
    color: white;
}

.close-icon svg:hover {
    color: gray;
}

.navbar-list {
    margin-top: 50px;
    display: flex;
    flex-direction: column;
    gap: 18px;
    margin-bottom: 100px;
}

.navbar-list a,
.navbar-list span {
    margin-left: 30px;
    font-family: "Poppins";
    font-size: 18px;
    font-weight: 500;
    color: white;
    text-decoration: none;
}

.navbar-list a {
    cursor: pointer;
}

.navbar-list span {
    margin-top: 10px;
    margin-bottom: 10px;
    width: 18px;
    height: 1.5px;
    background-color: white;
}

.navbar-list a:hover {
    color: gray;
}

.menu-icon,
.menu-icon:focus,
.menu-icon:active,
.menu-overlay,
.menu-overlay:focus,
.menu-overlay:active,
.navbar-list,
.navbar-list:focus,
.navbar-list:active {
    outline: none !important;
    -webkit-tap-highlight-color: transparent !important;
    border: none;
    box-shadow: none;
}

/* ===================== ALBUM SECTION ===================== */
.mobile-album-section {
    margin-top: 70px;
    margin-left: 18px;
    font-family: "Poppins";
    scrollbar-color: transparent transparent;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

.album-list1,
.album-list2 {
    display: flex;
    flex-direction: row;
    gap: 5px;
    overflow-x: auto;
    padding-bottom: 10px;
    padding-right: 15px;
    margin-left: -10px;
}

.album-list1,
.album-list2,
.album-list1:focus,
.album-list2:focus,
.album-list1:active,
.album-list2:active {
    outline: none !important;
    -webkit-tap-highlight-color: transparent !important;
    border: none;
    box-shadow: none;
}

.album-list1::-webkit-scrollbar,
.album-list2::-webkit-scrollbar {
    display: none;
}

.album {
    color: white;
    text-align: left;
    font-size: 17px;
    text-decoration: none;
}

.album-list1 a,
.album-list2 a {
    box-sizing: border-box;
    cursor: pointer;
    height: 220px;
    border-radius: 5px;
    padding: 10px 10px 10px 10px;
    text-decoration: none;
    color: white;
}

.album-list1 a:hover,
.album-list2 a:hover {
    background: rgb(28, 29, 29);
}

.album-list1 a img,
.album-list2 a img {
    border-radius: 5px;
    width: 150px;
    height: 150px;
    -webkit-user-drag: none;
    -moz-user-drag: none;
    -ms-user-drag: none;
}

.album-list1 a p,
.album-list2 a p {
    width: 150px;
    font-size: 14px;
    margin-top: 6px;
    margin-bottom: 3px;
}

/* ===================== PLAYER OVERLAY ===================== */
.player-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(40, 40, 70, 0.95) 0%, rgba(20, 20, 40, 0.98) 100%);
    backdrop-filter: blur(16px) brightness(0.9);
    box-shadow: 0 0 80px 0 rgba(0, 0, 0, 0.7) inset;
    opacity: 0;
    z-index: 5000;
    justify-content: center;
    align-items: center;
    transform: translateY(100%);
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94), opacity 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    color: white;
    will-change: transform;
    font-family: "Poppins";
    overflow-y: auto;
    overflow-x: hidden;
    scrollbar-color: transparent transparent;
    scrollbar-width: none;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

.player-overlay.active {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

/* ===================== NAVBAR PLAYER ===================== */
.navbar-container1 {
    position: fixed;
    top: 0;
    left: 0;
    background-color: transparent;
    width: 100%;
    height: 70px;
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: "Poppins";
}

.navbar-container1,
.navbar-container1:focus,
.navbar-container1:active {
    outline: none !important;
    -webkit-tap-highlight-color: transparent !important;
    border: none;
    box-shadow: none;
}

.navbar-container1 svg {
    cursor: pointer;
    width: 35px;
    height: 30px;
    color: white;
}

.navbar-container1 svg:hover {
    color: gray;
}

#Title {
    font-size: 12px;
}

.menu-status svg {
    cursor: pointer;
    margin-top: 10px;
    width: 35px;
    height: 30px;
    color: white;
}

.menu-status svg:hover {
    color: gray;
}

.Song {
    position: relative;
    margin-top: 48px;
    justify-self: center;
}

.player-img {
    display: block;
    margin-left: auto;
    margin-right: auto;
    width: 93%;
    height: 93%;
    border-radius: 8px;
    object-fit: cover;
    -webkit-user-drag: none;
    -moz-user-drag: none;
    -ms-user-drag: none;
    box-shadow: 0 4px 24px 0 rgba(0, 0, 0, 0.18), 0 1.5px 6px 0 rgba(0, 0, 0, 0.15);
}

#Lagu {
    font-family: "Poppins";
    box-sizing: border-box;
    margin-top: 33px;
    margin-left: 18px;
    max-width: 70%;
    font-size: 17px;
}

.like-icon {
    position: absolute;
    width: 28px;
    height: 28px;
    margin-top: -13px;
    right: 18px;
    cursor: pointer;
}

.like-icon,
.like-icon:focus,
.like-icon:active {
    outline: none !important;
    -webkit-tap-highlight-color: transparent !important;
    border: none;
    box-shadow: none;
}

.like-icon.liked svg {
    fill: red;
    color: white;
}

.like-icon svg:active {
    transform: scale(0.9);
}

#Artis {
    font-family: "Poppins";
    margin-left: 18px;
    font-size: 14px;
    color: rgb(180, 165, 165);
    box-sizing: border-box;
    max-width: 95%;
}

.Song1 {
    margin-top: 30px;
    margin-left: 18px;
    align-items: center;
}

#kontrolLagu {
    -webkit-appearance: none;
    appearance: none;
    display: block;
    width: 95%;
    box-sizing: border-box;
    height: 5px;
    border-radius: 4px;
    background: rgb(80, 80, 80);
    cursor: pointer;
    outline: none;
}

#kontrolLagu::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 13px;
    height: 13px;
    border-radius: 50%;
    background: rgb(212, 206, 206);
    cursor: pointer;
    margin-top: 1px;
}

#kontrolLagu::-moz-range-thumb {
    width: 13px;
    height: 13px;
    border-radius: 50%;
    background: rgb(212, 206, 206);
    cursor: pointer;
}

#kontrolLagu::-webkit-slider-runnable-track {
    background: transparent;
}

#kontrolLagu::-moz-range-track {
    background: transparent;
}

#kontrolLagu,
#kontrolLagu:focus,
#kontrolLagu:active {
    outline: none !important;
    -webkit-tap-highlight-color: transparent !important;
    border: none;
    box-shadow: none;
}

.time-info {
    display: flex;
    justify-content: space-between;
    width: 95%;
    margin-top: 8px;
    margin-left: 20px;
    font-family: "Poppins";
    font-size: 12px;
    color: gray;
}

#durationTime {
    text-align: right;
    margin-right: 17px;
}

/* Musik Controls */
.player-controls {
    display: flex;
    justify-content: space-around;
    align-items: center;
    margin-top: 20px;
    margin-bottom: 30px;
    gap: 20px;
    max-width: 95%;
    margin-left: auto;
    margin-right: auto;
    align-content: center;
}

.player-controls,
.player-controls:focus,
.player-controls:active {
    outline: none !important;
    -webkit-tap-highlight-color: transparent !important;
    border: none;
    box-shadow: none;
}

.player-controls svg {
    cursor: pointer;
    width: 28px;
    height: 28px;
}

.player-controls .play-song,
.player-controls .pause-song {
    width: 30px;
    border-radius: 50%;
    padding: 13px;
    background: white;
    color: black;
}

.back-song:active,
.next-song:active,
.random-song:active,
.loop-song:active {
    color: gray;
    transform: scale(0.9);
}

.random-song.active1,
.loop-song.active1 {
    color: green;
}

.loading-container {
    position: relative;
    display: inline-block;
}

.loading-container::before {
    content: '';
    position: absolute;
    top: -3.8px;
    left: -5px;
    width: 57px;
    height: 52px;
    border: 5px solid transparent;
    border-top: 5px solid rgb(216, 203, 203);
    border-radius: 50%;
    z-index: 1;
    animation: rotate360 2s linear infinite;
    display: none;
}

.loading-container.loading::before {
    display: block;
}

/* ===================== KEYFRAME ANIMASI BERPUTAR 360 DERAJAT ===================== */
@keyframes rotate360 {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

/* ===================== PLAYER OVERLAY ===================== */
.player-overlay2 {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: black;
    opacity: 0;
    z-index: 3000;
    transform: translateX(-100%);
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94), opacity 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    color: white;
    will-change: transform;
    font-family: "Poppins";
    overflow-y: auto;
    overflow-x: hidden;
    scrollbar-color: transparent transparent;
    scrollbar-width: none;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

.player-overlay2.active {
    opacity: 1;
    pointer-events: auto;
    transform: translateX(0);
}

.Container-Artis {
    background: linear-gradient(to bottom, rgba(248, 248, 248, 0.85), rgba(0, 0, 0, 0.95));
    padding-bottom: 20px;
}

.Container-Artis .jarak2 {
    margin-left: 18px;
}

.Container-Artis .jarak2 svg {
    cursor: pointer;
    margin-top: 18px;
    width: 25px;
}

.Container-Artis .jarak2 .balik:hover,
.Container-Artis .jarak2 .balik:active {
    color: gray;
}

.jarak2 svg,
.jarak2 svg:focus,
.jarak2 svg:active {
    outline: none !important;
    -webkit-tap-highlight-color: transparent !important;
    border: none;
    box-shadow: none;
}

.player-img2 {
    display: block;
    margin-top: 18px;
    width: 50%;
    height: 50%;
    max-width: 300px;
    max-height: 300px;
    margin-left: auto;
    margin-right: auto;
    border-radius: 50%;
    -webkit-user-drag: none;
    -moz-user-drag: none;
    -ms-user-drag: none;
    box-shadow: 0 4px 24px 0 rgba(0, 0, 0, 0.18), 0 1.5px 6px 0 rgba(0, 0, 0, 0.15);
}

#Artis2 {
    margin-top: 25px;
    font-family: "Poppins";
    font-size: 28px;
}

.Follow-Container {
    margin-top: -25px;
    align-items: center;
    display: flex;
    justify-content: space-between;
}

.Left-Follow {
    display: flex;
    gap: 28px;
}

.Left-Follow button {
    cursor: pointer;
    margin-top: 20px;
    width: 60px;
    height: 30px;
    border-radius: 30px;
    background: transparent;
    border: 1px solid white;
    color: white;
}

.Left-Follow button:active {
    color: rgb(133, 136, 133);
    border: 1px solid rgb(133, 136, 133);
    transform: scale(0.95);
}

.Left-Follow svg:hover {
    color: gray;
}

.Right-Follow {
    display: flex;
    align-items: center;
}

.Right-Follow .play-song1, .pause-song1 {
    cursor: pointer;
    padding: 17px;
    margin-right: 20px;
    border-radius: 50%;
    color: black;
    background: rgb(40, 206, 40);
    border: rgb(40, 206, 40);
    fill: black;
}

.Right-Follow .play-song1:active,
.Right-Follow .pause-song1:active {
    background: rgb(30, 156, 30);
    transform: scale(0.95);
}

.Follow-Container,
.Follow-Container:focus,
.Follow-Container:active {
    outline: none !important;
    -webkit-tap-highlight-color: transparent !important;
    border: none;
    box-shadow: none;
}

.Song-Artis {
    margin-top: -23px;
    margin-left: 18px;
    font-family: "Poppins";
    font-size: 17px;
    color: white;
}

.song-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 83px;
}

.song-item {
    margin-top: -10px;
    display: flex;
    align-items: center;
    cursor: pointer;
    justify-content: space-between;
    margin-left: -10px;
    margin-right: 10px;
    padding-top: 10px;
    padding-bottom: 10px;
}

.song-item p {
    font-size: 14px;
    color: white;
}

.song-item p.playing {
    color: rgb(0, 255, 0);
}

.song-item:hover {
    background: rgb(28, 29, 29);
    border-radius: 5px;
}

.song-item img {
    margin-left: 10px;
    width: 50px;
    height: 50px;
    border-radius: 5px;
    -webkit-user-drag: none;
    -moz-user-drag: none;
    -ms-user-drag: none;
}

.song-kiri {
    display: flex;
    align-items: center;
    gap: 15px;
}

.song-kanan {
    display: flex;
    align-items: center;
}

.song-kanan svg {
    cursor: pointer;
    width: 25px;
    height: 25px;
    color: white;
    margin-right: 18px;
}

.song-kanan svg:hover {
    color: gray;
}

.song-item,
.song-item:focus,
.song-item:active {
    outline: none !important;
    -webkit-tap-highlight-color: transparent !important;
    border: none;
    box-shadow: none;
}

/* ===================== CREATOR FOOTER ===================== */
.Creator {
    margin-left: 18px;
    font-family: "Poppins";
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

.Creator,
.Creator:focus,
.Creator:active {
    outline: none !important;
    -webkit-tap-highlight-color: transparent !important;
    border: none;
    box-shadow: none;
}

.Creator .pendiri {
    margin-top: 20px;
    color: white;
    font-size: 15.8px;
}

.Creator a {
    display: inline-block;
    text-decoration: none;
    color: gray;
    font-size: 14.8px;
}

.Creator a:hover {
    color: white;
    text-decoration: underline;
}

.deskripsi {
    text-align: justify;
    margin-top: 20px;
    color: gray;
    font-size: 14px;
    max-width: 90%;
}

.deskripsi1 {
    text-align: justify;
    margin-top: -10px;
    color: gray;
    font-size: 14px;
    max-width: 90%;
}

/* ===================== SOSIAL MEDIA FOOTER ===================== */
.Sosial-media {
    margin-top: 40px;
    margin-left: 18px;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

.sosial-icon a {
    text-decoration: none;
    pointer-events: none;
}

.sosial-icon a svg {
    pointer-events: auto;
    display: inline;
    width: 20px;
    height: 20px;
    background: rgb(37, 36, 36);
    border-radius: 50%;
    padding: 10px;
    margin-right: 13px;
}

.sosial-icon a svg:hover {
    background: gray;
}

.Sosial-media,
.Sosial-media:focus,
.Sosial-media:active {
    outline: none !important;
    -webkit-tap-highlight-color: transparent !important;
    border: none;
    box-shadow: none;
}

/* ===================== FOOTER LINKS ===================== */
.Footer-container {
    margin-left: 18px;
    font-family: "Poppins";
    font-size: 13px;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

.Footer-container span {
    margin-top: 30px;
    margin-bottom: 30px;
    width: 95%;
    height: 1px;
    background-color: rgb(80, 80, 80);
    display: block;
}

.footer-links {
    text-align: left;
}

.footer-row {
    display: flex;
    gap: 17px;
    margin-bottom: 6px;
}

.footer-links a {
    text-decoration: none;
    color: gray;
    cursor: pointer;
}

.footer-links a:hover {
    color: white;
}

.footer-links p {
    margin-top: 5px;
    margin-bottom: 80px;
    color: gray;
}

.Footer-container,
.Footer-container:focus,
.Footer-container:active {
    outline: none !important;
    -webkit-tap-highlight-color: transparent !important;
    border: none;
    box-shadow: none;
}

/* ===================== MINI PLAYER BAR ===================== */
.mini-player {
    position: fixed;
    bottom: 75px;
    left: 50%;
    transform: translateX(-50%);
    width: 95%;
    height: 60px;
    background: linear-gradient(135deg, rgba(40, 40, 70, 0.95) 0%, rgba(20, 20, 40, 0.98) 100%);
    backdrop-filter: blur(16px) brightness(0.9);
    box-shadow: 0 0 80px 0 rgba(0, 0, 0, 0.7) inset;
    border-radius: 4px;
    display: none;
    z-index: 4000;
    font-family: "Poppins";
    box-sizing: border-box;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

.mini-player-content {
    display: flex;
    align-items: center;
    height: 100%;
    padding: 0 10px;
    cursor: pointer;
}

.mini-player-img {
    width: 40px;
    height: 40px;
    border-radius: 4px;
    margin-right: 10px;
    background: gray; /* Placeholder */
}

.mini-player-info {
    flex: 1;
    overflow: hidden;
}

.mini-player-title {
    font-size: 14px;
    color: white;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.mini-player-artist {
    font-size: 12px;
    color: rgb(180, 165, 165);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.mini-player-controls {
    display: flex;
    align-items: center;
    gap: 15px;
}

.mini-player-controls svg {
    width: 24px;
    height: 24px;
    color: white;
    cursor: pointer;
    margin-right: 5px;
    fill: white;
}

.mini-player-controls svg:hover {
    color: gray;
    fill: gray;
}

.mini-player,
.mini-player:focus,
.mini-player:active {
    outline: none !important;
    -webkit-tap-highlight-color: transparent !important;
    box-shadow: none;
}

/* ===================== BOTTOM NAVIGATOR ===================== */
.bottom-navigator {
    position: fixed;
    left: 0;
    bottom: 0;
    right: 0;
    width: 100%;
    height: 55px;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 10px 0;
    z-index: 4000;
    font-family: "Poppins";
    color: white;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

.nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 8px;
    cursor: pointer;
    transition: transform 0.2s ease-in-out;
    color: #b3b3b3;
}

.nav-item:hover {
    transform: scale(0.95);
}

.nav-item.active{
    color: white;
}

.nav-item svg {
    width: 24px;
    height: 24px;
    margin-bottom: 5px;
}

.nav-item span {
    font-size: 11px;
    font-weight: 500;
    text-align: center;
}

.bottom-navigator,
.bottom-navigator:focus,
.bottom-navigator:active {
    outline: none !important;
    -webkit-tap-highlight-color: transparent !important;
    border: none;
    box-shadow: none;
}

/* ===================== TAMPILAN DESKTOP ===================== */
.desktop-notice {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
    font-family: "Poppins";
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

.desktop-notice h2 {
    font-size: 24px;
}