/* ============ 响应式 ============ */
@media (max-width: 1120px) {
  .hero-copy {
    top: 104px;
  }

  .hero-banner {
    width: min(64vw, 720px);
    top: 44%;
  }

  .hero-action {
    width: min(48vw, 520px);
  }

  .hero-pills {
    right: 22px;
    width: 248px;
    min-width: 0;
  }

  .reward-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    max-width: min(70vw, 620px);
    margin: 0 auto;
  }
}

@media (max-width: 860px) {
  html,
  html.fx-on {
    scroll-snap-type: none;
  }

  .stage-section,
  .site-footer {
    scroll-snap-align: none;
    scroll-snap-stop: normal;
  }

  .section-dots {
    display: none;
  }

  .section-marquee {
    font-size: 12px;
    padding: 6px 0;
  }

  .hero {
    min-height: 100svh;
  }

  .hero .stage-bg {
    object-position: 53% center;
    transform: none;
  }

  .hero-vignette {
    background:
      linear-gradient(180deg, rgba(5, 6, 13, 0.04) 0%, rgba(5, 6, 13, 0.02) 48%, rgba(5, 6, 13, 0.8) 100%),
      linear-gradient(90deg, rgba(5, 6, 13, 0.16), transparent 62%);
  }

  .hero-logo {
    left: 16px;
    top: 28px;
    width: clamp(142px, 38vw, 190px);
    transform: none;
  }

  .hero-copy {
    width: 1px;
    height: 1px;
  }

  .hero-banner {
    top: auto;
    bottom: clamp(226px, 34svh, 268px);
    width: min(92vw, 440px);
    transform: translateX(-50%);
  }

  .hero-action {
    bottom: clamp(104px, 15svh, 126px);
    gap: 12px;
    width: min(84vw, 360px);
    transform: translateX(-50%);
  }

  .hero-button {
    width: min(92%, 330px);
    min-width: 0;
  }

  .hero-pills {
    left: 50%;
    right: auto;
    top: auto;
    bottom: max(18px, calc(env(safe-area-inset-bottom) + 10px));
    width: min(94vw, 430px);
    transform: translateX(-50%);
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(5px, 1.8vw, 8px);
  }

  .floating-pill {
    --pill-offset-x: 0px;
    display: grid;
    min-width: 0;
    place-items: center;
    animation: none;
  }

  .hero-pills .floating-pill:nth-child(2),
  .hero-pills .floating-pill:nth-child(3) {
    --pill-offset-x: 0px;
  }

  .floating-pill img {
    width: 100%;
    height: auto;
    min-width: 0;
    object-fit: contain;
  }

  .scroll-cue,
  .hero-streaks {
    display: none;
  }

  .hero-bottom-strip {
    height: 30px;
  }

  .strip-left,
  .strip-right {
    width: 44vw;
  }

  .strip-text {
    right: 12px;
    height: 46%;
  }

  .rewards {
    align-items: flex-start;
    height: auto;
    min-height: 100svh;
    overflow: visible;
    padding: 34px 0 46px;
  }

  .rewards-art {
    position: absolute;
    min-height: 100svh;
  }

  .rewards-art-light {
    left: -36%;
    top: -5%;
    width: 108vw;
  }

  .rewards-art-scene {
    right: -58%;
    top: 0;
    width: 152vw;
    opacity: 0.82;
  }

  .rewards-art-milestone {
    right: -10%;
    bottom: auto;
    top: 48vh;
    width: min(56vw, 260px);
    opacity: 0.82;
  }

  .rewards .section-marquee {
    transform: rotate(-1.1deg) translateY(-2px);
  }

  .rewards-shell {
    align-content: start;
    gap: 10px;
    padding-top: 24px;
    padding-bottom: 0;
  }

  .rewards-heading,
  .footer-top {
    grid-template-columns: 1fr;
  }

  .rewards-heading {
    max-width: none;
    gap: 10px;
  }

  .title-card {
    width: min(76vw, 360px);
    margin: 0 auto;
  }

  .count-line span:first-child {
    font-size: clamp(19px, 5.2vw, 30px);
  }

  .footer-notice {
    grid-template-columns: 1fr;
  }

  .copy-panel {
    width: min(100%, 300px);
    transform: none;
    padding: 12px 14px;
  }

  .copy-panel h2 {
    margin: 2px 0 6px;
    font-size: clamp(24px, 7vw, 32px);
  }

  .copy-panel p {
    font-size: 12px;
    line-height: 1.45;
  }

  .progress-wrap {
    max-width: 100%;
    gap: 6px;
    margin-top: 0;
  }

  .progress-node {
    width: 26px;
  }

  .milestone-labels {
    font-size: 12px;
  }

  .reward-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px 8px;
    max-width: 560px;
    margin: 0 auto;
  }

  .reward-card {
    width: min(100%, 136px);
  }

  .reward-name {
    gap: 3px;
    font-size: clamp(9px, 2.45vw, 12px);
  }

  .lock-mark {
    top: 8px;
    right: 9px;
    width: 20px;
    height: 20px;
    font-size: 12px;
  }

  .footer-watermark {
    font-size: clamp(60px, 18vw, 120px);
  }

  .footer-bottom,
  .footer-bottom div {
    flex-direction: column;
  }

  .footer-bottom {
    align-items: flex-start;
  }
}

@media (max-width: 480px) {
  .hero-banner {
    bottom: clamp(214px, 33svh, 250px);
  }

  .hero-action {
    bottom: clamp(96px, 14svh, 110px);
    width: min(82vw, 318px);
  }

  .hero-title-img {
    width: min(92%, 290px);
  }

  .hero-button {
    width: min(86%, 286px);
  }

  .hero-pills {
    width: min(94vw, 390px);
  }

  .reward-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px 5px;
  }

  .progress-wrap {
    padding: 9px 8px;
  }

  .title-card {
    width: min(82vw, 330px);
  }

  .section-shell {
    width: min(1180px, calc(100% - 24px));
  }

  .reward-card {
    width: min(100%, 112px);
  }

  .reward-name {
    font-size: clamp(8px, 2.2vw, 10px);
  }

  .lock-mark {
    top: 6px;
    right: 7px;
    width: 18px;
    height: 18px;
    font-size: 11px;
  }

  .code-row {
    grid-template-columns: 1fr;
  }

  #get-code {
    height: 42px;
  }
}
