.video-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(10, 26, 31, 0.95);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

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

.video-modal__close {
    position: absolute;
    top: var(--spacing-xl);
    right: var(--spacing-xl);
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 50%;
    border: 1px solid var(--color-border-muted);
    background: #F7F2E5;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-fast);
    z-index: 10;
}

.video-modal__close:hover {
    background: #eee1c8;
}

.video-modal__close:active {
    background: #d8c49b;
}

.video-modal__content {
    width: 90%;
    max-width: 1200px;
}

.video-modal__wrapper {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    background-color: #000;
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.video-modal__wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

@media (max-width: 768px) {
    .video-modal__close {
        top: var(--spacing-lg);
        right: var(--spacing-lg);
        width: 2.5rem;
        height: 2.5rem;
    }

    .video-modal__content {
        width: 95%;
    }
}


