/* Bonus arc: explainer video, quiz, referral program */
.video-embed {
  margin-top: 26px;
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #06080c;
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
}
.video-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.video-embed-placeholder {
  margin-top: 26px;
  width: 100%;
  aspect-ratio: 16 / 9;
}
.video-embed.video-layer {
  margin-top: 0;
  position: fixed;
  width: auto;
  aspect-ratio: auto;
  z-index: 60;
}
.video-embed.fs-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  width: auto;
  aspect-ratio: auto;
  margin: 0;
  border: 0;
  border-radius: 0;
  background: #000;
}
.fs-btn {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  font: inherit;
  font-size: 13px;
  font-weight: 800;
  color: #fff;
  background: rgba(7, 13, 26, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 99px;
  padding: 8px 14px;
  cursor: pointer;
  backdrop-filter: blur(6px);
  transition: background 0.15s ease, border-color 0.15s ease;
}
.fs-btn:hover {
  background: rgba(7, 13, 26, 0.95);
  border-color: var(--cyan);
}
.gate-hint {
  font-size: 13px;
  color: var(--faint);
  max-width: 30ch;
  line-height: 1.45;
}

/* quiz */
.quiz-list {
  margin-top: 26px;
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.quiz-q-title {
  font-size: 16.5px;
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 10px;
}
.quiz-opts {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.quiz-opt {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  text-align: left;
  font: inherit;
  font-size: 15px;
  color: var(--ink);
  background: rgba(16, 26, 48, 0.72);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 13px 16px;
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease;
}
.quiz-opt:hover { border-color: rgba(38, 201, 242, 0.5); }
.quiz-opt.right {
  border-color: rgba(61, 220, 151, 0.7);
  background: rgba(61, 220, 151, 0.10);
}
.quiz-opt.wrong {
  border-color: rgba(244, 103, 125, 0.7);
  background: rgba(244, 103, 125, 0.10);
}
.quiz-opt .mark {
  font-size: 13px;
  font-weight: 800;
  white-space: nowrap;
}
.quiz-opt.right .mark { color: var(--green, #3ddc97); }
.quiz-opt.wrong .mark { color: #f4677d; }

/* referral program */
.rerun-link {
  color: var(--cyan);
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}
.rerun-link:hover { text-decoration: underline; }
.refprog {
  margin-top: 26px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.refprog-block {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: rgba(16, 26, 48, 0.72);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 16px 18px;
}
.refprog-block .n {
  font-size: 13px;
  font-weight: 800;
  color: var(--pink);
  letter-spacing: 0.08em;
  padding-top: 2px;
  flex: none;
}
.refprog-block .t {
  font-size: 15px;
  line-height: 1.6;
  color: var(--muted);
}
.refprog-block .t strong { color: var(--ink); }
.refprog-attention {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: rgba(177, 140, 255, 0.08);
  border: 1px solid rgba(177, 140, 255, 0.45);
  border-radius: 12px;
  padding: 16px 18px;
}
.refprog-attention-icon {
  flex: none;
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1.5px solid #b18cff;
  color: #b18cff;
  font-size: 15px;
  font-weight: 800;
  margin-top: 2px;
}
.refprog-callout {
  font-size: 18px;
  line-height: 1.45;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: #b18cff;
  text-wrap: pretty;
}

/* confirm flow */
.confirm-box {
  margin-top: 28px;
  background: rgba(245, 132, 238, 0.06);
  border: 1px solid rgba(245, 132, 238, 0.4);
  border-radius: 16px;
  padding: 22px 24px;
  max-width: 520px;
}
.confirm-title {
  font-size: 20px;
  font-weight: 800;
  color: var(--ink);
}
.confirm-copy {
  margin-top: 8px;
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--muted);
}
.confirm-copy strong { color: var(--ink); }
.confirm-input {
  display: block;
  width: 100%;
  margin: 16px 0;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 800;
}
.confirm-done {
  margin-top: 28px;
  background: rgba(61, 220, 151, 0.07);
  border: 1px solid rgba(61, 220, 151, 0.45);
  border-radius: 16px;
  padding: 22px 24px;
  max-width: 560px;
}
.confirm-done .big {
  font-size: 22px;
  font-weight: 800;
  color: var(--green, #3ddc97);
}
.confirm-done p {
  margin-top: 8px;
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--muted);
}
.confirm-done strong { color: var(--ink); }

/* bonus banner on the Close step */
.bonus-banner {
  margin-top: 26px;
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  background: rgba(38, 201, 242, 0.06);
  border: 1px solid rgba(38, 201, 242, 0.4);
  border-radius: 14px;
  padding: 14px 18px;
}
.bonus-tag {
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cyan);
  white-space: nowrap;
}
.bonus-copy {
  flex: 1;
  min-width: 220px;
  font-size: 14px;
  line-height: 1.5;
  color: var(--muted);
}

/* close-step CTA row: keep each button on one line so they sit side by side */
.cta-row .btn { white-space: nowrap; }

