Understanding the financial implications of gambling A comprehensive analysis