.video-modal {
    position: fixed;
    inset: 0;
    background: rgba(5, 18, 43, 0.92);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease;
    z-index: 10000;
}

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

.video-modal-content {
    width: min(960px, 100%);
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: center;
}

.video-modal-close {
    align-self: flex-end;
    width: 36px;
    height: 36px;
    border-radius: 8px;
    border: none;
    background: transparent;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.video-modal-frame {
    width: 100%;
    background-color: rgba(0, 0, 0, 0.2);
    border-radius: 16px;
    overflow: hidden;
    aspect-ratio: 16 / 9;
}

.video-modal-frame iframe {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}

@media (max-width: 768px) {
    .video-modal {
        padding: 24px;
    }
}
