/* Popup and Floating Button Styles */

/* Bonus Teaser Banner */
.bonus-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(90deg, #6d0c24, #a01135);
    padding: 12px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.3);
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.bonus-banner.show {
    transform: translateY(0);
}

.bonus-banner-content {
    display: flex;
    align-items: center;
    gap: 10px;
}

.bonus-banner-icon {
    width: 40px;
    height: 40px;
    background: #ffd700;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: #8C0F2D;
    font-size: 24px;
}

.bonus-banner-text {
    flex: 1;
}

.bonus-banner-text h3 {
    font-size: 14px;
    color: #ffd700;
    margin-bottom: 2px;
    font-weight: bold;
}

.bonus-banner-text p {
    font-size: 12px;
    color: white;
    margin: 0;
}

.bonus-banner-btn {
    background: #ffd700;
    color: #8C0F2D;
    border: none;
    padding: 10px 25px;
    border-radius: 20px;
    font-weight: bold;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s;
    margin-right: 30px;
}

.bonus-banner-btn:hover {
    background: #ffed4e;
    transform: scale(1.05);
}

.bonus-banner-close {
    position: absolute;
    top: 5px;
    right: 5px;
    background: none;
    border: none;
    color: white;
    font-size: 22px;
    cursor: pointer;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.bonus-banner-close:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* Floating Bonus Button */
.floating-bonus {
    position: fixed;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1000;
    animation: pulse 2s infinite;
}

.bonus-btn {
    background: linear-gradient(45deg, #ff6b35, #ffd700);
    border: none;
    border-radius: 50px;
    padding: 15px 20px;
    color: white;
    font-weight: bold;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(255, 107, 53, 0.4);
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    transition: all 0.3s;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.bonus-btn:hover {
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 6px 25px rgba(255, 107, 53, 0.6);
}

.bonus-icon {
    font-size: 18px;
    animation: bounce 1s infinite alternate;
}

/* Popup Modal */
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    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: linear-gradient(135deg, #6d0c24, #a01135);
    border-radius: 20px;
    padding: 30px;
    max-width: 350px;
    width: 90%;
    text-align: center;
    position: relative;
    transform: scale(0.8);
    transition: all 0.3s;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    border: 2px solid #ffd700;
}

.popup-overlay.active .popup-content {
    transform: scale(1);
}

.popup-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 16px;
    transition: all 0.3s;
}

.popup-close:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(90deg);
}

.popup-gift {
    width: 80px;
    height: 80px;
    background: linear-gradient(45deg, #ffd700, #ffed4e);
    border-radius: 50%;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    animation: giftBounce 1s infinite alternate;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.4);
}

.popup-title {
    font-size: 24px;
    color: #ffd700;
    margin-bottom: 10px;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.popup-subtitle {
    font-size: 16px;
    margin-bottom: 20px;
    color: white;
}

.popup-bonus {
    background: rgba(255, 215, 0, 0.2);
    border: 2px solid #ffd700;
    border-radius: 15px;
    padding: 15px;
    margin: 20px 0;
    backdrop-filter: blur(10px);
}

.bonus-amount {
    font-size: 32px;
    color: #ffd700;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    margin-bottom: 5px;
}

.bonus-label {
    color: white;
    font-size: 14px;
    margin: 0;
}

.popup-features {
    color: #cccccc;
    font-size: 14px;
    margin-bottom: 20px;
    line-height: 1.4;
}

.popup-btn {
    background: linear-gradient(45deg, #ffd700, #ffed4e);
    color: #8C0F2D;
    border: none;
    padding: 12px 30px;
    border-radius: 25px;
    font-weight: bold;
    cursor: pointer;
    width: 100%;
    font-size: 16px;
    transition: all 0.3s;
    text-transform: uppercase;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
}

.popup-btn:hover {
    background: linear-gradient(45deg, #ffed4e, #fff176);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 215, 0, 0.5);
}

/* Animations */
@keyframes slideUp {
    from {
        transform: translateY(100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes pulse {
    0% { transform: translateY(-50%) scale(1); }
    50% { transform: translateY(-50%) scale(1.05); }
    100% { transform: translateY(-50%) scale(1); }
}

@keyframes bounce {
    0% { transform: translateY(0); }
    100% { transform: translateY(-3px); }
}

@keyframes giftBounce {
    0% { transform: translateY(0) rotate(0deg); }
    100% { transform: translateY(-8px) rotate(5deg); }
}

/* Responsive */
@media (max-width: 768px) {
    .bonus-banner { 
        padding: 10px 15px; 
    }
    
    .floating-bonus { 
        right: 15px; 
    }
    
    .bonus-btn { 
        padding: 12px 16px; 
        font-size: 13px; 
    }
    
    .popup-content { 
        width: 95%; 
        padding: 25px; 
    }
    
    .popup-title { 
        font-size: 22px; 
    }
    
    .bonus-amount { 
        font-size: 28px; 
    }
}

@media (max-width: 480px) {
    .bonus-banner-content {
        flex-direction: column;
        gap: 5px;
        text-align: center;
    }
    
    .bonus-banner-btn {
        margin-right: 0;
        margin-top: 5px;
    }
    
    .floating-bonus {
        right: 10px;
        bottom: 130px;
        top: auto;
        transform: none;
    }

    .bonus-banner {
        flex-direction: column;
        align-items: center;
    }
    
    .bonus-btn {
        padding: 10px 14px;
        font-size: 12px;
    }
}
