/* Video Popup Modal Styles */
.video-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.video-popup-overlay.active {
    opacity: 1;
    visibility: visible;
}

.video-popup-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
    background: var(--bg-ivory);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    transform: scale(0.8);
    transition: all 0.3s ease;
    border: 3px solid var(--accent-gold);
}

.video-popup-overlay.active .video-popup-content {
    transform: scale(1);
}

.video-popup-container {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--muted-beige);
}

.video-popup-video {
    width: 100%;
    max-width: 600px;
    height: auto;
    max-height: 80vh;
    object-fit: contain;
    border-radius: 15px;
}

.video-popup-close {
    position: absolute;
    top: -15px;
    right: -15px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--accent-gold), var(--primary-beige));
    border: none;
    border-radius: 50%;
    color: var(--white);
    font-size: 24px;
    cursor: pointer;
    z-index: 10001;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(184, 148, 31, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
}

.video-popup-close:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(184, 148, 31, 0.4);
}

.video-popup-title {
    position: absolute;
    top: -50px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--accent-gold), var(--primary-beige));
    color: var(--white);
    padding: 15px 30px;
    border-radius: 30px;
    font-size: 1.2rem;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(184, 148, 31, 0.3);
    white-space: nowrap;
}

.video-popup-skip {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.9);
    color: var(--text-charcoal);
    border: 1px solid var(--muted-beige);
    padding: 10px 20px;
    border-radius: 25px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.video-popup-skip:hover {
    background: var(--accent-gold);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(184, 148, 31, 0.3);
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .video-popup-content {
        max-width: 95%;
        margin: 10px;
    }
    
    .video-popup-video {
        max-width: 100%;
        max-height: 70vh;
    }
    
    .video-popup-title {
        font-size: 1rem;
        padding: 10px 20px;
        top: -40px;
    }
    
    .video-popup-close {
        width: 40px;
        height: 40px;
        font-size: 20px;
        top: -10px;
        right: -10px;
    }
    
    .video-popup-skip {
        bottom: 10px;
        right: 10px;
        padding: 8px 16px;
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .video-popup-content {
        max-width: 98%;
        margin: 5px;
    }
    
    .video-popup-video {
        max-height: 60vh;
    }
    
    .video-popup-title {
        font-size: 0.9rem;
        padding: 8px 16px;
        top: -35px;
    }
}
