I second the investment account recommendation.
You have to pay taxes, but that's the price of success. It is what it is, "don't let the tail wag the dog" when it comes to taxes, 80% of a gain is better than the dead money sitting in cash. If you paid yourself a normalized salary over the years, then dividend it out once your taxes drop.
You could also buy a rental property in your personal name and let the C-Corp do a 100% loan at an interest rate considered reasonable by the IRS. Borrow to buy an asset with a 7-8% cap rate with an interest rate at 4-5%. Just random thoughts