.welcome-walkthrough-backdrop {
  z-index: 1200;
  padding: 34px;
  background: rgba(0, 0, 0, 0.78);
  backdrop-filter: blur(10px);
}

.welcome-walkthrough-modal {
  width: min(1036px, calc(100vw - 68px));
  min-height: 0;
  height: min(728px, calc(100vh - 68px));
  grid-template-columns: 1fr 1fr;
  border: 1px solid rgba(8, 231, 212, 0.22);
  border-radius: 7px;
  background: #07165f;
  box-shadow: 0 32px 110px rgba(0, 0, 0, 0.72);
}

.welcome-walkthrough-video {
  min-height: 0;
  background: #061441;
}

.welcome-walkthrough-video::after { background: rgba(3, 10, 38, 0.12); }

.welcome-walkthrough-video img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.welcome-walkthrough-video.is-intro img {
  filter: saturate(1.28) contrast(1.1) brightness(0.52);
}

.welcome-intro-title {
  position: absolute;
  z-index: 2;
  top: 50%;
  left: 50%;
  width: min(72%, 300px);
  transform: translate(-50%, -50%);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(35px, 4vw, 57px);
  line-height: 0.98;
  text-align: center;
  text-transform: uppercase;
}

.welcome-intro-title span,
.welcome-intro-title strong { display: block; }
.welcome-intro-title span { color: #8cff00; }
.welcome-intro-title strong { color: #fff; font-weight: 400; }

.welcome-walkthrough-copy {
  position: relative;
  padding: 42px 48px 38px;
  background: #07165f;
}

.welcome-walkthrough-close {
  position: absolute;
  z-index: 4;
  top: 16px;
  right: 16px;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.72);
}

.welcome-walkthrough-close svg { width: 20px; height: 20px; }

.welcome-walkthrough-copy > span {
  margin: 54px 0 14px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--welcome-accent);
  font-size: 20px;
  font-weight: 720;
  text-transform: none;
}

.welcome-walkthrough-copy h2 {
  font-size: clamp(28px, 2.4vw, 38px);
  line-height: 1.16;
}

.welcome-walkthrough-copy h2 strong { color: #fff; }

.welcome-walkthrough-copy p {
  max-width: 420px;
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.64);
  color: rgba(255, 255, 255, 0.66);
  font-size: 16px;
  line-height: 1.48;
}

.welcome-walkthrough-dots {
  margin: 0;
  padding: 0;
  gap: 11px;
}

.welcome-walkthrough-dots button {
  width: 22px;
  height: 22px;
  border: 0;
  border-radius: 50%;
  background: rgba(189, 211, 229, 0.34);
}

.welcome-walkthrough-dots button.complete { background: #dce8ef; }
.welcome-walkthrough-dots button.active {
  border: 3px solid #dce8ef;
  background: transparent;
  box-shadow: inset 0 0 0 3px #07165f;
}

.welcome-walkthrough-actions,
.welcome-walkthrough-actions > div { display: grid; }

.welcome-walkthrough-actions {
  width: min(100%, 336px);
  justify-content: stretch;
  align-items: stretch;
  gap: 12px;
  margin-top: auto;
}

.welcome-walkthrough-actions button {
  width: 100%;
  min-height: 58px;
  border-radius: 7px;
  font-size: 16px;
}

.welcome-walkthrough-actions button.primary {
  grid-row: 1;
  border: 3px solid #08e7d4;
  color: #020409;
  background: #08e7d4;
  box-shadow: inset 0 0 0 3px #07165f;
}

.welcome-walkthrough-actions button.primary.reward {
  border-color: #ffcb05;
  background: #ffcb05;
}

.welcome-walkthrough-actions > button:not(.primary) {
  min-height: 30px;
  border: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.68);
  font-size: 15px;
  font-weight: 500;
  text-transform: none;
}

.welcome-walkthrough-copy.is-intro {
  justify-content: flex-start;
  padding-top: 96px;
}

.welcome-intro-copy { text-align: center; }
.welcome-intro-copy h2 { font-size: 34px; }
.welcome-intro-copy p {
  margin: 8px auto 0;
  padding: 0;
  border: 0;
  font-size: 15px;
}

.welcome-intro-checklist {
  display: grid;
  gap: 24px;
  margin-top: 66px;
  text-align: left;
}

.welcome-intro-checklist span {
  display: flex;
  align-items: center;
  gap: 18px;
  color: #fff;
  font-size: 19px;
  font-style: italic;
}

.welcome-intro-checklist svg {
  width: 25px;
  height: 25px;
  flex: 0 0 25px;
  color: rgba(255, 255, 255, 0.24);
}

.welcome-intro-checklist .active svg { color: #8cff00; }
.welcome-walkthrough-actions.is-intro { width: 100%; }

@media (max-width: 760px) {
  .welcome-walkthrough-backdrop {
    display: block;
    padding: 0;
    background: #050916;
    backdrop-filter: none;
  }

  .welcome-walkthrough-modal {
    width: 100%;
    height: 100dvh;
    min-height: 100dvh;
    display: block;
    overflow: hidden;
    border: 0;
    border-radius: 0;
    background: #050916;
  }

  .welcome-walkthrough-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
  }

  .welcome-walkthrough-video img { object-position: center; filter: brightness(0.62) saturate(1.05); }
  .welcome-walkthrough-video::after { background: rgba(2, 8, 26, 0.44); }

  .welcome-walkthrough-copy,
  .welcome-walkthrough-copy.is-intro {
    position: relative;
    z-index: 2;
    width: 100%;
    height: 100%;
    padding: max(74px, env(safe-area-inset-top)) 30px max(28px, env(safe-area-inset-bottom));
    background: transparent;
  }

  .welcome-walkthrough-close { top: max(18px, env(safe-area-inset-top)); right: 18px; }

  .welcome-walkthrough-dots {
    justify-content: center;
    gap: 16px;
  }

  .welcome-walkthrough-dots button { width: 18px; height: 18px; }

  .welcome-walkthrough-copy > span {
    margin-top: auto;
    font-size: clamp(18px, 5vw, 23px);
  }

  .welcome-walkthrough-copy h2 {
    font-size: clamp(33px, 9vw, 54px);
    line-height: 1.2;
  }

  .welcome-walkthrough-copy p {
    margin-top: 28px;
    padding-top: 0;
    border-top: 0;
    font-size: clamp(17px, 4.8vw, 24px);
    line-height: 1.5;
  }

  .welcome-walkthrough-actions {
    width: 100%;
    margin-top: 40px;
  }

  .welcome-walkthrough-actions button.primary { min-height: 66px; font-size: 20px; }
  .welcome-intro-title { display: none; }
  .welcome-intro-copy { margin-top: auto; text-align: left; }
  .welcome-intro-copy h2 { font-size: clamp(38px, 11vw, 58px); }
  .welcome-intro-copy p { margin: 18px 0 0; }
  .welcome-intro-checklist { display: none; }
  .welcome-walkthrough-actions.is-intro { margin-top: 46px; }
}
