/* Bonus Games Notification Popup */
.bonus-notification-popup {
    position: fixed !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    background: #000000 !important;
    background-image: linear-gradient(135deg, #1a1a1a 0%, #000000 100%) !important;
    border: 4px solid #ffd700 !important;
    border-radius: 15px !important;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 1), 0 0 60px rgba(255, 215, 0, 0.8), inset 0 0 20px rgba(255, 215, 0, 0.2) !important;
    padding: 25px !important;
    width: 380px !important;
    max-width: 90vw !important;
    z-index: 999999 !important;
    opacity: 1 !important;
    box-sizing: border-box !important;
    animation: glowPulse 2s ease-in-out infinite;
}

.bonus-notification-popup.show {
    transform: translate(-50%, -50%) !important;
    opacity: 1 !important;
    visibility: visible !important;
}

@keyframes glowPulse {
    0%, 100% {
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 40px rgba(255, 215, 0, 0.2);
    }
    50% {
        box-shadow: 0 10px 40px rgba(0, 0, 0, 0.6), 0 0 60px rgba(255, 215, 0, 0.4);
    }
}

.bonus-notification-content {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #000000;
    opacity: 1 !important;
    position: relative;
}

.bonus-notification-icon {
    font-size: 40px;
    animation: bounce 1.5s ease-in-out infinite;
    filter: drop-shadow(0 0 10px rgba(255, 215, 0, 0.5));
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    25% { transform: translateY(-5px); }
    75% { transform: translateY(3px); }
}

.bonus-notification-text {
    flex: 1;
}

.bonus-notification-text h4 {
    margin: 0 0 6px 0;
    font-size: 18px;
    font-weight: 800;
    color: #ffd700;
    text-shadow: 0 0 15px rgba(255, 215, 0, 0.8), 0 2px 4px rgba(0, 0, 0, 0.5);
    letter-spacing: 0.5px;
}

.bonus-notification-text p {
    margin: 0;
    font-size: 14px;
    color: #ffffff;
    line-height: 1.4;
    font-weight: 500;
}

.bonus-notification-btn {
    display: inline-block;
    padding: 12px 32px;
    background: linear-gradient(135deg, #ffd700, #ffaa00);
    background-color: #ffd700;
    color: #000;
    border: 2px solid #fff;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 800;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
    animation: pulse 2s ease-in-out infinite;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 12px rgba(255, 215, 0, 0.4);
    margin: 0 auto;
}

.bonus-notification-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(255, 215, 0, 0.5);
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.03); }
}

/* Mobile Responsive */
@media (max-width: 480px) {
    .bonus-notification-popup {
        top: 60px;
        right: 10px;
        left: 10px;
        max-width: none;
        transform: translateY(-200px);
        padding: 16px;
        background: #1a1f3a;
        border-width: 2px;
    }
    
    .bonus-notification-popup.show {
        transform: translateY(0);
        opacity: 1;
    }
    
    .bonus-notification-text h4 {
        font-size: 16px;
    }
    
    .bonus-notification-text p {
        font-size: 13px;
    }
    
    .bonus-notification-btn {
        padding: 10px 20px;
        font-size: 14px;
    }
}

/* Bonus Button States */
.qa-btn.bonus-games.pulse-available {
    animation: bonusAvailable 1.5s ease-in-out infinite !important;
}

@keyframes bonusAvailable {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
    }
    50% {
        transform: scale(1.1);
        box-shadow: 0 0 25px rgba(255, 215, 0, 0.8), 0 0 40px rgba(255, 107, 107, 0.6);
    }
}

.qa-btn.bonus-games.disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Update modal play buttons */
.play-btn-mini.disabled {
    background: linear-gradient(135deg, #666, #444) !important;
    cursor: not-allowed !important;
    opacity: 0.7;
}

.play-btn-mini.disabled:hover {
    transform: none !important;
    box-shadow: none !important;
}

/* Countdown Badge */
.bonus-countdown-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background: #000000;
    color: #ffd700;
    font-size: 10px;
    padding: 3px 5px;
    border-radius: 8px;
    font-weight: 700;
    border: 1px solid #ffd700;
    white-space: nowrap;
    font-family: 'Courier New', monospace;
    z-index: 10;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    min-width: 40px;
    text-align: center;
}