/* =========================================================
   BOTÓN FLOTANTE DE RADIO
   ========================================================= */

.radio-float {
    position: fixed;
    right: 25px;
    bottom: 25px;

    width: 65px;
    height: 65px;

    border: none;
    border-radius: 50%;

    background: linear-gradient(135deg, #be1522, #8e0f19);

    color: #fff;

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 25px;

    cursor: pointer;

    z-index: 1050;

    box-shadow:
        0 8px 25px rgba(0, 0, 0, .25),
        0 0 0 0 rgba(190, 21, 34, .5);

    transition: all .3s ease;
}

.radio-float:hover {
    transform: scale(1.08);

    box-shadow:
        0 12px 30px rgba(0, 0, 0, .3),
        0 0 0 8px rgba(190, 21, 34, .12);
}


/* ONDAS */

.radio-wave {
    position: absolute;

    width: 100%;
    height: 100%;

    border-radius: 50%;

    border: 2px solid rgba(190, 21, 34, .5);

    animation: radioPulse 2s infinite;
}

@keyframes radioPulse {

    0% {
        transform: scale(1);
        opacity: .8;
    }

    70% {
        transform: scale(1.35);
        opacity: 0;
    }

    100% {
        transform: scale(1.35);
        opacity: 0;
    }
}


/* =========================================================
   MODAL
   ========================================================= */

.radio-modal {

    border: none;

    border-radius: 25px;

    overflow: hidden;

    background: #fff;

    box-shadow:
        0 25px 70px rgba(0, 0, 0, .35);
}


/* CABECERA */

.radio-header {

    position: relative;

    text-align: center;

    padding: 35px 25px 30px;

    color: #fff;

    background:
        radial-gradient(
            circle at 50% 0%,
            rgba(255,255,255,.18),
            transparent 50%
        ),
        linear-gradient(
            135deg,
            #be1522,
            #7e0c15
        );
}


/* BOTÓN CERRAR */

.radio-close {

    position: absolute;

    right: 15px;
    top: 12px;

    width: 35px;
    height: 35px;

    border: none;
    border-radius: 50%;

    background: rgba(255,255,255,.15);

    color: white;

    font-size: 25px;
    line-height: 1;

    cursor: pointer;

    transition: .2s;
}

.radio-close:hover {
    background: rgba(255,255,255,.3);
}


/* ICONO */

.radio-icon {

    width: 80px;
    height: 80px;

    margin: auto;

    border-radius: 50%;

    background: rgba(255,255,255,.15);

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 35px;

    box-shadow:
        inset 0 0 20px rgba(255,255,255,.08);
}


/* EN VIVO */

.radio-live {

    display: inline-flex;

    align-items: center;

    gap: 7px;

    margin-top: 15px;

    padding: 5px 12px;

    border-radius: 20px;

    background: rgba(0,0,0,.2);

    font-size: 11px;

    font-weight: bold;

    letter-spacing: 1px;
}

.radio-live span {

    width: 8px;
    height: 8px;

    border-radius: 50%;

    background: #fff;

    animation: liveBlink 1s infinite;
}

@keyframes liveBlink {

    50% {
        opacity: .25;
    }
}


.radio-header h3 {

    margin: 15px 0 5px;

    font-size: 24px;

    font-weight: 700;
}

.radio-header p {

    margin: 0;

    opacity: .8;

    font-size: 14px;
}


/* =========================================================
   CUERPO
   ========================================================= */

.radio-body {

    padding: 30px;

    text-align: center;
}


/* EQUALIZADOR */

.radio-equalizer {

    height: 45px;

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 5px;

    margin-bottom: 25px;
}

.radio-equalizer span {

    display: block;

    width: 5px;

    height: 15px;

    border-radius: 5px;

    background: #be1522;

    animation: equalizer 1s infinite ease-in-out;
}

.radio-equalizer span:nth-child(1) {
    animation-delay: .1s;
}

.radio-equalizer span:nth-child(2) {
    animation-delay: .3s;
}

.radio-equalizer span:nth-child(3) {
    animation-delay: .5s;
}

.radio-equalizer span:nth-child(4) {
    animation-delay: .2s;
}

.radio-equalizer span:nth-child(5) {
    animation-delay: .4s;
}

.radio-equalizer span:nth-child(6) {
    animation-delay: .6s;
}

.radio-equalizer span:nth-child(7) {
    animation-delay: .3s;
}

@keyframes equalizer {

    0%, 100% {
        height: 12px;
    }

    50% {
        height: 40px;
    }
}


/* =========================================================
   BOTÓN PLAY
   ========================================================= */

.btn-play-radio {

    width: 100%;

    padding: 15px;

    border: none;

    border-radius: 14px;

    background: linear-gradient(
        135deg,
        #be1522,
        #8e0f19
    );

    color: white;

    font-size: 16px;

    font-weight: 600;

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 10px;

    cursor: pointer;

    box-shadow:
        0 8px 20px rgba(190,21,34,.25);

    transition: .3s;
}

.btn-play-radio:hover {

    transform: translateY(-2px);

    box-shadow:
        0 12px 25px rgba(190,21,34,.35);
}

.btn-play-radio i {
    font-size: 18px;
}


/* =========================================================
   MÓVIL
   ========================================================= */

@media (max-width: 576px) {

    .radio-float {
        width: 58px;
        height: 58px;

        right: 18px;
        bottom: 18px;
    }

    .radio-modal {
        margin: 15px;
    }

    .radio-body {
        padding: 25px 20px;
    }
}
#modalRadio {
    position: fixed;
    inset: 0;

    display: none;

    align-items: center;
    justify-content: center;

    background: rgba(0, 0, 0, .65);

    z-index: 999999;

    padding: 20px;
}

#modalRadio.radio-modal-show {
    display: flex;
}

#modalRadio .radio-modal {
    width: 100%;
    max-width: 420px;

    border-radius: 25px;

    overflow: hidden;

    background: #fff;

    box-shadow: 0 25px 70px rgba(0, 0, 0, .4);

    animation: radioModalIn .3s ease;
}

@keyframes radioModalIn {

    from {
        opacity: 0;
        transform: translateY(25px) scale(.95);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }

}