.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
}

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

.popup-overlay.is-visible .popup-container {
    transform: scale(1);
}

.popup-container {
    transform: scale(0.98);
    transition: transform 0.3s ease;
}

.popup-container {
    position: relative;
    max-width: 800px;
    width: 90%;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    border-radius: 4px; 
}

.banner-link {
    display: block;
    width: 100%;
}

.banner-image {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 4px;
}
.popup-close-btn {
    position: absolute;
    top:-45px; 
    right: -10px; 
    width: 45px;
    height: 45px;
    background: transparent;
    color: white;
    border: none;
    font-size: 45px;
    line-height: 1;
    cursor: pointer;
    z-index: 9999; 
    outline: none;
    padding: 0;
    text-shadow: 0 0 5px rgba(0, 0, 0, 0.5);
}

@media (max-width: 768px) {
    .popup-container {
        width: 90%;
    }
    .popup-close-btn {
        right: 0px;
    }
}