.lightbox-overlay {
    position: fixed;
    inset: 0;
    background: rgba(6, 12, 20, 0.92);
    backdrop-filter: blur(12px);
    display: grid;
    place-items: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease;
    z-index: 200;
}

.lightbox-overlay.is-visible {
    opacity: 1;
    visibility: visible;
}

.lightbox-inner {
    position: relative;
    max-width: min(90vw, 1100px);
    max-height: min(90vh, 780px);
}

.lightbox-image {
    width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 1rem;
    border: 1px solid rgba(79, 209, 197, 0.25);
    box-shadow: 0 30px 60px -25px rgba(0, 0, 0, 0.65);
}

.lightbox-close {
    position: absolute;
    top: -2.8rem;
    right: 0;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    border: none;
    background: linear-gradient(120deg, var(--accent), var(--highlight));
    color: #04111b;
    font-size: 1.6rem;
    cursor: pointer;
    box-shadow: 0 18px 30px -16px rgba(79, 209, 197, 0.8);
}

.is-hidden {
    display: none !important;
}