/* Video Modal - BEM Methodology */
.video-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
}

.video-modal__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(4px);
}

.video-modal__container {
    position: relative;
    background: linear-gradient(145deg, #1a1f2e 0%, #0d1117 100%);
    border-radius: 16px;
    max-width: 900px;
    width: 95%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(33, 115, 70, 0.3);
    animation: videoModalSlideIn 0.3s ease-out;
}

@keyframes videoModalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-20px) scale(0.98);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.video-modal__close {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 36px;
    height: 36px;
    border: none;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    font-size: 24px;
    cursor: pointer;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    z-index: 10;
}

.video-modal__close:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

.video-modal__header {
    padding: 1.5rem 2rem 1rem;
    text-align: center;
}

.video-modal__title {
    color: var(--excel-green-light, #28a06d);
    font-size: 1.75rem;
    font-weight: 700;
    margin: 0;
    font-family: 'Poppins', sans-serif;
}

.video-modal__body {
    padding: 0 2rem 1.5rem;
}

.video-modal__video-container {
    position: relative;
    width: 100%;
    background: #000;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 1.5rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
}

.video-modal__video-container video {
    display: block;
    width: 100%;
    height: auto;
    max-height: 450px;
    object-fit: contain;
    background: #000;
}

.video-modal__message {
    text-align: center;
}

.video-modal__message-title {
    color: #fff;
    font-size: 1.25rem;
    font-weight: 600;
    margin: 0 0 0.75rem;
}

.video-modal__message-text {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1rem;
    line-height: 1.6;
    margin: 0 0 0.5rem;
}

.video-modal__message-text strong {
    color: var(--excel-green-light, #28a06d);
}

.video-modal__footer {
    background: rgba(33, 115, 70, 0.1);
    border-top: 1px solid rgba(33, 115, 70, 0.2);
    padding: 1.25rem 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    border-radius: 0 0 16px 16px;
}

.video-modal__footer-text {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1rem;
    margin: 0;
}

.video-modal__cta {
    background: linear-gradient(135deg, var(--excel-green, #217346) 0%, var(--excel-green-light, #28a06d) 100%);
    color: #fff;
    border: none;
    padding: 0.875rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 4px 15px rgba(33, 115, 70, 0.3);
}

.video-modal__cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(33, 115, 70, 0.4);
}

/* Responsive */
@media (max-width: 768px) {
    .video-modal__container {
        width: 98%;
        max-height: 95vh;
    }
    
    .video-modal__header {
        padding: 1.25rem 1rem 0.75rem;
    }
    
    .video-modal__title {
        font-size: 1.4rem;
    }
    
    .video-modal__body {
        padding: 0 1rem 1rem;
    }
    
    .video-modal__footer {
        flex-direction: column;
        gap: 1rem;
        padding: 1rem;
    }
}
