/* =============================================================================
   HERO SECTION

   Sticky full-viewport intro before the Game Boy.
   Hero stays pinned at top:0. Spacer provides scroll distance.
   Game Boy container (z-index 2, opaque bg) scrolls up and covers it.
   ============================================================================= */

/* ── Sticky Hero ──────────────────────────────────────────────────────────── */
.cd-hero {
  position: sticky;
  top: 0;
  z-index: 0;
  height: 100vh;
  height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-family: 'Press Start 2P', monospace;
  color: #1a1a18;
  padding: 0 20px;
  touch-action: pan-y;
}

.cd-hero__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 800px;
  width: 100%;
}

/* ── Headline ─────────────────────────────────────────────────────────────── */
.cd-hero__headline {
  font-size: 28px;
  line-height: 2;
  color: #1a1a18;
  margin: 0 0 48px;
  text-transform: uppercase;
  letter-spacing: -0.5px;
}

/* ── Bullets ──────────────────────────────────────────────────────────────── */
.cd-hero__bullets {
  list-style: none;
  padding: 0;
  margin: 0 0 48px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  text-align: left;
  width: 100%;
  max-width: 400px;
}

.cd-hero__bullet {
  font-family: 'Space Mono', monospace;
  font-size: 14px;
  line-height: 1.6;
  color: #4a4a48;
  padding-left: 24px;
  position: relative;
}

.cd-hero__bullet::before {
  content: '\25B8';
  position: absolute;
  left: 0;
  color: #909088;
}

/* ── CTA Button ───────────────────────────────────────────────────────────── */
.cd-hero__cta {
  font-family: 'Press Start 2P', monospace;
  font-size: 11px;
  color: #e8e4dc;
  background: #1a1a18;
  border: 3px solid #1a1a18;
  padding: 16px 36px;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 1px;
  box-shadow: 6px 6px 0 rgba(0, 0, 0, 0.15);
  transition: transform 0.1s steps(2), box-shadow 0.1s steps(2);
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

.cd-hero__cta:hover {
  transform: translate(-2px, -2px);
  box-shadow: 8px 8px 0 rgba(0, 0, 0, 0.15);
}

.cd-hero__cta:active {
  transform: translate(3px, 3px);
  box-shadow: 3px 3px 0 rgba(0, 0, 0, 0.15);
}

/* ── Scroll Hint ──────────────────────────────────────────────────────────── */
.cd-hero__scroll-hint {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  color: #c0bdb6;
  font-size: 12px;
  animation: hero-bounce 1.6s ease-in-out infinite;
}

@keyframes hero-bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(6px); }
}

/* ── Spacer ───────────────────────────────────────────────────────────────── */
.cd-hero__spacer {
  height: 100vh;
  height: 100dvh;
  pointer-events: none;
}

/* ── Game Boy Container ───────────────────────────────────────────────────── */
#cd-method-container {
  position: relative;
  z-index: 2;
  background: linear-gradient(145deg, #e8e4dc 0%, #d8d4cc 100%);
}

/* =============================================================================
   MOBILE (<=480px)
   ============================================================================= */
@media (max-width: 480px) {
  .cd-hero {
    padding: 0 16px;
  }

  .cd-hero__headline {
    font-size: 18px;
    line-height: 2.2;
    margin-bottom: 36px;
  }

  .cd-hero__bullets {
    gap: 16px;
    margin-bottom: 40px;
    max-width: 100%;
  }

  .cd-hero__bullet {
    font-size: 11px;
  }

  .cd-hero__cta {
    font-size: 9px;
    padding: 14px 28px;
    box-shadow: 4px 4px 0 rgba(0, 0, 0, 0.15);
  }

  .cd-hero__scroll-hint {
    bottom: 24px;
    font-size: 10px;
  }
}

/* Very small phones */
@media (max-width: 360px) {
  .cd-hero__headline {
    font-size: 15px;
  }

  .cd-hero__bullet {
    font-size: 10px;
  }
}

/* =============================================================================
   LARGE SCREENS (>=768px)
   ============================================================================= */
@media (min-width: 768px) {
  .cd-hero__headline {
    font-size: 36px;
    margin-bottom: 60px;
  }

  .cd-hero__bullets {
    gap: 24px;
    margin-bottom: 60px;
    max-width: 460px;
  }

  .cd-hero__bullet {
    font-size: 14px;
  }

  .cd-hero__cta {
    font-size: 12px;
    padding: 18px 44px;
  }
}

/* =============================================================================
   EXTRA LARGE (>=1200px)
   ============================================================================= */
@media (min-width: 1200px) {
  .cd-hero__headline {
    font-size: 44px;
    margin-bottom: 72px;
  }

  .cd-hero__bullets {
    gap: 28px;
    margin-bottom: 72px;
  }
}

/* =============================================================================
   REDUCED MOTION
   ============================================================================= */
@media (prefers-reduced-motion: reduce) {
  .cd-hero__scroll-hint {
    animation: none;
  }
}
