:root {
  color-scheme: dark;
  --ink: #f7fbff;
  --muted: rgba(231, 244, 255, 0.78);
  --line: rgba(180, 232, 255, 0.32);
  --cyan: #55f2e6;
  --blue: #2578ff;
  --navy: #041b45;
  --deep: #020a22;
  --green: #5cf09a;
  --orange: #ff6b25;
  --gold: #ffe882;
  --radius-lg: 26px;
  font-family: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  color: var(--ink);
  background: var(--deep);
  overflow: hidden;
}

button,
input {
  font: inherit;
}

button {
  border: 0;
  cursor: pointer;
}

.page-backdrop {
  position: fixed;
  inset: 0;
  background:
    radial-gradient(circle at 72% 10%, rgba(28, 232, 177, 0.5), transparent 25%),
    radial-gradient(circle at 20% 18%, rgba(20, 105, 255, 0.42), transparent 28%),
    linear-gradient(160deg, #020a24 0%, #062e6b 55%, #04112f 100%);
  z-index: -2;
}

.app-shell {
  width: min(100%, 480px);
  height: 100vh;
  height: 100svh;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
  background: #061c48;
  box-shadow: 0 0 80px rgba(0, 0, 0, 0.45);
}

.screen {
  height: 100vh;
  height: 100svh;
  display: none;
  position: relative;
  padding: max(18px, env(safe-area-inset-top)) 20px max(18px, env(safe-area-inset-bottom));
  isolation: isolate;
  overflow: hidden;
}

.screen.is-active {
  display: flex;
  flex-direction: column;
  animation: screenIn 360ms ease both;
}

.screen::before,
.screen::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: -2;
}

.screen::before {
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

.screen::after {
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(3, 16, 47, 0.18), rgba(2, 9, 28, 0.16)),
    radial-gradient(circle at 50% 45%, rgba(5, 35, 79, 0.1), rgba(2, 8, 25, 0.24));
}

[data-screen="intro"]::before {
  background-image: url("/assets/backgrounds/bg-intro.png");
}

[data-screen="form"]::before {
  background-image: url("/assets/backgrounds/bg-form.png");
}

[data-screen="coupon"]::before {
  background-image: url("/assets/backgrounds/bg-coupon.png");
}

[data-screen="success"]::before {
  background-image: url("/assets/backgrounds/bg-success.png");
}

.science-layer,
.soft-wave {
  display: none;
}

@keyframes screenIn {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.science-layer,
.soft-wave {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: -1;
}

.science-layer::before,
.science-layer::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  border: 1px solid rgba(104, 239, 255, 0.3);
}

.science-layer::before {
  width: 420px;
  height: 160px;
  left: -120px;
  bottom: 168px;
  transform: rotate(-18deg);
}

.science-layer::after {
  width: 360px;
  height: 132px;
  right: -160px;
  top: 280px;
  transform: rotate(-18deg);
}

.orb {
  position: absolute;
  border-radius: 999px;
  background: radial-gradient(circle at 30% 25%, #ffffff, #5af4ee 34%, #1071d5 72%, transparent 74%);
  box-shadow: 0 0 26px rgba(71, 231, 244, 0.55);
}

.orb-a {
  width: 44px;
  height: 44px;
  left: 18px;
  top: 334px;
}

.orb-b {
  width: 34px;
  height: 34px;
  right: 20px;
  bottom: 72px;
}

.orb-c {
  width: 46px;
  height: 46px;
  right: 20px;
  top: 292px;
}

.orbit {
  position: absolute;
  border-radius: 999px;
  border: 1px solid rgba(84, 241, 230, 0.34);
  box-shadow: 0 0 24px rgba(44, 217, 255, 0.18);
}

.orbit-a {
  width: 360px;
  height: 110px;
  left: -70px;
  bottom: 230px;
  transform: rotate(-22deg);
}

.orbit-b {
  width: 320px;
  height: 96px;
  right: -160px;
  top: 330px;
  transform: rotate(-18deg);
}

.orbit-c {
  width: 430px;
  height: 132px;
  right: -210px;
  top: 430px;
  transform: rotate(-15deg);
}

.soft-wave {
  background:
    radial-gradient(circle at 82% 24%, rgba(48, 120, 255, 0.55), transparent 25%),
    linear-gradient(150deg, transparent 35%, rgba(80, 244, 196, 0.42) 36%, rgba(57, 129, 245, 0.7) 58%, transparent 59%);
  opacity: 0.86;
}

.brand-row {
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
  font-weight: 800;
  letter-spacing: 0;
  padding-top: 6px;
}

.brand-lockup {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.brand-logo {
  width: clamp(48px, 12.8vw, 58px);
  height: clamp(35px, 9.4vw, 42px);
  object-fit: contain;
  flex: 0 0 auto;
  display: block;
}

.brand-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 2px;
  min-width: 0;
}

.brand-text {
  font-size: 18px;
  line-height: 1.04;
  white-space: nowrap;
}

.platform-text {
  font-size: 10px;
  line-height: 1.18;
  color: rgba(255, 255, 255, 0.9);
  text-align: left;
  white-space: nowrap;
}

.hero-copy {
  text-align: center;
  margin-top: 58px;
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--cyan);
  font-size: 15px;
  font-weight: 800;
}

.hero-copy h1,
.form-heading h1,
.coupon-title h1,
.success-copy h1 {
  margin: 0;
  line-height: 1.08;
  letter-spacing: 0;
  text-shadow: 0 4px 14px rgba(0, 0, 0, 0.32);
}

.hero-copy h1 {
  font-size: 36px;
  font-weight: 900;
}

.lead {
  margin: 20px 0 0;
  font-size: 18px;
  line-height: 1.5;
  font-weight: 800;
}

.sublead {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.45;
  font-weight: 700;
}

.feature-board {
  margin-top: 36px;
  padding: 16px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  border: 1px solid rgba(210, 247, 255, 0.72);
  border-radius: 24px;
  background: rgba(3, 22, 62, 0.58);
  box-shadow:
    inset 0 0 28px rgba(75, 222, 255, 0.2),
    0 0 32px rgba(42, 222, 255, 0.18);
  backdrop-filter: blur(16px);
}

.feature-card {
  min-height: 146px;
  padding: 18px 10px 14px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  border: 1px solid rgba(86, 244, 232, 0.58);
  border-radius: 18px;
  background:
    linear-gradient(150deg, rgba(19, 71, 138, 0.58), rgba(9, 178, 155, 0.18)),
    rgba(4, 28, 76, 0.62);
  box-shadow: inset 0 0 18px rgba(80, 244, 232, 0.22);
}

.feature-card i {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  margin-bottom: 10px;
  color: #8ffff4;
  font-size: 32px;
}

.feature-card h2 {
  margin: 0;
  font-size: 17px;
  line-height: 1.24;
}

.feature-card p {
  margin: 12px 0 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 13px;
  line-height: 1.45;
  font-weight: 700;
}

.bottom-action {
  margin-top: auto;
  padding-top: 28px;
  text-align: center;
}

.primary-cta {
  width: min(100%, 328px);
  min-height: 66px;
  border-radius: 999px;
  color: #fff;
  font-size: 26px;
  font-weight: 900;
  letter-spacing: 0;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.58),
    0 14px 28px rgba(0, 0, 0, 0.28);
  transition: transform 160ms ease, filter 160ms ease;
}

.primary-cta:active,
.save-button:active {
  transform: translateY(1px) scale(0.99);
}

.primary-cta.warm {
  background: linear-gradient(90deg, #ffe772, #ff6c28);
}

.primary-cta.cool {
  width: 100%;
  background: linear-gradient(90deg, #43f0d7, #1d70ff);
}

.primary-cta[disabled] {
  cursor: not-allowed;
  filter: saturate(0.7) brightness(0.82);
}

.fine-print {
  margin: 18px auto 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 14px;
  font-weight: 800;
}

.form-heading {
  position: relative;
  text-align: center;
  padding-top: 68px;
}

.form-heading h1 {
  font-size: 38px;
  font-weight: 900;
}

.form-heading p {
  margin: 16px 0 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 18px;
  font-weight: 700;
}

.icon-back {
  position: absolute;
  left: 0;
  top: 10px;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.22);
}

.icon-back.floating {
  left: 20px;
  top: 24px;
  z-index: 3;
}

.claim-panel {
  margin-top: 74px;
  padding: 34px 28px 32px;
  border-radius: 28px;
  border: 1px solid rgba(255, 255, 255, 0.78);
  background: linear-gradient(140deg, rgba(255, 255, 255, 0.18), rgba(57, 125, 225, 0.28));
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.26);
  backdrop-filter: blur(18px);
}

.field {
  display: block;
  margin-bottom: 24px;
}

.field span,
.type-picker legend {
  display: block;
  margin-bottom: 10px;
  color: #fff;
  font-size: 21px;
  font-weight: 900;
}

.field input {
  width: 100%;
  height: 44px;
  color: #fff;
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 0;
  outline: none;
  background: transparent;
  font-size: 18px;
}

.field input:focus {
  border-bottom-color: var(--cyan);
  box-shadow: 0 8px 18px -18px var(--cyan);
}

.type-picker {
  border: 0;
  padding: 0;
  margin: 4px 0 26px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.type-picker legend {
  grid-column: 1 / -1;
}

.type-picker label {
  display: block;
}

.type-picker label:nth-of-type(3) {
  grid-column: 1 / -1;
}

.type-picker input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.type-picker span {
  display: grid;
  place-items: center;
  min-height: 42px;
  padding: 0 10px;
  border-radius: 10px;
  color: #0b1830;
  background: rgba(255, 255, 255, 0.92);
  font-size: 14px;
  font-weight: 800;
  text-align: center;
  white-space: nowrap;
}

.type-picker input:checked + span {
  color: #05344c;
  background: linear-gradient(90deg, #6af8e1, #d7fff8);
  box-shadow: 0 0 0 2px rgba(105, 248, 225, 0.35);
}

.privacy-note {
  margin: 0 0 24px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 14px;
  text-align: center;
  font-weight: 800;
}

.btn-loading {
  display: none;
}

.is-loading .btn-label {
  display: none;
}

.is-loading .btn-loading {
  display: inline;
}

.coupon-title {
  margin-top: 96px;
  text-align: center;
}

.coupon-title p {
  margin: 0 0 18px;
  font-size: 28px;
  font-weight: 900;
}

.coupon-title h1 {
  font-size: clamp(22px, 5.8vw, 34px);
  font-weight: 900;
  white-space: nowrap;
}

.voucher-card {
  position: relative;
  margin-top: 62px;
  padding: 30px 32px;
  border-radius: 28px;
  border: 1px solid rgba(255, 255, 255, 0.75);
  background:
    radial-gradient(circle at 82% 24%, rgba(71, 255, 206, 0.52), transparent 28%),
    linear-gradient(145deg, rgba(209, 235, 255, 0.34), rgba(20, 151, 183, 0.56)),
    rgba(255, 255, 255, 0.1);
  box-shadow:
    inset 0 0 40px rgba(255, 255, 255, 0.12),
    0 30px 80px rgba(0, 0, 0, 0.28);
  overflow: hidden;
}

.voucher-card::before,
.voucher-card::after {
  content: "";
  position: absolute;
  top: 120px;
  width: 34px;
  height: 58px;
  border-radius: 999px;
  background: #063263;
  border: 1px solid rgba(255, 255, 255, 0.76);
}

.voucher-card::before {
  left: -19px;
}

.voucher-card::after {
  right: -19px;
}

.ticket-top {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  padding-bottom: 20px;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.58);
}

.ticket-top h2 {
  margin: 0;
  font-size: 26px;
  line-height: 1.2;
}

.ticket-top span {
  flex: 0 0 auto;
  padding: 8px 14px;
  border-radius: 999px;
  color: #3a2600;
  background: linear-gradient(90deg, #fff8b2, #ffb24d);
  font-size: 14px;
  font-weight: 900;
}

.ticket-value {
  margin: 30px 0 26px;
  text-align: center;
  color: #f8d66d;
  filter:
    drop-shadow(0 3px 0 rgba(86, 45, 0, 0.5))
    drop-shadow(0 10px 18px rgba(42, 21, 0, 0.38));
}

.ticket-value strong {
  display: block;
  font-size: clamp(22px, 5.8vw, 34px);
  line-height: 1.18;
  font-weight: 900;
  white-space: nowrap;
}

.ticket-value span {
  display: block;
  margin-top: 8px;
  font-size: 24px;
  font-weight: 900;
}

.ticket-value strong,
.ticket-value span {
  background: linear-gradient(
    180deg,
    #fffdf0 0%,
    #fff4bd 16%,
    #f9d86a 36%,
    #f3bd35 58%,
    #ffeda5 72%,
    #d9951f 86%,
    #8e5608 100%
  );
  background-clip: text;
  -webkit-background-clip: text;
  color: #f8d66d;
  -webkit-text-fill-color: transparent;
  -webkit-text-stroke: 0.35px rgba(255, 250, 198, 0.34);
}

.ticket-rules {
  font-size: clamp(13px, 3.6vw, 15px);
  color: rgba(255, 255, 255, 0.94);
  line-height: 1.56;
  font-weight: 800;
}

.ticket-rules p {
  margin: 0;
  word-break: keep-all;
  overflow-wrap: normal;
}

.coupon-action {
  padding-top: 44px;
}

.success-mark {
  margin: 86px auto 20px;
  width: 74px;
  height: 74px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #47e87b;
  background: rgba(56, 230, 112, 0.12);
  box-shadow: 0 0 0 1px rgba(87, 255, 139, 0.28), 0 0 24px rgba(70, 255, 150, 0.36);
}

.success-mark i {
  font-size: 74px;
}

.success-copy {
  text-align: center;
}

.success-copy h1 {
  font-size: 46px;
  font-weight: 900;
}

.success-copy p {
  margin: 18px 0 0;
  font-size: 22px;
  font-weight: 800;
}

.success-ticket {
  margin-top: 56px;
  padding: 30px;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.62);
  background:
    radial-gradient(circle at 88% 76%, rgba(255, 151, 50, 0.9), transparent 19%),
    linear-gradient(135deg, rgba(84, 218, 255, 0.88), rgba(27, 84, 245, 0.9));
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.32);
}

.success-ticket h2 {
  margin: 0 0 34px;
  font-size: 27px;
  line-height: 1.2;
}

.success-value {
  display: flex;
  align-items: baseline;
  flex-wrap: nowrap;
  gap: 10px;
  color: #fff6a4;
  text-shadow: 0 4px 14px rgba(0, 0, 0, 0.3);
}

.success-value strong {
  font-size: 47px;
  line-height: 1;
}

.success-value span {
  color: #fff;
  font-size: 25px;
  font-weight: 900;
  white-space: nowrap;
}

.success-ticket p {
  margin: 28px 0 0;
  font-size: 24px;
  font-weight: 800;
}

.retain-title {
  margin: 42px 0 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-size: 26px;
  font-weight: 900;
}

.retain-title span {
  width: 70px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(111, 179, 255, 0.9));
}

.retain-title span:last-child {
  background: linear-gradient(90deg, rgba(111, 179, 255, 0.9), transparent);
}

.save-button {
  width: 100%;
  min-height: 62px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border-radius: 10px;
  color: #04112d;
  background: rgba(255, 255, 255, 0.96);
  font-size: 20px;
  font-weight: 900;
}

.save-button i {
  color: #1d72f0;
  font-size: 28px;
}

.follow-note {
  margin: 38px 0 20px;
  text-align: center;
  font-size: 19px;
  line-height: 1.55;
  font-weight: 900;
}

.qr-placeholder {
  width: 132px;
  height: 132px;
  margin: 0 auto;
  display: grid;
  place-items: center;
  border-radius: 12px;
  color: #527092;
  background: #fff;
  font-size: 13px;
  font-weight: 800;
}

.copyright {
  margin: auto 0 0;
  padding-top: 38px;
  text-align: center;
  color: rgba(255, 255, 255, 0.88);
  font-size: 16px;
  font-weight: 800;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  z-index: 20;
  max-width: min(88vw, 420px);
  padding: 12px 16px;
  border-radius: 999px;
  color: #03112b;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 16px 44px rgba(0, 0, 0, 0.28);
  font-size: 14px;
  font-weight: 800;
  transform: translate(-50%, 24px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease, transform 180ms ease;
}

.toast.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

.image-sheet {
  position: fixed;
  inset: 0;
  z-index: 30;
  display: grid;
  place-items: center;
  padding: 22px;
  background: rgba(1, 8, 25, 0.72);
  backdrop-filter: blur(10px);
}

.image-sheet[hidden] {
  display: none;
}

.sheet-card {
  position: relative;
  width: min(100%, 420px);
  padding: 22px;
  border-radius: 22px;
  color: #fff;
  background: #071f4c;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.45);
}

.sheet-close {
  position: absolute;
  right: 14px;
  top: 14px;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
}

.sheet-card h2 {
  margin: 0;
  font-size: 22px;
}

.sheet-card p {
  margin: 8px 0 16px;
  color: rgba(255, 255, 255, 0.76);
}

.sheet-card img {
  width: 100%;
  display: block;
  border-radius: 16px;
  background: #164b8f;
}

.download-link {
  display: grid;
  place-items: center;
  margin-top: 16px;
  min-height: 46px;
  border-radius: 999px;
  color: #fff;
  text-decoration: none;
  font-weight: 900;
  background: linear-gradient(90deg, #42ead4, #2272ff);
}

@media (max-width: 390px) {
  .screen {
    padding-left: 16px;
    padding-right: 16px;
  }

  .hero-copy h1 {
    font-size: 31px;
  }

  .feature-board {
    padding: 12px;
    gap: 10px;
  }

  .feature-card {
    min-height: 136px;
    padding-left: 8px;
    padding-right: 8px;
  }

  .feature-card h2 {
    font-size: 15px;
  }

  .feature-card p {
    font-size: 12px;
  }

  .claim-panel {
    padding-left: 22px;
    padding-right: 22px;
  }

  .coupon-title h1 {
    font-size: 40px;
  }

  .ticket-value strong {
    font-size: 48px;
  }

  .success-copy h1 {
    font-size: 40px;
  }

  .success-value strong {
    font-size: 38px;
  }

  .success-value span {
    font-size: 21px;
  }
}

/* Single-screen mobile composition */
.brand-row {
  min-height: clamp(35px, 9.4vw, 42px);
}

.brand-logo {
  width: clamp(48px, 12.8vw, 58px);
  height: clamp(35px, 9.4vw, 42px);
}

.brand-copy {
  gap: clamp(1px, 0.5vw, 3px);
}

.brand-text {
  font-size: clamp(17px, 4.5vw, 20px);
}

.platform-text {
  font-size: clamp(9px, 2.6vw, 11px);
}

.hero-copy {
  margin-top: clamp(68px, 9.2svh, 82px);
}

.hero-copy h1 {
  font-size: clamp(29px, 8.2vw, 38px);
}

.lead {
  margin-top: 10px;
  font-size: clamp(14px, 4.1vw, 17px);
  line-height: 1.34;
}

.sublead {
  margin-top: 7px;
  font-size: clamp(12px, 3.5vw, 14px);
  line-height: 1.36;
}

.feature-board {
  margin-top: clamp(58px, 7.6svh, 72px);
  padding: clamp(12px, 3.2vw, 16px);
  gap: clamp(10px, 3vw, 14px);
  border-radius: 22px;
}

.feature-card {
  min-height: 0;
  height: clamp(132px, 18.6svh, 158px);
  padding: clamp(14px, 3.8vw, 18px) clamp(9px, 3vw, 12px);
  border-radius: 17px;
}

.feature-card i {
  width: clamp(28px, 7.2vw, 34px);
  height: clamp(28px, 7.2vw, 34px);
  margin-bottom: clamp(9px, 2.4vw, 12px);
  font-size: clamp(28px, 7.2vw, 34px);
}

.feature-card h2 {
  font-size: clamp(16px, 4.4vw, 19px);
}

.feature-card p {
  margin-top: clamp(8px, 2.2vw, 11px);
  font-size: clamp(11px, 3.2vw, 13px);
  line-height: 1.34;
}

.bottom-action {
  padding-top: clamp(12px, 2svh, 20px);
}

.primary-cta {
  min-height: clamp(52px, 7.6svh, 64px);
  width: min(100%, 330px);
  font-size: clamp(22px, 6.8vw, 28px);
}

.fine-print {
  margin-top: 8px;
  font-size: clamp(12px, 3.5vw, 14px);
}

@media (max-height: 760px) {
  .screen {
    padding-top: max(12px, env(safe-area-inset-top));
    padding-bottom: max(22px, env(safe-area-inset-bottom));
  }

  .brand-row {
    min-height: 34px;
  }

  .brand-lockup {
    gap: 7px;
  }

  .brand-logo {
    width: 46px;
    height: 34px;
  }

  .brand-copy {
    gap: 1px;
  }

  .brand-text {
    font-size: clamp(16px, 4.4vw, 18px);
  }

  .platform-text {
    font-size: clamp(8px, 2.45vw, 10px);
  }

  .hero-copy {
    margin-top: 52px;
  }

  .eyebrow {
    margin-bottom: 5px;
    font-size: 13px;
  }

  .hero-copy h1 {
    font-size: clamp(27px, 8vw, 32px);
  }

  .lead {
    margin-top: 8px;
    font-size: clamp(13px, 3.8vw, 15px);
  }

  .sublead {
    margin-top: 5px;
    font-size: clamp(11px, 3.3vw, 13px);
  }

  .feature-board {
    margin-top: 50px;
    padding: 10px;
    gap: 9px;
    border-radius: 19px;
  }

  .feature-card {
    height: clamp(116px, 18svh, 126px);
    padding: 10px 7px;
    border-radius: 15px;
  }

  .feature-card i {
    width: 24px;
    height: 24px;
    margin-bottom: 7px;
    font-size: 24px;
  }

  .feature-card h2 {
    font-size: clamp(14px, 4vw, 16px);
  }

  .feature-card p {
    margin-top: 6px;
    font-size: clamp(10px, 2.9vw, 11px);
    line-height: 1.28;
  }

  .bottom-action {
    padding-top: 10px;
  }

  .primary-cta {
    min-height: 48px;
    font-size: clamp(19px, 6vw, 23px);
  }

  .fine-print {
    margin-top: 6px;
    font-size: clamp(10px, 3.1vw, 12px);
  }
}

.form-heading {
  padding-top: clamp(72px, 9.6svh, 84px);
}

.form-heading h1 {
  font-size: clamp(32px, 9vw, 42px);
}

.form-heading p {
  margin-top: 10px;
  font-size: clamp(15px, 4.2vw, 18px);
}

.icon-back {
  width: 42px;
  height: 42px;
  top: 6px;
}

.claim-panel {
  margin-top: clamp(44px, 7svh, 64px);
  padding: clamp(22px, 4svh, 32px) 24px 24px;
  border-radius: 24px;
}

.field {
  margin-bottom: clamp(14px, 2.2svh, 20px);
}

.field span,
.type-picker legend {
  margin-bottom: 6px;
  font-size: clamp(18px, 5.4vw, 23px);
}

.field input {
  height: 34px;
  font-size: clamp(16px, 4.6vw, 19px);
}

.type-picker {
  gap: 8px;
  margin-bottom: 16px;
}

.type-picker span {
  min-height: 38px;
  font-size: clamp(13px, 3.55vw, 14px);
}

.privacy-note {
  margin-bottom: 16px;
  font-size: clamp(12px, 3.4vw, 14px);
}

.coupon-title {
  margin-top: clamp(58px, 10svh, 88px);
}

.coupon-title p {
  margin-bottom: 16px;
  font-size: clamp(24px, 6.8vw, 30px);
}

.coupon-title h1 {
  font-size: clamp(22px, 5.8vw, 34px);
}

.voucher-card {
  margin-top: clamp(34px, 5svh, 54px);
  padding: clamp(22px, 4svh, 30px) 28px;
  border-radius: 24px;
}

.ticket-top {
  padding-bottom: 18px;
}

.ticket-top h2 {
  font-size: clamp(22px, 6.2vw, 28px);
}

.ticket-top span {
  padding: 7px 12px;
  font-size: 13px;
}

.ticket-value {
  margin: clamp(24px, 4svh, 32px) 0 20px;
}

.ticket-value strong {
  font-size: clamp(22px, 5.8vw, 34px);
}

.ticket-value span {
  margin-top: 4px;
  font-size: clamp(21px, 6vw, 27px);
}

.ticket-rules {
  font-size: clamp(15px, 4.4vw, 18px);
  line-height: 1.58;
}

.coupon-action {
  padding-top: clamp(28px, 4svh, 42px);
}

.success-mark {
  margin-top: clamp(52px, 8svh, 76px);
  margin-bottom: 14px;
  width: 58px;
  height: 58px;
}

.success-mark i {
  font-size: 58px;
}

.success-copy h1 {
  font-size: clamp(38px, 10.5vw, 48px);
}

.success-copy p {
  margin-top: 10px;
  font-size: clamp(18px, 5.4vw, 23px);
}

.success-ticket {
  margin-top: clamp(32px, 5svh, 52px);
  padding: 24px;
  border-radius: 22px;
}

.success-ticket h2 {
  margin-bottom: 26px;
  font-size: clamp(24px, 6.8vw, 30px);
}

.success-value strong {
  font-size: clamp(38px, 11vw, 50px);
}

.success-value span {
  font-size: clamp(18px, 5vw, 24px);
}

.success-ticket p {
  margin-top: 22px;
  font-size: clamp(20px, 5.5vw, 24px);
}

.retain-title {
  margin: clamp(26px, 4svh, 38px) 0 16px;
  font-size: clamp(23px, 6vw, 28px);
}

.save-button {
  min-height: 54px;
  font-size: clamp(17px, 5vw, 21px);
}

.follow-note {
  margin: clamp(24px, 3.5svh, 34px) 0 14px;
  font-size: clamp(16px, 4.6vw, 20px);
  line-height: 1.4;
}

.qr-placeholder {
  width: clamp(96px, 14svh, 126px);
  height: clamp(96px, 14svh, 126px);
}

.copyright {
  padding-top: clamp(18px, 2.8svh, 28px);
  font-size: clamp(13px, 3.8vw, 16px);
}

/* Neon visual refresh */
.page-backdrop {
  background:
    radial-gradient(circle at 74% 8%, rgba(16, 255, 202, 0.46), transparent 27%),
    radial-gradient(circle at 18% 20%, rgba(29, 119, 255, 0.4), transparent 30%),
    radial-gradient(circle at 56% 82%, rgba(255, 211, 98, 0.1), transparent 25%),
    linear-gradient(160deg, #020820 0%, #06316d 54%, #02102d 100%);
}

.app-shell {
  background: #041d4b;
  box-shadow:
    0 0 80px rgba(0, 0, 0, 0.48),
    0 0 46px rgba(42, 236, 255, 0.14);
}

.screen::before {
  filter: brightness(1.08) saturate(1.16) contrast(1.04);
  transform: scale(1.015);
}

.screen::after {
  background:
    radial-gradient(circle at 88% 5%, rgba(14, 255, 202, 0.42), transparent 36%),
    radial-gradient(circle at 50% 53%, rgba(54, 222, 255, 0.16), transparent 36%),
    radial-gradient(circle at 100% 75%, rgba(0, 231, 201, 0.3), transparent 32%),
    linear-gradient(141deg, transparent 7%, rgba(92, 247, 237, 0.12) 34%, rgba(255, 255, 255, 0.22) 44%, rgba(86, 226, 255, 0.12) 55%, transparent 74%),
    linear-gradient(180deg, rgba(3, 16, 48, 0.22), rgba(2, 11, 37, 0.62));
}

.science-layer,
.soft-wave {
  display: block;
  opacity: 0.64;
  mix-blend-mode: screen;
}

.brand-logo {
  filter: drop-shadow(0 0 12px rgba(125, 255, 246, 0.45));
}

.brand-text,
.platform-text {
  color: #fff;
  text-shadow:
    0 0 10px rgba(111, 255, 244, 0.45),
    0 2px 5px rgba(0, 0, 0, 0.35);
}

.hero-copy h1,
.form-heading h1,
.coupon-title h1,
.success-copy h1 {
  text-shadow:
    0 0 18px rgba(108, 236, 255, 0.42),
    0 3px 7px rgba(0, 0, 0, 0.3);
}

.lead,
.form-heading p,
.success-copy p,
.fine-print,
.coupon-title p,
.follow-note,
.copyright {
  text-shadow:
    0 0 12px rgba(111, 235, 255, 0.26),
    0 2px 5px rgba(0, 0, 0, 0.24);
}

.sublead {
  color: rgba(231, 251, 255, 0.9);
}

.feature-board,
.claim-panel,
.voucher-card,
.success-ticket {
  position: relative;
  border: 2px solid rgba(255, 255, 255, 0.78);
  background:
    linear-gradient(180deg, rgba(3, 25, 73, 0.88), rgba(6, 53, 99, 0.78)),
    radial-gradient(circle at 88% 72%, rgba(12, 255, 205, 0.3), transparent 34%);
  box-shadow:
    0 0 0 1px rgba(98, 255, 245, 0.55),
    0 0 18px rgba(60, 231, 255, 0.68),
    0 0 42px rgba(12, 240, 216, 0.35),
    inset 0 0 22px rgba(57, 211, 255, 0.18),
    inset 0 2px 0 rgba(255, 255, 255, 0.2);
}

.feature-board::before,
.voucher-card::before,
.success-ticket::before,
.claim-panel::before {
  content: "";
  position: absolute;
  left: 22px;
  right: 22px;
  top: -3px;
  height: 5px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, #56efff 18%, #ffffff 48%, #46ffe4 82%, transparent);
  box-shadow: 0 0 18px rgba(92, 247, 255, 0.92);
  pointer-events: none;
}

.feature-board::after,
.voucher-card::after,
.success-ticket::after,
.claim-panel::after {
  content: "";
  position: absolute;
  left: 26px;
  right: 26px;
  bottom: -4px;
  height: 5px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, rgba(70, 223, 255, 0.55), rgba(255, 244, 163, 0.88), rgba(66, 255, 225, 0.62), transparent);
  box-shadow: 0 0 20px rgba(255, 229, 128, 0.48);
  pointer-events: none;
}

.feature-card {
  position: relative;
  overflow: hidden;
  border: 1.5px solid rgba(99, 255, 238, 0.84);
  background:
    radial-gradient(circle at 88% 90%, rgba(24, 255, 201, 0.2), transparent 36%),
    linear-gradient(145deg, rgba(6, 33, 88, 0.92), rgba(7, 83, 118, 0.72));
  box-shadow:
    0 0 0 1px rgba(174, 255, 248, 0.26),
    0 0 16px rgba(63, 255, 235, 0.54),
    inset 0 0 18px rgba(51, 208, 255, 0.15);
}

.feature-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, transparent 8px, rgba(101, 255, 236, 0.14) 8px 10px, transparent 10px),
    radial-gradient(circle at 6% 12%, rgba(255, 255, 255, 0.55) 0 1px, transparent 2px),
    radial-gradient(circle at 94% 88%, rgba(255, 255, 255, 0.45) 0 1px, transparent 2px);
  opacity: 0.65;
  pointer-events: none;
}

.feature-card i,
.feature-card h2,
.feature-card p {
  position: relative;
  z-index: 1;
}

.feature-card i {
  color: #a6fff8;
  filter: drop-shadow(0 0 8px rgba(97, 255, 240, 0.66));
}

.feature-card h2,
.feature-card p,
.ticket-top h2,
.ticket-rules,
.success-ticket h2,
.success-ticket p {
  text-shadow: 0 2px 5px rgba(0, 0, 0, 0.35);
}

.primary-cta {
  border: 1px solid rgba(255, 255, 255, 0.78);
  box-shadow:
    0 0 24px rgba(255, 214, 80, 0.42),
    0 10px 18px rgba(0, 0, 0, 0.26),
    inset 0 2px 0 rgba(255, 255, 255, 0.42);
  text-shadow: 0 2px 6px rgba(94, 43, 0, 0.42);
}

.primary-cta.warm {
  background: linear-gradient(100deg, #ffed6a 0%, #ffbd42 47%, #ff7448 100%);
}

.primary-cta.cool,
.download-link {
  background: linear-gradient(100deg, #5dfff0 0%, #24b6ff 50%, #2678ff 100%);
  box-shadow:
    0 0 24px rgba(63, 238, 255, 0.38),
    0 10px 18px rgba(0, 0, 0, 0.26),
    inset 0 2px 0 rgba(255, 255, 255, 0.42);
}

.icon-back {
  border-color: rgba(104, 255, 242, 0.52);
  background: rgba(2, 31, 76, 0.5);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.12),
    0 0 16px rgba(83, 236, 255, 0.28);
}

.field input {
  border-bottom-color: rgba(151, 255, 246, 0.58);
  text-shadow: 0 0 8px rgba(93, 236, 255, 0.22);
}

.field input:focus {
  border-bottom-color: #83fff2;
  box-shadow: 0 9px 18px -16px #83fff2;
}

.type-picker span {
  color: #dffeff;
  border: 1px solid rgba(99, 255, 238, 0.52);
  background:
    radial-gradient(circle at 85% 80%, rgba(24, 255, 201, 0.16), transparent 38%),
    rgba(5, 34, 84, 0.84);
  box-shadow: inset 0 0 14px rgba(51, 208, 255, 0.14);
}

.type-picker input:checked + span {
  color: #031a34;
  background: linear-gradient(100deg, #eaffff, #70fff0 45%, #fff0a4);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.42),
    0 0 18px rgba(98, 255, 240, 0.48);
}

.voucher-card {
  background:
    radial-gradient(circle at 82% 24%, rgba(71, 255, 206, 0.42), transparent 28%),
    linear-gradient(145deg, rgba(5, 34, 88, 0.94), rgba(7, 96, 123, 0.84));
}

.voucher-card::before,
.voucher-card::after {
  top: auto;
  width: auto;
  height: 5px;
  border: 0;
  background: linear-gradient(90deg, transparent, #56efff 18%, #ffffff 48%, #46ffe4 82%, transparent);
}

.voucher-card::before {
  left: 22px;
  right: 22px;
  top: -3px;
}

.voucher-card::after {
  left: 26px;
  right: 26px;
  bottom: -4px;
  background: linear-gradient(90deg, transparent, rgba(70, 223, 255, 0.55), rgba(255, 244, 163, 0.88), rgba(66, 255, 225, 0.62), transparent);
}

.ticket-top {
  border-bottom-color: rgba(151, 255, 246, 0.52);
}

.ticket-rules {
  font-size: clamp(13px, 3.6vw, 15px);
  line-height: 1.56;
}

.ticket-rules p {
  word-break: keep-all;
  overflow-wrap: normal;
}

.ticket-top span {
  box-shadow: 0 0 18px rgba(255, 214, 80, 0.32);
}

.detail-voucher {
  width: calc(100% + 8px);
  min-height: clamp(260px, 42svh, 330px);
  margin-top: clamp(24px, 3.8svh, 38px);
  margin-left: -4px;
  margin-right: -4px;
  padding: clamp(28px, 4.8svh, 38px) clamp(24px, 6.4vw, 34px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-radius: 28px;
  border-color: rgba(255, 255, 255, 0.88);
  box-shadow:
    inset 0 0 48px rgba(255, 255, 255, 0.16),
    inset 0 -18px 48px rgba(28, 255, 225, 0.14),
    0 0 0 1px rgba(90, 255, 238, 0.22),
    0 0 34px rgba(82, 255, 239, 0.32),
    0 28px 74px rgba(0, 0, 0, 0.34);
}

.detail-voucher::before {
  left: 18px;
  right: 18px;
  top: -3px;
  height: 6px;
  background: linear-gradient(90deg, transparent, #74fff1 16%, #ffffff 50%, #ffe679 78%, transparent);
}

.detail-voucher::after {
  left: 26px;
  right: 26px;
  bottom: -4px;
  height: 7px;
  background: linear-gradient(90deg, transparent, rgba(76, 232, 255, 0.6), rgba(255, 230, 121, 0.96), rgba(76, 255, 230, 0.66), transparent);
}

.detail-voucher .ticket-top {
  padding-bottom: clamp(14px, 2.2svh, 18px);
}

.detail-voucher .ticket-top span {
  padding: 9px 18px;
  font-size: clamp(14px, 3.8vw, 17px);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.4),
    0 0 22px rgba(255, 214, 80, 0.42);
}

.detail-voucher .ticket-value {
  position: relative;
  isolation: isolate;
  flex: 1 1 auto;
  display: grid;
  place-items: center;
  min-height: clamp(94px, 16svh, 142px);
  margin: clamp(10px, 2svh, 18px) 0 clamp(16px, 2.8svh, 24px);
  padding: 10px 0;
}

.detail-voucher .ticket-value::before {
  content: "";
  position: absolute;
  inset: -12px -10px;
  border-radius: 22px;
  background:
    radial-gradient(ellipse at center, rgba(255, 232, 130, 0.26), transparent 58%),
    linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.16), transparent);
  z-index: -1;
}

.detail-voucher .ticket-value strong {
  font-size: clamp(36px, 10.2vw, 48px);
  line-height: 1.08;
}

.detail-voucher .ticket-rules {
  padding: 12px 14px;
  border: 1px solid rgba(128, 255, 244, 0.24);
  border-radius: 16px;
  background: rgba(1, 20, 54, 0.34);
  box-shadow: inset 0 0 18px rgba(82, 255, 239, 0.08);
  font-size: clamp(13px, 3.55vw, 15px);
  line-height: 1.52;
}

.detail-voucher + .coupon-action {
  padding-top: clamp(20px, 3svh, 30px);
}

.success-mark {
  color: #85fff0;
  background: rgba(51, 238, 227, 0.12);
  box-shadow:
    0 0 0 1px rgba(133, 255, 240, 0.38),
    0 0 24px rgba(72, 255, 240, 0.42);
}

.success-ticket {
  background:
    radial-gradient(circle at 88% 76%, rgba(255, 183, 73, 0.46), transparent 26%),
    linear-gradient(145deg, rgba(5, 34, 88, 0.94), rgba(7, 96, 123, 0.84));
}

.success-value {
  color: #ffe882;
  text-shadow:
    0 0 16px rgba(255, 225, 106, 0.36),
    0 4px 14px rgba(0, 0, 0, 0.3);
}

.save-button {
  color: #031a34;
  border: 1px solid rgba(255, 255, 255, 0.78);
  background: linear-gradient(100deg, #eaffff, #70fff0 45%, #fff0a4);
  box-shadow:
    0 0 20px rgba(92, 247, 255, 0.38),
    0 12px 24px rgba(0, 0, 0, 0.22),
    inset 0 2px 0 rgba(255, 255, 255, 0.48);
}

.qr-placeholder {
  color: rgba(215, 253, 255, 0.9);
  border: 1px solid rgba(99, 255, 238, 0.72);
  background:
    linear-gradient(145deg, rgba(6, 33, 88, 0.92), rgba(7, 83, 118, 0.74));
  box-shadow:
    0 0 0 1px rgba(174, 255, 248, 0.2),
    0 0 16px rgba(63, 255, 235, 0.36),
    inset 0 0 18px rgba(51, 208, 255, 0.13);
}

.toast,
.sheet-card {
  border: 1px solid rgba(99, 255, 238, 0.58);
  background:
    linear-gradient(145deg, rgba(6, 33, 88, 0.96), rgba(7, 83, 118, 0.9));
  color: #fff;
  box-shadow:
    0 0 24px rgba(63, 255, 235, 0.28),
    0 18px 48px rgba(0, 0, 0, 0.35);
}

.toast {
  color: #fff;
}

.sheet-card img {
  border: 0;
  box-shadow: none;
  background: transparent;
}

@media (max-height: 700px) {
  [data-screen="success"] {
    padding-top: max(10px, env(safe-area-inset-top));
    padding-bottom: max(10px, env(safe-area-inset-bottom));
  }

  .success-mark {
    margin-top: 18px;
    margin-bottom: 8px;
    width: 42px;
    height: 42px;
    flex: 0 0 auto;
  }

  .success-mark i {
    font-size: 42px;
  }

  .success-copy {
    flex: 0 0 auto;
  }

  .success-copy h1 {
    font-size: clamp(30px, 9vw, 34px);
  }

  .success-copy p {
    margin-top: 6px;
    font-size: clamp(15px, 4.5vw, 17px);
  }

  .success-ticket {
    margin-top: 14px;
    padding: 15px 18px;
    border-radius: 18px;
    flex: 0 0 auto;
  }

  .success-ticket h2 {
    margin-bottom: 14px;
    font-size: clamp(20px, 6vw, 23px);
  }

  .success-value {
    gap: 6px;
  }

  .success-value strong {
    font-size: clamp(31px, 9vw, 35px);
  }

  .success-value span {
    font-size: clamp(14px, 4.2vw, 16px);
  }

  .success-ticket p {
    margin-top: 14px;
    font-size: clamp(16px, 4.8vw, 18px);
  }

  .retain-title {
    margin: 14px 0 8px;
    font-size: clamp(19px, 5.8vw, 22px);
    flex: 0 0 auto;
  }

  .retain-title span {
    width: 52px;
  }

  .save-button {
    min-height: 46px;
    font-size: clamp(15px, 4.5vw, 17px);
    flex: 0 0 auto;
  }

  .save-button i {
    font-size: 23px;
  }

  .follow-note {
    margin: 12px 0 7px;
    font-size: clamp(13px, 3.9vw, 15px);
    line-height: 1.24;
    flex: 0 0 auto;
  }

  .qr-placeholder {
    width: 62px;
    height: 62px;
    flex: 0 0 62px;
    border-radius: 9px;
    font-size: 10px;
  }

  .copyright {
    margin: 0;
    padding-top: 8px;
    font-size: clamp(10px, 3vw, 11px);
    line-height: 1.25;
    flex: 0 0 auto;
  }
}

/* Intro page balance pass */
[data-screen="intro"] .feature-board {
  background:
    linear-gradient(180deg, rgba(2, 22, 63, 0.46), rgba(3, 49, 86, 0.32)),
    radial-gradient(circle at 50% 110%, rgba(255, 229, 120, 0.16), transparent 38%);
  box-shadow:
    0 0 0 1px rgba(139, 255, 245, 0.46),
    0 18px 44px rgba(0, 29, 72, 0.28),
    inset 0 0 28px rgba(75, 222, 255, 0.16);
}

[data-screen="intro"] .feature-card {
  justify-content: flex-start;
  align-items: flex-start;
  text-align: left;
  padding: clamp(15px, 4vw, 19px);
  border-radius: 20px;
  background:
    radial-gradient(circle at 88% 18%, rgba(95, 255, 235, 0.2), transparent 26%),
    linear-gradient(155deg, rgba(6, 31, 84, 0.94) 0%, rgba(4, 68, 108, 0.78) 100%);
  box-shadow:
    0 0 0 1px rgba(177, 255, 250, 0.22),
    0 10px 22px rgba(0, 22, 64, 0.26),
    inset 0 0 20px rgba(54, 227, 255, 0.16);
}

[data-screen="intro"] .feature-card::before {
  background:
    linear-gradient(180deg, rgba(105, 255, 238, 0.2), transparent 58%),
    linear-gradient(90deg, rgba(112, 255, 238, 0.38) 0 3px, transparent 3px),
    radial-gradient(circle at 92% 88%, rgba(255, 255, 255, 0.5) 0 1px, transparent 2px);
  opacity: 0.76;
}

[data-screen="intro"] .feature-card::after {
  content: "";
  position: absolute;
  right: 12px;
  top: 12px;
  width: 28px;
  height: 28px;
  border-top: 1px solid rgba(151, 255, 244, 0.5);
  border-right: 1px solid rgba(151, 255, 244, 0.5);
  border-radius: 0 12px 0 0;
  pointer-events: none;
}

[data-screen="intro"] .feature-card i {
  width: clamp(30px, 7.7vw, 36px);
  height: clamp(30px, 7.7vw, 36px);
  margin-bottom: clamp(14px, 3.5vw, 18px);
  font-size: clamp(30px, 7.7vw, 36px);
}

[data-screen="intro"] .feature-card h2 {
  font-size: clamp(17px, 4.5vw, 20px);
}

[data-screen="intro"] .feature-card p {
  margin-top: clamp(8px, 2vw, 10px);
  font-size: clamp(11px, 3vw, 13px);
  line-height: 1.36;
}

@media (max-height: 760px) {
  [data-screen="intro"] .feature-card {
    padding: 12px 10px;
  }

  [data-screen="intro"] .feature-card i {
    width: 25px;
    height: 25px;
    margin-bottom: 10px;
    font-size: 25px;
  }

  [data-screen="intro"] .feature-card h2 {
    font-size: clamp(14px, 4vw, 16px);
  }

  [data-screen="intro"] .feature-card p {
    margin-top: 6px;
    font-size: clamp(9px, 2.8vw, 11px);
    line-height: 1.28;
  }
}

/* Success page ticket refresh */
.success-ticket {
  overflow: hidden;
  margin-top: clamp(22px, 3.6svh, 34px);
  padding: clamp(22px, 3.7svh, 30px) 28px clamp(20px, 3.3svh, 28px);
  border-radius: 30px;
  border: 2px solid rgba(217, 255, 250, 0.9);
  background:
    radial-gradient(circle at 18% 18%, rgba(255, 239, 149, 0.24), transparent 28%),
    radial-gradient(circle at 86% 78%, rgba(73, 255, 224, 0.3), transparent 30%),
    linear-gradient(135deg, rgba(5, 30, 82, 0.98) 0%, rgba(7, 78, 115, 0.9) 56%, rgba(6, 40, 94, 0.96) 100%);
  box-shadow:
    0 18px 44px rgba(0, 0, 0, 0.32),
    inset 0 0 28px rgba(57, 211, 255, 0.16),
    inset 0 2px 0 rgba(255, 255, 255, 0.22);
  filter: drop-shadow(0 0 10px rgba(90, 246, 255, 0.35));
}

.success-ticket::before,
.success-ticket::after {
  content: "";
  position: absolute;
  left: 28px;
  right: 28px;
  width: auto;
  height: 4px;
  border-radius: 999px;
  transform: none;
  background: linear-gradient(90deg, transparent, rgba(128, 255, 244, 0.66), rgba(255, 244, 168, 0.68), rgba(128, 255, 244, 0.5), transparent);
  box-shadow: none;
  pointer-events: none;
}

.ticket-notch {
  position: absolute;
  top: 50%;
  z-index: 1;
  width: clamp(42px, 11vw, 52px);
  height: clamp(72px, 18vw, 86px);
  border-radius: 999px;
  border: 2px solid rgba(217, 255, 250, 0.62);
  background:
    radial-gradient(circle at 52% 48%, rgba(14, 81, 139, 0.96), rgba(5, 35, 86, 0.98) 72%),
    #05325f;
  box-shadow:
    inset 0 0 14px rgba(33, 180, 230, 0.18),
    0 0 0 1px rgba(5, 30, 82, 0.42);
  transform: translateY(-50%);
  pointer-events: none;
}

.ticket-notch-left {
  left: calc(clamp(42px, 11vw, 52px) / -2);
}

.ticket-notch-right {
  right: calc(clamp(42px, 11vw, 52px) / -2);
}

.success-ticket h2,
.success-value,
.success-ticket p {
  position: relative;
  z-index: 2;
}

.success-ticket::before {
  top: -2px;
}

.success-ticket::after {
  bottom: -2px;
}

.success-ticket h2 {
  margin: 0 0 clamp(14px, 2.2svh, 20px);
  color: rgba(236, 255, 255, 0.96);
  font-size: clamp(22px, 6vw, 27px);
  line-height: 1.15;
  text-align: center;
}

.success-value {
  display: grid;
  place-items: center;
  color: #ffe882;
  text-align: center;
}

.success-value strong {
  font-size: clamp(34px, 9.4vw, 44px);
  line-height: 1.08;
  white-space: nowrap;
  background: linear-gradient(180deg, #fffdf0 0%, #fff4bd 18%, #f8d05c 50%, #ffa93f 74%, #8e5608 100%);
  background-clip: text;
  -webkit-background-clip: text;
  color: #ffe882;
  -webkit-text-fill-color: transparent;
  -webkit-text-stroke: 0.3px rgba(255, 250, 198, 0.32);
  filter:
    drop-shadow(0 3px 0 rgba(86, 45, 0, 0.42))
    drop-shadow(0 10px 18px rgba(42, 21, 0, 0.32));
}

.success-ticket p {
  margin-top: clamp(16px, 2.7svh, 24px);
  padding-top: clamp(12px, 2.2svh, 18px);
  border-top: 1px dashed rgba(151, 255, 246, 0.5);
  color: rgba(236, 255, 255, 0.9);
  font-size: clamp(17px, 4.8vw, 22px);
  text-align: center;
}

.success-ticket + .save-button {
  margin-top: clamp(18px, 3svh, 28px);
}

.retain-title {
  display: none;
}

@media (max-height: 700px) {
  .success-ticket {
    margin-top: 12px;
    padding: 15px 22px 14px;
    border-radius: 24px;
  }

  .ticket-notch {
    width: 40px;
    height: 62px;
  }

  .ticket-notch-left {
    left: -20px;
  }

  .ticket-notch-right {
    right: -20px;
  }

  .success-ticket::before,
  .success-ticket::after {
    left: 22px;
    right: 22px;
    width: auto;
    height: 3px;
  }

  .success-ticket::before {
    top: -2px;
  }

  .success-ticket::after {
    bottom: -2px;
  }

  .success-ticket h2 {
    margin-bottom: 10px;
    font-size: clamp(19px, 5.6vw, 22px);
  }

  .success-value strong {
    font-size: clamp(29px, 8.5vw, 33px);
  }

  .success-ticket p {
    margin-top: 12px;
    padding-top: 10px;
    font-size: clamp(15px, 4.5vw, 17px);
  }

  .success-ticket + .save-button {
    margin-top: 12px;
  }
}

/* Success page bottom rhythm */
.success-footer {
  flex: 0 0 auto;
  display: grid;
  justify-items: center;
  gap: clamp(10px, 1.6svh, 14px);
  margin-top: clamp(28px, 4.4svh, 38px);
  text-align: center;
}

.success-footer .follow-note {
  margin: 0;
  max-width: 100%;
}

.success-footer .qr-placeholder {
  margin: 0 auto;
}

.success-footer .copyright {
  margin: 0;
  padding: 4px 10px 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(12px, 3.35vw, 14px);
  line-height: 1.28;
}

@media (max-height: 700px) {
  .success-footer {
    gap: 6px;
    margin-top: 10px;
  }

  .success-footer .copyright {
    padding-top: 0;
    font-size: clamp(10px, 3vw, 11px);
    line-height: 1.22;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 1ms !important;
    transition-duration: 1ms !important;
    scroll-behavior: auto !important;
  }
}
