Two people were killed and as many as 17 - one just 12 years old - wounded when gunfire erupted at a teen swimsuit party at a southwest Florida nightclub early Monday, according to reports.

A 14-year-old and 18-year-old were killed in the attack.

Five people were detained by police, but it's unclear if any were believed to be a shooter. Neither the shooter's identity nor motivation was clear. Authorities are not sure if one shooter or multiple shooters were involved. The attack apparently occurred at a teen event billed as a "Swimsuit Glow Party" at Club Blu in Fort Myers, local media reported.

The shooting is "definitely not terrorism," police told Fox News' Heather Nauert. The incident appears to have been gang-related, a law enforcement official told Fox News' Matt Dean.

"We are deeply sorry for all involved," Club Blu posted on Facebook on Monday moing. "We tried to give the teens WHAT WE THOUGHT WAS A SAFE PLACE TO HAVE A GOOD TIME. Ages 12-17. There was armed security as well as full security, inside and out."

The area was deemed safe hours later, Fort Myers Police Capt. Jim Mulligan said in a statement. Three people remained hospitalized with serious injuries, local station WINK-TV reported. One of the victims was identified as Cherly Ga, 12, a spokeswoman for Lee Memorial Health System, told WINK.

The shooting came more than a month after a terror attack at a nightclub in Orlando that was the deadliest shooting in mode U.S. history. The shooting at the Pulse nightclub on June 12 left 49 dead and 53 others wounded.

The violence at Club Blu erupted about 12:30 a.m. Monday, and there were two active crime scenes, Mulligan said. Several hours later a street in the area remained closed as police investigated.

"As the club was closing and parents were picking their children up.....that's when all this took place," Club Blue posted on Facebook. "There was nothing more we could [have] done [as] you see it was not kids at the party that did this despicable act."

The area was later deemed safe, but Mulligan said a street was still closed as authorities investigated.

Online state records showed the alcohol license for Club Blu was revoked June 7.

The records from the Department of Business and Professional Regulation state that the club's license was revoked due to an incident that occurred a year ago but there were no details available. The same records also showed a complaint was filed in 2014 for "criminal activity" and that the club was given an official notice.

In a statement, authorities said the Fort Myers police and the Lee County Sheriff's Office were "actively canvassing the area looking for other persons who may be involved in this incident."

Florida Gov. Rick Scott said he was cancelling his scheduled events on Monday so that he could meet with officials in Fort Myers.

In a statement, Scott said he's spoken with Fort Myers Mayor Randy Henderson, Lee County Sheriff Mike Scott and Ft. Myers Interim Police Chief Deis Eads to offer any assistance from the state.

Fox News' Heather Nauert and Matt Dean and The Associated Press contributed to this report.