.vsl-root {
    position: relative;
    width: 100%;
    background: #000;
    overflow: hidden !important;
    border-radius: var(--vsl-r);
    line-height: 0;
}

.vsl-aspect {
    position: relative;
    width: 100%;
}

.vsl-aspect.vsl-ratio-16-9 {
    padding-top: 56.25%;
}

.vsl-aspect.vsl-ratio-9-16 {
    padding-top: 177.77%;
}

.vsl-crop {
    position: absolute;
    top: -12% !important;
    left: -12% !important;
    width: 124% !important;
    height: 124% !important;
    transform: none !important;
    z-index: 5;
}

/* Corte mais agressivo no mobile para esconder os elementos de título e logo do YouTube */
@media (max-width: 768px) {
    .vsl-crop {
        top: -20% !important;
        left: -20% !important;
        width: 140% !important;
        height: 140% !important;
    }
}

.vsl-iframe-target {
    width: 100% !important;
    height: 100% !important;
    border: 0 !important;
}

.vsl-click-mask {
    position: absolute;
    inset: 0;
    z-index: 10;
    cursor: pointer;
}

.vsl-state-layer {
    position: absolute;
    inset: 0;
    z-index: 15;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    background: rgba(0, 0, 0, 0);
    transition: background 0.3s ease;
}

.vsl-pause-icon,
.vsl-play-icon {
    width: 80px;
    height: 80px;
    background: rgba(0, 0, 0, 0.6);
    border-radius: 50%;
    opacity: 0;
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
}

.vsl-pause-icon::before,
.vsl-pause-icon::after {
    content: '';
    width: 8px;
    height: 30px;
    background: #fff;
    margin: 0 4px;
}

.vsl-play-icon::after {
    content: '';
    margin-left: 8px;
    border-style: solid;
    border-width: 15px 0 15px 25px;
    border-color: transparent transparent transparent #fff;
}

.vsl-is-paused .vsl-pause-icon {
    opacity: 1;
    transform: scale(1.1);
}

.vsl-is-paused .vsl-state-layer {
    background: rgba(0, 0, 0, 0.4);
}

.vsl-overlay {
    position: absolute;
    inset: 0;
    z-index: 25;
    background-size: cover;
    background-position: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: opacity 0.5s cubic-bezier(0.25, 1, 0.5, 1), visibility 0.5s;
    cursor: pointer;
}

.vsl-big-play {
    background: var(--vsl-c);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    cursor: pointer;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s ease, background-color 0.3s ease;
    position: relative;
    z-index: 10;
}

.vsl-big-play:hover {
    transform: scale(1.08);
    box-shadow: 0 0 40px var(--vsl-c);
}

.vsl-icon-play,
.vsl-icon-speaker {
    width: 45%;
    height: 45%;
    color: #fff;
    pointer-events: none;
    transition: transform 0.3s ease;
}

.vsl-icon-play {
    margin-left: 8px; /* Centralizar visualmente o triângulo de play */
    display: block;
}

.vsl-icon-speaker {
    display: none;
}

/* Autoplay Ativo (Configurações Premium) */
.vsl-root.vsl-autoplay-active .vsl-overlay {
    background-image: none !important;
    background-color: transparent !important; /* Totalmente transparente para ver o vídeo rodando atrás! */
}

/* Ocultar barra de progresso durante o autoplay silencioso */
.vsl-root.vsl-autoplay-active .vsl-progress-wrapper {
    display: none !important;
}

.vsl-root.vsl-autoplay-active .vsl-icon-play {
    display: none;
}

.vsl-root.vsl-autoplay-active .vsl-icon-speaker {
    display: block;
    animation: vsl-wiggle 1.2s ease infinite;
}

.vsl-root.vsl-autoplay-active .vsl-big-play {
    animation: vsl-pulse-shadow 2s infinite;
}

/* Ripples de ondas concêntricas ao redor do botão de unmute */
.vsl-root.vsl-autoplay-active .vsl-big-play::before,
.vsl-root.vsl-autoplay-active .vsl-big-play::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: var(--vsl-c);
    opacity: 0.55;
    z-index: -1;
    transform: translate(-50%, -50%) scale(1);
    animation: vsl-ripple 2s cubic-bezier(0.1, 0.8, 0.3, 1) infinite;
    pointer-events: none;
}

.vsl-root.vsl-autoplay-active .vsl-big-play::after {
    animation-delay: 0.8s;
}

/* Banner de Autoplay no Topo */
.vsl-autoplay-banner {
    display: none;
    position: absolute;
    top: 25px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(15, 23, 42, 0.75);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 8px 20px;
    border-radius: 50px;
    align-items: center;
    gap: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    z-index: 30;
    max-width: 90%;
    pointer-events: none;
}

.vsl-root.vsl-autoplay-active .vsl-autoplay-banner {
    display: flex;
    animation: vsl-fade-in-up 0.5s cubic-bezier(0.23, 1, 0.32, 1) forwards;
}

.vsl-live-dot {
    width: 8px;
    height: 8px;
    background: #ff004c;
    border-radius: 50%;
    box-shadow: 0 0 12px #ff004c;
    animation: vsl-pulse-dot 1.2s infinite;
}

.vsl-banner-text {
    color: #fff;
    font-family: sans-serif;
    font-size: 11px;
    font-weight: bold;
    letter-spacing: 0.8px;
    white-space: nowrap;
    text-transform: uppercase;
}

/* Etiqueta Mute Inferior (Glassmorphism Capsule) */
.vsl-mute-tag {
    display: none;
    color: #fff;
    background: rgba(15, 23, 42, 0.75);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 10px 22px;
    border-radius: 50px;
    margin-top: 25px;
    font-family: sans-serif;
    font-weight: bold;
    font-size: 13px;
    letter-spacing: 0.5px;
    text-align: center;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    z-index: 30;
    max-width: 85%;
    align-items: center;
    justify-content: center;
    gap: 8px;
    pointer-events: none;
}

.vsl-root.vsl-autoplay-active .vsl-mute-tag {
    display: flex;
    animation: vsl-bounce-tag 2s infinite ease-in-out;
}

.vsl-mute-tag-icon {
    width: 18px !important;
    height: 18px !important;
    min-width: 18px !important;
    min-height: 18px !important;
    color: #fff;
    flex-shrink: 0;
}

/* Animações Premium */
@keyframes vsl-wiggle {
    0%, 100% { transform: scale(1) rotate(0deg); }
    30% { transform: scale(1.08) rotate(-4deg); }
    50% { transform: scale(0.96) rotate(4deg); }
    70% { transform: scale(1.04) rotate(-2deg); }
}

@keyframes vsl-pulse-shadow {
    0%, 100% {
        box-shadow: 0 0 20px var(--vsl-c);
    }
    50% {
        box-shadow: 0 0 35px var(--vsl-c);
    }
}

@keyframes vsl-ripple {
    0% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.6;
    }
    100% {
        transform: translate(-50%, -50%) scale(1.8);
        opacity: 0;
    }
}

@keyframes vsl-pulse-dot {
    0%, 100% { opacity: 0.4; }
    50% { opacity: 1; }
}

@keyframes vsl-bounce-tag {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
}

@keyframes vsl-fade-in-up {
    from {
        opacity: 0;
        transform: translate(-50%, 15px);
    }
    to {
        opacity: 1;
        transform: translate(-50%, 0);
    }
}

.vsl-progress-wrapper {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    z-index: 30;
}

.vsl-bar-fill {
    height: 100%;
    width: 0%;
    background: var(--vsl-c);
    box-shadow: 0 0 15px var(--vsl-c);
    transition: width 0.3s linear;
}