.floating-bonus {
    position: fixed;
    left: -300px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 999;
    transition: left 0.4s ease;
}

.floating-bonus.open {
    left: 0;
}

.bonus-toggle {
    position: absolute;
    right: -55px;
    top: 50%;
    transform: translateY(-50%) rotate(-90deg);
    background: linear-gradient(45deg, #FF9800, #FFC107);
    color: white;
    padding: 12px 25px;
    border-radius: 0 0 20px 20px;
    cursor: pointer;
    font-weight: bold;
    writing-mode: vertical-rl;
    animation: wiggle 3s infinite;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
    box-shadow: 0 4px 15px rgba(255,152,0,0.3);
    border: 2px solid #FFFFFF;
}

.bonus-content {
    background: linear-gradient(135deg, #FF9800, #FFC107);
    padding: 30px 25px;
    border-radius: 0 20px 20px 0;
    width: 300px;
    text-align: center;
    color: white;
    border: 3px solid #FFFFFF;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    position: relative;
}

.bonus-content::before {
    content: '🎰';
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 24px;
    opacity: 0.7;
}

.bonus-title {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 15px;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
    color: #FFFFFF;
}

.bonus-amount {
    font-size: 32px;
    font-weight: bold;
    color: #FFFFFF;
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.4);
}

.bonus-plus {
    font-size: 24px;
    margin: 10px 0;
    opacity: 0.9;
    color: #FFFFFF;
}

.bonus-percent {
    font-size: 28px;
    font-weight: bold;
    margin-bottom: 20px;
    color: #FFFFFF;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.4);
}

.bonus-claim-btn {
    background: linear-gradient(45deg, #2C5282, #4299E1);
    color: white;
    border: none;
    padding: 15px 35px;
    border-radius: 25px;
    font-weight: bold;
    cursor: pointer;
    font-size: 16px;
    animation: pulse 2s infinite;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(44,82,130,0.4);
    transition: all 0.3s ease;
}

.bonus-claim-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(44,82,130,0.6);
    filter: brightness(1.1);
}

.bonus-footer {
    font-size: 12px;
    margin-top: 15px;
    opacity: 0.8;
    color: #FFFFFF;
}

@keyframes wiggle {
    0%, 100% { 
        transform: translateY(-50%) rotate(-90deg); 
    }
    25% { 
        transform: translateY(-55%) rotate(-90deg) scale(1.05); 
    }
    75% { 
        transform: translateY(-45%) rotate(-90deg) scale(1.05); 
    }
}

@keyframes pulse {
    0%, 100% { 
        transform: scale(1); 
    }
    50% { 
        transform: scale(1.08); 
    }
}

@media (max-width: 768px) {
    .floating-bonus {
        left: -250px;
    }
    
    .bonus-content {
        width: 250px;
        padding: 25px 20px;
    }
    
    .bonus-toggle {
        right: -45px;
        padding: 10px 20px;
    }
    
    .bonus-amount {
        font-size: 28px;
    }
    
    .bonus-percent {
        font-size: 24px;
    }
}

@media (max-width: 480px) {
    .floating-bonus {
        left: -220px;
    }
    
    .bonus-content {
        width: 220px;
        padding: 20px 15px;
    }
    
    .bonus-amount {
        font-size: 24px;
    }
    
    .bonus-percent {
        font-size: 20px;
    }
    
    .bonus-claim-btn {
        padding: 12px 25px;
        font-size: 14px;
    }
}
