/* Popup container */
#videoPopup {
    position: fixed;
    bottom: -600px; /* Hidden initially */
    right: 20px; /* Always stays on right bottom corner */
    width: 300px;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0,0,0,0.3);
    transition: bottom 0.6s ease;
    z-index: 9999;
    }
    
    
    /* Close button */
    #closeBtn {
    position: absolute;
    top: 5px;
    right: 8px;
    font-size: 18px;
    color: #fff;
    cursor: pointer;
    background: rgba(0,0,0,0.4);
    padding: 2px 6px;
    border-radius: 4px;
    }
    
    
    video {
    width: 100%;
    height: auto;
    max-height: 60vh; /* Ensures proper display for portrait & landscape */
    object-fit: cover; /* Makes sure the video fills properly */
    display: block;
    }