The best way to harden Styrofoam is by using liquid polyurethane. Make sure to use a two-part fluid polyurethane hard-coat system; each layer should be thin. It will help you to get a hard-surface coating.