:root {
  --redeem-bg: #020a13;
  --redeem-panel: #081522;
  --redeem-panel-light: #102235;
  --redeem-line: rgba(90, 132, 170, .24);
  --redeem-text: #f2f5f9;
  --redeem-muted: #748ba4;
  --redeem-blue: #5cb8ff;
  --redeem-blue-deep: #258ee9;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  scroll-behavior: smooth;
  background: var(--redeem-bg);
}

body {
  margin: 0;
}

button,
a {
  font: inherit;
}

a {
  color: inherit;
  text-decoration: none;
}

.redeem-body {
  min-height: 100vh;
  overflow-x: hidden;
  color: var(--redeem-text);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at 50% -8%, rgba(18, 68, 115, .52), transparent 33%),
    radial-gradient(circle at 2% 22%, rgba(22, 74, 122, .2), transparent 25%),
    linear-gradient(180deg, #061728 0, #020c16 35%, #020a13 100%);
}

.redeem-page {
  position: relative;
  isolation: isolate;
}

.redeem-page::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    linear-gradient(120deg, transparent 0 46%, rgba(68, 151, 220, .025) 46% 48%, transparent 48% 100%),
    radial-gradient(ellipse at center, transparent 38%, rgba(0, 5, 10, .55) 100%);
}

.redeem-hero {
  width: min(1280px, calc(100% - 40px));
  min-height: 575px;
  margin: 0 auto;
  display: grid;
  place-items: center;
  position: relative;
}

.redeem-hero::before {
  content: "";
  position: absolute;
  width: min(920px, 76vw);
  height: 390px;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(22, 76, 125, .3), transparent 67%);
  filter: blur(8px);
}

.redeem-hero-copy {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 32px;
}

.redeem-stake-logo {
  width: clamp(142px, 14vw, 190px);
  height: auto;
  display: block;
  object-fit: contain;
  filter: drop-shadow(0 12px 25px rgba(0, 0, 0, .42));
}

.redeem-hero h1 {
  margin: -10px 0 0;
  color: var(--redeem-blue);
  font-size: clamp(82px, 11vw, 166px);
  font-weight: 900;
  line-height: .88;
  letter-spacing: -.075em;
  background: linear-gradient(180deg, #9bd4ff 0%, #70bfff 48%, #48a5f1 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 20px 25px rgba(0, 0, 0, .28));
}

.redeem-home-mark,
.redeem-symbol {
  position: absolute;
  z-index: 3;
  display: block;
  object-fit: contain;
  filter: drop-shadow(0 12px 24px rgba(0, 0, 0, .45));
}

.redeem-home-mark {
  top: 52px;
  left: 8%;
  width: 82px;
  height: 82px;
  padding: 5px;
  border-radius: 50%;
  transition: transform .2s ease, filter .2s ease;
}

.redeem-home-mark img {
  width: 100%;
  height: 100%;
  display: block;
}

.redeem-home-mark:hover {
  transform: translateY(-2px) scale(1.04);
  filter: brightness(1.1) drop-shadow(0 14px 26px rgba(0, 0, 0, .52));
}

.redeem-home-mark:focus-visible,
.redeem-visit-button:focus-visible,
.redeem-code-button:focus-visible {
  outline: 3px solid #83ccff;
  outline-offset: 4px;
}

.redeem-symbol-left-down {
  left: 6%;
  top: 52%;
  width: 80px;
}

.redeem-symbol-right-up {
  right: 9%;
  top: 52px;
  width: 70px;
}

.redeem-symbol-right-down {
  right: 7%;
  top: 51%;
  width: 92px;
}

.redeem-symbol-left-down,
.redeem-symbol-right-down {
  animation: redeemFloat 5.5s ease-in-out infinite;
}

.redeem-symbol-right-up {
  animation: redeemFloat 6.5s ease-in-out -1.5s infinite;
}

@keyframes redeemFloat {
  0%, 100% { transform: translateY(0) rotate(-2deg); }
  50% { transform: translateY(-10px) rotate(2deg); }
}

.redeem-steps {
  width: min(1085px, calc(100% - 40px));
  margin: 0 auto;
  display: grid;
  gap: 44px;
}

.redeem-step {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(79, 121, 158, .1);
  border-radius: 22px;
  background-color: var(--redeem-panel);
  box-shadow: 0 32px 85px rgba(0, 0, 0, .4), inset 0 1px rgba(255, 255, 255, .018);
}

.redeem-step::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: radial-gradient(circle at 55% 20%, rgba(45, 111, 166, .055), transparent 42%);
}

.redeem-step > * {
  position: relative;
  z-index: 1;
}

.redeem-step-one {
  min-height: 660px;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(370px, .92fr);
  align-items: stretch;
  padding: 42px 40px 0;
  background-image: url("/assets/images/redeem/rectangle-step1.png");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 100% 100%;
}

.redeem-step-copy {
  min-width: 0;
  padding: 0 8px 54px 0;
}

.redeem-step-heading {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 38px;
}

.redeem-step-heading::after {
  content: "";
  position: absolute;
  left: 10px;
  bottom: -17px;
  width: min(360px, 76%);
  height: 1px;
  background: linear-gradient(90deg, rgba(107, 155, 195, .68), transparent);
}

.redeem-step-number {
  width: 52px;
  height: 52px;
  flex: 0 0 52px;
  display: grid;
  place-items: center;
  border: 1px solid #3e5e7e;
  border-radius: 7px;
  color: var(--redeem-blue);
  background: linear-gradient(145deg, rgba(23, 44, 65, .88), rgba(8, 23, 37, .88));
  transform: rotate(45deg);
  box-shadow: inset 0 1px rgba(255, 255, 255, .04);
}

.redeem-step-number b {
  font-size: 21px;
  transform: rotate(-45deg);
}

.redeem-step h2 {
  margin: 0;
  color: #f0f3f7;
  font-size: clamp(34px, 4.1vw, 52px);
  line-height: 1.08;
  letter-spacing: -.045em;
}

.redeem-step h2 span {
  color: var(--redeem-blue);
}

.redeem-lead,
.redeem-step-intro {
  color: var(--redeem-muted);
  font-size: 18px;
  line-height: 1.75;
}

.redeem-lead {
  max-width: 560px;
  margin: 62px 0 30px;
}

.redeem-lead strong {
  color: var(--redeem-blue);
  font-weight: 600;
}

.redeem-actions {
  display: flex;
  align-items: stretch;
  gap: 12px;
}

.redeem-visit-button,
.redeem-code-button {
  min-height: 60px;
  border-radius: 8px;
  cursor: pointer;
  transition: transform .18s ease, filter .18s ease, border-color .18s ease;
}

.redeem-visit-button:hover,
.redeem-code-button:hover {
  transform: translateY(-2px);
  filter: brightness(1.08);
}

.redeem-visit-button {
  min-width: 224px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 8px 19px;
  color: #fff;
  border: 1px solid #72c7ff;
  background: linear-gradient(180deg, #63bcff, #399deb);
  box-shadow: inset 0 1px rgba(255, 255, 255, .24), 0 12px 25px rgba(14, 90, 151, .2);
  font-weight: 800;
}

.redeem-visit-button img {
  width: 88px;
  height: 40px;
  display: block;
  object-fit: contain;
}

.redeem-visit-button > span:last-child {
  font-size: 30px;
  line-height: 1;
}

.redeem-code-button {
  min-width: 205px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 10px 17px;
  border: 1px solid #405e7e;
  color: #9fb0c4;
  background: linear-gradient(180deg, #1a2e48, #13273e);
}

.redeem-code-button b {
  color: #e9eef5;
  font-size: 18px;
}

.redeem-code-button img {
  width: 14px;
  height: 14px;
  image-rendering: auto;
}

.redeem-code-button.is-copied {
  color: #9af1c8;
  border-color: rgba(70, 222, 149, .6);
}

.redeem-copy-status {
  min-height: 22px;
  margin: 10px 0 0;
  color: #75e4b3;
  font-size: 13px;
  font-weight: 700;
}

.redeem-registration-art {
  min-width: 0;
  margin: 0;
  align-self: end;
  display: flex;
  justify-content: center;
  align-items: flex-end;
}

.redeem-registration-art img {
  width: min(100%, 470px);
  max-height: 610px;
  display: block;
  object-fit: contain;
  object-position: center bottom;
  filter: drop-shadow(0 24px 35px rgba(0, 0, 0, .35));
}

.redeem-step-two,
.redeem-step-three {
  padding: 46px 40px 54px;
  background-image: url("/assets/images/redeem/rectangle-step2-3.png");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 100% 100%;
}

.redeem-instructions {
  display: grid;
  gap: 30px;
  margin-top: 56px;
}

.redeem-instruction {
  display: grid;
  grid-template-columns: minmax(0, 1.42fr) minmax(250px, .92fr);
  gap: 34px;
  align-items: center;
}

.redeem-instruction-art {
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(82, 125, 169, .2);
  border-radius: 10px;
  background: #0b1428;
  box-shadow: 0 18px 38px rgba(0, 0, 0, .2);
}

.redeem-instruction-art img {
  width: 100%;
  height: auto;
  display: block;
}

.redeem-instruction-copy > span {
  color: #41627f;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .16em;
}

.redeem-instruction-copy h3,
.redeem-feature h3 {
  margin: 7px 0 8px;
  color: #e8edf3;
  font-size: 21px;
  line-height: 1.25;
}

.redeem-instruction-copy h3 b,
.redeem-instruction-copy p strong {
  color: var(--redeem-blue);
}

.redeem-instruction-copy p,
.redeem-feature p {
  margin: 0;
  color: var(--redeem-muted);
  font-size: 14px;
  line-height: 1.6;
}

.redeem-step-intro {
  max-width: 960px;
  margin: 58px 0 30px;
}

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

.redeem-feature {
  min-width: 0;
  min-height: 112px;
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 21px 24px;
  border: 1px solid rgba(84, 126, 164, .25);
  border-radius: 14px;
  background: linear-gradient(145deg, rgba(22, 39, 59, .9), rgba(15, 29, 45, .92));
  box-shadow: inset 0 1px rgba(255, 255, 255, .022);
}

.redeem-feature-icon {
  width: 58px;
  height: 58px;
  flex: 0 0 58px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(86, 183, 255, .28);
  border-radius: 50%;
  color: var(--redeem-blue);
  background: rgba(43, 113, 169, .12);
}

.redeem-feature-icon svg {
  width: 31px;
  height: 31px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.redeem-feature-icon > img {
  width: 48px;
  height: 48px;
  display: block;
  object-fit: contain;
}

.redeem-payment-icons {
  width: 112px;
  flex-basis: 112px;
  display: flex;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.redeem-payment-icons > img {
  width: 43px;
  height: 43px;
  flex: 0 0 43px;
  margin-left: -7px;
  filter: drop-shadow(0 7px 12px rgba(0, 0, 0, .3));
}

.redeem-payment-icons > img:first-child { margin-left: 0; }
.redeem-feature-stake > img { width: 54px; height: 54px; }

.redeem-feature h3 {
  margin-top: 0;
  font-size: 17px;
}

@media (max-width: 900px) {
  .redeem-hero {
    min-height: 475px;
  }

  .redeem-step-one {
    grid-template-columns: 1fr;
    padding: 38px 34px 0;
  }

  .redeem-step-copy {
    padding-bottom: 12px;
  }

  .redeem-lead {
    max-width: 680px;
  }

  .redeem-registration-art img {
    width: min(75%, 525px);
    max-height: none;
  }

  .redeem-instruction {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .redeem-instruction-copy {
    padding: 0 8px 8px;
  }
}

@media (max-width: 650px) {
  .redeem-body {
    background:
      radial-gradient(circle at 50% 0, rgba(19, 70, 117, .46), transparent 25%),
      linear-gradient(180deg, #061422 0, #020a13 42%, #020810 100%);
  }

  .redeem-hero,
  .redeem-steps {
    width: calc(100% - 20px);
  }

  .redeem-hero {
    min-height: 370px;
  }

  .redeem-hero-copy {
    padding-top: 18px;
  }

  .redeem-stake-logo {
    width: 122px;
  }

  .redeem-hero h1 {
    margin-top: -4px;
    font-size: clamp(58px, 21vw, 86px);
    letter-spacing: -.07em;
  }

  .redeem-home-mark {
    top: 24px;
    left: 11px;
    width: 58px;
    height: 58px;
  }

  .redeem-symbol-right-up {
    top: 29px;
    right: 14px;
    width: 50px;
  }

  .redeem-symbol-left-down {
    left: 6px;
    top: 66%;
    width: 54px;
  }

  .redeem-symbol-right-down {
    right: 3px;
    top: 66%;
    width: 59px;
  }

  .redeem-steps {
    gap: 20px;
  }

  .redeem-step {
    border-radius: 16px;
  }

  .redeem-step-one,
  .redeem-step-two,
  .redeem-step-three {
    padding-right: 20px;
    padding-left: 20px;
  }

  .redeem-step-one {
    padding-top: 29px;
  }

  .redeem-step-two,
  .redeem-step-three {
    padding-top: 30px;
    padding-bottom: 30px;
  }

  .redeem-step-heading {
    gap: 14px;
    margin-bottom: 30px;
  }

  .redeem-step-heading::after {
    bottom: -14px;
  }

  .redeem-step-number {
    width: 40px;
    height: 40px;
    flex-basis: 40px;
    border-radius: 5px;
  }

  .redeem-step-number b {
    font-size: 17px;
  }

  .redeem-step h2 {
    font-size: clamp(28px, 8.5vw, 38px);
  }

  .redeem-lead,
  .redeem-step-intro {
    font-size: 14px;
    line-height: 1.7;
  }

  .redeem-lead,
  .redeem-step-intro,
  .redeem-instructions {
    margin-top: 46px;
  }

  .redeem-actions {
    flex-direction: column;
  }

  .redeem-visit-button,
  .redeem-code-button {
    width: 100%;
    min-width: 0;
    min-height: 56px;
  }

  .redeem-registration-art img {
    width: min(100%, 450px);
  }

  .redeem-instructions {
    gap: 28px;
  }

  .redeem-instruction {
    gap: 13px;
  }

  .redeem-instruction-copy h3 {
    font-size: 19px;
  }

  .redeem-feature-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .redeem-feature {
    min-height: 96px;
    gap: 15px;
    padding: 16px;
  }

  .redeem-feature-icon {
    width: 48px;
    height: 48px;
    flex-basis: 48px;
  }

  .redeem-feature-icon svg {
    width: 26px;
    height: 26px;
  }

  .redeem-feature-icon > img {
    width: 41px;
    height: 41px;
  }

  .redeem-payment-icons {
    width: 94px;
    flex-basis: 94px;
  }

  .redeem-payment-icons > img {
    width: 37px;
    height: 37px;
    flex-basis: 37px;
    margin-left: -8px;
  }

  .redeem-payment-icons > img:first-child { margin-left: 0; }
  .redeem-feature-stake > img { width: 45px; height: 45px; }

  .redeem-feature h3 {
    font-size: 15px;
  }

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

}

@media (max-width: 380px) {
  .redeem-step-one,
  .redeem-step-two,
  .redeem-step-three {
    padding-right: 15px;
    padding-left: 15px;
  }

  .redeem-step-heading {
    gap: 11px;
  }

  .redeem-step h2 {
    font-size: 27px;
  }

}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .redeem-symbol,
  .redeem-home-mark,
  .redeem-visit-button,
  .redeem-code-button {
    animation: none !important;
    transition: none !important;
  }
}
