/* ============================================================
   PIGEON CREW — NFT ONE-PAGE SITE
   Design System & All Section Styles
   ============================================================ */

/* ---------- Braos Clash Custom Font ---------- */
@font-face {
  font-family: 'Braos Clash';
  src: url('/fonts/BRAOS-CLASH.OTF') format('opentype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

/* ---------- Clash Display Font ---------- */
@import url('https://api.fontshare.com/v2/css?f[]=clash-display@200,300,400,500,600,700&display=swap');

/* ---------- CSS Custom Properties ---------- */
:root {
  /* Palette */
  --violet-neon: #8B2FC9;
  --violet-bright: #C63FD9;
  --magenta: #E040A0;
  --chrome: #C0C8D4;
  --cream: #F5E6C8;
  --turquoise: #1FBFA8;
  --gold: #FFD86B;
  --gold-dark: #D4A843;
  --green-neon: #39FF88;
  --purple-dark: #1A0A2E;
  --purple-deeper: #0D0618;
  --white: #FFFFFF;
  --error-red: #FF4D6A;

  /* Typography */
  --font-display: 'Braos Clash', 'Clash Display', sans-serif;
  --font-ui: 'Clash Display', sans-serif;

  /* Spacing */
  --section-padding: 0;

  /* Transitions */
  --transition-fast: 200ms ease;
  --transition-med: 400ms ease;
  --transition-slow: 600ms cubic-bezier(0.25, 0.1, 0.25, 1);
}

/* ---------- Reset ---------- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-ui);
  background: var(--purple-deeper);
  color: var(--cream);
  overflow-x: hidden;
  min-width: 320px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

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

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
  color: inherit;
}

input {
  font-family: inherit;
  color: inherit;
}

/* Focus visible for accessibility */
:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

/* ============================================================
   BUBBLE TEXT STYLE (mimics the logo font via CSS)
   ============================================================ */
.bubble-text {
  font-family: var(--font-display);
  font-weight: 900;
  color: var(--cream);
  text-shadow:
    -3px -3px 0 var(--purple-dark),
    3px -3px 0 var(--purple-dark),
    -3px 3px 0 var(--purple-dark),
    3px 3px 0 var(--purple-dark),
    -4px 0 0 var(--purple-dark),
    4px 0 0 var(--purple-dark),
    0 -4px 0 var(--purple-dark),
    0 4px 0 var(--purple-dark),
    0 6px 0 rgba(26, 10, 46, 0.4);
  letter-spacing: 2px;
}

/* ============================================================
   TOP NAVBAR
   ============================================================ */
.topbar {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  padding: 12px 24px;
  background: transparent;
  transition: background 0.3s ease;
}

.topbar__logo-link {
  position: relative;
  display: flex;
  align-items: center;
}

.topbar__logo {
  width: clamp(90px, 12vw, 160px);
  height: auto;
  filter: drop-shadow(0 2px 10px rgba(255, 216, 107, 0.3));
  transition: filter 0.3s ease;
}

.topbar__logo-link:hover .topbar__logo {
  filter: drop-shadow(0 2px 16px rgba(255, 216, 107, 0.5));
}

/* Golden halo behind navbar logo */
.topbar__logo-link::before {
  content: '';
  position: absolute;
  width: 130%;
  height: 180%;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  background: radial-gradient(ellipse at center, rgba(255, 216, 107, 0.4) 0%, transparent 70%);
  border-radius: 50%;
  filter: blur(30px);
  animation: glow-pulse 3s ease-in-out infinite;
  pointer-events: none;
  z-index: -1;
}

@keyframes glow-pulse {

  0%,
  100% {
    opacity: 0.3;
  }

  50% {
    opacity: 0.6;
  }
}

/* Lightning flash on navbar logo */
.topbar__lightning {
  position: absolute;
  top: -6px;
  right: -16px;
  font-size: 20px;
  opacity: 0;
  filter: drop-shadow(0 0 6px gold) drop-shadow(0 0 12px rgba(255, 216, 107, 0.6));
  animation: lightning-flash 4.5s ease-in-out infinite;
  pointer-events: none;
}

.topbar__social {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.05);
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.topbar__social svg {
  width: 18px;
  height: 18px;
  fill: var(--white);
  transition: fill 0.3s ease;
}

.topbar__social:hover {
  border-color: var(--violet-bright);
  box-shadow: 0 0 16px rgba(198, 63, 217, 0.5), 0 0 30px rgba(198, 63, 217, 0.15);
  background: rgba(139, 47, 201, 0.2);
}

.topbar__social:hover svg {
  fill: var(--violet-bright);
}

.topbar__social-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.topbar__social--disabled {
  opacity: 0.5;
  cursor: not-allowed !important;
  pointer-events: auto;
}

.topbar__social--disabled:hover {
  border-color: rgba(255, 255, 255, 0.35) !important;
  box-shadow: none !important;
  background: rgba(255, 255, 255, 0.05) !important;
}

.topbar__social--disabled:hover svg {
  fill: var(--white) !important;
}

.topbar__social-wrap .tooltip-badge {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%) translateY(4px);
  background: rgba(26, 10, 46, 0.95);
  border: 1px solid rgba(198, 63, 217, 0.5);
  color: var(--cream);
  font-family: var(--font-ui);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.5px;
  padding: 5px 12px;
  border-radius: 8px;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transition: all 0.25s ease;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.5), 0 0 12px rgba(198, 63, 217, 0.3);
  z-index: 100;
}

.topbar__social-wrap:hover .tooltip-badge {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.topbar__social--discord {
  animation: float-icon 3s ease-in-out infinite;
}

.topbar__social--x {
  animation: float-icon 3s ease-in-out 0.5s infinite;
}

@keyframes float-icon {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-3px);
  }
}

/* ============================================================
   BACKGROUNDS — Plain stacked images
   ============================================================ */
.backgrounds {
  display: block;
  width: 100%;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 0;
  pointer-events: none;
}

.backgrounds img {
  display: block;
  width: 100%;
  height: auto;
}

/* ============================================================
   SECTION 1 — HERO
   ============================================================ */
.hero {
  position: relative;
  z-index: 3;
  width: 100%;
  min-height: 46.2vw;
  /* a1.png: 887/1920 — matches background height exactly */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  overflow: hidden;
}



@keyframes neon-edge-pulse {

  0%,
  100% {
    opacity: 0.5;
  }

  50% {
    opacity: 1;
  }
}

@keyframes lightning-flash {

  0%,
  90%,
  100% {
    opacity: 0;
    transform: scale(0.8);
  }

  93% {
    opacity: 1;
    transform: scale(1.2);
  }

  96% {
    opacity: 0.3;
    transform: scale(1);
  }

  97% {
    opacity: 1;
    transform: scale(1.1);
  }
}


/* --- CTA Buttons --- */
.hero__cta-area {
  position: relative;
  z-index: 2;
  display: flex;
  gap: 20px;
  margin-top: auto;
  margin-bottom: 4.2vw;
  /* 80px at 1920px */
}




.btn-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 36px;
  border-radius: 50px;
  background: linear-gradient(135deg, var(--violet-neon), var(--violet-bright));
  border: 2px solid rgba(255, 216, 107, 0.4);
  color: var(--white);
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  box-shadow:
    0 4px 20px rgba(139, 47, 201, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.15);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  white-space: nowrap;
}

.btn-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent 0%, rgba(255, 255, 255, 0.1) 50%, transparent 100%);
  transform: translateX(-100%);
  transition: transform 0.6s ease;
}

.btn-cta:hover::before {
  transform: translateX(100%);
}

.btn-cta:hover {
  box-shadow:
    0 4px 30px rgba(198, 63, 217, 0.6),
    0 0 60px rgba(139, 47, 201, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
  border-color: rgba(255, 216, 107, 0.7);
}

.btn-cta:active {
  transform: scale(0.96) translateY(0);
  box-shadow: 0 2px 10px rgba(139, 47, 201, 0.4);
  transition: transform 0.1s ease;
}

.btn-cta--secondary {
  background: linear-gradient(135deg, rgba(139, 47, 201, 0.3), rgba(198, 63, 217, 0.3));
  border: 2px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(8px);
}

.btn-cta--secondary:hover {
  background: linear-gradient(135deg, var(--violet-neon), var(--violet-bright));
  border-color: rgba(255, 216, 107, 0.5);
}


/* ============================================================
   SECTION 2 — DISCOVER / LOCKER CAROUSEL
   ============================================================ */
.discover {
  position: relative;
  z-index: 2;
  width: 100%;
  min-height: 68vw;
  /* a2.png: 1305/1920 */
  overflow: hidden;
  /* No flex centering — children use position:absolute for pixel-perfect lock */
}



.discover__title {
  position: absolute;
  z-index: 2;
  top: 6.25vw;
  /* 120px at 1920px — locks title to same % of bg image */
  left: 0;
  right: 0;
  text-align: center;
  font-family: var(--font-display);
  font-size: clamp(36px, 6vw, 80px);
  font-weight: 900;
  letter-spacing: 2px;
  color: var(--cream);
  text-shadow:
    -3px -3px 0 var(--purple-dark),
    3px -3px 0 var(--purple-dark),
    -3px 3px 0 var(--purple-dark),
    3px 3px 0 var(--purple-dark),
    -4px 0 0 var(--purple-dark),
    4px 0 0 var(--purple-dark),
    0 -4px 0 var(--purple-dark),
    0 4px 0 var(--purple-dark),
    0 6px 0 rgba(26, 10, 46, 0.4);
  opacity: 0;
  transform: translateY(-10px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.discover__title.visible {
  opacity: 1;
  transform: translateY(0);
}

/* --- Carousel --- */
.carousel {
  position: absolute;
  /* locked to discover section */
  z-index: 2;
  top: 13vw;
  /* 250px at 1920px — NFT center on left locker door */
  left: 0;
  right: 0;
  width: 100%;
  height: 32.3vw;
  /* 620px at 1920px */
  display: flex;
  align-items: center;
  justify-content: center;
  perspective: 1200px;
}

.carousel__track {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  left: -19.8vw;
  /* -380px at 1920px — locks NFT over left locker */
}

.carousel__slide {
  position: absolute;
  width: 620px;
  height: 620px;
  transition: all 500ms cubic-bezier(0.25, 0.1, 0.25, 1);
  will-change: transform, opacity, filter;
  cursor: default;
}

/* drag cursor removed — auto-scroll only */

/* NFT Gallery card styling */
.carousel__card {
  width: 100%;
  height: 100%;
  background: transparent;
  border-radius: 20px;
  padding: 0;
  box-shadow: none;
  position: relative;
  overflow: visible;
}

/* Gold border removed per design update */

/* Blurred background version of the NFT — hidden since images have built-in frames */
.carousel__card-bg {
  display: none;
}

.carousel__card-bg img {
  display: none;
}

/* Original NFT centered on top */
.carousel__card-front {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.carousel__card-front img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  border-radius: 16px;
  filter: drop-shadow(0 6px 20px rgba(0, 0, 0, 0.5));
}

/* Carousel navigation arrows — hidden */
.carousel__arrow {
  display: none;
}

.carousel__arrow--left {
  left: calc(17vw - 230px);
}

.carousel__arrow--right {
  left: calc(17vw + 230px);
  right: auto;
}

/* Carousel dots */
.carousel__dots {
  position: absolute;
  z-index: 2;
  display: flex;
  gap: 10px;
  justify-content: left;
  margin-top: 30px;
  padding-left: 200px;
  width: 100%;
}

.carousel__dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.25);
  border: 2px solid rgba(255, 255, 255, 0.3);
  transition: all 0.3s ease;
  cursor: pointer;
}

.carousel__dot.active {
  background: var(--violet-bright);
  border-color: var(--violet-bright);
  box-shadow: 0 0 12px rgba(198, 63, 217, 0.6);
  transform: scale(1.15);
}

/* ============================================================
   STATS BAR — Project Numbers
   ============================================================ */
.stats-bar {
  position: relative;
  z-index: 4;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(24px, 6vw, 80px);
  padding: 28px 32px;
  background: linear-gradient(135deg, #1a0a2e 0%, #2d1155 50%, #1a0a2e 100%);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.stats-bar__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.stats-bar__value {
  font-family: var(--font-ui);
  font-weight: 900;
  font-style: italic;
  font-size: clamp(22px, 3.5vw, 40px);
  color: var(--cream);
  letter-spacing: 1px;
  line-height: 1.1;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.stats-bar__label {
  font-family: var(--font-ui);
  font-weight: 600;
  font-size: clamp(9px, 1.2vw, 13px);
  color: rgba(245, 230, 200, 0.5);
  letter-spacing: 2px;
  text-transform: uppercase;
}

/* ============================================================
   SECTION 3 — WHITELIST APPLICATION
   ============================================================ */
.whitelist {
  position: relative;
  z-index: 3;
  width: 100%;
  min-height: 78.33vw;
  /* a3.png: 1504/1920 — matches full purple bg height */
  overflow: hidden;
  /* Children absolutely positioned for pixel-perfect lock to background */
}



@keyframes neon-bg-pulse {

  0%,
  100% {
    opacity: 0.85;
  }

  50% {
    opacity: 1;
  }
}

.whitelist__title {
  position: absolute;
  top: 15.6vw;
  /* 300px at 1920px — locks title to purple bg */
  left: 0;
  right: 0;
  z-index: 2;
  font-family: var(--font-display);
  font-size: clamp(36px, 6vw, 80px);
  font-weight: 900;
  text-align: center;
  letter-spacing: 2px;
  color: var(--cream);
  text-shadow:
    -3px -3px 0 var(--purple-dark),
    3px -3px 0 var(--purple-dark),
    -3px 3px 0 var(--purple-dark),
    3px 3px 0 var(--purple-dark),
    -4px 0 0 var(--purple-dark),
    4px 0 0 var(--purple-dark),
    0 -4px 0 var(--purple-dark),
    0 4px 0 var(--purple-dark),
    0 6px 0 rgba(26, 10, 46, 0.4);
  margin-bottom: 0;
  opacity: 0;
  transform: translateY(-10px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.whitelist__title.visible {
  opacity: 1;
  transform: translateY(0);
}

/* --- Form Card (Glassmorphism) --- */
.form-card {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 560px;
  background: rgba(26, 10, 46, 0.6);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: 24px;
  border: 1px solid rgba(198, 63, 217, 0.3);
  box-shadow:
    0 8px 32px rgba(0, 0, 0, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
  padding: 36px 32px 40px;
  overflow: hidden;
}

/* Subtle luminous edge */
.form-card::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 20%;
  right: 20%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--violet-bright), var(--gold), var(--violet-bright), transparent);
  border-radius: 2px;
}

/* --- Progress Bar --- */
.progress-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 32px;
  position: relative;
}

.progress-bar__track {
  position: absolute;
  top: 50%;
  left: 24px;
  right: 24px;
  height: 3px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 2px;
  transform: translateY(-50%);
  z-index: 0;
}

.progress-bar__fill {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  background: linear-gradient(90deg, var(--violet-neon), var(--violet-bright), var(--gold));
  border-radius: 2px;
  transition: width 0.5s ease;
  width: 0%;
}

.progress-bar__step {
  position: relative;
  z-index: 1;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(26, 10, 46, 0.8);
  border: 2px solid rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.3);
  transition: all 0.4s ease;
}

.progress-bar__step.active {
  border-color: var(--violet-bright);
  color: var(--white);
  background: rgba(139, 47, 201, 0.5);
  box-shadow: 0 0 16px rgba(198, 63, 217, 0.4);
}

.progress-bar__step.completed {
  border-color: var(--gold);
  color: var(--gold);
  background: rgba(255, 216, 107, 0.15);
  box-shadow: 0 0 12px rgba(255, 216, 107, 0.3);
}

.progress-bar__step.locked {
  opacity: 0.4;
  cursor: not-allowed;
}

/* --- Step Panels --- */
.step-panel {
  display: none;
  animation: step-enter 0.4s ease;
}

.step-panel.active {
  display: block;
}

@keyframes step-enter {
  from {
    opacity: 0;
    transform: translateY(16px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.step-panel__label {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--violet-bright);
  margin-bottom: 6px;
}

.step-panel__title {
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 20px;
  color: var(--white);
}

.step-panel__description {
  font-size: 14px;
  color: rgba(245, 230, 200, 0.7);
  margin-bottom: 20px;
  line-height: 1.6;
}

/* --- Form Inputs --- */
.form-input {
  width: 100%;
  padding: 14px 18px;
  background: rgba(255, 255, 255, 0.06);
  border: 2px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  color: var(--cream);
  font-size: 16px;
  font-weight: 500;
  transition: all 0.3s ease;
  outline: none;
}

.form-input::placeholder {
  color: rgba(245, 230, 200, 0.3);
}

.form-input:focus {
  border-color: var(--violet-bright);
  box-shadow: 0 0 20px rgba(198, 63, 217, 0.2), 0 0 6px rgba(198, 63, 217, 0.3);
  background: rgba(255, 255, 255, 0.08);
}

.form-input.error {
  border-color: var(--error-red);
  box-shadow: 0 0 12px rgba(255, 77, 106, 0.3);
  animation: shake 0.4s ease;
}

@keyframes shake {

  0%,
  100% {
    transform: translateX(0);
  }

  20% {
    transform: translateX(-6px);
  }

  40% {
    transform: translateX(6px);
  }

  60% {
    transform: translateX(-4px);
  }

  80% {
    transform: translateX(4px);
  }
}

.form-error-msg {
  font-size: 13px;
  color: var(--error-red);
  margin-top: 8px;
  display: none;
}

.form-error-msg.visible {
  display: block;
  animation: step-enter 0.3s ease;
}

/* --- Form Buttons --- */
.btn-step {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--violet-neon), var(--violet-bright));
  color: var(--white);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.5px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 4px 16px rgba(139, 47, 201, 0.3);
  transition: all 0.3s ease;
  margin-top: 20px;
  width: 100%;
  position: relative;
  overflow: hidden;
}

.btn-step::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at var(--ripple-x, 50%) var(--ripple-y, 50%), rgba(255, 255, 255, 0.3) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.btn-step:active::after {
  opacity: 1;
}

.btn-step:hover:not(:disabled) {
  box-shadow: 0 4px 24px rgba(198, 63, 217, 0.5), 0 0 40px rgba(139, 47, 201, 0.2);
  transform: translateY(-1px);
}

.btn-step:active:not(:disabled) {
  transform: scale(0.97);
}

.btn-step:disabled {
  opacity: 0.35;
  cursor: not-allowed;
  filter: grayscale(0.4);
}

.btn-quest {
  background: linear-gradient(135deg, rgba(31, 191, 168, 0.3), rgba(57, 255, 136, 0.2));
  border: 1px solid rgba(57, 255, 136, 0.3);
}

.btn-quest:hover:not(:disabled) {
  box-shadow: 0 4px 24px rgba(57, 255, 136, 0.3), 0 0 40px rgba(31, 191, 168, 0.2);
}

.quest-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: 12px;
  background: rgba(139, 47, 201, 0.2);
  border: 1px solid rgba(198, 63, 217, 0.3);
  color: var(--violet-bright);
  font-size: 14px;
  font-weight: 600;
  transition: all 0.3s ease;
  margin-bottom: 16px;
  word-break: break-all;
}

.quest-link:hover {
  background: rgba(139, 47, 201, 0.35);
  box-shadow: 0 0 16px rgba(198, 63, 217, 0.3);
}

.quest-link svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

/* --- Input Prefix Wrapper (@username) --- */
.input-prefix-wrap {
  display: flex;
  align-items: center;
  width: 100%;
  background: rgba(255, 255, 255, 0.06);
  border: 2px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  transition: all 0.3s ease;
  overflow: hidden;
}

.input-prefix-wrap:focus-within {
  border-color: var(--violet-bright);
  box-shadow: 0 0 20px rgba(198, 63, 217, 0.2), 0 0 6px rgba(198, 63, 217, 0.3);
  background: rgba(255, 255, 255, 0.08);
}

.input-prefix {
  padding: 14px 0 14px 18px;
  color: var(--violet-bright);
  font-size: 16px;
  font-weight: 700;
  user-select: none;
  pointer-events: none;
  flex-shrink: 0;
}

.form-input--prefixed {
  border: none;
  background: transparent;
  padding: 14px 18px 14px 2px;
  flex: 1;
  min-width: 0;
}

.form-input--prefixed:focus {
  border-color: transparent;
  box-shadow: none;
  background: transparent;
}

/* --- Premium Quest Action Button --- */
.quest-action-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 14px 20px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(139, 47, 201, 0.35), rgba(198, 63, 217, 0.2));
  border: 1px solid rgba(198, 63, 217, 0.4);
  color: var(--white);
  font-family: var(--font-ui);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.3px;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
  box-shadow:
    0 4px 20px rgba(139, 47, 201, 0.25),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  margin-bottom: 16px;
}

.quest-action-btn__shine {
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg,
      transparent,
      rgba(255, 255, 255, 0.08),
      rgba(255, 255, 255, 0.15),
      rgba(255, 255, 255, 0.08),
      transparent);
  transform: skewX(-20deg);
  transition: none;
  pointer-events: none;
}

.quest-action-btn:hover .quest-action-btn__shine {
  animation: quest-shine 0.8s ease forwards;
}

@keyframes quest-shine {
  0% {
    left: -100%;
  }

  100% {
    left: 150%;
  }
}

.quest-action-btn__icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.quest-action-btn__icon-text {
  font-size: 18px;
  flex-shrink: 0;
  line-height: 1;
}

.quest-action-btn__label {
  flex: 1;
  text-align: left;
}

.quest-action-btn__arrow {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  opacity: 0.5;
  transition: all 0.3s ease;
}

.quest-action-btn:hover {
  background: linear-gradient(135deg, rgba(139, 47, 201, 0.5), rgba(198, 63, 217, 0.35));
  border-color: rgba(198, 63, 217, 0.7);
  box-shadow:
    0 6px 28px rgba(139, 47, 201, 0.4),
    0 0 40px rgba(198, 63, 217, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
  transform: translateY(-2px);
}

.quest-action-btn:hover .quest-action-btn__arrow {
  opacity: 1;
  transform: translateX(3px);
}

.quest-action-btn:active {
  transform: translateY(0) scale(0.98);
  transition: transform 0.1s ease;
}

.quest-action-btn:disabled {
  opacity: 0.3;
  cursor: not-allowed;
  filter: grayscale(0.5);
  pointer-events: none;
}

.quest-action-btn.completed {
  background: linear-gradient(135deg, rgba(57, 255, 136, 0.15), rgba(31, 191, 168, 0.1));
  border-color: rgba(57, 255, 136, 0.35);
  box-shadow: 0 4px 20px rgba(57, 255, 136, 0.15);
  cursor: default;
  pointer-events: none;
}

.quest-action-btn.verifying {
  opacity: 0.6;
  cursor: wait;
  pointer-events: none;
}

/* --- Verified Badge --- */
.quest-action-verified {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(57, 255, 136, 0.12), rgba(31, 191, 168, 0.08));
  border: 1px solid rgba(57, 255, 136, 0.3);
  color: var(--green-neon);
  font-family: var(--font-ui);
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 16px;
  animation: quest-verified-enter 0.5s ease;
}

.quest-action-verified svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

@keyframes quest-verified-enter {
  from {
    opacity: 0;
    transform: scale(0.9) translateY(8px);
  }

  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

/* --- Complete Quest Button --- */
.quest-complete-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 14px 24px;
  border-radius: 14px;
  background: rgba(139, 47, 201, 0.15);
  border: 1px solid rgba(198, 63, 217, 0.15);
  color: rgba(255, 255, 255, 0.25);
  font-family: var(--font-ui);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.5px;
  cursor: not-allowed;
  position: relative;
  overflow: hidden;
  transition: all 0.4s ease;
  margin-top: 8px;
}

.quest-complete-btn__shine {
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg,
      transparent,
      rgba(255, 255, 255, 0.06),
      rgba(255, 255, 255, 0.12),
      rgba(255, 255, 255, 0.06),
      transparent);
  transform: skewX(-20deg);
  pointer-events: none;
}

.quest-complete-btn:not(:disabled) {
  background: linear-gradient(135deg, var(--violet-neon), var(--violet-bright));
  border-color: rgba(198, 63, 217, 0.6);
  color: var(--white);
  cursor: pointer;
  box-shadow:
    0 4px 20px rgba(139, 47, 201, 0.35),
    0 0 40px rgba(198, 63, 217, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.quest-complete-btn:not(:disabled) .quest-complete-btn__shine {
  animation: quest-shine 3s ease-in-out infinite;
}

.quest-complete-btn:not(:disabled) .quest-complete-btn__label::before {
  content: '✓ ';
}

.quest-complete-btn:not(:disabled):hover {
  box-shadow:
    0 6px 28px rgba(198, 63, 217, 0.5),
    0 0 60px rgba(139, 47, 201, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.15);
  transform: translateY(-2px) scale(1.01);
}

.quest-complete-btn:not(:disabled):active {
  transform: translateY(0) scale(0.98);
  transition: transform 0.1s ease;
}

/* --- Quest Sub-steps (Like / Repost) --- */
.quest-substep {
  margin-bottom: 8px;
  transition: all 0.4s ease;
}

.quest-substep--locked {
  opacity: 0.35;
  filter: grayscale(0.4);
  pointer-events: none;
}

.quest-substep--unlocked {
  opacity: 1;
  filter: none;
  pointer-events: auto;
  animation: quest-substep-reveal 0.5s ease;
}

@keyframes quest-substep-reveal {
  from {
    opacity: 0;
    transform: translateY(12px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.quest-substep__header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.quest-substep__number {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(139, 47, 201, 0.3);
  border: 1.5px solid rgba(198, 63, 217, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 800;
  color: var(--violet-bright);
  flex-shrink: 0;
}

.quest-substep__title {
  font-family: var(--font-ui);
  font-size: 13px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.7);
  letter-spacing: 0.3px;
}

.quest-substep__status {
  font-size: 12px;
  font-weight: 700;
  margin-left: auto;
  transition: all 0.3s ease;
}

.quest-substep__status.verified {
  color: var(--green-neon);
}

.quest-substep__status.verifying {
  color: var(--gold);
}

/* --- Sub-step Divider --- */
.quest-substep-divider {
  display: flex;
  justify-content: flex-start;
  padding-left: 11px;
  margin-bottom: 8px;
}

.quest-substep-divider__line {
  width: 2px;
  height: 20px;
  background: linear-gradient(180deg, rgba(198, 63, 217, 0.3), rgba(198, 63, 217, 0.1));
  border-radius: 1px;
}


/* --- Submit Button --- */
.btn-submit {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 18px 36px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--gold-dark), var(--gold), var(--violet-bright));
  background-size: 200% 200%;
  color: var(--purple-dark);
  font-size: 17px;
  font-weight: 900;
  letter-spacing: 1px;
  text-transform: uppercase;
  border: 2px solid rgba(255, 216, 107, 0.5);
  box-shadow:
    0 4px 24px rgba(255, 216, 107, 0.4),
    0 0 60px rgba(255, 216, 107, 0.15);
  transition: all 0.3s ease;
  margin-top: 28px;
  animation: submit-shimmer 3s ease infinite;
}

@keyframes submit-shimmer {
  0% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0% 50%;
  }
}

.btn-submit:hover:not(:disabled) {
  box-shadow:
    0 6px 32px rgba(255, 216, 107, 0.6),
    0 0 80px rgba(255, 216, 107, 0.25);
  transform: translateY(-2px);
}

.btn-submit:active:not(:disabled) {
  transform: scale(0.97);
}

.btn-submit:disabled {
  opacity: 0.3;
  cursor: not-allowed;
  filter: grayscale(0.5);
  animation: none;
}

/* --- Success State --- */
.success-message {
  display: none;
  text-align: center;
  padding: 40px 20px;
}

.success-message.visible {
  display: block;
  animation: success-enter 0.8s ease;
}

@keyframes success-enter {
  from {
    opacity: 0;
    transform: scale(0.8) translateY(20px);
  }

  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.success-message__icon {
  font-size: 64px;
  margin-bottom: 20px;
  animation: bounce-in 0.6s ease 0.3s both;
}

@keyframes bounce-in {
  0% {
    transform: scale(0);
  }

  50% {
    transform: scale(1.2);
  }

  100% {
    transform: scale(1);
  }
}

.success-message__text {
  font-size: clamp(24px, 4vw, 40px);
  line-height: 1.3;
}

.success-message__sub {
  font-size: 16px;
  color: rgba(245, 230, 200, 0.6);
  margin-top: 12px;
}

/* --- Confetti Canvas --- */
#confetti-canvas {
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
}

/* --- Section Divider (a3.png torn paper) --- */
.section-divider {
  display: block;
  width: 100%;
  height: auto;
  margin: 0;
  padding: 0;
  line-height: 0;
  vertical-align: bottom;
  position: relative;
  z-index: 4;
}

/* ============================================================
   SECTION 4 — FOOTER
   ============================================================ */
.footer {
  position: relative;
  z-index: 5;
  width: 100%;
  background: transparent;
  border-top: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 100px 20px 50px;
  gap: 8px;
  text-align: center;
  min-height: 320px;
}

.footer__main {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.footer__coming-text {
  font-family: var(--font-ui);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
}

.footer__robinhood-text {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 800;
  color: var(--green-neon);
  letter-spacing: 1px;
  text-shadow: 0 0 20px rgba(5, 234, 9, 0.4);
}

.footer__copyright {
  font-family: var(--font-ui);
  font-size: 11px;
  color: rgba(255, 255, 255, 0.3);
  letter-spacing: 0.5px;
  margin: 0;
}

.footer__x-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: rgba(255, 255, 255, 0.6);
  transition: all 0.3s ease;
  margin: 0;
}

.footer__x-link svg {
  width: 16px;
  height: 16px;
}

.footer__x-link:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.4);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 0 12px rgba(198, 63, 217, 0.3);
}


/* ============================================================
   DESKTOP LOCK — Fixed layout for all PC sizes (≥1024px)
   Prevents shifting at different viewport sizes
   ============================================================ */
/* ============================================================
   DESKTOP LOCK — Fixed layout for all PC sizes (≥769px)
   Prevents shifting at different viewport sizes & zoom levels
   ============================================================ */
@media (min-width: 769px) {

  /* --- Hero buttons — fixed position relative to a1.png --- */
  .hero {
    min-height: 46.2vw;
    height: 46.2vw;
    position: relative;
    overflow: hidden;
  }

  .hero__cta-area {
    position: absolute;
    bottom: 3.5vw;
    left: 50%;
    transform: translateX(-50%);
    margin: 0;
    gap: 1vw;
    z-index: 5;
  }

  .btn-cta {
    padding: 0.8vw 1.8vw;
    font-size: 0.75vw;
    letter-spacing: 0.08vw;
    border-radius: 2.6vw;
  }

  /* --- Discover section — fixed position relative to a2.png --- */
  .discover {
    min-height: 68vw;
    height: 68vw;
    position: relative;
    overflow: hidden;
  }

  .discover__title {
    position: absolute;
    top: 10vw;
    left: 0;
    right: 0;
    text-align: center;
    font-size: 2.8vw;
    letter-spacing: 0.1vw;
    z-index: 5;
    margin: 0;
  }

  /* --- Carousel & NFT Slide — fixed sizing & offset --- */
  .carousel {
    position: absolute;
    top: 12.5vw;
    left: 0;
    right: 0;
    height: 32.3vw;
    margin: 0;
    z-index: 5;
  }

  .carousel__track {
    position: relative;
    width: 100%;
    height: 100%;
    left: -19.8vw;
    /* Centered inside left locker door */
  }

  .carousel__slide {
    width: 30.2vw;
    height: 30.2vw;
  }

  .carousel__dots {
    position: absolute;
    top: 43.8vw;
    left: 30vw;
    transform: translateX(-50%);
    padding: 0;
    margin: 0;
    width: auto;
    display: flex;
    gap: 0.5vw;
    z-index: 5;
  }

  .carousel__dot {
    width: 0.65vw;
    height: 0.65vw;
  }

  /* --- Stats bar --- */
  .stats-bar {
    gap: 4vw;
    padding: 1.5vw 2vw;
  }

  .stats-bar__value {
    font-size: 1.6vw;
  }

  .stats-bar__label {
    font-size: 0.6vw;
  }

  /* --- Whitelist section — fixed position relative to a3.png --- */
  .whitelist {
    min-height: 78.33vw;
    height: 78.33vw;
    position: relative;
    overflow: hidden;
  }

  .whitelist__title {
    position: absolute;
    top: 6.5vw;
    left: 0;
    right: 0;
    text-align: center;
    font-size: 2.6vw;
    letter-spacing: 0.1vw;
    margin: 0;
    opacity: 1;
    transform: none;
    z-index: 5;
  }

  /* --- Form card — proportional width and centered position --- */
  .form-card {
    position: absolute;
    top: 15.5vw;
    left: 50%;
    transform: translateX(-50%);
    width: 29.17vw;
    max-width: 90vw;
    padding: 1.8vw 1.6vw 2vw;
    border-radius: 1.25vw;
    border: 1px solid rgba(198, 63, 217, 0.3);
    margin: 0;
    z-index: 5;
  }

  .progress-bar__step {
    width: 2.1vw;
    height: 2.1vw;
    font-size: 0.75vw;
  }

  .step-panel__title {
    font-size: 1.15vw;
  }

  .step-panel__description {
    font-size: 0.75vw;
  }

  .form-input {
    padding: 0.75vw 0.9vw;
    font-size: 0.85vw;
    border-radius: 0.75vw;
  }

  .btn-step {
    padding: 0.75vw 1.6vw;
    font-size: 0.8vw;
    border-radius: 0.75vw;
  }

  .btn-submit {
    padding: 0.9vw 1.8vw;
    font-size: 0.9vw;
  }

  /* --- Footer — locked in dark section below torn paper divider --- */
  .footer {
    position: absolute;
    top: 68vw;
    left: 0;
    right: 0;
    padding: 0;
    min-height: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.3vw;
    z-index: 5;
  }

  .footer__coming-text {
    font-size: 0.65vw;
    letter-spacing: 0.2vw;
  }

  .footer__robinhood-text {
    font-size: 1.5vw;
  }

  .footer__copyright {
    font-size: 0.6vw;
  }

  .footer__x-link {
    width: 1.9vw;
    height: 1.9vw;
  }

  .footer__x-link svg {
    width: 0.9vw;
    height: 0.9vw;
  }
}

/* ============================================================
   RESPONSIVE — Mobile (≤768px All Mobile Viewports)
   Each section (Hero a1, Discover a2, Whitelist a3) is full screen (100dvh)
   ============================================================ */
@media (max-width: 768px) {

  /* Prevent horizontal overflow and enable smooth scrolling */
  html,
  body {
    overflow-x: hidden;
    width: 100%;
  }

  /* Hide desktop stacked backgrounds container on mobile */
  .backgrounds {
    display: none !important;
  }

  /* --- Topbar: Floating over Section 1 --- */
  .topbar {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    padding: 14px 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 500px;
    margin: 0 auto;
    background: transparent;
  }

  .topbar__logo {
    width: 120px;
    max-width: 36vw;
    height: auto;
    filter: drop-shadow(0 2px 10px rgba(255, 216, 107, 0.5));
  }

  .topbar__social {
    width: 42px;
    height: 42px;
    min-width: 42px;
    min-height: 42px;
    background: rgba(26, 10, 46, 0.65);
    border: 1.5px solid rgba(198, 63, 217, 0.5);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
  }

  .topbar__social svg {
    width: 19px;
    height: 19px;
    fill: var(--white);
  }

  /* ============================================================
     SECTION 1 — HERO (a1.png Full Screen)
     ============================================================ */
  .hero {
    position: relative;
    width: 100%;
    min-height: 100vh;
    min-height: 100dvh;
    height: 100dvh;
    background-image: url('a1.png');
    background-size: cover;
    background-position: center bottom;
    background-repeat: no-repeat;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    padding: 20px 16px max(36px, 5vh);
    box-sizing: border-box;
    overflow: hidden;
    z-index: 2;
  }

  .hero__cta-area {
    position: relative;
    z-index: 10;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 100%;
    max-width: 390px;
    margin: 0;
    padding: 0;
  }

  .hero__cta-area .btn-cta {
    flex: 1;
    min-width: 0;
    padding: 15px 12px;
    font-size: clamp(11px, 3.3vw, 13px);
    font-weight: 800;
    letter-spacing: 0.8px;
    border-radius: 50px;
    text-align: center;
    white-space: nowrap;
    justify-content: center;
    box-shadow:
      0 4px 20px rgba(139, 47, 201, 0.6),
      0 0 30px rgba(198, 63, 217, 0.3),
      inset 0 1px 0 rgba(255, 255, 255, 0.25);
  }

  .btn-cta--secondary {
    background: linear-gradient(135deg, rgba(139, 47, 201, 0.6), rgba(198, 63, 217, 0.6));
    border: 2px solid rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
  }

  /* ============================================================
     SECTION 2 — DISCOVER / CAROUSEL (a2.png Full Screen)
     ============================================================ */
  .discover {
    position: relative;
    width: 100%;
    min-height: 100vh;
    min-height: 100dvh;
    height: 100dvh;
    background-image: url('a2.png');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    padding: max(22px, 3.5vh) 16px max(24px, 3.5vh);
    box-sizing: border-box;
    overflow: hidden;
    z-index: 2;
  }

  .discover__title {
    position: relative;
    top: auto;
    left: auto;
    right: auto;
    margin: 0;
    font-size: clamp(22px, 6.5vw, 32px);
    opacity: 1;
    transform: none;
    text-align: center;
    letter-spacing: 1.5px;
    z-index: 5;
  }

  .carousel {
    position: relative;
    top: auto;
    left: auto;
    right: auto;
    width: 100%;
    height: auto;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 6px 0;
    perspective: none;
    padding: 0;
    z-index: 5;
  }

  .carousel__track {
    position: relative;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
  }

  .carousel__slide {
    position: absolute;
    width: min(72vw, 295px);
    height: min(72vw, 295px);
    left: calc(50% - min(72vw, 295px) / 2);
    top: calc(50% - min(72vw, 295px) / 2);
    cursor: grab;
  }

  .carousel__slide:active {
    cursor: grabbing;
  }

  .carousel__card {
    width: 100%;
    height: 100%;
  }

  .carousel__card-front img {
    width: 100%;
    height: 100%;
    border-radius: 22px;
    box-shadow:
      0 12px 36px rgba(0, 0, 0, 0.6),
      0 0 24px rgba(198, 63, 217, 0.4);
    border: 2px solid rgba(255, 216, 107, 0.4);
  }

  .carousel__dots {
    position: relative;
    top: auto;
    left: auto;
    transform: none;
    width: 100%;
    display: flex;
    justify-content: center;
    padding: 0;
    margin: 0;
    gap: 8px;
    z-index: 5;
  }

  .carousel__dot {
    width: 8px;
    height: 8px;
    min-width: 8px;
    min-height: 8px;
    border-radius: 50%;
  }

  .carousel__arrow {
    display: none;
  }

  /* ============================================================
     SECTION 3 — WHITELIST (a3.png Full Screen)
     ============================================================ */
  .whitelist {
    position: relative;
    width: 100%;
    min-height: 100vh;
    min-height: 100dvh;
    background-image: url('a3.png');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    padding: max(18px, 2.5vh) 16px max(14px, 2vh);
    box-sizing: border-box;
    overflow-y: auto;
    z-index: 2;
  }

  .whitelist__title {
    position: relative;
    top: auto;
    left: auto;
    right: auto;
    margin: 0 0 8px 0;
    font-size: clamp(22px, 6.5vw, 32px);
    opacity: 1;
    transform: none;
    text-align: center;
    letter-spacing: 1.5px;
    z-index: 5;
  }

  .form-card {
    position: relative;
    top: auto;
    left: auto;
    transform: none;
    width: 100%;
    max-width: 440px;
    margin: 0 auto;
    padding: 20px 18px 22px;
    border-radius: 22px;
    background: rgba(26, 10, 46, 0.82);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(198, 63, 217, 0.35);
    box-shadow:
      0 10px 30px rgba(0, 0, 0, 0.5),
      inset 0 1px 0 rgba(255, 255, 255, 0.08);
    z-index: 5;
  }

  .progress-bar {
    margin-bottom: 16px;
  }

  .progress-bar__step {
    width: 32px;
    height: 32px;
    min-width: 32px;
    min-height: 32px;
    font-size: 12px;
  }

  .step-panel__label {
    font-size: 11px;
    margin-bottom: 4px;
  }

  .step-panel__title {
    font-size: clamp(16px, 4.5vw, 20px);
    margin-bottom: 8px;
  }

  .step-panel__description {
    font-size: clamp(12px, 3.2vw, 14px);
    margin-bottom: 14px;
  }

  /* 16px minimum prevents iOS Safari auto-zoom on input focus */
  .form-input {
    padding: 12px 14px;
    font-size: 16px;
    border-radius: 12px;
  }

  .input-prefix {
    padding: 12px 0 12px 14px;
    font-size: 16px;
  }

  .form-input--prefixed {
    padding: 12px 14px 12px 6px;
    font-size: 16px;
  }

  .btn-step {
    padding: 12px 24px;
    font-size: 14px;
    margin-top: 14px;
    border-radius: 12px;
  }

  .btn-submit {
    padding: 14px 28px;
    font-size: 15px;
  }

  /* Quest buttons */
  .quest-action-btn {
    padding: 12px 16px;
    font-size: 14px;
    gap: 10px;
    border-radius: 12px;
  }

  .quest-action-btn__icon {
    width: 18px;
    height: 18px;
    min-width: 18px;
    min-height: 18px;
  }

  .quest-substep__header {
    gap: 8px;
  }

  .quest-substep__number {
    width: 22px;
    height: 22px;
    min-width: 22px;
    min-height: 22px;
    font-size: 11px;
  }

  .quest-substep__title {
    font-size: 13px;
  }

  .quest-substep__status {
    font-size: 12px;
  }

  .quest-complete-btn {
    padding: 12px 20px;
    font-size: 14px;
    margin-top: 14px;
    border-radius: 12px;
  }

  /* --- Footer in Whitelist Section --- */
  .footer {
    position: relative;
    top: auto;
    left: auto;
    right: auto;
    padding: 12px 0 0;
    min-height: auto;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 4px;
    z-index: 5;
  }

  .footer__robinhood-text {
    font-size: 20px;
  }

  .footer__coming-text {
    font-size: 9px;
    letter-spacing: 2px;
  }

  .footer__copyright {
    font-size: 9px;
  }

  .footer__x-link {
    width: 32px;
    height: 32px;
    min-width: 32px;
    min-height: 32px;
  }

  .footer__x-link svg {
    width: 14px;
    height: 14px;
  }
}