@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&family=Space+Grotesk:wght@500;600;700&display=swap');

:root {
  --bg: #070605;
  --panel: #100e0b;
  --orange: #ff9d18;
  --orange2: #ffc45a;
  --cream: #f8d98b;
  --text: #f6f0e5;
  --muted: #928b80;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  color: var(--text);
  background:
    radial-gradient(circle at 50% 30%, rgba(255,157,24,.10), transparent 30%),
    radial-gradient(circle at 20% 80%, rgba(255,120,0,.07), transparent 25%),
    var(--bg);
  font-family: Inter, system-ui, sans-serif;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: .22;
  background-image:
    linear-gradient(rgba(255,255,255,.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.018) 1px, transparent 1px);
  background-size: 48px 48px;
}

.noise {
  position: fixed;
  inset: -50%;
  pointer-events: none;
  opacity: .045;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: noise .2s steps(2) infinite;
}

@keyframes noise {
  0% { transform: translate(0,0); }
  25% { transform: translate(2%, -1%); }
  50% { transform: translate(-1%, 2%); }
  75% { transform: translate(1%, 1%); }
  100% { transform: translate(-2%, -2%); }
}

.ambient {
  position: fixed;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  filter: blur(100px);
  pointer-events: none;
  opacity: .14;
  animation: float 9s ease-in-out infinite;
}
.ambient-1 { background: #ff8500; top: -160px; left: -130px; }
.ambient-2 { background: #b94d00; right: -180px; bottom: -160px; animation-delay: -4s; }

@keyframes float {
  0%,100% { transform: translate3d(0,0,0); }
  50% { transform: translate3d(30px,-25px,0); }
}

.page {
  width: min(100%, 1050px);
  margin: auto;
  padding: 30px 22px 60px;
}

.hero {
  min-height: calc(100vh - 30px);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
}

.topline {
  width: 100%;
  max-width: 900px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #b7ad9e;
  font-size: 11px;
  letter-spacing: .28em;
  font-weight: 700;
  text-transform: uppercase;
}

.status {
  display: flex;
  gap: 8px;
  align-items: center;
}

.status i {
  width: 7px;
  height: 7px;
  background: #55e47a;
  border-radius: 50%;
  box-shadow: 0 0 14px #55e47a;
  animation: pulse 1.7s infinite;
}

@keyframes pulse {
  50% { opacity: .35; transform: scale(.65); }
}

.brand-wrap {
  margin: clamp(42px, 8vw, 90px) 0 8px;
  position: relative;
  transform: translateZ(0);
}

.crown {
  color: var(--orange);
  font-size: 44px;
  line-height: .8;
  filter: drop-shadow(0 0 14px rgba(255,157,24,.35));
}

h1 {
  margin: 4px 0 0;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(70px, 15vw, 150px);
  line-height: .8;
  font-weight: 900;
  letter-spacing: -.09em;
  font-style: italic;
  color: var(--orange);
  text-shadow:
    0 0 25px rgba(255,157,24,.28),
    8px 8px 0 rgba(255,157,24,.08);
  animation: titleIn .8s cubic-bezier(.2,.8,.2,1) both;
}

@keyframes titleIn {
  from { opacity: 0; transform: translateY(20px) skewX(-8deg); }
  to { opacity: 1; transform: translateY(0) skewX(-8deg); }
}

.slash {
  height: 5px;
  width: 160px;
  margin: 15px auto 0;
  background: var(--orange);
  transform: skewX(-30deg);
  box-shadow: 0 0 22px rgba(255,157,24,.5);
}

.subtitle {
  margin: 26px 0 28px;
  color: #aaa196;
  font-size: 14px;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.payment-card {
  --rx: 0deg;
  --ry: 0deg;
  width: min(100%, 620px);
  padding: 25px;
  position: relative;
  border: 1px solid rgba(255,157,24,.45);
  border-radius: 28px;
  background:
    linear-gradient(145deg, rgba(255,255,255,.045), rgba(255,255,255,.008)),
    rgba(12,10,8,.88);
  box-shadow:
    0 30px 90px rgba(0,0,0,.55),
    0 0 70px rgba(255,130,0,.11),
    inset 0 1px 0 rgba(255,255,255,.08);
  transform: perspective(1100px) rotateX(var(--rx)) rotateY(var(--ry));
  transition: transform .18s ease-out;
  backdrop-filter: blur(16px);
}

.card-glow {
  position: absolute;
  inset: 15% 10%;
  background: rgba(255,151,20,.14);
  filter: blur(65px);
  pointer-events: none;
  z-index: -1;
}

.upi-row {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 15px;
  text-align: left;
  margin-bottom: 20px;
}

.eyebrow {
  display: block;
  color: #847c70;
  font-size: 9px;
  letter-spacing: .25em;
  font-weight: 800;
  margin-bottom: 6px;
}

.upi-id {
  font-size: clamp(17px, 3.5vw, 25px);
  font-weight: 700;
  letter-spacing: -.02em;
  word-break: break-all;
}

.copy-btn {
  border: 1px solid rgba(255,157,24,.45);
  color: #f8dca3;
  background: rgba(255,157,24,.06);
  border-radius: 12px;
  padding: 10px 12px;
  display: flex;
  align-items: center;
  gap: 7px;
  cursor: pointer;
  font: inherit;
  font-size: 12px;
  transition: .2s;
}
.copy-btn svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.7; }
.copy-btn:hover { background: rgba(255,157,24,.16); transform: translateY(-2px); }
.copy-btn.copied { border-color: #55e47a; color: #55e47a; }

.qr-shell {
  position: relative;
  padding: 14px;
}

.qr-frame {
  position: relative;
  width: min(100%, 510px);
  margin: auto;
  padding: 22px;
  border-radius: 20px;
  background: var(--cream);
  box-shadow:
    0 0 0 1px rgba(255,196,90,.8),
    0 0 45px rgba(255,157,24,.23),
    0 22px 45px rgba(0,0,0,.45);
}

.qr-frame img {
  display: block;
  width: 100%;
  height: auto;
  image-rendering: pixelated;
}

.logo-center {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 18%;
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--orange);
  background: #281b08;
  border: 5px solid var(--cream);
  box-shadow: 0 4px 16px rgba(0,0,0,.35);
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(25px, 6vw, 45px);
  font-weight: 900;
}

.corner {
  position: absolute;
  width: 27px;
  height: 27px;
  border-color: var(--orange);
  border-style: solid;
  z-index: 2;
  opacity: .9;
}
.c1 { top: 0; left: 0; border-width: 2px 0 0 2px; }
.c2 { top: 0; right: 0; border-width: 2px 2px 0 0; }
.c3 { bottom: 0; left: 0; border-width: 0 0 2px 2px; }
.c4 { bottom: 0; right: 0; border-width: 0 2px 2px 0; }

.card-footer {
  margin-top: 18px;
  display: flex;
  justify-content: center;
  gap: 17px;
  color: #ded4c5;
  font-size: 12px;
  letter-spacing: .25em;
  font-weight: 600;
}

.card-footer b { color: var(--orange); }

.pay-btn {
  margin-top: 22px;
  width: min(100%, 620px);
  padding: 16px 22px;
  border-radius: 14px;
  text-decoration: none;
  color: #0a0806;
  background: linear-gradient(135deg, #ffad2f, #ffd27b);
  font-weight: 800;
  letter-spacing: .03em;
  box-shadow: 0 12px 35px rgba(255,157,24,.2);
  transition: transform .2s, box-shadow .2s;
}
.pay-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 45px rgba(255,157,24,.34);
}
.arrow { margin-left: 8px; }

.features {
  width: min(100%, 620px);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 32px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,.08);
}
.features div {
  display: flex;
  justify-content: center;
  gap: 10px;
  align-items: center;
  text-align: left;
}
.features strong {
  color: var(--orange);
  font-size: 12px;
}
.features span {
  color: #857d72;
  font-size: 9px;
  line-height: 1.55;
  letter-spacing: .12em;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 25px;
  transform: translate(-50%, 30px);
  opacity: 0;
  pointer-events: none;
  padding: 12px 18px;
  border: 1px solid rgba(85,228,122,.4);
  border-radius: 999px;
  color: #b8ffc7;
  background: rgba(10,20,12,.92);
  backdrop-filter: blur(12px);
  transition: .3s ease;
  font-size: 13px;
  box-shadow: 0 10px 35px rgba(0,0,0,.4);
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

@media (max-width: 600px) {
  .page { padding: 20px 14px 45px; }
  .payment-card { padding: 15px; border-radius: 22px; }
  .qr-frame { padding: 14px; border-radius: 15px; }
  .upi-row { align-items: center; }
  .copy-btn span { display: none; }
  .copy-btn { padding: 10px; }
  .features { gap: 5px; }
  .features div { gap: 6px; }
  .features span { font-size: 7px; }
}
