You need to stop, take a break.
Do the best you can in school - you can’t just wish an A. Do your best. If you get the grades you want, that’s great. If you don’t, life goes on. Your rank will take care of itself - and probably won’t make a difference if you are 8 from 5. Nor will your ACT make a difference 35 to 36.
Many schools/most if you’re applying EA - and you should - they won’t see your Fall grades - so you have what you have.
If you get into Duke or Princeton - and there are 4.0s with 36 and #1 ranked that don’t - but if you get in, great. If you don’t, it’s why you have target schools and safety schools.
Focus on putting forth the best you - and you’ll end up in the right place. Don’t put so much pressure on yourself.
I got news for you - many of those Dukies will end up working for people from name your state U. So relax, don’t put more pressure on yourself than the process will, and be a kid.
Good luck.