/* Video Popup Styles */
.video-popup-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 9999;
    justify-content: center;
    align-items: center;
}

.video-popup-content {
    position: relative;
    width: 90%;
    max-width: 800px;
    aspect-ratio: 16/9;
    background: #000;
    border-radius: 8px;
    overflow: hidden;
}

.video-popup-close {
    position: absolute;
    top: -40px;
    right: 0;
    background: none;
    border: none;
    color: white;
    font-size: 30px;
    cursor: pointer;
    z-index: 10000;
    padding: 5px;
    line-height: 1;
}

.video-popup-close:hover {
    opacity: 0.7;
}

.video-popup-iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* Animation */
.video-popup-overlay.show {
    display: flex;
    animation: fadeIn 0.3s ease-in-out;
}

.video-popup-content.show {
    animation: scaleIn 0.3s ease-in-out;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes scaleIn {
    from { transform: scale(0.8); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

/* Responsive */
@media (max-width: 768px) {
    .video-popup-content {
        width: 95%;
        margin: 20px;
    }
    
    .video-popup-close {
        top: -35px;
        font-size: 25px;
    }
}