.affiliate-popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.85);
    z-index: 9999;
}

.affiliate-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #1E1E1E;
    padding: 30px;
    border-radius: 10px;
    width: 90%;
    max-width: 500px;
    box-shadow: 0 0 30px rgba(0, 255, 157, 0.15);
    border: 1px solid #333;
}

.affiliate-close {
    position: absolute;
    right: 20px;
    top: 15px;
    font-size: 28px;
    color: #666;
    cursor: pointer;
    transition: color 0.3s;
}

.affiliate-close:hover {
    color: #fff;
}

.affiliate-content h3 {
    color: #00ff9d;
    text-align: center;
    margin-bottom: 25px;
    font-size: 26px;
}

.affiliate-product {
    background: #2A2A2A;
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    margin-bottom: 20px;
}

.product-image {
    margin: 20px 0;
    color: #00ff9d;
}

.product-image i {
    font-size: 80px;
}

.affiliate-product h4 {
    color: #fff;
    margin-bottom: 15px;
    font-size: 20px;
}

.affiliate-price {
    margin: 20px 0;
}

.new-price {
    color: #00ff9d;
    font-size: 28px;
    font-weight: bold;
    margin-right: 15px;
}

.old-price {
    color: #666;
    text-decoration: line-through;
    font-size: 20px;
}

.affiliate-timer {
    background: #333;
    padding: 10px;
    border-radius: 5px;
    color: #fff;
    margin: 20px 0;
    font-size: 18px;
}

#countdown1 {
    color: #00ff9d;
    font-weight: bold;
}

.affiliate-btn {
    display: inline-block;
    background: #00ff9d;
    color: #000;
    padding: 12px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    font-size: 18px;
    transition: all 0.3s;
}

.affiliate-btn:hover {
    background: #00cc7d;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 255, 157, 0.2);
}

.affiliate-disclaimer {
    color: #666;
    font-size: 14px;
    text-align: center;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #333;
}

@media (max-width: 768px) {
    .affiliate-content {
        width: 95%;
        padding: 20px;
    }

    .product-image i {
        font-size: 60px;
    }

    .affiliate-content h3 {
        font-size: 22px;
    }

    .affiliate-product h4 {
        font-size: 18px;
    }

    .new-price {
        font-size: 24px;
    }

    .old-price {
        font-size: 18px;
    }

    .affiliate-btn {
        padding: 10px 20px;
        font-size: 16px;
    }
}
