Making a button with gradient on text

Hi guys.

I’m trying to make a button with white background and gradient on text, and I have 2 struggles.

1 - I can’t clip a gradient to text while maintaining a white background
2 - I can’t make gradients that don’t align with the layer, just like you can do on Figma or photoshop.

Is there any solution to these 2 problems?