:root {
  --black: #050505;
  --ink: #101216;
  --yellow: #ffc400;
  --blue: #075ed1;
  --white: #ffffff;
  --muted: #a9afb9;
  --line: rgba(255, 255, 255, 0.15);
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  background: var(--black);
}

body {
  min-height: 100vh;
  margin: 0;
  color: var(--white);
  background: var(--black);
  font-family: Arial, Helvetica, sans-serif;
}

button,
input {
  font: inherit;
}

.campaign-shell {
  min-height: 100vh;
  display: grid;
  place-items: center;
  overflow: hidden;
  position: relative;
  background:
    radial-gradient(circle at 50% -10%, rgba(255, 196, 0, 0.16), transparent 34%),
    radial-gradient(circle at 10% 90%, rgba(7, 94, 209, 0.16), transparent 34%),
    radial-gradient(circle at 90% 90%, rgba(255, 196, 0, 0.08), transparent 30%),
    #050505;
}

.redeem-panel {
  position: relative;
  z-index: 2;
  display: grid;
  align-items: center;
  width: 100%;
  min-height: 100vh;
  padding: 48px clamp(28px, 4vw, 72px);
  background: transparent;
}

.redeem-panel::before,
.redeem-panel::after {
  content: "";
  position: absolute;
  width: 210px;
  height: 10px;
  pointer-events: none;
  transform: skewX(-28deg) rotate(-12deg);
}

.redeem-panel::before {
  top: 28px;
  right: -32px;
  background: var(--yellow);
  box-shadow: 0 18px 0 rgba(255, 196, 0, 0.35);
}

.redeem-panel::after {
  bottom: 34px;
  left: -62px;
  background: var(--blue);
  box-shadow: 0 18px 0 rgba(7, 94, 209, 0.34);
}

.redeem-panel__inner {
  width: min(100%, 560px);
  margin: auto;
}

.flow-step[data-step="1"] {
  text-align: center;
}

.flow-step[data-step="1"] h1,
.flow-step[data-step="1"] .intro {
  margin-left: auto;
  margin-right: auto;
}

.flow-step[data-step="1"] .coupon-form {
  text-align: left;
}

.flow-step[hidden] {
  display: none;
}

.flow-step.is-active {
  animation: step-in 260ms ease both;
}

@keyframes step-in {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.brand-logo {
  width: min(340px, 78vw);
  height: auto;
  display: block;
  margin: 0 auto 42px;
}

.step-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 18px;
  color: #d5d8de;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.step-pill span {
  width: 25px;
  height: 25px;
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  color: var(--black);
  background: var(--yellow);
}

h1,
h2 {
  max-width: 430px;
  margin: 0;
  font-size: clamp(46px, 5vw, 72px);
  line-height: 0.9;
  letter-spacing: -0.045em;
  text-transform: uppercase;
}

h1 em,
h2 em {
  display: block;
  color: var(--yellow);
  font-style: normal;
}

h2 {
  font-size: clamp(40px, 4.5vw, 62px);
}

.intro {
  max-width: 390px;
  margin: 22px 0 30px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.55;
}

.coupon-form label {
  display: block;
  margin-bottom: 9px;
  color: #e8e9ec;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.coupon-entry {
  min-height: 62px;
  display: flex;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.06);
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.coupon-entry:focus-within {
  border-color: var(--yellow);
  box-shadow: 0 0 0 4px rgba(255, 196, 0, 0.12);
}

.coupon-entry__prefix {
  margin-left: 18px;
  padding-right: 15px;
  border-right: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--yellow);
  font-size: 21px;
  font-weight: 900;
  letter-spacing: 0.08em;
  opacity: 1;
}

.coupon-entry input {
  min-width: 0;
  flex: 1;
  border: 0;
  outline: 0;
  padding: 17px 18px;
  color: var(--white);
  background: transparent;
  font-size: 21px;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.coupon-entry input::placeholder {
  color: rgba(255, 255, 255, 0.28);
}

.field-hint {
  margin: 8px 0 20px;
  color: #747b87;
  font-size: 12px;
}

.primary-button {
  width: 100%;
  min-height: 58px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 0;
  border-radius: 12px;
  padding: 0 22px;
  color: #050505;
  background: var(--yellow);
  box-shadow: 0 15px 34px rgba(255, 196, 0, 0.18);
  cursor: pointer;
  font-weight: 900;
  text-transform: uppercase;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.primary-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 38px rgba(255, 196, 0, 0.25);
}

.primary-button:focus-visible {
  outline: 3px solid var(--white);
  outline-offset: 3px;
}

.primary-button:disabled {
  opacity: 0.68;
  cursor: wait;
  transform: none;
}

.primary-button span {
  font-size: 25px;
}

.trust-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 28px;
  color: #8f96a1;
  font-size: 11px;
  line-height: 1.35;
}

.trust-row span {
  padding-top: 12px;
  border-top: 2px solid rgba(255, 255, 255, 0.1);
}

.trust-row b {
  color: var(--white);
}

.legal {
  margin: 25px 0 0;
  color: #5d636d;
  font-size: 10px;
  line-height: 1.5;
}

.legal--global {
  margin-top: 24px;
}

.back-button {
  display: block;
  margin: 0 0 20px;
  border: 0;
  padding: 0;
  color: #8f96a1;
  background: transparent;
  cursor: pointer;
  font-size: 12px;
  font-weight: 700;
}

.back-button:hover {
  color: var(--white);
}

.intro--compact {
  margin-top: 16px;
  margin-bottom: 22px;
  font-size: 15px;
}

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

.field {
  margin-bottom: 14px;
}

.field label,
.intent-options legend {
  display: block;
  margin: 0 0 7px;
  color: #e8e9ec;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.field input,
.field select {
  width: 100%;
  min-height: 50px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 10px;
  outline: 0;
  padding: 0 14px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.06);
}

.field select {
  color-scheme: light;
}

.field select option {
  color: #111318;
  background: #ffffff;
}

.field input:focus,
.field select:focus {
  border-color: var(--yellow);
  box-shadow: 0 0 0 3px rgba(255, 196, 0, 0.11);
}

.field input[aria-invalid="true"],
.field select[aria-invalid="true"] {
  border-color: #ff6b6b;
}

.field-error {
  min-height: 15px;
  display: block;
  margin-top: 4px;
  color: #ff9696;
  font-size: 10px;
}

.intent-options {
  min-width: 0;
  margin: 2px 0 15px;
  border: 0;
  padding: 0;
}

.choice-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 7px;
}

.choice {
  cursor: pointer;
}

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

.choice span {
  min-height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 9px;
  padding: 6px;
  color: #bcc1c9;
  background: rgba(255, 255, 255, 0.05);
  font-size: 12px;
  font-weight: 800;
  text-align: center;
}

.choice input:checked + span {
  border-color: var(--yellow);
  color: var(--black);
  background: var(--yellow);
}

.choice input:focus-visible + span {
  outline: 2px solid var(--white);
  outline-offset: 2px;
}

.privacy-choice {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 9px;
  align-items: start;
  margin: 0 0 4px;
  color: #999faa;
  cursor: pointer;
  font-size: 11px;
  line-height: 1.45;
}

.privacy-choice input {
  width: 17px;
  height: 17px;
  margin: 0;
  accent-color: var(--yellow);
}

.form-message {
  margin: 0 0 14px;
  border-radius: 9px;
  padding: 10px 12px;
  font-size: 12px;
  line-height: 1.4;
}

.form-message--error {
  border: 1px solid rgba(255, 107, 107, 0.35);
  color: #ffc0c0;
  background: rgba(191, 45, 45, 0.16);
}

.success-step {
  text-align: left;
}

.success-mark {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  border-radius: 50%;
  color: var(--black);
  background: var(--yellow);
  box-shadow: 0 0 0 10px rgba(255, 196, 0, 0.1);
  font-size: 29px;
  font-weight: 900;
}

.step-pill--success {
  margin-bottom: 9px;
}

.success-kicker {
  margin: 0 0 8px;
  color: var(--yellow);
  font-size: 16px;
  font-weight: 900;
  text-transform: uppercase;
}

.prize-title {
  color: var(--white);
  font-size: clamp(38px, 4.3vw, 58px);
}

.prize-detail {
  margin: 14px 0 19px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.5;
}

.deadline-card {
  display: grid;
  gap: 4px;
  margin-bottom: 16px;
  border-left: 4px solid var(--yellow);
  padding: 11px 14px;
  color: #a7adb6;
  background: rgba(255, 196, 0, 0.08);
  font-size: 11px;
  text-transform: uppercase;
}

.deadline-card strong {
  color: var(--white);
  font-size: 15px;
}

.branch-card {
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 12px;
  padding: 17px;
  background: rgba(255, 255, 255, 0.055);
}

.branch-card__eyebrow {
  color: var(--yellow);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.branch-card h3 {
  margin: 6px 0 7px;
  font-size: 19px;
}

.branch-card p {
  margin: 0;
  color: #9ca2ac;
  font-size: 12px;
  line-height: 1.45;
}

.branch-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 15px;
}

.secondary-button,
.primary-button--small {
  min-height: 42px;
  display: grid;
  place-items: center;
  border-radius: 9px;
  padding: 7px 10px;
  font-size: 11px;
  font-weight: 900;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
}

.secondary-button {
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: var(--white);
}

.primary-button--small {
  width: auto;
  color: var(--black);
}

.folio {
  margin: 15px 0 0;
  color: #6f7680;
  font-size: 10px;
  text-align: center;
  text-transform: uppercase;
}

.folio strong {
  color: #b7bcc4;
}

.legal--success {
  margin-top: 10px;
  text-align: center;
}

.registration-inner {
  width: min(100%, 620px);
}

.registration-step[hidden] {
  display: none;
}

.registration-step.is-active {
  animation: step-in 260ms ease both;
}

.registration-step h1,
.registration-step h2 {
  max-width: 560px;
}

.registration-form {
  margin-top: 8px;
}

.registration-privacy {
  margin: 13px auto 0;
  color: #747b87;
  font-size: 10px;
  line-height: 1.5;
  text-align: center;
}

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

.registration-success .success-mark {
  margin-right: auto;
  margin-left: auto;
}

.registration-success h2,
.registration-success .intro {
  margin-right: auto;
  margin-left: auto;
}

.registration-number-card {
  display: grid;
  gap: 6px;
  margin: 26px 0 18px;
  border: 2px solid var(--yellow);
  border-radius: 16px;
  padding: 20px;
  background: rgba(255, 196, 0, 0.08);
  box-shadow: 0 18px 46px rgba(255, 196, 0, 0.12);
  text-align: center;
}

.registration-number-card span {
  color: #b7bcc4;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.registration-number-card strong {
  color: var(--yellow);
  font-size: clamp(58px, 10vw, 86px);
  line-height: 0.95;
  letter-spacing: 0.08em;
}

.registration-data-card {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.12);
  text-align: left;
}

.registration-data-card div {
  min-height: 84px;
  display: grid;
  align-content: center;
  gap: 7px;
  padding: 16px;
  background: #111317;
}

.registration-data-card span {
  color: #747b87;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.registration-data-card strong {
  color: var(--white);
  font-size: 13px;
  line-height: 1.4;
}

.existing-registration {
  margin: 16px 0 0;
  border-radius: 10px;
  padding: 11px 14px;
  color: #dce8ff;
  background: rgba(7, 94, 209, 0.16);
  font-size: 11px;
  line-height: 1.45;
}

@media (max-width: 960px) {
  .redeem-panel {
    min-height: 650px;
    padding-top: 26px;
  }

  .brand-logo {
    margin-bottom: 32px;
  }
}

@media (max-width: 560px) {
  .redeem-panel {
    min-height: auto;
    padding: 24px 20px 52px;
  }

  .brand-logo {
    width: min(300px, 82vw);
    margin-bottom: 26px;
  }

  h1 {
    font-size: clamp(43px, 15vw, 60px);
  }

  .intro {
    margin-bottom: 24px;
  }

  .trust-row {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .form-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .choice-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .branch-actions {
    grid-template-columns: 1fr;
  }

  .registration-data-card {
    grid-template-columns: 1fr;
  }

  .trust-row span {
    padding: 8px 0 0;
  }
}

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