.gallery-lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    display: none;
    z-index: 9999;
}

.lightbox-close {
    position: fixed;
    right: 20px;
    top: 20px;
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    border-radius: 50%;
    color: white;
    font-size: 24px;
    cursor: pointer;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    margin: 0;
    -webkit-tap-highlight-color: transparent;
}

@media (max-width: 768px) {
    .lightbox-close {
        width: 54px;
        height: 54px;
        font-size: 32px;
        right: 15px;
        top: 15px;
    }
}

/* Video / loader styles */
.video-loader,
.lightbox-loader {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0,0,0,0.35);
    z-index: 9998;
}

.video-loader .spinner,
.lightbox-loader .spinner {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 4px solid rgba(255,255,255,0.25);
    border-top-color: #ffffff;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

@media (max-width: 768px) {
    .video-loader .spinner,
    .lightbox-loader .spinner { width: 54px; height: 54px; border-width: 5px; }
}