2012 RZR 800 electrical

Ok I was riding the other day and out of nowhere it started to miss. Then I noticed then dash started flickering. Checked the battery terminals and re-tightened them. Drove around a little more and the machine just went completely dead. The main ground under drivers seat seams fine.

Checked the fuses under the dash. All fine

Any other ideas?

Also my EPS is not working??

Completely stock no add on acces.