/* =========================
   GLOBAL RESET
========================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
}

body {
  min-height: 100vh;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at top, #1b2735 0%, #090a0f 60%);
  color: #e5e7eb;
  overflow: hidden;
}

/* =========================
   BACKGROUND GLOW
========================= */
body::before,
body::after {
  content: "";
  position: absolute;
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, rgba(56,189,248,0.35), transparent 70%);
  filter: blur(80px);
  z-index: 0;
}

body::before {
  top: -120px;
  left: -120px;
}

body::after {
  bottom: -140px;
  right: -140px;
}

/* =========================
   PAYMENT CARD
========================= */
.payment-container {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 380px;
  padding: 32px 30px;
  border-radius: 18px;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.12),
    rgba(255, 255, 255, 0.04)
  );
  backdrop-filter: blur(18px);
  box-shadow:
    0 20px 50px rgba(0, 0, 0, 0.6),
    inset 0 1px 0 rgba(255, 255, 255, 0.15);
  animation: cardEnter 0.8s ease;
}

@keyframes cardEnter {
  from {
    opacity: 0;
    transform: translateY(30px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* =========================
   HEADER
========================= */
.payment-container h2 {
  font-size: 23px;
  font-weight: 700;
  letter-spacing: 0.3px;
  margin-bottom: 6px;
}

.subtitle {
  font-size: 14px;
  color: #9ca3af;
  margin-bottom: 22px;
}

/* =========================
   AMOUNT DISPLAY
========================= */
.amount-box {
  background: rgba(0, 0, 0, 0.35);
  border-radius: 12px;
  padding: 18px;
  margin-bottom: 26px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.amount-box span {
  font-size: 13px;
  color: #9ca3af;
}

.amount-box h3 {
  margin-top: 6px;
  font-size: 28px;
  font-weight: 700;
  color: #38bdf8;
}

/* =========================
   PAY BUTTON
========================= */
#payBtn {
  width: 100%;
  padding: 15px 0;
  font-size: 16px;
  font-weight: 600;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  background: linear-gradient(135deg, #38bdf8, #2563eb);
  color: #020617;
  transition: all 0.35s ease;
  position: relative;
  overflow: hidden;
}

/* Shine animation */
#payBtn::after {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    120deg,
    transparent,
    rgba(255, 255, 255, 0.5),
    transparent
  );
  transition: 0.6s;
}

#payBtn:hover::after {
  left: 100%;
}

#payBtn:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 35px rgba(56, 189, 248, 0.5);
}

#payBtn:active {
  transform: scale(0.96);
}

/* =========================
   TRUST BADGES
========================= */
.trust {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 18px;
  font-size: 13px;
  color: #9ca3af;
}

.trust span {
  display: flex;
  align-items: center;
  gap: 5px;
}

/* =========================
   MOBILE OPTIMIZATION
========================= */
@media (max-width: 420px) {
  .payment-container {
    padding: 26px 22px;
  }

  .amount-box h3 {
    font-size: 24px;
  }
}
