body {
    font-family: 'Roboto', sans-serif;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    height: 100vh;
    background: linear-gradient(180deg, #5cafaa 3.35%, #5c91bb 51.21%, #886fab 101.11%);
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    background-color: #5cafaa;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

header h1 {
    margin: 0;
    font-size: 1.2em;
    color: white;
}

#list-btn {
    background: none;
    border: none;
    font-size: 1.5em;
    cursor: pointer;
    color: white;
}

main {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

#logo, #album-cover {
    width: clamp(50px, calc(100vh - 354px), 300px);
    height: clamp(50px, calc(100vh - 354px), 300px);
    object-fit: cover;
    margin-bottom: 40px;
    transition: opacity 0.5s ease-in-out;
}



#current-song {
    font-size: 1.2em;
    text-align: center;
    margin-bottom: 40px;
    min-height: 1.5em;
    color: white;
}

#play-btn {
    width: 120px;
    height: 120px;
    background-image: url('play.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    background-color: transparent;
    border: none;
    cursor: pointer;
    border-radius: 5px;
}

#play-btn:hover {
    opacity: 0.8;
}

#playlist {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    height: 80%;
    background-color: transparent;
    display: flex;
    flex-direction: column;
    z-index: 1000;
    border-radius: 10px;
    overflow: hidden;
}

#playlist.hidden {
    display: none;
}

#playlist-header {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    padding: 10px 20px;
    background: transparent;
}

#playlist-header h2 {
    margin: 0;
    color: white;
}

#close-btn {
    background: none;
    border: none;
    font-size: 1.5em;
    cursor: pointer;
    color: white;
}

#song-list {
    flex: 1;
    list-style: none;
    padding: 0;
    margin: 0;
    overflow-y: auto;
    background: linear-gradient(180deg, #5cafaa 3.35%, #5c91bb 51.21%, #886fab 101.11%);
}

#song-list li {
    padding: 10px 20px;
    border-bottom: 1px solid rgba(255,255,255,0.3);
    color: white;
}

#song-list li.current {
    background-color: rgba(255,255,255,0.2);
    font-weight: bold;
}
