/* Bonus Teaser Banner (Bottom) */
.bonus-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, #fff7e0, #fffcf5);
    border-top: 2px solid #F0C354;
    padding: 12px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    transform: translateY(100%);
    animation: slideUp 0.5s ease 2s forwards;
    box-shadow: 0 -4px 15px rgba(0, 0, 0, 0.05);
}

.bonus-banner.show {
    transform: translateY(0);
}

.bonus-banner-content {
    display: flex;
    align-items: center;
    gap: 15px;
}

.bonus-banner-icon {
    width: 40px;
    height: 40px;
    background: #F0C354;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: #444;
}

.bonus-banner-text h3 {
    font-size: 14px;
    color: #8B572A;
    margin: 0 0 2px 0;
    font-weight: bold;
}

.bonus-banner-text p {
    font-size: 12px;
    color: #666;
    margin: 0;
}

.bonus-banner-btn {
    background: linear-gradient(180deg, #FFD700, #F5A623);
    color: white;
    border: none;
    padding: 10px 25px;
    border-radius: 50px;
    font-weight: bold;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s;
    margin-right: 30px;
    box-shadow: 0 2px 5px rgba(245, 166, 35, 0.3);
}

.bonus-banner-btn:hover {
    filter: brightness(1.1);
    transform: scale(1.05);
}

.bonus-banner-close {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    right: 10px;
    background: none;
    border: none;
    color: #aaa;
    font-size: 24px;
    cursor: pointer;
}

/* Floating Bonus Button (Side) */
.floating-bonus {
    position: fixed;
    right: 20px;
    top: 60%;
    transform: translateY(-50%);
    z-index: 999;
}

.bonus-btn {
    background: linear-gradient(45deg, #FFD700, #F5A623);
    border: none;
    border-radius: 50px;
    padding: 12px 18px;
    color: white;
    font-weight: bold;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(245, 166, 35, 0.4);
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    transition: all 0.3s;
    animation: pulse-gold 2s infinite;

}

.bonus-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 25px rgba(245, 166, 35, 0.6);
}

.bonus-icon {
    font-size: 18px;
}

@media (max-width: 480px) {
    .bonus-banner-close {
        top: 15%;
    }

    .bonus-banner {
        flex-direction: column;
        gap: 10px;
    }
}

/* Popup Modal */
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
    backdrop-filter: blur(5px);
}

.popup-overlay.active {
    opacity: 1;
    visibility: visible;
}

.popup-content {
    background: #FFFFFF;
    border-radius: 16px;
    padding: 25px;
    max-width: 360px;
    width: 90%;
    text-align: center;
    position: relative;
    transform: scale(0.9);
    transition: transform 0.3s ease;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    border: 1px solid #F0C354;
}

.popup-overlay.active .popup-content {
    transform: scale(1);
}

.popup-close {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #f0f0f0;
    border: none;
    color: #999;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 16px;
    line-height: 30px;
    transition: all 0.3s;
}

.popup-close:hover {
    background: #e0e0e0;
    transform: rotate(90deg);
}

.popup-gift {
    width: 70px;
    height: 70px;
    margin: 0 auto 15px;
    font-size: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.popup-title {
    font-size: 24px;
    color: #8B572A;
    margin-bottom: 8px;
    font-weight: bold;
}

.popup-subtitle {
    font-size: 15px;
    margin-bottom: 20px;
    color: #666;
}

.popup-bonus {
    background: #FFFBEF;
    border: 2px dashed #F0C354;
    border-radius: 12px;
    padding: 15px;
    margin: 0 auto 20px;
}

.bonus-amount {
    font-size: 44px;
    color: #D4AF37;
    font-weight: bold;
    line-height: 1;
}

.bonus-label {
    color: #333;
    font-weight: 500;
    font-size: 15px;
    margin: 5px 0 0 0;
}

.popup-features {
    color: #555;
    font-size: 14px;
    margin-bottom: 25px;
    line-height: 1.7;
}

.popup-btn {
    background: linear-gradient(180deg, #FFD700, #F5A623);
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 50px;
    font-weight: bold;
    cursor: pointer;
    width: 100%;
    font-size: 18px;
    transition: filter 0.3s ease;
    text-transform: uppercase;
    box-shadow: 0 4px 15px rgba(245, 166, 35, 0.4);
}

.popup-btn:hover {
    filter: brightness(1.1);
}

/* Animations */
@keyframes slideUp {
    from {
        transform: translateY(100%);
    }
    to {
        transform: translateY(0);
    }
}

@keyframes pulse-gold {
    0% {
        transform: translateY(-50%) scale(1);
        box-shadow: 0 4px 20px rgba(245, 166, 35, 0.4);
    }
    50% {
        transform: translateY(-50%) scale(1.05);
        box-shadow: 0 6px 30px rgba(245, 166, 35, 0.6);
    }
    100% {
        transform: translateY(-50%) scale(1);
        box-shadow: 0 4px 20px rgba(245, 166, 35, 0.4);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .bonus-banner {
        padding: 10px;
    }
    
    .bonus-banner-btn {
        margin-right: 25px;
    }
    
    .floating-bonus {
        right: 15px;
    }
    
    .bonus-btn {
        padding: 10px 14px;
        font-size: 13px;
    }
    
    .popup-content {
        width: 95%;
        padding: 20px;
    }
    
    .popup-title {
        font-size: 20px;
    }
    
    .bonus-amount {
        font-size: 40px;
    }
}
