#lightbox-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.85);
    z-index: 9999;
    cursor: zoom-out;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(4px);
    animation: lb-fadein 0.2s ease;
}
#lightbox-overlay.active { display: flex; }

#lightbox-overlay img {
    max-width: 90vw;
    max-height: 90vh;
    border-radius: 12px;
    box-shadow: 0 25px 60px rgba(0,0,0,0.6);
    animation: lb-scalein 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
    cursor: default;
}

#lightbox-close {
    position: absolute;
    top: 20px; right: 28px;
    color: white;
    font-size: 36px;
    line-height: 1;
    cursor: pointer;
    opacity: 0.8;
    transition: opacity 0.2s, transform 0.2s;
    user-select: none;
}
#lightbox-close:hover { opacity: 1; transform: scale(1.2); }

.zoomable {
    cursor: zoom-in;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.zoomable:hover {
    transform: scale(1.02);
    box-shadow: 4px 4px 20px rgba(0,0,0,0.2);
}
