Change Linear to Ease in the colour ramp I find helps a bit.
Also try Generated rather than Object in the Mapping node.
When you use ‘Object’, the origin position affects the gradient position too.
In Layout, top right ‘Options’ dropdown. Tick Origins. So only the origin moves with the mouse. Move it up and down and you can see and adjust, if wanted, the position of the gradient on the object.
Examples below if that helps. Note the three different origin position’s effect on Object.
Object & Linear
Generated & Linear
Object and Ease
Generated & Ease



