Understanding the financial implications of gambling a comprehensive analysis