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

.video-container {
    position: relative;
    width: 90%;
    max-width: 800px;
    aspect-ratio: 16 / 9;
    background-color: #000;
}

.video-container iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

.video-container .close-button {
    position: absolute;
    top: 10px;
    right: 10px;
    color: #fff !important;
    font-size: 20px;
    background: none !important;
    border: none;
    cursor: pointer;
    z-index: 1501;
}

.video-preview {
    position: relative;
    display: inline-block;
    cursor: pointer;
    max-width: 100%;
}

.video-thumbnail {
    width: 100%;
    height: auto;
    display: block;
}

.play-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.4s;
    background: rgba(0, 0, 0, 0.1);
    border-radius: 5px;
}

.default-play-button {
    font-size: 50px;
    color: #fff;
}

.custom-play-button {
    max-width: 80px;
    max-height: 80px;
    width: auto;
    height: auto;
}

.video-preview:hover .play-overlay {
    background: rgba(0, 0, 0, 0.4);
}