/* Toast Notifications - Shared styles for all games */

@keyframes notificationSlideDown {
    from {
        transform: translate(-50%, -100%);
        opacity: 0;
    }
    to {
        transform: translate(-50%, 0);
        opacity: 1;
    }
}

@keyframes notificationSlideUp {
    from {
        transform: translate(-50%, 0);
        opacity: 1;
    }
    to {
        transform: translate(-50%, -100%);
        opacity: 0;
    }
}

.game-notification {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    color: #fff;
    padding: 14px 24px;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 600;
    z-index: 10000;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.1);
    animation: notificationSlideDown 0.3s ease-out;
    max-width: 90%;
    text-align: center;
}

.game-notification.success {
    background: linear-gradient(135deg, #2a9d8f 0%, #1f7a6f 100%);
    border-color: rgba(42, 157, 143, 0.3);
}

.game-notification.error {
    background: linear-gradient(135deg, #e94560 0%, #c73e54 100%);
    border-color: rgba(233, 69, 96, 0.3);
}

.game-notification.info {
    background: linear-gradient(135deg, #667eea 0%, #5568d8 100%);
    border-color: rgba(102, 126, 234, 0.3);
}

.game-notification.warning {
    background: linear-gradient(135deg, #f39c12 0%, #e67e22 100%);
    border-color: rgba(243, 156, 18, 0.3);
}

.game-notification.hiding {
    animation: notificationSlideUp 0.3s ease-in forwards;
}

