Understanding legal frameworks in gambling A comprehensive overview of regulations