.sgp-popup-overlay {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.6);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--anim-time, 0.3s) ease;
}
.sgp-popup-overlay.show {
    opacity: 1;
    visibility: visible;
}
.sgp-popup-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
    transform: scale(0.8);
    transition: transform var(--anim-time, 0.3s) ease;
}
.sgp-popup-overlay.show .sgp-popup-content {
    transform: scale(1);
}
.sgp-popup-content img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}
.sgp-popup-close {
    position: absolute;
    top: 10px; right: 10px;
    font-size: 24px;
    font-weight: bold;
    color: #fff;
    background: rgba(0,0,0,0.5);
    padding: 4px 10px;
    border-radius: 50%;
    cursor: pointer;
}
.sgp-popup-close:hover {
    background: rgba(0,0,0,0.8);
}
