/* 乐游方可梦 — 方块宝可梦官网 */
:root {
  --red: #e3350d;
  --red-deep: #b71c0c;
  --yellow: #ffcb05;
  --yellow-soft: #ffe566;
  --blue: #3b5ba9;
  --blue-deep: #2a3f7a;
  --green: #4caf50;
  --grass: #7bc67e;
  --dirt: #8d6e63;
  --stone: #1f2933;
  --ink: #243040;
  --muted: #5a6b7b;
  --paper: #f4f7fb;
  --white: #ffffff;
  --shadow: 0 12px 32px rgba(36, 48, 64, 0.14);
  --radius: 18px;
  --radius-sm: 12px;
  --font-display: "Fredoka", "Noto Sans SC", sans-serif;
  --font-body: "Noto Sans SC", system-ui, sans-serif;
  --nav-h: 68px;
  --announce-h: 40px;
  --max: 1120px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 12px);
}

html:has(body:not(.announce-hidden)) {
  scroll-padding-top: calc(var(--nav-h) + var(--announce-h) + 12px);
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background:
    radial-gradient(1200px 600px at 10% -10%, rgba(255, 203, 5, 0.22), transparent 55%),
    radial-gradient(900px 500px at 90% 0%, rgba(59, 91, 169, 0.18), transparent 50%),
    linear-gradient(180deg, #e8f3ff 0%, #f7faf7 35%, #eef6ea 100%);
  line-height: 1.65;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

strong {
  font-weight: 700;
}

/* —— 公告 —— */
.announce {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: var(--announce-h);
  padding: 0.35rem 2.5rem;
  background: linear-gradient(90deg, var(--blue), var(--red));
  color: var(--white);
  font-size: 0.92rem;
  font-weight: 500;
  overflow: hidden;
}

.announce__track {
  position: relative;
  width: min(100%, 720px);
  min-height: 1.4em;
  text-align: center;
}

.announce__item {
  margin: 0;
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.45s ease, transform 0.45s ease;
  pointer-events: none;
}

.announce__item.is-active {
  opacity: 1;
  transform: translateY(0);
  position: relative;
}

.announce__close {
  position: absolute;
  right: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
  width: 28px;
  height: 28px;
  border-radius: 8px;
  color: var(--white);
  font-size: 1.25rem;
  line-height: 1;
  opacity: 0.9;
}

.announce__close:hover {
  background: rgba(255, 255, 255, 0.15);
}

body.announce-hidden .announce {
  display: none;
}

/* —— 导航 —— */
.nav {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--nav-h);
  padding: 0.65rem 1.25rem;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(12px);
  border-bottom: 3px solid rgba(36, 48, 64, 0.08);
}

body:not(.announce-hidden) .nav {
  top: var(--announce-h);
}

.nav__brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: 0.02em;
}

.nav__ball {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: linear-gradient(180deg, var(--red) 50%, var(--white) 50%);
  border: 2px solid var(--stone);
  box-shadow: inset 0 0 0 2px var(--white);
  position: relative;
}

.nav__ball::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 6px;
  height: 6px;
  border: 2px solid var(--stone);
  border-radius: 50%;
  background: var(--white);
  transform: translate(-50%, -50%);
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 1.1rem;
}

.nav__links a {
  font-weight: 500;
  color: var(--muted);
  transition: color 0.2s ease;
}

.nav__links a:hover {
  color: var(--red);
}

.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 0.4rem;
}

.nav__toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--stone);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

/* —— 按钮 —— */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.85rem 1.25rem;
  border-radius: 999px;
  font-weight: 700;
  letter-spacing: 0.01em;
  transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
  box-shadow: 0 4px 0 rgba(0, 0, 0, 0.12);
  border: 2px solid transparent;
}

.btn:hover {
  transform: translateY(-3px);
  filter: brightness(1.03);
}

.btn:active {
  transform: translateY(1px);
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.12);
}

.btn--sm {
  padding: 0.55rem 0.95rem;
  font-size: 0.92rem;
}

.btn--primary {
  background: linear-gradient(180deg, #ff5a3c, var(--red));
  color: var(--white);
  border-color: var(--red-deep);
  box-shadow: 0 5px 0 var(--red-deep);
}

.btn--secondary {
  background: linear-gradient(180deg, var(--yellow-soft), var(--yellow));
  color: var(--stone);
  border-color: #d4a800;
  box-shadow: 0 5px 0 #d4a800;
}

.btn--qq {
  background: linear-gradient(180deg, #5b7fd6, var(--blue));
  color: var(--white);
  border-color: var(--blue-deep);
  box-shadow: 0 5px 0 var(--blue-deep);
}

.btn--ghost {
  background: var(--white);
  color: var(--blue);
  border-color: rgba(59, 91, 169, 0.35);
  box-shadow: 0 4px 0 rgba(59, 91, 169, 0.2);
}

.btn__icon {
  font-size: 1.05em;
}

.linkish {
  color: var(--blue);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* —— 通用区块 —— */
.section-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 2.5rem;
}

.section-head h2 {
  margin: 0 0 0.6rem;
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3vw, 2.35rem);
  letter-spacing: 0.02em;
}

.section-head p {
  margin: 0;
  color: var(--muted);
}

section {
  padding: 4.5rem 1.25rem;
}

/* —— Hero —— */
.hero {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2rem;
  align-items: center;
  max-width: calc(var(--max) + 2.5rem);
  margin: 0 auto;
  padding: 3.5rem 1.25rem 4rem;
  min-height: calc(100vh - var(--nav-h) - var(--announce-h));
}

.hero__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.hero__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(36, 48, 64, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(36, 48, 64, 0.04) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: radial-gradient(ellipse at 50% 40%, black 20%, transparent 75%);
}

.hero__glow {
  position: absolute;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  filter: blur(50px);
  opacity: 0.45;
  animation: floaty 7s ease-in-out infinite;
}

.hero__glow--red {
  background: var(--red);
  top: 10%;
  right: 8%;
}

.hero__glow--blue {
  background: var(--blue);
  bottom: 10%;
  left: 5%;
  animation-delay: -2s;
}

.hero__glow--yellow {
  background: var(--yellow);
  top: 40%;
  left: 40%;
  width: 180px;
  height: 180px;
  animation-delay: -4s;
}

.hero__content {
  position: relative;
  z-index: 1;
}

.hero__eyebrow {
  display: inline-block;
  margin: 0 0 0.75rem;
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.75);
  border: 2px solid rgba(36, 48, 64, 0.08);
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--blue);
}

.hero__brand {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 7vw, 4.6rem);
  line-height: 1.05;
  letter-spacing: 0.04em;
  background: linear-gradient(120deg, var(--red) 0%, #ff6a00 35%, var(--blue) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 8px 30px rgba(227, 53, 13, 0.15);
}

.hero__title {
  margin: 0.85rem 0 0.55rem;
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2.4vw, 1.7rem);
  font-weight: 600;
  color: var(--stone);
}

.hero__sub {
  margin: 0 0 1.6rem;
  color: var(--muted);
  font-size: 1.02rem;
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.4rem;
}

.hero__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.hero__tags li {
  padding: 0.35rem 0.75rem;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.8);
  border: 2px solid rgba(36, 48, 64, 0.08);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--ink);
}

.hero__stage {
  position: relative;
  min-height: 420px;
  z-index: 1;
}

.hero__block {
  position: absolute;
  border: 3px solid rgba(0, 0, 0, 0.12);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.hero__block--grass {
  width: 78%;
  height: 72px;
  left: 11%;
  bottom: 70px;
  background:
    linear-gradient(180deg, var(--grass) 0 55%, var(--dirt) 55%);
  animation: blockBob 3.5s ease-in-out infinite;
}

.hero__block--dirt {
  width: 56%;
  height: 48px;
  left: 22%;
  bottom: 28px;
  background: repeating-linear-gradient(
    90deg,
    #a1887f 0 18px,
    #8d6e63 18px 36px
  );
  animation: blockBob 3.5s ease-in-out infinite 0.2s;
}

.hero__mon {
  position: absolute;
  filter: drop-shadow(0 16px 18px rgba(36, 48, 64, 0.22));
  user-select: none;
}

.hero__mon--main {
  width: min(280px, 70%);
  left: 50%;
  bottom: 95px;
  transform: translateX(-50%);
  animation: monFloat 4s ease-in-out infinite;
  z-index: 2;
}

.hero__mon--a {
  width: 110px;
  left: 4%;
  bottom: 150px;
  animation: monFloat 5s ease-in-out infinite 0.5s;
}

.hero__mon--b {
  width: 110px;
  right: 2%;
  bottom: 160px;
  animation: monFloat 4.5s ease-in-out infinite 1s;
}

.hero__mon--c {
  width: 90px;
  right: 18%;
  top: 8%;
  animation: monFloat 6s ease-in-out infinite 0.2s;
}

.hero__orb {
  position: absolute;
  width: 220px;
  height: 220px;
  left: 50%;
  bottom: 120px;
  transform: translateX(-50%);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 203, 5, 0.35), transparent 70%);
  z-index: 0;
  animation: pulse 3s ease-in-out infinite;
}

/* —— 步骤 —— */
.steps {
  background: rgba(255, 255, 255, 0.55);
}

.steps__grid {
  list-style: none;
  margin: 0 auto;
  padding: 0;
  max-width: var(--max);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.step-card {
  position: relative;
  padding: 1.6rem 1.4rem 1.4rem;
  background: var(--white);
  border: 3px solid rgba(36, 48, 64, 0.08);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.step-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 6px;
  background: linear-gradient(180deg, var(--red), var(--yellow), var(--blue));
}

.step-card__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--yellow);
  color: var(--stone);
  font-family: var(--font-display);
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.step-card h3 {
  margin: 0 0 0.5rem;
  font-family: var(--font-display);
  font-size: 1.25rem;
}

.step-card p {
  margin: 0 0 1rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.step-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.step-card__time {
  display: inline-block;
  margin-top: 0.9rem;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--blue);
}

/* —— 特色 —— */
.features__grid {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.1rem;
}

.feature {
  padding: 1.4rem;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.88);
  border: 3px solid rgba(36, 48, 64, 0.07);
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.feature:hover {
  transform: translateY(-6px) rotate(-0.4deg);
  border-color: rgba(227, 53, 13, 0.35);
}

.feature__icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  font-size: 1.35rem;
  margin-bottom: 0.85rem;
  border: 2px solid rgba(0, 0, 0, 0.06);
}

.feature__icon--red { background: rgba(227, 53, 13, 0.12); }
.feature__icon--yellow { background: rgba(255, 203, 5, 0.28); }
.feature__icon--blue { background: rgba(59, 91, 169, 0.14); }
.feature__icon--green { background: rgba(76, 175, 80, 0.16); }

.feature h3 {
  margin: 0 0 0.45rem;
  font-family: var(--font-display);
  font-size: 1.15rem;
}

.feature p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

/* —— 画廊 —— */
.gallery {
  background:
    linear-gradient(180deg, rgba(59, 91, 169, 0.08), rgba(255, 203, 5, 0.08));
}

.gallery__wrap {
  max-width: 820px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 0.75rem;
  align-items: center;
}

.gallery__viewport {
  overflow: hidden;
  border-radius: calc(var(--radius) + 4px);
  border: 4px solid var(--white);
  box-shadow: var(--shadow);
  background:
    linear-gradient(145deg, #fff7d6, #e8f0ff);
}

.gallery__track {
  position: relative;
  min-height: 360px;
}

.gallery__slide {
  margin: 0;
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 2rem 1.5rem 4rem;
  opacity: 0;
  transform: scale(0.96) translateX(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
  pointer-events: none;
}

.gallery__slide.is-active {
  opacity: 1;
  transform: scale(1) translateX(0);
  pointer-events: auto;
  position: relative;
}

.gallery__slide img {
  width: min(260px, 55vw);
  height: auto;
  filter: drop-shadow(0 18px 20px rgba(36, 48, 64, 0.25));
  animation: monFloat 4s ease-in-out infinite;
}

.gallery__slide figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 1rem;
  text-align: center;
  font-weight: 600;
  color: var(--stone);
  padding: 0 1rem;
}

.gallery__nav {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: var(--white);
  border: 2px solid rgba(36, 48, 64, 0.1);
  font-size: 1.6rem;
  line-height: 1;
  color: var(--stone);
  box-shadow: var(--shadow);
}

.gallery__nav:hover {
  background: var(--yellow);
}

.gallery__dots {
  display: flex;
  justify-content: center;
  gap: 0.45rem;
  margin-top: 1rem;
}

.gallery__dots button {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(36, 48, 64, 0.2);
  transition: transform 0.2s ease, background 0.2s ease;
}

.gallery__dots button.is-active {
  background: var(--red);
  transform: scale(1.25);
}

/* —— 世界卡片 —— */
.worlds__grid {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.world-card {
  padding: 1.4rem;
  border-radius: var(--radius);
  background: var(--white);
  border: 3px dashed rgba(59, 91, 169, 0.25);
  transition: border-color 0.25s ease, transform 0.25s ease, background 0.25s ease;
}

.world-card:hover {
  border-style: solid;
  border-color: var(--red);
  transform: translateY(-4px);
  background: #fffaf7;
}

.world-card h3 {
  margin: 0 0 0.5rem;
  font-family: var(--font-display);
  font-size: 1.15rem;
}

.world-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

/* —— CTA —— */
.cta-band {
  padding: 2rem 1.25rem 4rem;
}

.cta-band__inner {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  padding: 1.75rem 1.5rem;
  border-radius: calc(var(--radius) + 6px);
  background:
    linear-gradient(120deg, rgba(227, 53, 13, 0.92), rgba(59, 91, 169, 0.92));
  color: var(--white);
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}

.cta-band__inner::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: 24px 24px;
  pointer-events: none;
}

.cta-band__inner > * {
  position: relative;
  z-index: 1;
}

.cta-band h2 {
  margin: 0 0 0.35rem;
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.5vw, 1.9rem);
}

.cta-band p {
  margin: 0;
  opacity: 0.92;
}

.cta-band__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.cta-band .btn--primary,
.cta-band .btn--secondary,
.cta-band .btn--qq {
  box-shadow: 0 4px 0 rgba(0, 0, 0, 0.25);
}

/* —— FAQ —— */
.faq__list {
  max-width: 760px;
  margin: 0 auto;
  display: grid;
  gap: 0.75rem;
}

.faq__item {
  background: rgba(255, 255, 255, 0.9);
  border: 2px solid rgba(36, 48, 64, 0.08);
  border-radius: var(--radius-sm);
  padding: 0.2rem 1rem;
  transition: border-color 0.2s ease;
}

.faq__item[open] {
  border-color: rgba(227, 53, 13, 0.35);
}

.faq__item summary {
  cursor: pointer;
  list-style: none;
  font-weight: 700;
  padding: 0.95rem 0;
  font-family: var(--font-display);
}

.faq__item summary::-webkit-details-marker {
  display: none;
}

.faq__item summary::after {
  content: "+";
  float: right;
  color: var(--red);
  font-weight: 700;
}

.faq__item[open] summary::after {
  content: "−";
}

.faq__item p {
  margin: 0 0 1rem;
  color: var(--muted);
}

/* —— 页脚 —— */
.footer {
  padding: 2.5rem 1.25rem 6rem;
  background: #16202a;
  color: rgba(255, 255, 255, 0.86);
}

.footer > * {
  max-width: var(--max);
  margin-left: auto;
  margin-right: auto;
}

.footer__age,
.footer__advice {
  padding: 1rem 1.15rem;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 0.85rem;
}

.footer__age strong,
.footer__advice strong {
  display: block;
  margin-bottom: 0.35rem;
  color: var(--yellow);
  font-family: var(--font-display);
}

.footer__age p,
.footer__advice p,
.footer__meta p {
  margin: 0.35rem 0;
  font-size: 0.92rem;
}

.footer__disclaimer {
  opacity: 0.72;
  font-size: 0.82rem !important;
}

.footer__copy {
  opacity: 0.55;
  font-size: 0.82rem !important;
  margin-top: 0.35rem !important;
}

.footer__disclaimer + .footer__copy {
  margin-top: 1rem !important;
}

.footer__copy a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 0.15em;
  transition: color 0.2s ease, opacity 0.2s ease;
}

.footer__copy a:hover {
  color: var(--yellow-soft);
  opacity: 1;
}

.footer .linkish {
  color: var(--yellow-soft);
}

/* —— 漂浮加群 —— */
.float-qq {
  position: fixed;
  right: 1rem;
  bottom: 1.25rem;
  z-index: 60;
}

.float-qq__btn {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.1rem;
  min-width: 132px;
  padding: 0.85rem 1rem;
  border-radius: 18px;
  background: linear-gradient(160deg, #5b7fd6, var(--blue-deep));
  color: var(--white);
  border: 2px solid rgba(255, 255, 255, 0.25);
  box-shadow: 0 10px 28px rgba(42, 63, 122, 0.45);
  animation: breathe 2.4s ease-in-out infinite;
}

.float-qq__pulse {
  position: absolute;
  inset: -4px;
  border-radius: 22px;
  border: 2px solid rgba(91, 127, 214, 0.55);
  animation: ring 2.4s ease-out infinite;
  pointer-events: none;
}

.float-qq__label {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
}

.float-qq__num {
  font-size: 0.78rem;
  opacity: 0.9;
}

/* —— Toast —— */
.toast {
  position: fixed;
  left: 50%;
  bottom: 1.5rem;
  transform: translateX(-50%) translateY(20px);
  z-index: 80;
  max-width: min(92vw, 420px);
  padding: 0.9rem 1.15rem;
  border-radius: 14px;
  background: rgba(22, 32, 42, 0.94);
  color: var(--white);
  font-weight: 600;
  text-align: center;
  box-shadow: var(--shadow);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.toast.is-show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* —— 入场动画 —— */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.is-in {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.08s; }
.reveal-delay-2 { transition-delay: 0.16s; }
.reveal-delay-3 { transition-delay: 0.24s; }
.reveal-delay-4 { transition-delay: 0.32s; }
.reveal-delay-5 { transition-delay: 0.4s; }

/* Hero 首屏直接显示 */
.hero .reveal {
  animation: heroIn 0.8s ease both;
}

.hero .reveal-delay-1 { animation-delay: 0.1s; }
.hero .reveal-delay-2 { animation-delay: 0.2s; }
.hero .reveal-delay-3 { animation-delay: 0.3s; }
.hero .reveal-delay-4 { animation-delay: 0.4s; }
.hero .reveal-delay-5 { animation-delay: 0.5s; }

@keyframes heroIn {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes monFloat {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(-12px); }
}

.hero__mon--a,
.hero__mon--b,
.hero__mon--c {
  transform: none;
}

.hero__mon--a {
  animation-name: monFloatSide;
}

.hero__mon--b,
.hero__mon--c {
  animation-name: monFloatSide;
}

@keyframes monFloatSide {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

@keyframes blockBob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}

@keyframes floaty {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(12px, -16px); }
}

@keyframes pulse {
  0%, 100% { opacity: 0.45; transform: translateX(-50%) scale(1); }
  50% { opacity: 0.7; transform: translateX(-50%) scale(1.08); }
}

@keyframes breathe {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

@keyframes ring {
  0% { transform: scale(1); opacity: 0.7; }
  100% { transform: scale(1.12); opacity: 0; }
}

/* —— 响应式 —— */
@media (max-width: 960px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 2.5rem;
  }

  .hero__stage {
    order: -1;
    min-height: 320px;
  }

  .hero__mon--main {
    width: min(220px, 55%);
  }

  .steps__grid,
  .features__grid,
  .worlds__grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 720px) {
  .nav__toggle {
    display: flex;
  }

  .nav__links {
    position: absolute;
    top: calc(100% + 1px);
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0.35rem;
    padding: 0.85rem 1rem 1rem;
    background: rgba(255, 255, 255, 0.96);
    border-bottom: 3px solid rgba(36, 48, 64, 0.08);
    box-shadow: var(--shadow);
  }

  .nav__links.is-open {
    display: flex;
  }

  .nav__links a,
  .nav__links .btn {
    width: 100%;
    text-align: center;
    padding: 0.7rem;
  }

  .steps__grid,
  .features__grid,
  .worlds__grid {
    grid-template-columns: 1fr;
  }

  .hero__cta {
    flex-direction: column;
  }

  .hero__cta .btn {
    width: 100%;
  }

  .gallery__wrap {
    grid-template-columns: 1fr;
  }

  .gallery__nav {
    display: none;
  }

  .gallery__track {
    min-height: 300px;
  }

  .cta-band__actions {
    width: 100%;
  }

  .cta-band__actions .btn {
    flex: 1 1 100%;
  }

  .float-qq {
    right: 0.65rem;
    bottom: 0.85rem;
  }

  .float-qq__btn {
    min-width: 0;
    padding: 0.7rem 0.85rem;
  }

  .announce {
    font-size: 0.82rem;
    padding-right: 2.2rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
