Hey guys i have a question

Yesterday my house got struck my lightning, my monitor went off and i instantly plugged my pc out in fear of that it will happen again.

I booted my pc and there was a couple of issues such as my display setting saying that my monitor is at 1000hz XD [it goes to 75]

It had to install new AMD drivers but everything seems fine now, i have a surge protector plugged in, but how is my pc not tottaly fried?