.modal {
    display: flex;
    justify-content: center;
    align-items: center;
    position: fixed;
    z-index: 99999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.6);
}

.modal-content {
    background: #ffffff;
    width: 70%;
    max-width: 850px;
    padding: 10px;
    border-radius: 10px;
    position: relative;
    animation: fadeIn 0.3s ease-in-out;
}

.close {
    position: absolute;
    top: 5px;
    right: 15px;
    font-size: 35px;
    cursor: pointer;
    color: #333;
    z-index: 10;
}

.close:hover {
    color: red;
}

video {
    width: 100%;
    height: auto;
    border-radius: 10px;
}

@keyframes fadeIn {
    from { opacity: 0; transform: scale(0.9); }
    to { opacity: 1; transform: scale(1); }
}

@media (max-width: 600px) {
    .modal-content {
        width: 95%;
    }
}
