/* ---------- POPUP OVERLAY ---------- */
.vishnu-vid-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    font-family: 'Poppins', sans-serif;
}




.vishnu-vid-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* ---------- POPUP CARD ---------- */
.vishnu-vid-card {
    position: relative;
    background: #000;
    border-radius: 15px;
    box-shadow: 0 10px 50px rgba(0, 0, 0, 0.5);
    width: 600px;
    max-width: 95vw;
    transform: scale(0.7);
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    overflow: hidden;
}

.vishnu-vid-overlay.active .vishnu-vid-card {
    transform: scale(1);
}

/* ---------- VIDEO CONTAINER ---------- */
.vishnu-vid-container {
    position: relative;
    width: 100%;
    height: 340px;
    overflow: hidden;
    background: #000;
}

.vishnu-vid-container video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* ---------- CLOSE BUTTON ---------- */
.vishnu-vid-close {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 35px;
    height: 35px;
    background: rgba(0, 0, 0, 0.7);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    font-size: 22px;
    color: #fff;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    font-weight: bold;
    padding: 0;
    line-height: 1;
}

.vishnu-vid-close:hover {
    background: rgba(255, 0, 0, 0.8);
    border-color: #ff0000;
    transform: rotate(90deg);
}

/* ---------- MUTE BUTTON ---------- */
.vishnu-vid-mute-btn {
    position: absolute;
    top: 10px;
    left: 10px;
    width: 35px;
    height: 35px;
    background: rgba(0, 0, 0, 0.7);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    font-size: 18px;
    color: #fff;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    padding: 0;
    display : none;
}

.vishnu-vid-mute-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: #fff;
}

/* ---------- RESPONSIVE DESIGN ---------- */
@media (max-width: 640px) {
    .vishnu-vid-card {
        width: 95vw;
        border-radius: 12px;
    }
    
    .vishnu-vid-container {
        height: 200px;
    }
    
    .vishnu-vid-close,
    .vishnu-vid-mute-btn {
        width: 30px;
        height: 30px;
        font-size: 18px;
        top: 8px;
    }
    
    .vishnu-vid-close {
        right: 8px;
    }
    
    .vishnu-vid-mute-btn {
        left: 8px;
    }
}

@media (max-width: 480px) {
    .vishnu-vid-card {
        width: 98vw;
        border-radius: 10px;
    }
    
    .vishnu-vid-container {
        height: 180px;
    }
    
    .vishnu-vid-close,
    .vishnu-vid-mute-btn {
        width: 28px;
        height: 28px;
        font-size: 16px;
        top: 5px;
    }
    
    .vishnu-vid-close {
        right: 5px;
    }
    
    .vishnu-vid-mute-btn {
        left: 5px;
    }
   .vishnu-vid-container video{
    width: 370px !important;
  height: 196px !important;
    }
}