.cvp-video-container {
    position: relative;
    width: 100%;                /* Ocupa todo el ancho disponible */
    max-width: 100%;            /* Evita que se pase del contenedor padre */
    margin: 0 auto;             /* Centrado si hay espacio sobrante */
    aspect-ratio: 16 / 9;       /* Mantiene la proporción 16:9 */
    overflow: hidden;
    background: #000;           /* Fondo negro por si el video tarda en cargar */
}

.cvp-video {
    width: 100%;
    height: 100%;
    object-fit: contain;        /* Asegura que el video se vea completo */
    display: block;
}

.cvp-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: opacity 0.4s ease;
    background: rgba(0, 0, 0, 0.1); /* Ligero overlay opcional */
}

.cvp-overlay.hidden {
    opacity: 0;
    pointer-events: none;
}

.cvp-play-button {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background-color: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s, opacity 0.2s;
}

.cvp-play-button:hover {
    transform: scale(1.1);
}

.cvp-play-icon {
    width: 0;
    height: 0;
    border-top: 25px solid transparent;
    border-bottom: 25px solid transparent;
    border-left: 40px solid #ffffff;
    margin-left: 12px;
}

/* Responsive - botón más pequeño en móviles */
@media (max-width: 640px) {
    .cvp-play-button {
        width: 70px;
        height: 70px;
    }
    .cvp-play-icon {
        border-top: 18px solid transparent;
        border-bottom: 18px solid transparent;
        border-left: 30px solid #ffffff;
        margin-left: 9px;
    }
}