/* =========================================================
   SMH AUDIO STREAMING PLAYER
   Fidelidad 1:1: este bloque es el CSS original del index.html
   (sección RADIO PLAYER) SIN MODIFICAR. La única adición está
   marcada explícitamente al final del archivo (.smhap-volume).
========================================================= */

   RADIO PLAYER
========================================================= */

.hero-player {

    width: 100%;

    max-width: 650px;

}


.radio-player {

    position: relative;

    overflow: hidden;

    border:
        1px solid
        rgba(255,255,255,.09);

    border-radius:
        26px;

    background:
        linear-gradient(
            145deg,
            rgba(255,255,255,.055),
            rgba(255,255,255,.015)
        );

    box-shadow:
        var(--shadow);

    backdrop-filter:
        blur(18px);

}


.player-main {

    display: grid;

    grid-template-columns:
        150px
        1fr;

    gap: 25px;

    align-items: center;

    padding:
        28px;

}


.vinyl-wrap {

    width: 145px;

    height: 145px;

    display: grid;

    place-items: center;

}


.vinyl {

    position: relative;

    width: 138px;

    height: 138px;

    border-radius: 50%;

    overflow: hidden;

    background:
        radial-gradient(
            circle,
            #181818 0 6%,
            #090909 7% 13%,
            #1a1a1a 14% 18%,
            #090909 19% 24%,
            #181818 25% 31%,
            #070707 32% 100%
        );

    box-shadow:
        0 0 0 1px rgba(255,255,255,.07),
        0 0 40px rgba(255,100,31,.08);

}


.vinyl::before {

    content: "";

    position: absolute;

    inset: 8px;

    border-radius: 50%;

    border:
        1px solid rgba(255,255,255,.07);

}


.vinyl-lines {

    position: absolute;

    inset: 3px;

    border-radius: 50%;

    background:
        repeating-radial-gradient(
            circle,
            transparent 0 5px,
            rgba(255,255,255,.035) 5.5px 6px
        );

}


.cover-art {

    position: absolute;

    width: 116px;

    height: 116px;

    left: 11px;

    top: 11px;

    overflow: hidden;

    border-radius: 50%;

    z-index: 2;

}


.cover-art img {

    width: 100% !important;

    height: 100% !important;

    object-fit: cover;

    border-radius: 50%;

}


.vinyl-center {

    position: absolute;

    left: 50%;

    top: 50%;

    width: 9px;

    height: 9px;

    transform:
        translate(-50%,-50%);

    border-radius: 50%;

    background:
        var(--orange);

    z-index: 5;

    box-shadow:
        0 0 10px rgba(255,100,31,.7);

}


.radio-player.is-playing .vinyl {

    animation:
        vinyl-spin 5s linear infinite;

    box-shadow:
        0 0 0 1px rgba(255,100,31,.18),
        0 0 42px rgba(255,100,31,.28);

}


@keyframes vinyl-spin {

    to {
        transform: rotate(360deg);
    }

}


.track-area {

    min-width: 0;

}


.track-status {

    display: flex;

    align-items: center;

    gap: 7px;

    margin-bottom: 8px;

    color: #777780;

    font-size: .55rem;

    font-weight: 800;

    letter-spacing: .12em;

}


.live-dot {

    width: 6px;

    height: 6px;

    border-radius: 50%;

    background:
        var(--orange);

    box-shadow:
        0 0 10px var(--orange);

}


.sonic-title {

    min-height: 68px;

    display: flex;

    flex-direction: column;

    justify-content: center;

    overflow: hidden;

}


.sonic-title .track-artist {

    color: #fff;

    font-size: 1.25rem;

    font-weight: 800;

    line-height: 1.1;

}


.sonic-title .track-song {

    margin-top: 5px;

    color: #9999a1;

    font-size: .82rem;

    line-height: 1.25;

}


.audio-wave-container {

    margin-top: 17px;

}


.audio-wave {

    width: 100%;

    height: 34px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 3px;

}


.audio-wave span {

    flex: 1;

    max-width: 5px;

    height: 8px;

    border-radius: 999px;

    background:
        rgba(255,255,255,.14);

    transition:
        background .25s ease,
        box-shadow .25s ease;

}


.audio-wave span:nth-child(2n) {
    height: 14px;
}

.audio-wave span:nth-child(3n) {
    height: 23px;
}

.audio-wave span:nth-child(5n) {
    height: 17px;
}


.radio-player.is-playing .audio-wave span {

    background:
        var(--orange);

    box-shadow:
        0 0 10px
        rgba(255,100,31,.35);

    animation:
        wave-animation .75s ease-in-out infinite alternate;

}


.radio-player.is-playing .audio-wave span:nth-child(2n) {
    animation-delay: -.2s;
}

.radio-player.is-playing .audio-wave span:nth-child(3n) {
    animation-delay: -.45s;
}

.radio-player.is-playing .audio-wave span:nth-child(4n) {
    animation-delay: -.65s;
}


@keyframes wave-animation {

    from {
        transform: scaleY(.35);
    }

    to {
        transform: scaleY(1.35);
    }

}


.player-control-area {

    padding:
        0 20px 20px;

}


.play-button {

    width: 100%;

    min-height: 55px;

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 12px;

    border: 0;

    border-radius: 13px;

    background:
        linear-gradient(
            135deg,
            var(--red),
            var(--orange)
        );

    color: #fff;

    font-weight: 900;

    box-shadow:
        0 10px 35px
        rgba(255,70,20,.18);

    animation:
        play-pulse 1.7s ease-in-out infinite;

}


@keyframes play-pulse {

    0%,
    100% {
        box-shadow:
            0 10px 35px rgba(255,70,20,.18);
    }

    50% {
        box-shadow:
            0 10px 45px rgba(255,100,31,.5),
            0 0 0 5px rgba(255,100,31,.05);
    }

}


.radio-player.is-playing .play-button {

    animation: none;

}


.pause-icon {

    display: none;

}


.radio-player.is-playing .play-icon {

    display: none;

}


.radio-player.is-playing .pause-icon {

    display: inline;

}


.play-text {

    font-size: .77rem;

}


.radio-information {

    display: grid;

    grid-template-columns:
        repeat(3,1fr);

    border-top:
        1px solid var(--border);

    border-bottom:
        1px solid var(--border);

}


.radio-information > div {

    min-height: 64px;

    padding: 9px;

    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: center;

    text-align: center;

    gap: 2px;

}


.radio-information > div + div {

    border-left:
        1px solid var(--border);

}


.radio-information span {

    font-size: .78rem;

    line-height: 1;

}


.radio-information small {

    color: #6e6e77;

    font-size: .54rem;

}


.radio-information strong {

    color: #d8d8dc;

    font-size: .68rem;

    font-weight: 700;

}


.song-request {

    padding:
        15px 20px;

    border-bottom:
        1px solid var(--border);

}


.request-heading {

    margin-bottom: 9px;

}


.request-heading > div {

    display: flex;

    align-items: baseline;

    gap: 7px;

    white-space: nowrap;

}


.request-heading strong {

    color: #fff;

    font-size: .76rem;

    font-weight: 700;

    letter-spacing: .025em;

}


.request-heading span {

    color: #707079;

    font-size: .61rem;

}


.song-request-form {

    display: grid;

    grid-template-columns:
        1fr
        auto;

    gap: 7px;

}


.request-fields {

    display: grid;

    grid-template-columns:
        1fr
        1fr;

    gap: 7px;

}


.request-fields input {

    width: 100%;

    min-width: 0;

    height: 40px;

    padding:
        0 11px;

    border:
        1px solid
        rgba(255,255,255,.08);

    border-radius: 9px;

    outline: none;

    background:
        rgba(255,255,255,.035);

    color: #fff;

    font-size: .67rem;

}


.request-fields input::placeholder {

    color: #62626a;

}


.request-fields input:focus {

    border-color:
        rgba(255,100,31,.60);

    box-shadow:
        0 0 0 3px
        rgba(255,100,31,.06);

}


.whatsapp-request {

    width: 40px;

    height: 40px;

    display: grid;

    place-items: center;

    border: 0;

    border-radius: 50%;

    background:
        var(--green);

    color: #fff;

    box-shadow:
        0 7px 20px
        rgba(37,211,102,.18);

}


.whatsapp-request svg {

    width: 22px;

    height: 22px;

    fill: #fff;

}


.request-note {

    margin-top: 7px;

    color: #555;

    font-size: .55rem;

}


.song-history {

    padding:
        13px 20px 8px;

}


.history-header {

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 10px;

    margin-bottom: 7px;

    color: #64646d;

    font-size: .50rem;

    font-weight: 700;

    letter-spacing: .11em;

}


.history-list {

    max-height: 110px;

    overflow-y: auto;

    padding-right: 5px;

    color: #777780;

    font-size: .50rem;

    line-height: 1.32;

    scrollbar-width: thin;

    scrollbar-color:
        rgba(255,100,31,.35)
        transparent;

}


.history-list * {

    font-size: inherit !important;

    line-height: inherit !important;

    margin: 0 !important;

}


.history-list li,
.history-list div {

    padding:
        2px 3px !important;

    color: #777780;

}


.history-list li:first-child,
.history-list div:first-child {

    color: #a0a0a7;

}


.history-list::-webkit-scrollbar {

    width: 3px;

}


.history-list::-webkit-scrollbar-thumb {

    background:
        rgba(255,100,31,.35);

    border-radius: 20px;

}


.radio-card-bottom {

    min-height: 42px;

    padding:
        0 20px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 10px;

    background:
        rgba(255,255,255,.025);

    color: #5e5e5e;

    font-size: .54rem;

    letter-spacing: .09em;

}


.radio-card-bottom strong {

    color: #777;

}


/* =========================================================


/* =========================================================
   ÚNICA ADICIÓN SOBRE EL DISEÑO ORIGINAL: control de volumen.
   Clases propias (smhap-*), no toca ni redefine ninguna regla
   de arriba. Compacto, centrado, mismo lenguaje visual (colores
   de marca vía var(), radios y bordes consistentes con el resto
   de la tarjeta).
========================================================= */

.smhap-volume {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 10px;
}

.smhap-mute {
    width: 26px;
    height: 26px;
    flex-shrink: 0;
    display: grid;
    place-items: center;
    border: 1px solid rgba(255,255,255,.09);
    border-radius: 50%;
    background: rgba(255,255,255,.04);
    color: #d8d8dc;
    font-size: .7rem;
    cursor: pointer;
    transition: transform .15s ease, border-color .2s ease;
}
.smhap-mute:hover  { border-color: rgba(255,100,31,.4); }
.smhap-mute:active { transform: scale(.88); }

.smhap-volume-range {
    width: 96px;
    height: 3px;
    accent-color: var(--orange, #ff8400);
    cursor: pointer;
}

@media (max-width: 760px) {
    .smhap-volume-range { width: 78px; }
}
