Bitcoin falls to $40,480 in mixed trading