/* Simple Lightbox Style */
.sl-lightbox {
    visibility: hidden;
    opacity: 0;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    cursor: pointer;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    pointer-events: none;
}

.sl-lightbox.active {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
}

.sl-lightbox-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.9);
    max-width: 90%;
    max-height: 90%;
    transition: transform 0.3s ease;
    object-fit: contain;
}

.sl-lightbox.active .sl-lightbox-content {
    transform: translate(-50%, -50%) scale(1);
}

/* Video Wrapper */
.sl-video-wrapper {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.9);
    width: 80%;
    max-width: 900px;
    aspect-ratio: 16 / 9;
    background: #000;
    transition: transform 0.3s ease;
}

.sl-lightbox.active .sl-video-wrapper {
    transform: translate(-50%, -50%) scale(1);
}

.sl-video-wrapper iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.sl-close {
    position: absolute;
    top: 20px;
    right: 40px;
    color: #fff;
    font-size: 40px;
    font-weight: normal;
    cursor: pointer;
    user-select: none;
    line-height: 1;
}

.sl-close:hover {
    color: #ccc;
}