﻿/*REPRODUCTOR*/
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
.player-center-wrapper {
    width: 100%;
    max-width: 340px; /* tamaño cómodo, no muy grande */
    margin: 3rem auto; /* centra horizontalmente + espacio arriba/abajo */
    display: block;
}
body {
    min-height: 100dvh;
    background: linear-gradient(135deg, #0f0f1a 0%, #1a0f2e 100%);
    color: #e0e0ff;
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    display: grid;
    place-items: center;
    padding: 2rem;
}

.player-container {
    background: rgba(20, 20, 40, 0.88);
    backdrop-filter: blur(16px) saturate(180%);
    -webkit-backdrop-filter: blur(16px) saturate(180%);
    border-radius: 24px;
    padding: 2.4rem 2.2rem;
    width: 100%;
    max-width: 380px;
    box-shadow: 0 30px 60px rgba(0,0,0,0.6), inset 0 0 0 1px rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.05);
}

.album-art {
    width: 100%;
    aspect-ratio: 1 / 1;
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 1.6rem;
    box-shadow: 0 12px 40px rgba(0,0,0,0.5);
    transition: transform 0.4s ease;
}

    .album-art img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

.player-container:hover .album-art {
    transform: scale(1.04);
}

.info {
    text-align: center;
    margin-bottom: 1.8rem;
}

h2 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.4rem;
    color: #f0f0ff;
}

p {
    color: #a0a0d0;
    font-size: 0.95rem;
}

.progress-container {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin: 1.6rem 0;
    font-size: 0.82rem;
    color: #b0b0e0;
}

.progress-bar {
    flex: 1;
    height: 6px;
    background: rgba(255,255,255,0.12);
    border-radius: 3px;
    overflow: hidden;
    cursor: pointer;
}

.progress {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, #a78bfa, #7c3aed);
    border-radius: 3px;
    transition: width 0.1s linear;
}

.controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.8rem;
    margin: 1.8rem 0;
}

.btn {
    background: rgba(255,255,255,0.08);
    border: none;
    color: #d0d0ff;
    font-size: 1.4rem;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.25s ease;
}

    .btn:hover {
        background: rgba(255,255,255,0.16);
        transform: scale(1.12);
    }

    .btn.big {
        font-size: 2.1rem;
        width: 70px;
        height: 70px;
    }

.play-pause {
    background: linear-gradient(135deg, #7c3aed, #a78bfa);
    color: white;
    box-shadow: 0 8px 30px rgba(124,58,237,0.4);
}

    .play-pause:hover {
        transform: scale(1.14);
        box-shadow: 0 12px 40px rgba(124,58,237,0.55);
    }

.volume-container {
    display: flex;
    align-items: center;
    gap: 1rem;
    justify-content: center;
}

    .volume-container input[type="range"] {
        width: 120px;
        accent-color: #a78bfa;
    }

/* Mini estilos para el range en general */
input[type="range"] {
    height: 6px;
    background: rgba(255,255,255,0.14);
    border-radius: 3px;
    -webkit-appearance: none;
}

    input[type="range"]::-webkit-slider-thumb {
        -webkit-appearance: none;
        width: 16px;
        height: 16px;
        background: #a78bfa;
        border-radius: 50%;
        cursor: pointer;
        box-shadow: 0 0 0 4px rgba(167,139,250,0.3);
        transition: all 0.2s;
    }

        input[type="range"]::-webkit-slider-thumb:hover {
            transform: scale(1.3);
        }

