.page-content {
    text-align: center;
    max-width: 600px;
    padding: 2rem 1.5rem;
    background: white;
    border-radius: 28px;
    box-shadow: 0 12px 28px rgba(0,0,0,0.05);
    border: 1px solid rgba(0,0,0,0.03);
    margin: 1.5rem;
}
.badge {
    display: inline-block;
    background: #1e2b3c;
    color: white;
    padding: 0.4rem 1.2rem;
    border-radius: 60px;
    font-size: 0.9rem;
    margin-top: 1.5rem;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
    display: flex;
    justify-content: center;
    align-items: center;
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.2s ease, visibility 0.2s;
    backdrop-filter: blur(3px);
    z-index: 1000;
}
.popup-overlay.active {
    visibility: visible;
    opacity: 1;
}
.popup-box {
    max-width: min(90vw, 700px);
    max-height: 90vh;
    background: transparent;
    border-radius: 0;
    box-shadow: 0 22px 40px rgba(0, 0, 0, 0.3);
    line-height: 0;
    animation: popFadeIn 0.25s ease-out;
    border: none;
    outline: none;
}
.popup-box img {
    display: block;
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 90vh;
    border-radius: 8px;
    box-shadow: 0 10px 30px -5px black;
    background: white;
    border: 3px solid white;
    object-fit: contain;
}
.popup-overlay.active .popup-box {
    cursor: default;
}
.close-hint {
    position: absolute;
    bottom: 16px;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255, 255, 255, 0.7);
    background: rgba(20, 20, 30, 0.5);
    padding: 4px 12px;
    border-radius: 60px;
    font-size: 0.8rem;
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255,255,255,0.2);
    pointer-events: none;
    z-index: 1001;
}
@keyframes popFadeIn {
    0% { opacity: 0.4; transform: scale(0.96); }
    100% { opacity: 1; transform: scale(1); }
}
@media (max-width: 500px) {
    .popup-box img {
        border-width: 2px;
    }
}