You walk into a casino hoping for a lucky night. But while you might know that the IRS wants its share when you win, the bigger question for most of us is: can we write it all off when we lose? The answer is more complicated than most gamblers realize.