/* ---------- Fundo da página ---------- */
body {
    background: linear-gradient(rgb(59, 88, 93), rgb(29, 40, 42));
    height: 100vh;
    margin: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: Arial, sans-serif;
    color: white;
}

/* ---------- Container principal ---------- */
.music-container {
    background: rgba(255, 255, 255, 0.08);
    padding: 20px;
    border-radius: 20px;
    width: 320px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.5);
}

/* ---------- Capa da música ---------- */
#cover {
    width: 100%;
    max-width: 250px;
    border-radius: 15px;
    margin-bottom: 15px;
    transition: transform 0.3s ease;
}

#cover.playing {
    transform: scale(1.05);
}

/* ---------- Informações da música ---------- */
#song-info {
    margin-bottom: 10px;
}

#song-name {
    font-size: 1.2rem;
    font-weight: bold;
}

#band-name {
    font-size: 0.9rem;
    opacity: 0.8;
}

/* ---------- Botões ---------- */
.button {
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    font-size: 1.5rem;
    margin: 0 8px;
    transition: transform 0.2s ease, color 0.2s ease;
}

.button:hover {
    transform: scale(1.2);
    color: #1db954;
}

.button-biggest {
    font-size: 2.5rem;
}

.button-active {
    color: #1db954 !important;
}

/* ---------- Barra de progresso ---------- */
#progress-container {
    margin: 15px 0;
}

#progress-bar {
    background-color: rgb(139, 153, 156); /* barra de fundo cinza */
    height: 5px;
    width: 100%;
    border-radius: 15px;
    position: relative;
}

#current-progress {
    width: var(--progress); /* Conecta ao JS */
    height: 100%;
    background-color: #1db954; /* barra verde que cresce */
    border-radius: inherit;
    transition: width 0.25s linear;
    --progress: 0%; /* inicializa zerada */
}

/* ---------- Tempos da música ---------- */
#time-box {
    display: flex;
    justify-content: space-between;
    font-size: 0.75rem;
    margin-top: 5px;
    color: rgba(255, 255, 255, 0.7);
}
