So I recently got a new iPhone 7 Plus a week ago. Tonight, I got onto this website which kept on putting up pop-ups on the page. I went to the lock screen, and it instantly froze. I couldn't even unlock the phone. Then, it went into a black screen with the loading icon. I tried to shut it off several times, but no use. I tried to connect it to iTunes via my MacBook Pro, but since the phone has a password, iTunes sent a verification text to my phone. Of course, I can't access anything in my phone now. There's literally nothing I can do with the phone. (The battery was at 70%, if that helps.)
Sorry for the long post, but what do I do? I'm very worried that it might've gotten hacked or something. Please help!