.custom-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    inset: 0;
    justify-content: center;
    align-items: center;
}

.custom-modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
}

.custom-modal-content {
    position: relative;
    background: white;
    z-index: 10;
    max-width: 90vw;
    max-height: 90vh;
    overflow: auto;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
}

.custom-modal-close {
    position: absolute;
    top: 0.5rem;
    right: 0.75rem;
    background: none;
    border: none;
    font-size: 2rem;
    cursor: pointer;
}

.custom-modal video {
    width: 100%;
    height: 70vh;
    aspect-ratio: 16/9;
}

.custom-modal-close-outer {
    position: fixed;
    top: 20px;
    right: 30px;
    background: #fff;
    border: none;
    border-radius: 50%;
    font-size: 1.5rem;
    width: 40px;
    height: 40px;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    z-index: 10000;
    transition: all 0.2s;
}

.custom-modal-close-outer:hover {
    background: #eee;
    transform: scale(1.05);
}