/* Overlay Background */
.popup-ad-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.65);
    display: none; /* hidden by default */
    align-items: center;
    justify-content: center;
    z-index: 99999;
}

/* Popup Box */
.popup-ad-box {
    position: relative;
    background: transparent;
    max-width: 90%;
    animation: fadeIn 0.4s ease;
}

.popup-ad-box img {
    width: 100%;
    max-width: 620px;
    border-radius: 6px;
}

/* Close Button */
.popup-close {
    position: absolute;
    top: -12px;
    right: -12px;
    background: #ffffff;
    border: none;
    font-size: 22px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.popup-close:hover {
    background: #f1f1f1;
}

/* Animation */
@keyframes fadeIn {
    from { transform: scale(0.85); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}
