Understanding legal pitfalls in online gambling regulations