Here's a breakdown:
* Obrigado: Used by men.
* Obrigada: Used by women.
* Obrigado: Used when addressing a group of people.
You can also use "Obrigado/a" as a more informal and neutral option that works for both genders and groups.
Let me know if you have any other questions!