.redeem-page {
  min-height: 100vh;
  background: #eef7ff;
}

.redeem-main {
  position: relative;
  isolation: isolate;
  min-height: calc(100vh - 124px);
  display: grid;
  align-items: center;
  overflow: hidden;
  padding: 78px 0 92px;
  background:
    radial-gradient(circle at 90% 12%, rgba(255, 196, 77, 0.38), transparent 28%),
    linear-gradient(135deg, #fffdf7 0 54%, #eaf5ff 54% 100%);
}

.redeem-main::before {
  content: "";
  position: absolute;
  z-index: -1;
  width: 310px;
  height: 310px;
  right: -105px;
  bottom: -130px;
  border: 52px solid rgba(7, 91, 184, 0.08);
  border-radius: 50%;
}

.redeem-grid {
  position: absolute;
  z-index: -2;
  inset: 0;
  opacity: 0.35;
  background-image:
    linear-gradient(rgba(7, 91, 184, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(7, 91, 184, 0.08) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(90deg, black, transparent 68%);
}

.redeem-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(390px, 0.78fr);
  align-items: center;
  gap: clamp(54px, 8vw, 110px);
}

.redeem-copy {
  max-width: 650px;
}

.redeem-kicker {
  margin: 0 0 17px;
  color: var(--blue);
  font-size: 0.73rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.redeem-copy h1 {
  max-width: 680px;
  margin: 0;
  color: var(--blue-ink);
  font-family: "Longreach", "Syne", sans-serif;
  font-size: clamp(4.2rem, 7vw, 7.3rem);
  font-weight: 400;
  letter-spacing: 0.015em;
  line-height: 0.88;
  text-transform: uppercase;
}

.redeem-intro {
  max-width: 590px;
  margin: 27px 0 31px;
  color: #4f6275;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.72;
}

.redeem-steps {
  display: grid;
  gap: 13px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.redeem-steps li {
  display: flex;
  align-items: center;
  gap: 13px;
  color: var(--blue-ink);
  font-size: 0.83rem;
  font-weight: 700;
}

.redeem-steps span {
  width: 29px;
  height: 29px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  color: var(--blue-ink);
  background: var(--gold);
  border-radius: 50%;
  font-size: 0.72rem;
  font-weight: 800;
}

.redeem-panel {
  position: relative;
  padding: 0 34px 31px;
  background: var(--white);
  border: 1px solid rgba(7, 45, 88, 0.13);
  border-radius: 15px;
  box-shadow: 18px 22px 0 rgba(7, 91, 184, 0.12), 0 28px 65px rgba(6, 62, 128, 0.16);
  transform: rotate(0.7deg);
}

.redeem-panel__top {
  min-height: 68px;
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 -34px 28px;
  padding: 0 34px;
  color: var(--blue-ink);
  background: var(--gold);
  border-radius: 14px 14px 0 0;
}

.redeem-panel__top span {
  font-size: 1rem;
}

.redeem-panel__top p {
  margin: 0;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.redeem-form label {
  display: block;
  margin-bottom: 10px;
  color: var(--blue-ink);
  font-size: 0.78rem;
  font-weight: 800;
}

.redeem-form input {
  width: 100%;
  height: 64px;
  padding: 0 18px;
  color: var(--blue-ink);
  background: #f8fbfd;
  border: 2px solid rgba(7, 91, 184, 0.2);
  border-radius: 9px;
  outline: none;
  font-family: "Syne", sans-serif;
  font-size: 1.08rem;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  transition: border-color 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.redeem-form input:focus {
  background: var(--white);
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(7, 91, 184, 0.11);
}

.redeem-form input[aria-invalid="true"] {
  border-color: #ba2636;
}

.redeem-form__help {
  margin: 8px 0 20px;
  color: #748496;
  font-size: 0.7rem;
  font-weight: 600;
}

.redeem-submit {
  width: 100%;
  min-height: 55px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 13px;
  padding: 0 20px;
  color: var(--white);
  background: var(--blue);
  border: 0;
  border-radius: 9px;
  box-shadow: 0 12px 26px rgba(7, 91, 184, 0.24);
  font-size: 0.84rem;
  font-weight: 800;
  cursor: pointer;
  transition: transform 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.redeem-submit:hover,
.redeem-submit:focus-visible {
  background: var(--blue-dark);
  box-shadow: 0 16px 30px rgba(7, 91, 184, 0.3);
  transform: translateY(-2px);
}

.redeem-submit:disabled {
  cursor: wait;
  opacity: 0.72;
  transform: none;
}

.redeem-status {
  min-height: 21px;
  margin: 14px 0 0;
  color: #ba2636;
  font-size: 0.75rem;
  font-weight: 700;
  line-height: 1.45;
}

.redeem-status.is-success {
  color: #14733c;
}

.redeem-panel__support {
  margin: 3px 0 0;
  padding-top: 19px;
  color: #67798c;
  border-top: 1px solid rgba(7, 45, 88, 0.1);
  font-size: 0.7rem;
  font-weight: 600;
  line-height: 1.55;
}

.redeem-panel__support a {
  color: var(--blue);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 2px;
}

@media (max-width: 900px) {
  .redeem-main {
    padding-block: 64px 80px;
  }

  .redeem-layout {
    grid-template-columns: 1fr;
    gap: 50px;
  }

  .redeem-copy {
    max-width: 720px;
  }

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

@media (max-width: 560px) {
  .redeem-main {
    padding-block: 49px 68px;
  }

  .redeem-copy h1 {
    font-size: clamp(3.7rem, 17vw, 5.2rem);
  }

  .redeem-intro {
    margin-block: 22px 27px;
    font-size: 0.92rem;
  }

  .redeem-steps li {
    align-items: flex-start;
    line-height: 1.5;
  }

  .redeem-panel {
    padding: 0 22px 25px;
    box-shadow: 10px 13px 0 rgba(7, 91, 184, 0.12), 0 24px 50px rgba(6, 62, 128, 0.14);
    transform: none;
  }

  .redeem-panel__top {
    margin-inline: -22px;
    padding-inline: 22px;
  }
}
