High power rgb led moving robot lights controlled via esp32 , need help vetting circuit designs

while i keep trying to understand what you were laying down , what do you think of this circuit? i based it off of : http://bildr.org/blog/wp-content/uploads/2012/03/rfp30n06le-arduino-solenoid.pngsm-msft2.fzz (16.0 KB)
sm-msft2_pcb

the main flaw with this design is the esp32 outputs a 3.3v pwm instead of a 5 or 4.5v pwm so the totem-pole opto sounded interesting as that might amplify its output to the required 4.5/5v ?

also heres the data sheet for the mosfet i am currently using , the input voltage is 26-36v and the max amps are about 900ma