Improve gradients and browser compatibility