
.popup-affiliate-container {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    pointer-events: auto;
}

.popup-affiliate {
    width: 150px;
    height: 150px;
    overflow: visible;
    animation: popupFadeIn 0.3s ease-out;
    position: absolute;
    background-color: transparent;
    border: none;
    box-shadow: none;
    z-index: 1001;
}

@keyframes popupFadeIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.close-btn {
    position: absolute;
    top: -5px;
    right: 0;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s, transform 0.2s;
    color: #e74c3c;
    z-index: 10;
    line-height: 0.8;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.2);
}

.close-btn:hover {
    color: #f1c40f;
    transform: scale(1.1);
}

.popup-affiliate-content {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.popup-affiliate-content img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}


.popup-affiliate-container.show {
    display: block;
}
