* {
  box-sizing: border-box;
}

:root {
  --bg: #071218;
  --panel: #0c1a22;
  --panel-soft: #11252e;
  --text: #f5f8fa;
  --muted: #9fb0ba;
  --line: rgba(255, 255, 255, 0.12);
  --red: #ed1c24;
  --red-dark: #b70810;
  --success: #42d392;
  --danger: #ff7178;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.38);
}

html {
  min-height: 100%;
  background: var(--bg);
  color-scheme: dark;
}

body {
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 78% 18%, rgba(42, 76, 89, 0.32), transparent 30%),
    var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}

body.reward-body {
  overscroll-behavior-y: none;
}

body.desktop-blocked {
  overflow: hidden;
}

.device-blocker {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(0, 7, 10, 0.9);
  backdrop-filter: blur(12px);
}

.device-blocker__popup {
  width: min(430px, 100%);
  padding: 30px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 24px;
  background: #0d1b22;
  box-shadow: 0 26px 90px rgba(0, 0, 0, 0.55);
  text-align: center;
}

.device-blocker__popup h2 {
  margin: 0;
  font-size: 26px;
}

.device-blocker__popup p {
  margin: 14px 0 0;
  color: var(--muted);
  line-height: 1.6;
}

button,
input,
select {
  font: inherit;
}

button {
  -webkit-tap-highlight-color: transparent;
}

.app-shell {
  min-height: 100vh;
  display: grid;
  grid-template-columns: minmax(330px, 44vw) minmax(460px, 1fr);
}

.campaign-visual {
  position: sticky;
  top: 0;
  height: 100vh;
  min-height: 650px;
  overflow: hidden;
  isolation: isolate;
  background: #0b171d;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
}

.campaign-visual__image {
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image: url("assets/ipone-campaign-bg.png");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  background-color: #0b171d;
}

.campaign-visual__shade {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, transparent 70%, rgba(7, 18, 24, 0.52) 100%),
    linear-gradient(0deg, rgba(7, 18, 24, 0.38), transparent 28%);
  pointer-events: none;
}

.visual-badge {
  position: absolute;
  left: 24px;
  bottom: calc(24px + env(safe-area-inset-bottom));
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 10px 14px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  background: rgba(7, 18, 24, 0.72);
  color: #dbe5e9;
  font-size: 12px;
  letter-spacing: 0.04em;
  backdrop-filter: blur(14px);
}

.visual-badge__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 0 5px rgba(66, 211, 146, 0.12);
}

.campaign-content {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  padding:
    calc(28px + env(safe-area-inset-top))
    clamp(28px, 5vw, 82px)
    calc(20px + env(safe-area-inset-bottom));
}

.topbar {
  width: 100%;
  max-width: 700px;
  margin: 0 auto 46px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand-lockup,
.reward-logo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.brand-lockup strong,
.reward-logo strong {
  font-size: 20px;
  letter-spacing: -0.03em;
}

.brand-mark {
  width: 27px;
  height: 23px;
  display: grid;
  place-items: center;
  border: 2px solid #f4f4f4;
  background: #fff;
  box-shadow: inset 0 0 0 2px #202020;
}

.brand-mark span {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--red);
}

.stepper {
  display: flex;
  align-items: center;
  min-width: 205px;
}

.step {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #647985;
  transition: color 240ms ease;
}

.step span {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border: 1px solid #415660;
  border-radius: 50%;
  font-size: 12px;
  font-weight: 800;
  transition: 240ms ease;
}

.step small {
  font-size: 12px;
  font-weight: 700;
}

.step.active {
  color: #fff;
}

.step.active span {
  border-color: var(--red);
  background: var(--red);
  box-shadow: 0 0 0 5px rgba(237, 28, 36, 0.14);
}

.step-line {
  width: 36px;
  height: 1px;
  margin: 0 10px;
  background: #344954;
}

.page {
  display: none;
  width: 100%;
  max-width: 700px;
  margin: auto;
  animation: pageIn 460ms cubic-bezier(.2, .8, .2, 1);
}

.page.active {
  display: block;
}

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

.page-heading {
  margin-bottom: 30px;
}

.eyebrow {
  margin: 0 0 10px;
  color: #ff4a50;
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.16em;
}

.page-heading h1 {
  max-width: 620px;
  margin: 0;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.07;
  letter-spacing: -0.045em;
}

.page-heading > p:last-child {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
}

form {
  padding: clamp(20px, 3vw, 30px);
  border: 1px solid var(--line);
  border-radius: 24px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.015)),
    rgba(12, 26, 34, 0.88);
  box-shadow: var(--shadow);
  backdrop-filter: blur(20px);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 19px 16px;
}

.field--full {
  grid-column: 1 / -1;
}

.field label {
  display: block;
  margin: 0 0 8px;
  color: #eaf0f3;
  font-size: 13px;
  font-weight: 750;
}

.field label span {
  color: var(--muted);
  font-weight: 500;
}

.control {
  position: relative;
  min-height: 52px;
  display: flex;
  align-items: center;
  border: 1px solid #2b414c;
  border-radius: 13px;
  background: rgba(4, 13, 18, 0.7);
  transition: border-color 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.control:focus-within {
  border-color: rgba(237, 28, 36, 0.86);
  background: rgba(4, 13, 18, 0.92);
  box-shadow: 0 0 0 4px rgba(237, 28, 36, 0.12);
}

.control svg,
.privacy-note svg,
.scratch-tip svg {
  width: 19px;
  min-width: 19px;
  margin-left: 15px;
  fill: none;
  stroke: #7f949f;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.control input,
.control select {
  width: 100%;
  min-width: 0;
  height: 50px;
  padding: 0 14px 0 11px;
  border: 0;
  outline: 0;
  background: transparent;
  color: #fff;
  font-size: 14px;
}

.control input::placeholder {
  color: #667b86;
}

.control select {
  appearance: none;
  cursor: pointer;
}

.control select:disabled {
  cursor: not-allowed;
  opacity: 0.55;
}

.select-control::after {
  content: "";
  width: 7px;
  height: 7px;
  position: absolute;
  right: 18px;
  top: 20px;
  border-right: 2px solid #718792;
  border-bottom: 2px solid #718792;
  transform: rotate(45deg);
  pointer-events: none;
}

.select-control select {
  padding-right: 42px;
}

.mobile-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
}

.mobile-control {
  min-width: 0;
}

.country-code {
  height: 26px;
  display: flex;
  align-items: center;
  margin-left: 15px;
  padding-right: 12px;
  border-right: 1px solid #304650;
  color: #dce5e9;
  font-size: 14px;
  font-weight: 700;
}

.field-message {
  min-height: 17px;
  margin: 6px 2px 0;
  color: var(--danger);
  font-size: 11.5px;
  line-height: 1.4;
}

.field.valid .control {
  border-color: rgba(66, 211, 146, 0.55);
}

.field.invalid .control {
  border-color: rgba(255, 113, 120, 0.9);
  box-shadow: 0 0 0 3px rgba(255, 113, 120, 0.08);
}

.field--terms {
  grid-column: 1 / -1;
}

.field--terms .terms-check {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0;
  cursor: pointer;
}

.terms-check input {
  flex: 0 0 auto;
  width: 17px;
  height: 17px;
  margin: 0;
  accent-color: #c9141c;
  cursor: pointer;
}

.terms-check strong {
  color: #ff6b70;
}

.field--terms.invalid .terms-check input {
  outline: 2px solid #ff6b70;
  outline-offset: 2px;
  box-shadow: 0 0 0 4px rgba(255, 107, 112, 0.14);
}

.primary-button,
.secondary-button {
  border: 0;
  border-radius: 13px;
  cursor: pointer;
  font-weight: 800;
  transition: transform 160ms ease, opacity 160ms ease, box-shadow 160ms ease;
}

.primary-button {
  width: 100%;
  min-height: 54px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  margin-top: 8px;
  padding: 0 20px;
  color: #fff;
  background: linear-gradient(135deg, #ff2d35, #c90a12);
  box-shadow: 0 14px 32px rgba(205, 10, 18, 0.26);
}

.primary-button svg {
  width: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.primary-button:hover,
.secondary-button:hover {
  transform: translateY(-1px);
}

.primary-button:active,
.secondary-button:active {
  transform: translateY(1px);
}

.primary-button:focus-visible,
.secondary-button:focus-visible,
.text-button:focus-visible {
  outline: 3px solid rgba(255, 255, 255, 0.28);
  outline-offset: 3px;
}

.primary-button.loading {
  pointer-events: none;
  opacity: 0.82;
}

.primary-button.loading .button-label,
.primary-button.loading > svg {
  display: none;
}

.button-loader {
  display: none;
  width: 21px;
  height: 21px;
  border: 3px solid rgba(255, 255, 255, 0.35);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 700ms linear infinite;
}

.primary-button.loading .button-loader {
  display: block;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.secondary-button {
  min-width: 112px;
  padding: 0 14px;
  border: 1px solid rgba(237, 28, 36, 0.64);
  color: #ff6066;
  background: rgba(237, 28, 36, 0.1);
  font-size: 12px;
}

.secondary-button:disabled {
  cursor: not-allowed;
  opacity: 0.56;
  transform: none;
}

.privacy-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  margin: 18px 0 0;
  color: #70858f;
  font-size: 11px;
  text-align: center;
}

.privacy-note svg {
  width: 14px;
  min-width: 14px;
  margin: 0;
}

.campaign-footer {
  width: 100%;
  max-width: 700px;
  margin: 34px auto 0;
  color: #536a75;
  font-size: 11px;
  text-align: center;
}

.reward-page {
  max-width: 620px;
}

.scratch-area {
  padding: clamp(18px, 3vw, 28px);
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(12, 26, 34, 0.82);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.scratch-card {
  position: relative;
  width: 100%;
  aspect-ratio: 1.72 / 1;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 20px;
  background: #101c22;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.32);
  isolation: isolate;
}

.reward-layer {
  position: absolute;
  inset: 0;
  container-type: inline-size;
  display: grid;
  place-content: center;
  place-items: center;
  overflow: hidden;
  padding: 24px;
  color: #fff;
  text-align: center;
  background:
    radial-gradient(circle at 35% 20%, rgba(255, 255, 255, 0.25), transparent 22%),
    linear-gradient(145deg, #f0252d 0%, #b8050c 54%, #74030a 100%);
}

.reward-layer::before,
.reward-layer::after {
  content: "";
  position: absolute;
  width: 280px;
  height: 280px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
}

.reward-layer::before {
  left: -145px;
  top: -160px;
}

.reward-layer::after {
  right: -150px;
  bottom: -165px;
}

.reward-shine {
  position: absolute;
  inset: -80% -20%;
  background: linear-gradient(110deg, transparent 38%, rgba(255, 255, 255, 0.15) 48%, transparent 58%);
  transform: translateX(-45%);
  animation: shine 3.8s ease-in-out infinite;
}

@keyframes shine {
  50%, 100% { transform: translateX(45%); }
}

.reward-logo {
  position: relative;
  z-index: 1;
  margin-bottom: 14px;
}

.reward-layer p {
  position: relative;
  z-index: 1;
  margin: 0;
  font-size: 14px;
  font-weight: 700;
}

.reward-layer h2 {
  position: relative;
  z-index: 1;
  max-width: 100%;
  margin: 3px 0 5px;
  /* Scale to the scratch card, rather than to the viewport width. */
  font-size: min(48px, 13cqw);
  line-height: 1;
  letter-spacing: -0.05em;
  overflow-wrap: anywhere;
}

.reward-layer small {
  position: relative;
  z-index: 1;
  color: rgba(255, 255, 255, 0.78);
}

#scratchCanvas {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
  background: #c3ccd0;
  cursor: grab;
  touch-action: none;
  transition: opacity 650ms ease;
}

#scratchCanvas:active {
  cursor: grabbing;
}

.scratch-card.revealed #scratchCanvas {
  opacity: 0;
  pointer-events: none;
}

.scratch-progress {
  margin: 20px 2px 0;
}

.progress-copy {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 12px;
}

.progress-copy strong {
  color: #fff;
}

.progress-track {
  height: 7px;
  overflow: hidden;
  border-radius: 999px;
  background: #1d323c;
}

.progress-track span {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #ed1c24, #ff5b60);
  transition: width 180ms ease;
}

.scratch-tip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 15px 0 0;
  color: #748993;
  font-size: 11px;
}

.scratch-tip svg {
  width: 16px;
  min-width: 16px;
  margin: 0;
}

.text-button {
  display: block;
  margin: 22px auto 0;
  padding: 9px 14px;
  border: 0;
  color: #8ea2ac;
  background: transparent;
  cursor: pointer;
  font-size: 12px;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: grid;
  place-items: center;
  padding: 22px;
  background: rgba(0, 7, 10, 0.74);
  opacity: 0;
  visibility: hidden;
  backdrop-filter: blur(10px);
  transition: opacity 240ms ease, visibility 240ms ease;
}

.modal-backdrop.open {
  opacity: 1;
  visibility: visible;
}

.modal {
  width: min(440px, 100%);
  padding: 30px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 24px;
  background:
    radial-gradient(circle at 50% 0, rgba(237, 28, 36, 0.18), transparent 42%),
    #0d1b22;
  box-shadow: 0 26px 90px rgba(0, 0, 0, 0.5);
  text-align: center;
  transform: scale(0.94) translateY(8px);
  transition: transform 260ms cubic-bezier(.2, .85, .2, 1);
}

.modal-backdrop.open .modal {
  transform: scale(1) translateY(0);
}

.success-icon {
  width: 60px;
  height: 60px;
  display: grid;
  place-items: center;
  margin: 0 auto 18px;
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(135deg, #42d392, #149d66);
  box-shadow: 0 0 0 9px rgba(66, 211, 146, 0.1);
}

.success-icon svg {
  width: 30px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.3;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.modal h1,
.modal h2 {
  margin: 0;
  font-size: 26px;
  line-height: 1.2;
  letter-spacing: -0.035em;
}

.modal > p:not(.eyebrow) {
  margin: 13px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

.modal-button {
  margin-top: 23px;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: calc(16px + env(safe-area-inset-bottom) + var(--keyboard-inset, 0px));
  z-index: 1000;
  max-width: calc(100vw - 32px);
  padding: 12px 16px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 12px;
  color: #fff;
  background: rgba(13, 29, 37, 0.96);
  box-shadow: 0 16px 45px rgba(0, 0, 0, 0.38);
  font-size: 13px;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 15px);
  transition: opacity 180ms ease, transform 180ms ease;
}

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

@media (max-width: 980px) {
  .app-shell {
    grid-template-columns: minmax(300px, 40vw) 1fr;
  }

  .campaign-content {
    padding-left: 32px;
    padding-right: 32px;
  }
}

@media (max-width: 760px) {
  .app-shell {
    display: block;
  }

  .campaign-visual {
    position: relative;
    width: 100%;
    height: min(68vh, 650px);
    min-height: 510px;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .campaign-visual__image {
    background-position: center top;
    background-size: contain;
  }

  .campaign-visual__shade {
    background: linear-gradient(0deg, #071218 0%, rgba(7, 18, 24, 0.08) 22%, transparent 55%);
  }

  .visual-badge {
    left: 16px;
    bottom: 15px;
  }

  .campaign-content {
    min-height: auto;
    padding: 24px 18px calc(18px + env(safe-area-inset-bottom));
  }

  .topbar {
    margin-bottom: 36px;
  }

  .page {
    margin: 0 auto;
  }

  .page-heading h1 {
    font-size: clamp(29px, 8vw, 40px);
  }

  .campaign-footer {
    margin-top: 28px;
  }
}

/* Final campaign layout overrides. */
.app-shell {
  position: relative;
  display: block;
  isolation: isolate;
}

.campaign-visual {
  position: fixed;
  inset: 0;
  z-index: -1;
  width: 100%;
  height: 100vh;
  min-height: 0;
  border: 0;
}

.campaign-visual__image {
  background-position: center;
  background-size: cover;
}

.campaign-visual__shade,
.visual-badge {
  display: none;
}

.campaign-content {
  position: relative;
  width: min(760px, 58vw);
  min-height: 100vh;
  margin-left: auto;
  padding-top: calc(12px + env(safe-area-inset-top));
  padding-bottom: calc(10px + env(safe-area-inset-bottom));
  background: transparent;
}

.topbar {
  margin-bottom: 12px;
}

.page-heading {
  margin-bottom: 10px;
}

.page-heading h1 {
  font-size: clamp(24px, 2.8vw, 32px);
  line-height: 1.04;
}

.page-heading > p:last-child {
  margin-top: 5px;
  color: #fff;
  font-size: 14px;
  font-weight: 750;
  line-height: 1.35;
}

.eyebrow {
  margin-bottom: 5px;
  color: #ff4d53;
  font-size: 10px;
}

#registrationPage {
  max-width: 600px;
}

#registrationPage.active {
  margin: clamp(190px, 28vh, 300px) auto 0;
}

form {
  padding: 11px 13px;
  border-color: rgba(255, 255, 255, 0.26);
  border-radius: 14px;
  background: transparent;
  box-shadow: none;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}

.form-grid {
  grid-template-columns: 1fr;
  gap: 7px 10px;
}

.form-grid .field,
.form-grid .field--full,
.form-grid .field--otp,
.form-grid .field--state,
.form-grid .field--city,
.form-grid .field--code {
  grid-column: 1;
}

.field label {
  margin-bottom: 3px;
  color: #fff;
  font-size: 11px;
}

.control,
.control:focus-within {
  min-height: 32px;
  border-radius: 7px;
  background: transparent;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}

.control {
  border-color: rgba(255, 255, 255, 0.42);
}

.control:focus-within {
  border-color: #ff4249;
  box-shadow: 0 0 0 3px rgba(237, 28, 36, 0.2);
}

.control input,
.control select {
  height: 30px;
  padding-right: 10px;
  padding-left: 7px;
  color: #fff;
  font-size: 11px;
  font-weight: 650;
}

.control input::placeholder {
  color: rgba(255, 255, 255, 0.82);
  opacity: 1;
}

.control svg {
  width: 13px;
  min-width: 13px;
  margin-left: 9px;
}

.country-code {
  height: 18px;
  margin-left: 9px;
  padding-right: 7px;
  font-size: 11px;
}

.select-control {
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.select-control:hover {
  border-color: rgba(255, 255, 255, 0.9);
}

.select-control select {
  padding-right: 31px;
  color-scheme: dark;
  cursor: pointer;
}

.select-control select option {
  min-height: 28px;
  padding: 5px 8px;
  color: #edf3f5;
  background-color: #0b171d;
  font-size: 11px;
  font-weight: 600;
}

.select-control select option:checked {
  color: #fff;
  background: linear-gradient(#c90a12, #c90a12);
  font-weight: 800;
}

.select-control::after {
  top: 10px;
  right: 12px;
  width: 5px;
  height: 5px;
  border-color: #ff4a50;
  border-width: 0 2px 2px 0;
}

.select-control:has(select:disabled) {
  opacity: 0.58;
}

.select-control select:disabled {
  cursor: not-allowed;
}

.field-message {
  min-height: 0;
  margin: 2px 2px 0;
  color: #ffb0b4;
  font-size: 10px;
  font-weight: 700;
}

.field-message:empty {
  display: none;
}

#otpField[hidden] {
  display: none;
}


.primary-button {
  min-height: 39px;
  margin-top: 3px;
  border-radius: 9px;
  font-size: 13px;
}

.secondary-button {
  min-width: 80px;
  padding: 0 7px;
  border-radius: 7px;
  font-size: 10px;
}

.privacy-note {
  margin-top: 7px;
  font-size: 10px;
}

.campaign-footer {
  margin-top: 10px;
}

#rewardPage.active {
  width: min(100%, 540px);
  margin: clamp(225px, 32vh, 340px) auto 0;
}

#rewardPage .page-heading {
  text-align: center;
}

#rewardPage .scratch-area {
  margin-inline: auto;
  border-color: transparent;
  background: transparent;
  box-shadow: none;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}

.campaign-content,
.campaign-content h1,
.campaign-content h2,
.campaign-content p,
.campaign-content label,
.campaign-content small,
.campaign-content strong,
.campaign-content span,
.control input,
.control select,
.country-code {
  text-shadow:
    0 1px 2px rgba(0, 0, 0, 1),
    0 2px 7px rgba(0, 0, 0, 0.9);
}

.privacy-note,
.campaign-footer,
.scratch-tip,
.progress-copy,
.text-button {
  color: #f1f5f7;
}

.step:not(.active) {
  color: #d8e1e5;
}

@media (max-width: 760px) {
  .campaign-visual {
    position: fixed;
    height: 100vh;
    min-height: 0;
  }

  .campaign-visual__image {
    background-position: center top;
    background-size: cover;
  }

  .campaign-content {
    width: 100%;
    min-height: 100vh;
    padding: 10px 10px calc(8px + env(safe-area-inset-bottom));
  }

  #registrationPage.active {
    width: min(97%, 520px);
    margin-top: clamp(175px, 27vh, 245px);
  }

  #rewardPage.active {
    width: min(96%, 520px);
    margin-top: clamp(205px, 31vh, 275px);
  }
}

@media (max-width: 520px) {
  #registrationPage form {
    padding: 10px;
  }

  #registrationPage .form-grid {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  #registrationPage .field--full,
  #registrationPage .field--otp,
  #registrationPage .field--code {
    grid-column: 1 / -1;
  }

  #registrationPage .field--state {
    grid-column: 1;
  }

  #registrationPage .field--city {
    grid-column: 1;
  }

  .mobile-row {
    grid-template-columns: minmax(0, 1fr) 88px;
    gap: 8px;
  }

  .secondary-button {
    min-width: 88px;
    white-space: nowrap;
  }

  #registrationPage .control input,
  #registrationPage .control select {
    font-size: 10.5px;
  }

  #registrationPage .page-heading > p:last-child {
    font-size: 12px;
    text-align: center;
  }
}

/* Professional glass card: isolates controls without obscuring the artwork. */
#registrationPage form {
  border: 1px solid rgba(255, 255, 255, 0.24);
  background:
    linear-gradient(145deg, rgba(27, 52, 64, 0.42), rgba(10, 31, 41, 0.32));
  box-shadow:
    0 18px 45px rgba(0, 0, 0, 0.34),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  -webkit-backdrop-filter: blur(8px) saturate(110%);
  backdrop-filter: blur(8px) saturate(110%);
}

#registrationPage .control,
#registrationPage .control:focus-within {
  background: rgba(3, 11, 15, 0.4);
  -webkit-backdrop-filter: blur(5px);
  backdrop-filter: blur(5px);
}

#registrationPage .control {
  border-color: rgba(255, 255, 255, 0.34);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

#registrationPage .control:hover {
  border-color: rgba(255, 255, 255, 0.62);
  background: rgba(3, 11, 15, 0.52);
}

#registrationPage .control:focus-within {
  border-color: #ff4249;
  background: rgba(3, 11, 15, 0.64);
  box-shadow: 0 0 0 3px rgba(237, 28, 36, 0.2);
}

#registrationPage .field label,
#registrationPage .control input,
#registrationPage .control select,
#registrationPage .country-code {
  text-shadow: none;
}

#registrationPage .page-heading > p:last-child {
  display: table;
  margin-right: auto;
  margin-left: auto;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(3, 11, 15, 0.66);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}

#registrationPage .primary-button {
  box-shadow: 0 10px 24px rgba(160, 0, 8, 0.38);
}

@media (max-width: 520px) {
  #registrationPage form {
    border-radius: 16px;
    background:
      linear-gradient(145deg, rgba(27, 52, 64, 0.46), rgba(10, 31, 41, 0.36));
  }
}

@media (max-width: 360px) {
  #registrationPage .form-grid {
    grid-template-columns: 1fr;
  }

  #registrationPage .field--state,
  #registrationPage .field--city {
    grid-column: 1;
  }
}

@media (max-height: 700px) and (min-width: 761px) {
  #registrationPage.active {
    margin-top: 165px;
  }

  #rewardPage.active {
    margin-top: 190px;
  }
}

/* Final visibility and accessibility pass. */
#registrationPage {
  padding-bottom: 18px;
}

#registrationPage form {
  overflow: visible;
  border: 1px solid rgba(255, 255, 255, 0.72);
}

#registrationPage .form-grid {
  gap: 10px;
}

#registrationPage .field label {
  margin-bottom: 5px;
  color: #fff;
  font-size: 12px;
  font-weight: 800;
}

#registrationPage .control {
  min-height: 38px;
  border-color: rgba(255, 255, 255, 0.72);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.48);
}

#registrationPage .control input,
#registrationPage .control select {
  height: 36px;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
}

#registrationPage .control input::placeholder {
  color: rgba(255, 255, 255, 0.9);
}

#registrationPage .control svg {
  stroke: #fff;
}

#registrationPage .country-code {
  color: #fff;
  font-size: 12px;
}

#registrationPage .secondary-button {
  min-height: 38px;
  color: #fff;
  background: #b70810;
  border-color: #ff555b;
  font-size: 11px;
  font-weight: 800;
  box-shadow: 0 2px 7px rgba(0, 0, 0, 0.42);
}

#registrationPage .primary-button {
  min-height: 44px;
  font-size: 14px;
}

#registrationPage .field-message:not(:empty) {
  display: block;
  margin-top: 4px;
  color: #ffd1d3;
  font-size: 11px;
}

.topbar,
.page-heading,
.campaign-footer {
  position: relative;
  z-index: 2;
}

@media (max-width: 520px) {
  #registrationPage {
    width: 100%;
  }

  #registrationPage form {
    padding: 12px;
  }

  #registrationPage .mobile-row {
    grid-template-columns: minmax(0, 1fr) 96px;
  }

  #registrationPage .secondary-button {
    min-width: 96px;
  }

  .campaign-footer {
    padding: 6px 0;
  }
}

/* Keep the desktop composition consistent with the mobile campaign view. */
@media (min-width: 761px) {
  .campaign-visual__image {
    background-position: center top;
    background-size: contain;
  }

  .campaign-content {
    /* Match the width of the contained 402 x 874 campaign artwork. */
    width: min(100%, 46vh);
    margin-right: auto;
    margin-left: auto;
    padding-right: 10px;
    padding-left: 10px;
  }

  #registrationPage,
  #registrationPage.active {
    width: min(94%, 400px);
  }

  #registrationPage.active {
    margin-top: 25vh;
    margin-right: auto;
    margin-left: auto;
  }

  #registrationPage form {
    padding: 6px 8px;
  }

  #registrationPage .form-grid {
    gap: 4px;
  }

  #registrationPage .field label {
    margin-bottom: 2px;
    font-size: 10px;
  }

  #registrationPage .control {
    min-height: 29px;
  }

  #registrationPage .control input,
  #registrationPage .control select {
    height: 27px;
    font-size: 10.5px;
  }

  #registrationPage .secondary-button {
    min-width: 70px;
    min-height: 29px;
    font-size: 9px;
  }

  #registrationPage .primary-button {
    min-height: 33px;
    font-size: 11px;
  }

  #registrationPage .page-heading > p:last-child {
    padding: 4px 8px;
    font-size: 10px;
    text-align: center;
  }

  #rewardPage.active {
    /* Expand only the scratch-card section, without changing registration sizing. */
    width: min(48vh, 440px);
    margin-top: 32vh;
    margin-right: 0;
    margin-left: calc((100% - min(48vh, 440px)) / 2);
  }

}

/* Let the full portrait artwork scroll on short phone and tablet screens. */
@media (max-width: 760px) and (max-height: 900px) {
  .campaign-visual {
    position: absolute;
    height: max(100vh, 217.42vw);
    min-height: max(100vh, 217.42vw);
  }

  .campaign-visual__image {
    background-position: center top;
    background-size: 100% auto;
  }
}

/* Keep interactive panels below the artwork slogan at every mobile ratio. */
@media (max-width: 760px) {
  .topbar {
    display: none;
  }

  .campaign-content {
    padding-top: 0;
  }

  #registrationPage.active {
    margin-top: calc(max(30.66vh, 66.67vw) + 2mm);
  }

  #registrationPage .page-heading > p:last-child {
    margin-top: 0;
  }

  #rewardPage.active {
    margin-top: max(32vh, 69vw);
  }
}

/* Compact tall panels enough to remain inside short-phone artwork. */
@media (max-width: 520px) and (max-height: 750px) {
  #registrationPage form {
    padding: 8px;
  }

  #registrationPage .form-grid {
    gap: 6px;
  }

  #registrationPage .field label {
    margin-bottom: 3px;
    font-size: 11px;
  }

  #registrationPage .control {
    min-height: 33px;
  }

  #registrationPage .control input,
  #registrationPage .control select {
    height: 31px;
    font-size: 11px;
  }

  #registrationPage .secondary-button {
    min-height: 33px;
  }

  #registrationPage .primary-button {
    min-height: 37px;
  }

  #rewardPage.active {
    width: min(88%, 360px);
  }

  #rewardPage .scratch-area {
    padding: 12px;
  }
}

/* The scrollable mobile artwork is width-fitted, so its quote uses the width ratio. */
@media (max-width: 760px) and (max-height: 900px) {
  #registrationPage.active {
    margin-top: calc(66.67vw + 2mm);
  }
}

/* Large portrait devices need the mobile campaign composition, not the compact desktop card. */
@media (min-width: 761px) and (orientation: portrait) {
  body:has(#registrationPage) .campaign-visual {
    position: absolute;
    height: max(100vh, 217.42vw);
    min-height: max(100vh, 217.42vw);
  }

  body:has(#registrationPage) .campaign-visual__image {
    background-position: center top;
    background-size: 100% auto;
  }

  body:has(#registrationPage) .campaign-content {
    width: 100%;
    min-height: 100vh;
    margin: 0;
    padding: 0 10px calc(8px + env(safe-area-inset-bottom));
  }

  body:has(#registrationPage) .topbar {
    display: none;
  }

  #registrationPage,
  #registrationPage.active {
    width: min(97%, 520px);
  }

  #registrationPage.active {
    margin: calc(66.67vw + 2mm) auto 0;
  }

  #registrationPage form {
    padding: 11px 13px;
  }

  #registrationPage .form-grid {
    gap: 7px 10px;
  }

  #registrationPage .field label {
    margin-bottom: 3px;
    font-size: 11px;
  }

  #registrationPage .control {
    min-height: 32px;
  }

  #registrationPage .control input,
  #registrationPage .control select {
    height: 30px;
    font-size: 11px;
  }

  #registrationPage .secondary-button {
    min-width: 80px;
    min-height: 38px;
    font-size: 10px;
  }

  #registrationPage .primary-button {
    min-height: 39px;
    font-size: 13px;
  }
}
