Restructured frontend CSS