.vpa-container {
    position: relative;
    width: 100%;
    max-width: 800px;
}

.vpa-video {
    width: 100%;
}

/* popup nằm TRONG video */
.vpa-popup {
    position: absolute;   /* 🔥 thay vì fixed */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transition: opacity 0.3s ease;
    background: rgba(0,0,0,0.7);

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

    z-index: 10;
}

.vpa-popup-content {
    background: rgb(0 0 0 / 40%);
    padding: 0px;
    text-align: center;
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
}


.vpa-popup.hide {
    opacity: 0;
    pointer-events: none;
}

.vpa-video {
    filter: blur(3px);
}

.vpa-popup-content img {
    width: 70%;
    position: relative;
    top: 5%;
}

button.vpa-close {
    position: absolute;
    bottom: 5%;
    left: 42%;
    align-items: center;
    padding: 5px;
    justify-content: center;
}

button.vpa-close:hover {
    cursor: pointer;
}

div#card-fw {
    max-width: none!important;
    width: 100%!important;
}