#popupOverlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;

    display: flex;
    justify-content: center;
    align-items: center;

    background: rgba(0,0,0,0.3);
    backdrop-filter: blur(8px);

    z-index: 99999;

    opacity: 0;
    pointer-events: none;
    transition: 0.3s;
}

#popupOverlay.show {
    opacity: 1;
    pointer-events: auto;
}

/* BOX */
.popupBox {
    position: relative;

    max-width: 90vw;
    max-height: 90vh;

    display: flex;
    justify-content: center;
    align-items: center;
}

/* IMAGE */
.popupBox img {
    max-width: 100%;
    max-height: 90vh;

    width: auto;
    height: auto;

    object-fit: contain; /* penting */
    border-radius: 15px;
}

/* CLOSE BUTTON */
.popupClose {
    position: absolute;
    top: -15px;
    right: -15px;

    width: 35px;
    height: 35px;

    display: flex;
    justify-content: center;
    align-items: center;

    border: none;
    border-radius: 50%;
    background: #fff;
    color: #000;
    font-size: 18px;
    cursor: pointer;

    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}