Hundreds of people were hurt, two seriously, when a wooden platform collapsed at a seaside music festival in northwestern Spain on Sunday night, local authorities said.