#cta-container.vsl-pulse {

    animation: ctaPulse 1.6s ease-in-out infinite;

}

@keyframes ctaPulse {

    0% {
        transform: scale(1);
        filter: brightness(1);
    }

    50% {
        transform: scale(1.04);
        filter: brightness(1.15);
    }

    100% {
        transform: scale(1);
        filter: brightness(1);
    }

}
/* ==========================================
   VSL PLAYER
========================================== */

.vsl-player-wrapper{

    position: relative;

    width: 100%;

    max-width: 420px;

    margin: 0 auto;

    aspect-ratio: 9 / 16;

    overflow: hidden;

}

.vsl-player-wrapper iframe{

    position: absolute;

    inset: 0;

    width: 100%;

    height: 100%;

    border: 0;

}
/* ==========================================
   CTA OVERLAY
========================================== */

#cta-container{

    position: absolute;

    left: 50%;

    bottom: 58px;          /* Ajustaremos este valor */

    transform: translateX(-50%);

    z-index: 9999;

    display: none;

    justify-content: center;
    align-items: center;

    width: auto;

    pointer-events: auto;

}
/* ==========================================
   CTA BUTTON
========================================== */

#vsl-cta {

    position: absolute;

    left: 50%;

    bottom: 40px;

    transform: translateX(-50%);

    z-index: 9999;

    display: none;

    align-items: center;

    justify-content: center;

    width: auto;

    min-width: 120px;

    padding: 6px 14px;

    background: #ff3131;

    color: #ffffff;

    border: 0;

    border-radius: 6px;

    font-size: 12px;

    line-height: 1.15;

    font-weight: 800;

    font-family: Arial, sans-serif;

    text-align: center;

    text-decoration: none;

    white-space: nowrap;

    box-shadow:
        0 6px 14px rgba(0,0,0,.28),
        0 2px 4px rgba(0,0,0,.20);

    transition:
        transform .2s ease,
        box-shadow .2s ease,
        filter .2s ease;

}


/* Efecto al pasar el mouse */

#vsl-cta:hover {

    filter: brightness(1.08);

    box-shadow:
        0 7px 16px rgba(0,0,0,.32),
        0 3px 6px rgba(0,0,0,.22);

}


/* Animación CTA */

#vsl-cta.vsl-pulse {

    animation: ctaPulse 1.6s ease-in-out infinite;

}


@keyframes ctaPulse {

    0% {

        transform: translateX(-50%) scale(1);

    }

    50% {

        transform: translateX(-50%) scale(1.035);

    }

    100% {

        transform: translateX(-50%) scale(1);

    }

}


/* Ajuste para móviles */

@media (max-width: 480px) {

    #vsl-cta {

        min-width: 180px;

        padding: 12px 22px;

        font-size: 17px;

        border-radius: 10px;

    }

}
/* ==========================================
   TIMELINE
========================================== */

.vsl-timeline {
    position: absolute;

    left: 0;
    right: 0;
    bottom: 0;

    width: 100%;
    height: 8px;

    z-index: 99999;

    display: block;
    visibility: visible;
    opacity: 1;
}

.vsl-progress {
    width: 100%;
    height: 100%;

    background: rgba(0,0,0,.35);

    overflow: hidden;
}

.vsl-progress-fill {
    width: 0;
    height: 100%;

    background: #ff7a00;

    transition: width .15s linear;
}
@media (max-width: 600px){

    .vsl-player-wrapper{
        width: 100vw;
        max-width: 420px;
        margin-left: 50%;
        transform: translateX(-50%);
        
        border: 2px solid #f5c400;
        box-sizing: border-box;
    }

}
