/* Paleta de colores mate */
:root {
    --primary-color: #4b4b4b; /* Gris oscuro mate */
    --secondary-color: #d1d1d1; /* Gris claro mate */
    --accent-color: #a4a4a4; /* Gris medio mate */
    --text-color: #f0f0f0; /* Blanco apagado */
    --background-color: #2c2c2c; /* Fondo casi negro */
}

body {
    background-color: var(--background-color);
    font-family: 'Arial', sans-serif;
    color: var(--text-color);
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    margin: 0;
}

.player-container {
    background-color: var(--primary-color);
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 350px;
}

.album-art img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.player-details {
    margin: 20px 0;
    text-align: center;
}

.player-details h2 {
    font-size: 1.5rem;
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.player-details p {
    margin: 5px 0 0;
    font-size: 1rem;
    color: var(--secondary-color);
}

.player-controls {
    width: 100%;
}

.progress-container {
    width: 100%;
    height: 8px;
    background-color: var(--secondary-color);
    border-radius: 5px;
    cursor: pointer;
    margin: 15px 0;
}

.progress-bar {
    height: 100%;
    width: 0%;
    background-color: var(--accent-color);
    border-radius: 5px;
    transition: width 0.1s linear;
}

.time-display {
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
    color: var(--secondary-color);
}

.buttons {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 15px;
}

.control-btn {
    background: none;
    border: none;
    color: var(--text-color);
    font-size: 24px;
    margin: 0 15px;
    cursor: pointer;
    transition: transform 0.2s ease-in-out;
    outline: none;
}

.control-btn:hover {
    transform: scale(1.1);
}

.control-btn:active {
    transform: scale(0.9);
}