/* ============================================================
   Sign-up page — payment method picker + panels.
   Loads after styles.css and reuses the sponsor page shell
   classes (sp-top, sp-title, sp-prop) via sponsor-page body
   class; everything new is su- prefixed.
   ============================================================ */

body.signup-page {
  background-color: #eadfcb;
}

.signup-page .desktop-view-wrapper,
.signup-page .mobile-view-wrapper {
  min-height: 0;
}

.signup-page .navigation-tab p[data-nav-link] {
  cursor: pointer;
}

.su-top {
  position: relative;
  overflow: hidden;
  background-color: #eadfcb;
}

/* ---------------- Splash shapes ---------------- */
.su-splash {
  position: absolute;
  pointer-events: none;
  z-index: 1;
}

.su-splash svg {
  display: block;
  width: 100%;
  height: 100%;
}

.su-splash-blue {
  width: 520px;
  height: 520px;
  left: -230px;
  top: 60px;
}

.su-splash-green {
  width: 560px;
  height: 560px;
  right: -230px;
  top: 240px;
}

/* archive-spin lives in styles.css */
.su-splash-green svg {
  animation: archive-spin 18s linear infinite;
}

.su-splash-blue svg {
  animation: archive-spin 22s linear infinite reverse;
}

.su-hero {
  position: relative;
  z-index: 3;
  max-width: 1100px;
  margin: 0 auto;
  padding: 72px 24px 110px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.su-title {
  font-family: "Cause", "Jersey 25", sans-serif;
  font-weight: 700;
  color: #000;
  font-size: clamp(38px, 5vw, 60px);
  line-height: 1.05;
  margin: 0 0 22px;
}

.su-intro {
  font-family: "Hammersmith One", sans-serif;
  font-size: 17px;
  line-height: 1.45;
  color: #57503f;
  max-width: 560px;
  margin: 0 0 52px;
}

/* ---------------- Payment method picker ---------------- */
.su-methods {
  border: none;
  padding: 0;
  margin: 0 0 44px;
  width: 100%;
  max-width: 720px;
}

.su-methods-legend {
  font-family: "Cause", "Jersey 25", sans-serif;
  font-weight: 700;
  color: #000;
  font-size: clamp(22px, 2.6vw, 30px);
  line-height: 1.1;
  margin: 0 auto 28px;
}

.su-method-row {
  display: flex;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
}

.su-method {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 11px;
  background: #f3ead8;
  border: 2.5px solid #1c1c1c;
  border-radius: 12px;
  padding: 15px 22px;
  cursor: pointer;
  box-shadow: 3px 4px 0 rgba(28, 28, 28, 0.16);
  transition: background 0.15s ease, transform 0.1s ease, box-shadow 0.1s ease;
  user-select: none;
}

.su-method:hover {
  transform: translate(-1px, -1px);
  box-shadow: 4px 5px 0 rgba(28, 28, 28, 0.16);
}

/* hide the native input but keep it focusable/announceable */
.su-method-input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
  pointer-events: none;
}

.su-method-dot {
  width: 20px;
  height: 20px;
  border: 2.5px solid #1c1c1c;
  border-radius: 50%;
  background: #fff;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.su-method-dot::after {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #f35933;
  transform: scale(0);
  transition: transform 0.12s ease;
}

.su-method-input:checked + .su-method-dot::after {
  transform: scale(1);
}

.su-method:has(.su-method-input:checked) {
  background: #ffe1d6;
}

.su-method-input:focus-visible + .su-method-dot {
  outline: 3px solid #f35933;
  outline-offset: 2px;
}

.su-method-name {
  font-family: "Hammersmith One", sans-serif;
  font-size: 17px;
  color: #1c1c1c;
  white-space: nowrap;
}

.su-method-icon {
  flex-shrink: 0;
}

.su-method-logo {
  height: 15px;
  width: auto;
  flex-shrink: 0;
}

.su-visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* SG Culture Pass: not available yet */
.su-method.is-disabled {
  cursor: not-allowed;
  background: #e2d9c6;
  border-color: #8f887c;
  box-shadow: none;
  opacity: 0.72;
}

.su-method.is-disabled:hover {
  transform: none;
}

.su-method.is-disabled .su-method-dot {
  border-color: #8f887c;
  background: #efe8d8;
}

.su-method.is-disabled .su-method-name {
  color: #6f675c;
}

.su-soon {
  font-family: "Poppins", sans-serif;
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: #fff;
  background: #8f887c;
  border-radius: 999px;
  padding: 4px 10px;
  white-space: nowrap;
}

/* ---------------- Panels ---------------- */
.su-panel {
  width: 100%;
  max-width: 720px;
}

.su-panel-note {
  font-family: "Hammersmith One", sans-serif;
  font-size: 16px;
  line-height: 1.45;
  color: #57503f;
  max-width: 520px;
  margin: 0 auto 30px;
}

.su-stripe-wrap {
  display: flex;

  justify-content: center;
  min-height: 60px;
  width:100%;
}



/* fallback while the Stripe buy-button IDs aren't configured */
.su-stripe-fallback {
  font-family: "Hammersmith One", sans-serif;
  font-size: 17px;
  color: #fff;
  background: #f35933;
  border: 2.5px solid #1c1c1c;
  border-radius: 10px;
  padding: 14px 26px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  box-shadow: 3px 4px 0 rgba(28, 28, 28, 0.16);
  transition: background 0.15s ease, transform 0.1s ease, box-shadow 0.1s ease;
}

.su-stripe-fallback:hover {
  background: #d94a29;
  transform: translate(-1px, -1px);
  box-shadow: 4px 5px 0 rgba(28, 28, 28, 0.16);
}

.su-pay-icons {
  margin-top: 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.su-pay-icons-label {
  font-family: "Poppins", sans-serif;
  font-weight: 600;
  font-size: 12.5px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #8a8172;
}

.su-pay-icons-row {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}

.su-pay-chip {
  display: inline-flex;
  border: 1.5px solid #cfc6b2;
  border-radius: 5px;
  overflow: hidden;
  background: #fff;
}

.su-pay-chip svg {
  display: block;
  width: 44px;
  height: 26px;
}

/* ---------------- PayNow steps ---------------- */
.su-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 26px;
  text-align: left;
}

.su-step {
  display: flex;
  gap: 20px;
  background: #f3ead8;
  border: 2.5px solid #1c1c1c;
  border-radius: 14px;
  box-shadow: 4px 5px 0 rgba(28, 28, 28, 0.16);
  padding: 26px 28px;
}

.su-step-badge {
  font-family: "Cause", "Jersey 25", sans-serif;
  font-weight: 700;
  font-size: 24px;
  color: #fff;
  background: #f35933;
  border: 2.5px solid #1c1c1c;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.su-step-body {
  flex: 1;
  min-width: 0;
}

.su-step-title {
  font-family: "Cause", "Jersey 25", sans-serif;
  font-weight: 700;
  font-size: clamp(19px, 2.2vw, 24px);
  line-height: 1.15;
  color: #000;
  margin: 8px 0 10px;
}

.su-step-copy {
  font-family: "Hammersmith One", sans-serif;
  font-size: 15.5px;
  line-height: 1.45;
  color: #57503f;
  margin: 0 0 20px;
}

.su-paynow-grid {
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
}

.su-qr-card {
  background: #fff;
  border: 2.5px solid #1c1c1c;
  border-radius: 12px;
  padding: 14px;
  flex-shrink: 0;
}

.su-qr-card img {
  display: block;
  width: 172px;
  height: 172px;
  image-rendering: pixelated; /* keep QR modules crisp when upscaled */
}

.su-paynow-details {
  display: flex;
  flex-direction: column;
  gap: 20px;
  min-width: 0;
}

.su-detail {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.su-detail-label {
  font-family: "Poppins", sans-serif;
  font-weight: 600;
  font-size: 12.5px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #8a8172;
}

.su-detail-row {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.su-detail-value {
  font-family: "Hammersmith One", sans-serif;
  font-size: 19px;
  color: #1c1c1c;
  letter-spacing: 0.02em;
}

.su-copy-btn {
  font-family: "Poppins", sans-serif;
  font-weight: 600;
  font-size: 13px;
  color: #1c1c1c;
  background: #fff;
  border: 2px solid #1c1c1c;
  border-radius: 8px;
  padding: 6px 12px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: background 0.12s ease, transform 0.1s ease;
}

.su-copy-btn:hover {
  background: #ffe1d6;
  transform: translateY(-1px);
}

.su-copy-btn:active {
  transform: translateY(0);
}

.su-copy-btn.su-copied {
  background: #d9ecd9;
  border-color: #2e7d32;
  color: #2e7d32;
}

/* ---------------- WhatsApp button ---------------- */
.su-wa-btn {
  font-family: "Hammersmith One", sans-serif;
  font-size: 16px;
  color: #fff;
  background: #25d366;
  border: 2.5px solid #1c1c1c;
  border-radius: 10px;
  padding: 12px 20px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  box-shadow: 3px 4px 0 rgba(28, 28, 28, 0.16);
  transition: background 0.15s ease, transform 0.1s ease, box-shadow 0.1s ease;
}

.su-wa-btn:hover {
  background: #1fb457;
  transform: translate(-1px, -1px);
  box-shadow: 4px 5px 0 rgba(28, 28, 28, 0.16);
}

.su-wa-btn:active {
  transform: translate(0, 0);
  box-shadow: 3px 4px 0 rgba(28, 28, 28, 0.16);
}

/* ------------------------------------------------------------
   Responsive
   ------------------------------------------------------------ */
@media (max-width: 900px) {
  .su-splash-blue { width: 380px; height: 380px; left: -200px; }
  .su-splash-green { width: 420px; height: 420px; right: -210px; }
}

@media (max-width: 767px) {
  .su-hero {
    padding: 48px 20px 80px;
  }

  .su-splash-blue { width: 280px; height: 280px; left: -160px; top: 40px; }
  .su-splash-green { width: 320px; height: 320px; right: -180px; top: auto; bottom: 120px; }

  .su-intro {
    font-size: 16px;
    margin-bottom: 40px;
  }

  .su-methods {
    margin-bottom: 36px;
  }

  .su-method-row {
    flex-direction: column;
    align-items: stretch;
  }

  .su-method {
    justify-content: flex-start;
  }

  .su-method .su-soon {
    margin-left: auto;
  }

  .su-step {
    flex-direction: column;
    gap: 4px;
    padding: 22px 20px;
  }

  .su-step-badge {
    width: 42px;
    height: 42px;
    font-size: 21px;
  }

  .su-step-title {
    margin-top: 12px;
  }

  .su-paynow-grid {
    justify-content: center;
  }

  .su-paynow-details {
    width: 100%;
    align-items: center;
    text-align: center;
  }

  .su-detail {
    align-items: center;
  }

  .su-detail-row {
    justify-content: center;
  }
}
