Practically overnight, America made wagering on a game as frictionless as checking the weather. I was determined to understand the consequences—for my country, and for myself.