Lottery fever spread across the United States on Wednesday with people in more than 40 states buying tickets for the Mega Millions jackpot that has reached an all-time record of $500 million, officials said.