:root {
  color-scheme: dark;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #07111f;
}

* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
  margin: 0;
}

body {
  min-height: 100vh;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 42%, rgba(44, 120, 255, 0.2), transparent 28rem),
    linear-gradient(145deg, #050a13, #0a1728 58%, #08111d);
}

body::before {
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 42px 42px;
  content: "";
  mask-image: radial-gradient(circle at center, black, transparent 72%);
  pointer-events: none;
}

main {
  display: grid;
  min-height: 100vh;
  place-items: center;
  padding: 1.5rem;
}

.buy-button {
  position: relative;
  display: inline-flex;
  min-width: 12.5rem;
  min-height: 3.75rem;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: linear-gradient(135deg, #f7c65f, #eaa932);
  box-shadow: 0 1.2rem 4rem rgba(0, 0, 0, 0.4), 0 0 0 0 rgba(247, 198, 95, 0.25);
  color: #101722;
  cursor: pointer;
  font-size: 0.95rem;
  font-weight: 750;
  letter-spacing: 0.01em;
  text-decoration: none;
  transition: transform 180ms ease, box-shadow 180ms ease, filter 180ms ease;
}

.buy-button::before {
  position: absolute;
  top: -100%;
  left: -40%;
  width: 35%;
  height: 300%;
  background: rgba(255, 255, 255, 0.32);
  content: "";
  filter: blur(10px);
  transform: rotate(24deg);
  transition: left 420ms ease;
}

.buy-button:hover {
  box-shadow: 0 1.4rem 4.5rem rgba(0, 0, 0, 0.46), 0 0 0 0.45rem rgba(247, 198, 95, 0.1);
  filter: brightness(1.05);
  transform: translateY(-2px);
}

.buy-button:hover::before {
  left: 110%;
}

.buy-button:active {
  transform: translateY(0);
}

.buy-button:focus-visible {
  outline: 3px solid #ffffff;
  outline-offset: 5px;
}

.checkout-status {
  min-height: 1.3em;
  margin: 14px 0 0;
  color: #9fb0cb;
  font-size: 0.84rem;
  text-align: center;
}

.checkout-status.error {
  color: #ff9b9b;
}

.buy-button svg {
  width: 1.15rem;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.9;
  transition: transform 180ms ease;
}

.buy-button:hover svg {
  transform: translateX(3px);
}

@media (prefers-reduced-motion: reduce) {
  .buy-button,
  .buy-button::before,
  .buy-button svg {
    transition: none;
  }
}
