<div class="payment-button">
  <span class="label">Pay Now</span>
  <span class="price">$49.99</span>
</div>

<style>
/* From Uiverse.io by SouravBandyopadhyay  - Tags: simple, tooltip, animation, text animation, animated, transition, hover effect, hover button */
.payment-button {
  --background: #007bff;
  --text-color: #fff;
  --hover-background: #0056b3;
  --hover-text-color: #fff;
  --border-radius: 4px;
  --box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);

  display: inline-block;
  cursor: pointer;
  font-s