* { box-sizing: border-box; }

:root {
  --pink: #ff75c8;
  --pink2: #c92c8d;
  --text: #fff7fc;
  --muted: #cdbec8;
  --card: rgba(20, 10, 18, .78);
}

html, body {
  margin: 0;
  min-height: 100%;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #090609;
  color: var(--text);
}

body { min-height: 100vh; }

.landing {
  min-height: 100vh;
  overflow: hidden;
}

.hero {
  position: relative;
  min-height: 100vh;
  display: grid;
  place-items: center;
  background:
    url("background.png") center / cover no-repeat;
}

.shade {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 45%, rgba(255, 88, 185, .12), transparent 32%),
    linear-gradient(90deg, rgba(0,0,0,.72), rgba(0,0,0,.30), rgba(0,0,0,.72)),
    linear-gradient(0deg, rgba(0,0,0,.70), rgba(0,0,0,.20));
}

.content {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 24px;
  transform: translateY(3vh);
}

.crown {
  color: var(--pink);
  font-size: 38px;
  line-height: 1;
  text-shadow: 0 0 24px rgba(255, 117, 200, .8);
}

h1 {
  margin: 8px 0 4px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(64px, 11vw, 124px);
  line-height: .9;
  letter-spacing: -4px;
  text-shadow: 0 4px 28px rgba(0,0,0,.65), 0 0 25px rgba(255, 117, 200, .3);
}

.subtitle {
  margin: 18px 0 28px;
  color: #f1dce9;
  letter-spacing: .16em;
  text-transform: uppercase;
  font-size: 12px;
}

.unlock, .pay {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 240px;
  padding: 15px 28px;
  border: 1px solid #ff9cda;
  border-radius: 999px;
  color: white;
  background: linear-gradient(135deg, #8b1c63, #d83b9d);
  box-shadow: 0 0 24px rgba(255, 71, 175, .55), inset 0 0 14px rgba(255,255,255,.12);
  text-decoration: none;
  font-weight: 700;
  transition: transform .2s, box-shadow .2s;
}

.unlock:hover, .pay:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 0 36px rgba(255, 71, 175, .78), inset 0 0 14px rgba(255,255,255,.15);
}

.small {
  color: #d8cbd3;
  font-size: 12px;
  margin-top: 16px;
}

.payment-page {
  display: grid;
  place-items: center;
  padding: 28px 16px;
  background:
    radial-gradient(circle at 50% 0%, rgba(194, 44, 142, .2), transparent 35%),
    #090609;
}

.checkout {
  width: min(100%, 560px);
}

.back {
  color: #d9c8d4;
  text-decoration: none;
  display: inline-block;
  margin-bottom: 14px;
}

.checkout-card {
  background: var(--card);
  border: 1px solid rgba(255, 142, 211, .25);
  border-radius: 24px;
  padding: 30px;
  backdrop-filter: blur(18px);
  box-shadow: 0 24px 70px rgba(0,0,0,.55);
}

.checkout-card h1 {
  font-size: 48px;
  letter-spacing: -2px;
  margin: 10px 0;
}

.muted { color: var(--muted); }

.amount-box {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin: 24px 0;
  padding: 16px;
  border-radius: 14px;
  background: rgba(255,255,255,.06);
}

.amount-box strong { color: #ff9cda; }

.qr-wrap {
  width: 244px;
  min-height: 244px;
  margin: 18px auto 24px;
  padding: 12px;
  border-radius: 16px;
  background: white;
  display: grid;
  place-items: center;
}

label {
  display: block;
  margin-bottom: 8px;
  font-size: 13px;
  color: var(--muted);
}

.address-row {
  display: flex;
  gap: 8px;
}

input {
  width: 100%;
  min-width: 0;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 10px;
  background: rgba(0,0,0,.35);
  color: white;
  padding: 12px;
}

button {
  border: 0;
  border-radius: 10px;
  padding: 0 15px;
  cursor: pointer;
  font-weight: 700;
}

.warning {
  font-size: 12px;
  line-height: 1.5;
  color: #d8cbd3;
  margin: 16px 0 20px;
}

.pay {
  width: 100%;
}

.status {
  min-height: 18px;
  text-align: center;
  color: #bbaab6;
  font-size: 12px;
  margin-bottom: 0;
}

@media (max-width: 600px) {
  .hero {
    background-position: 60% center;
  }

  .content {
    padding: 16px;
  }

  .checkout-card {
    padding: 22px;
  }

  h1 {
    letter-spacing: -2px;
  }
}

.qr-link {
  display: grid;
  place-items: center;
  text-decoration: none;
}
.qr-link img {
  display: block;
  width: 220px;
  height: 220px;
  object-fit: contain;
}
