body {
    font-family: 'Poppins', sans-serif;
    color: #fff;
    margin: 0;
    padding: 1em;
}

.background {
    position: fixed;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    background-image: url('bkg.png');
    background-size: cover;
    background-position: center;
    filter: blur(5px) brightness(0.4);
    z-index: -1;
}

.container {
    max-width: 900px;
    margin: 0 auto;
    padding: 20px;
}

header {
    position: relative;
    text-align: center;
    padding: 40px 20px;
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 15px;
    margin-bottom: 30px;
}

.auth-buttons {
    position: absolute;
    top: 20px;
    right: 20px;
}

header h1 {
    font-size: 4em;
    margin: 0;
    font-weight: 700;
}

button, #authorize_button, #signout_button {
    padding: 10px 20px;
    border: none;
    background-color: rgba(0, 0, 0, 0.4);
    color: white;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1em;
    transition: background-color 0.3s;
    font-family: 'Poppins', sans-serif;
}

button:hover, #authorize_button:hover, #signout_button:hover {
    background-color: rgba(0, 0, 0, 0.6);
}

#player-container {
    padding: 30px;
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 15px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.3);
    margin-bottom: 30px;
    text-align: center;
}

#album-art {
    width: 200px;
    height: 200px;
    background-image: url('bkg.png');
    background-size: cover;
    background-position: center;
    margin: 0 auto 20px;
    border-radius: 15px;
}

#current-song-title {
    font-size: 2em;
    margin-top: 0;
    text-align: center;
}

#custom-audio-player {
    margin-top: 20px;
}

.time-container {
    display: flex;
    justify-content: space-between;
    font-size: 0.9em;
    color: #ccc;
}

#seek-bar {
    width: 100%;
    -webkit-appearance: none;
    appearance: none;
    height: 5px;
    background: #555;
    outline: none;
    border-radius: 3px;
    cursor: pointer;
}

#seek-bar::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 15px;
    height: 15px;
    background: #8E44AD;
    border-radius: 50%;
    cursor: pointer;
}

.controls {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 20px 0;
}

.controls button {
    background: none;
    border: none;
    color: #fff;
    font-size: 2em;
    margin: 0 20px;
    cursor: pointer;
}



#music-list {
    list-style: none;
    padding: 0;
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 15px;
    overflow: hidden;
}

#music-list li {
    padding: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    cursor: pointer;
    transition: background-color 0.3s;
    font-size: 1.2em;
}

#music-list li:hover, #music-list li.active {
    background-color: rgba(142, 68, 173, 0.5);
}

#music-list li:last-child {
    border-bottom: none;
}

.hidden {
    display: none;
}

#error-message {
    padding: 15px;
    background-color: #ffcdd2;
    color: #c62828;
    text-align: center;
    border-radius: 5px;
    margin-top: 20px;
}