/* ============== 游戏详情页 ============== */
.hero-visual {
  position: relative;
  height: calc(100vh - 78px);
  min-height: 620px;
  margin-top: 78px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
}
.hero-kv {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  z-index: 0;
  transition: opacity .5s ease;
}
@media not all and (max-width: 960px) {
  [data-lang="cn"] .hero-kv.desktop { background-image: url("images/KeyVisual_SChinese.webp"); }
  [data-lang="en"] .hero-kv.desktop { background-image: url("images/KeyVisual_English.webp"); }
}
.hero-video-wrap {
  position: absolute; inset: 0;
  z-index: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity .55s ease;
}
.hero-video-wrap iframe,
.hero-video-wrap video {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;
  min-width: 177.78vh; /* keep 16:9 fill */
  min-height: 56.25vw;
  border: 0;
  object-fit: cover;
  background: #000;
}
.hero-visual.playing .hero-kv { opacity: 0; }
.hero-visual.playing .hero-video-wrap { opacity: 1; }
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(20,14,10,.9) 0%, rgba(20,14,10,.3) 45%, rgba(20,14,10,.05) 75%);
  z-index: 1;
  transition: opacity .35s ease;
}
.hero-visual.playing .hero-overlay { opacity: .55; }
.hero-hint {
  position: absolute;
  top: 32%;
  right: 6%;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px;
  border-radius: 999px;
  background: rgba(247,245,234,.14);
  border: 1px solid rgba(247,245,234,.35);
  color: var(--paper);
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: .04em;
  backdrop-filter: blur(8px);
  cursor: pointer;
  transition: background-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.hero-hint:is(:hover, :focus-visible) {
  background: rgba(40,26,17,.75);
  box-shadow: 0 10px 24px -8px rgba(20,14,10,.55);
  transform: translateY(-2px);
}
.hero-hint:focus-visible { outline: 2px solid var(--paper); outline-offset: 3px; }
.hero-hint:active { transform: translateY(0); }
.hero-hint i { color: var(--tan); font-size: 18px; }
.hero-hint[hidden],
.hero-hint .when-playing,
.hero-visual.playing .hero-hint .when-idle { display: none; }
.hero-visual.playing .hero-hint .when-playing { display: inline; }
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1400px;
  width: 100%;
  margin: 0 auto;
  padding: 60px 44px 90px;
  color: var(--paper);
  display: flex;
  flex-direction: column;
  gap: 6px;
  align-items: flex-start;
}
/* 主视觉图已经包含游戏名，标题供辅助技术读取。 */
.hero-game-name {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
/* 观鸟笔记游戏 Logo（放在按钮上方） */
.hero-game-logo {
  height: 300px;
  width: auto;
  max-width: min(720px, 88vw);
  object-fit: contain;
  filter:
    drop-shadow(0 0 1px rgba(247,245,234,.85))
    drop-shadow(0 0 3px rgba(247,245,234,.6))
    drop-shadow(0 10px 20px rgba(0,0,0,.5));
  margin-bottom: -20px;
}
.game-logo-img {
  height: 220px;
  width: auto;
  max-width: 720px;
  object-fit: contain;
  filter:
    drop-shadow(0 0 1px rgba(247,245,234,.9))
    drop-shadow(0 0 2px rgba(247,245,234,.85))
    drop-shadow(0 0 3px rgba(247,245,234,.75))
    drop-shadow(0 10px 22px rgba(0,0,0,.55));
}
.hero-title {
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: clamp(56px, 6vw, 96px);
  line-height: 1;
  color: var(--paper);
  margin: 0;
  letter-spacing: -.01em;
  text-shadow: 0 6px 18px rgba(0,0,0,.5);
}
[data-lang="cn"] .hero-title { font-family: var(--font-body); font-weight: 700; letter-spacing: .04em; }
.hero-desc {
  font-family: var(--font-heading);
  font-weight: 400;
  font-size: clamp(19px, 1.8vw, 24px);
  line-height: 1.7;
  color: var(--paper);
  margin: 0;
  max-width: 760px;
  text-shadow: 0 2px 8px rgba(0,0,0,.55);
}
[data-lang="cn"] .hero-desc { font-family: var(--font-body); }
.hero-desc em {
  font-style: italic;
  color: var(--tan);
  font-weight: 500;
  background: linear-gradient(180deg, transparent 62%, rgba(199,156,123,.35) 62%);
  padding: 0 3px;
}
.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  animation: heroActionsIn .65s .12s cubic-bezier(.2,.7,.2,1) both;
}
@keyframes heroActionsIn {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 30px;
  border-radius: 999px;
  background: var(--tan);
  color: var(--brown-2);
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: .04em;
  transition: all .25s;
  box-shadow: 0 12px 26px -10px rgba(0,0,0,.5);
  width: fit-content;
}
.btn-primary:is(:hover, :focus-visible) {
  background: var(--paper);
  transform: translateY(-2px);
}
.btn-primary:active { transform: translateY(0) scale(.98); }
.btn-primary i { font-size: 16px; }
.btn-primary.ghost {
  background: rgba(247,245,234,.14);
  color: var(--paper);
  border: 1px solid rgba(247,245,234,.4);
  backdrop-filter: blur(6px);
}
.btn-primary.ghost:hover {
  background: var(--paper);
  color: var(--brown-2);
}

/* ============== 简介 ============== */
.intro {
  padding: 90px 44px;
  background: var(--paper);
  overflow: hidden;
}
.intro-inner {
  max-width: 1300px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 60px;
  align-items: center;
}
.intro-text { text-align: left; }
.intro-body { text-align: left; }

/* 右侧视觉：logo + 装饰叶 + 飞鸟 */
.intro-visual {
  position: relative;
  aspect-ratio: 1 / 1;
  max-width: 440px;
  margin: 0 auto;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
/* 圆形背景光晕 */
.intro-visual::before {
  content: "";
  position: absolute;
  inset: 8%;
  border-radius: 50%;
  background:
    radial-gradient(circle at 40% 35%, rgba(199,156,123,.28), transparent 65%),
    radial-gradient(circle at 65% 70%, rgba(228,225,201,.6), transparent 70%);
  z-index: 0;
}
/* 手绘虚线装饰环 */
.intro-visual::after {
  content: "";
  position: absolute;
  inset: 2%;
  border-radius: 50%;
  border: 1.5px dashed rgba(199,156,123,.5);
  animation: dashSpin 60s linear infinite;
  z-index: 0;
}
@keyframes dashSpin {
  from { transform: rotate(0); }
  to   { transform: rotate(360deg); }
}

.intro-game-logo {
  width: 92%;
  max-width: 420px;
  height: auto;
  max-height: 380px;
  object-fit: contain;
  position: relative;
  z-index: 2;
  filter: drop-shadow(0 12px 28px rgba(86,64,47,.28));
  animation: logoFloat 5s ease-in-out infinite;
}
@keyframes logoFloat {
  0%, 100% { transform: translateY(0) rotate(-0.5deg); }
  50%      { transform: translateY(-8px) rotate(0.5deg); }
}

/* 装饰叶（三片，不同角度轻晃） */
.deco-leaf {
  position: absolute;
  width: 44px; height: 44px;
  background-repeat: no-repeat;
  background-size: contain;
  z-index: 1;
  opacity: .82;
}
.deco-leaf.leaf-1 {
  top: 4%; left: 6%;
  width: 56px; height: 56px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 60'><path d='M30 5 C 18 20, 18 40, 30 55 C 42 40, 42 20, 30 5 Z' fill='%23a37b52'/><path d='M30 8 L 30 52' stroke='%2356402F' stroke-width='1.4' fill='none' opacity='0.6'/></svg>");
  transform: rotate(-32deg);
  animation: leafSway 6s ease-in-out infinite;
}
.deco-leaf.leaf-2 {
  bottom: 8%; right: 4%;
  width: 42px; height: 42px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 60'><path d='M30 5 C 18 20, 18 40, 30 55 C 42 40, 42 20, 30 5 Z' fill='%23C79C7B'/><path d='M30 8 L 30 52' stroke='%2356402F' stroke-width='1.4' fill='none' opacity='0.55'/></svg>");
  transform: rotate(28deg);
  animation: leafSway 7s ease-in-out infinite reverse;
}
.deco-leaf.leaf-3 {
  top: 18%; right: 2%;
  width: 34px; height: 34px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 60'><path d='M30 5 C 18 20, 18 40, 30 55 C 42 40, 42 20, 30 5 Z' fill='%23E4E1C9'/><path d='M30 8 L 30 52' stroke='%2356402F' stroke-width='1.4' fill='none' opacity='0.5'/></svg>");
  transform: rotate(-18deg);
  animation: leafSway 8s ease-in-out infinite;
  animation-delay: 1.5s;
}
@keyframes leafSway {
  0%, 100% { transform: rotate(var(--r, -20deg)) translateY(0); }
  50%      { transform: rotate(calc(var(--r, -20deg) + 12deg)) translateY(-4px); }
}
.deco-leaf.leaf-1 { --r: -32deg; }
.deco-leaf.leaf-2 { --r: 28deg; }
.deco-leaf.leaf-3 { --r: -18deg; }

.intro-body {
  font-family: var(--font-heading);
  font-weight: 400;
  font-size: clamp(19px, 2vw, 26px);
  line-height: 1.85;
  color: var(--ink);
  opacity: .92;
  margin: 0;
  letter-spacing: .01em;
  text-align: center;
}
[data-lang="cn"] .intro-body { font-family: var(--font-body); }
/* 关键词：驼色加粗强调 */
.intro-body em {
  font-style: normal;
  color: var(--tan);
  font-weight: 600;
}
.status-tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 20px;
  margin-top: 28px;
  border-radius: 999px;
  border: 1px solid var(--tan);
  background: rgba(199,156,123,.1);
  color: var(--tan);
  font-family: var(--font-heading);
  font-size: 14px;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.dot-pulse {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--tan);
  box-shadow: 0 0 12px var(--tan);
  animation: pulse 1.8s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%      { opacity: .5; transform: scale(.75); }
}

/* ============== 通用小标题 ============== */
.section-title {
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: clamp(32px, 3.4vw, 46px);
  color: var(--brown);
  margin: 0 0 40px;
  letter-spacing: -.01em;
  line-height: 1.1;
  display: inline-flex;
  align-items: baseline;
  gap: 14px;
}
[data-lang="cn"] .section-title { font-family: var(--font-body); font-weight: 700; letter-spacing: .02em; }
.section-title::before {
  content: "";
  display: inline-block;
  width: 40px; height: 3px;
  background: var(--tan);
  border-radius: 2px;
  transform: translateY(-10px);
}

/* ============== 截图 + 核心功能（左右并排） ============== */
.features-shots {
  padding: 90px 44px;
  background: linear-gradient(160deg, var(--paper), #eaddce);
}
.fs-inner {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.55fr 1fr;
  gap: 56px;
  align-items: center;
}
.fs-feature-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: clamp(12px, 2vw, 24px);
}
.fs-feature-heading .section-title { margin: 0; }

/* 观鸟笔记里的两只鸟停在标题旁，飞行路线避开正文。 */
.gallery-perch {
  position: relative;
  display: flex;
  flex: 0 0 auto;
  justify-content: flex-end;
  align-items: flex-end;
  gap: 8px;
  height: 48px;
  pointer-events: none;
}
.gallery-perch::before {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(111,88,65,.54) 22%, rgba(111,88,65,.54) 80%, transparent);
}
.gallery-bird {
  position: relative;
  display: block;
  width: var(--bird-width);
  height: 100%;
}
.gallery-bird img {
  position: absolute;
  left: 50%;
  bottom: var(--rest-bottom);
  width: var(--rest-width);
  max-width: none;
  height: auto;
  translate: -50% 0;
  image-rendering: pixelated;
}
.gallery-bird-leiothrix {
  --bird-width: 56px;
  --rest-width: 90px;
  --rest-bottom: -25px;
  --flight-bottom: -13px;
  --idle-bottom: -6px;
}
.gallery-bird-sandpiper {
  --bird-width: 46px;
  --rest-width: 140px;
  --rest-bottom: -55px;
  --flight-bottom: -30px;
  --idle-bottom: -24px;
  --flight-delay: .32s;
  --flight-height: -98px;
}
.gallery-bird.flying img,
.gallery-bird.landed img { width: var(--bird-width); }
.gallery-bird.flying img { bottom: var(--flight-bottom); }
.gallery-bird.landed img { bottom: var(--idle-bottom); }

@media (prefers-reduced-motion: no-preference) {
  .gallery-bird.waiting { opacity: 0; }
  .gallery-bird.flying {
    animation: gallery-bird-arrive 1.45s cubic-bezier(.21,.58,.34,1) var(--flight-delay, 0s) both;
  }
}
@keyframes gallery-bird-arrive {
  0% { transform: translate(178px, var(--flight-height, -76px)) rotate(-12deg); opacity: 0; }
  20% { opacity: 1; }
  75% { transform: translate(19px, -13px) rotate(6deg); }
  100% { transform: none; }
}

/* 功能列表 */
.feature-list {
  display: grid;
  gap: 8px;
  list-style: none;
  padding: 0;
  margin: 0;
}
.feature-list button {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  align-items: center;
  gap: clamp(11px, 1.25vw, 17px);
  width: 100%;
  min-height: 56px;
  padding: clamp(11px, 1.1vw, 15px) clamp(12px, 1.25vw, 18px);
  border: 1px solid #ded0c1;
  border-radius: 18px;
  background: #fcf8f0;
  color: var(--ink);
  text-align: start;
  cursor: pointer;
  transition: background-color .2s ease, border-color .2s ease;
}
.feature-list button:is(:hover, :focus-visible) {
  background: #f4e9dc;
  border-color: #c4a88d;
}
.feature-list button[aria-pressed="true"] {
  background: #eedcc7;
  border-color: #ab815d;
}
.feature-list button > i {
  justify-self: center;
  color: #805e43;
  font-size: 19px;
  line-height: 1;
}
.feature-list button[aria-pressed="true"] > i {
  color: var(--brown-2);
}
.feature-copy {
  font-size: clamp(16px, 1.35vw, 18px);
  line-height: 1.48;
}

@media (max-width: 520px) {
  .gallery-bird-sandpiper { display: none; }
  .fs-feature-heading .section-title {
    gap: 9px;
    font-size: clamp(26px, 7.1vw, 34px);
  }
  .fs-feature-heading .section-title::before { flex: 0 0 22px; }
}

/* 截图画幅与雨林藤蔓框的开口对齐。 */
.shot-stage {
  position: relative;
}
.shot-frame {
  position: relative;
  aspect-ratio: 2308 / 1464;
  overflow: hidden;
  filter: drop-shadow(0 11px 13px rgba(53,40,27,.24));
}
.shot-viewport {
  position: absolute;
  inset: 14.5% 8.9% 11.8% 7.7%;
  overflow: hidden;
  background: var(--cream);
  touch-action: pan-y pinch-zoom;
}
/* 保留原始 PNG，容器只裁去装饰外侧的透明像素。 */
.shot-frame-art {
  position: absolute;
  top: -19.95%;
  left: -10.75%;
  width: 121.32%;
  max-width: none;
  height: auto;
  z-index: 2;
  pointer-events: none;
  image-rendering: pixelated;
}
.shot-track {
  display: flex;
  transition: transform .5s cubic-bezier(.3,.7,.2,1);
  will-change: transform;
  height: 100%;
}
.shot-slide {
  position: relative;
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
  margin: 0;
  overflow: hidden;
}
.shot-slide img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.shot-slide figcaption {
  position: absolute;
  bottom: 14px; left: 16px;
  padding: 7px 16px;
  background: rgba(30,20,14,.75);
  color: var(--paper);
  border-radius: 999px;
  font-family: var(--font-heading);
  font-size: 14px;
  letter-spacing: .12em;
  text-transform: uppercase;
  backdrop-filter: blur(6px);
}
.shot-slide[aria-hidden="false"] figcaption {
  animation: captionIn .42s .18s both;
}
@keyframes captionIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}
[data-lang="cn"] .shot-slide figcaption {
  font-family: var(--font-body);
  letter-spacing: .18em;
  font-size: 15px;
  text-transform: none;
}
.shot-btn {
  position: absolute;
  top: 51.4%;
  transform: translateY(-50%);
  width: 44px; height: 44px;
  border-radius: 50%;
  background: rgba(247,245,234,.9);
  border: 1px solid rgba(86,64,47,.15);
  color: var(--brown);
  font-size: 18px;
  cursor: pointer;
  transition: all .2s;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 14px -6px rgba(0,0,0,.3);
}
.shot-btn:is(:hover, :focus-visible) {
  background: var(--brown);
  color: var(--paper);
  border-color: var(--brown);
}
.shot-btn.prev { left: calc(7.97% + 10px); }
.shot-btn.next { right: calc(9.19% + 10px); }
.shot-dots {
  display: flex;
  gap: 6px;
  justify-content: center;
  margin-top: 8px;
}
.shot-dots .dot {
  width: 26px;
  height: 28px;
  border-radius: 8px;
  border: none;
  background: transparent;
  display: grid;
  align-items: center;
  cursor: pointer;
  padding: 0;
}
.shot-dots .dot::after {
  content: "";
  height: 5px;
  border-radius: 2px;
  background: rgba(86,64,47,.2);
  transform: scaleX(.65);
  transition: background-color .25s, transform .25s;
}
.shot-dots .dot:hover::after { background: rgba(86,64,47,.45); }
.shot-dots .dot[aria-current="true"]::after {
  background: var(--brown);
  transform: scaleX(1);
}
.shot-btn:focus-visible,
.shot-dots .dot:focus-visible { outline: 2px solid var(--brown); outline-offset: 3px; }
.feature-list button:focus-visible { outline: 2px solid var(--brown); outline-offset: -3px; }

/* ============== Footer 补充：媒体材料包链接 ============== */
.footer-links {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}
.footer-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 11px 22px;
  border: 1px solid rgba(247,245,234,.28);
  border-radius: 999px;
  color: var(--paper);
  font-size: 15px;
  letter-spacing: .04em;
  transition: all .2s;
}
.footer-link:hover {
  background: var(--tan);
  color: var(--brown-2);
  border-color: var(--tan);
}

/* 桌面：只显示 desktop hero-kv */
.hero-kv.mobile { display: none; }

@media (max-width: 960px) {
  /* 手机：观鸟笔记用竖版 KV */
  .hero-kv.desktop { display: none; }
  .hero-kv.mobile { display: block; }
  [data-lang="cn"] .hero-kv.mobile { background-image: url("images/VerticalCapsule_SChinese.webp"); }
  [data-lang="en"] .hero-kv.mobile { background-image: url("images/Verticalcapsule_English.webp"); }

  .hero-visual {
    height: auto;
    min-height: 0;
    margin-top: 78px;
    aspect-ratio: 748 / 896;
    display: block;
  }
  .hero-kv {
    background-position: center center;
    background-size: cover;
  }
  /* 视频容器保持等比 */
  .hero-video-wrap iframe,
  .hero-video-wrap video {
    min-width: 100%;
    min-height: 100%;
  }

  /* 内容叠在图片底部（渐变半透明黑背景），文字和按钮从底部往上排 */
  .hero-content {
    position: absolute;
    left: 0; right: 0; bottom: 0;
    padding: 60px 22px 24px;
    gap: 12px;
    align-items: flex-start;
    text-align: left;
    background: linear-gradient(0deg, rgba(30,20,14,.85) 0%, rgba(30,20,14,.5) 55%, transparent 100%);
  }
  .intro { padding: 60px 22px; }
  .intro-inner {
    display: flex;
    flex-direction: column;
    gap: 26px;
    text-align: center;
  }
  .intro-visual { order: -1; max-width: 280px; margin: 0 auto; }
  .intro-text, .intro-body { text-align: center; }
  .intro-game-logo { max-height: 200px; }
  .hero-title { font-size: clamp(26px, 5.5vw, 36px); }
  .hero-desc { font-size: 14px; line-height: 1.55; max-width: 100%; }
  .hero-actions { gap: 10px; justify-content: flex-start; }
  .hero-actions .btn-primary {
    padding: 10px 20px;
    font-size: 14px;
  }

  .hero-hint {
    top: auto;
    bottom: calc(100% - 44%);
    right: 12px;
    min-height: 44px;
    font-size: 14px;
    padding: 8px 13px;
  }

  .intro { padding: 60px 20px; }
  .features-shots { padding: 60px 20px; }
  .fs-inner { grid-template-columns: 1fr; gap: 36px; }
  .shot-btn.prev { left: calc(7.97% + 6px); }
  .shot-btn.next { right: calc(9.19% + 6px); }
  .shot-slide figcaption { bottom: 8px; left: 8px; padding: 4px 10px; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-actions,
  .intro-visual::after,
  .intro-game-logo,
  .deco-leaf[class*="leaf-"],
  .dot-pulse,
  .shot-slide[aria-hidden="false"] figcaption { animation: none; }
  .hero-kv,
  .hero-video-wrap,
  .hero-overlay,
  .hero-hint,
  .btn-primary,
  .feature-list button,
  .shot-track,
  .shot-btn,
  .shot-dots .dot::after { transition: none; }
  .hero-hint:is(:hover, :focus-visible, :active),
  .btn-primary:is(:hover, :focus-visible, :active) { transform: none; }
}

/* ============== 整屏分页 + 动效 ============== */
/* 首屏视差 */
.hero-kv,
.hero-video-wrap { transform: translate3d(0, calc(var(--hp, 0) * 24%), 0); will-change: transform; }
.hero-content,
.hero-hint { opacity: calc(1 - var(--hp, 0) * 1.8); }

/* 截图切换：当前张从微放大缓缓落定 */
.shot-slide img { scale: 1.06; transition: scale 1.1s var(--ease-out); }
.shot-slide[aria-hidden="false"] img { scale: 1; }

@media (min-width: 961px) and (min-height: 620px) {
  /* 顶部留出导航栏高度，主视觉正好一屏 */
  .hero-visual {
    margin-top: 0;
    height: 100vh;
    height: 100svh;
    min-height: 0;
    border-top: var(--nav-h) solid var(--paper);
  }

  .intro,
  .features-shots {
    display: flex;
    align-items: center;
    padding-top: calc(var(--nav-h) + 5vh);
    padding-bottom: 6vh;
  }
  .intro-inner,
  .fs-inner { width: 100%; }

  .intro {
    background:
      radial-gradient(ellipse at 78% 48%, rgba(199,156,123,.16), transparent 55%),
      radial-gradient(ellipse at 6% 92%, rgba(86,64,47,.06), transparent 50%),
      var(--paper);
  }
  .intro-inner { gap: clamp(60px, 7vw, 110px); }
  .intro-visual { max-width: min(480px, 58vh); }
  .intro-body { text-align: left; text-wrap: pretty; }

  /* 截图区按屏幕高度收窄，保证截图和功能列表一屏放下 */
  .fs-inner {
    max-width: min(1400px, calc((100svh - 250px) * 2.95));
    gap: clamp(40px, 4vw, 64px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-kv, .hero-video-wrap { transform: none; }
  .hero-content, .hero-hint { opacity: 1; }
  .shot-slide img { scale: 1; transition: none; }
}

/* 矮屏（如 1280×720）收紧间距，保证一屏放下 */
@media (min-width: 961px) and (min-height: 620px) and (max-height: 820px) {
  .intro,
  .features-shots { padding-top: calc(var(--nav-h) + 2.5vh); padding-bottom: 3vh; }
}

/* 主视觉上缓慢游移的暖光 */
@media (prefers-reduced-motion: no-preference) {
  .hero-visual::before {
    content: "";
    position: absolute;
    inset: -20%;
    z-index: 1;
    pointer-events: none;
    background:
      radial-gradient(38% 34% at 28% 18%, rgba(255,232,180,.42), transparent 70%),
      radial-gradient(30% 30% at 78% 70%, rgba(255,214,160,.18), transparent 70%);
    mix-blend-mode: soft-light;
    animation: sunDrift 16s ease-in-out infinite alternate;
  }
}
@keyframes sunDrift {
  from { translate: -6% -4%; }
  to   { translate: 8% 5%; }
}

/* 雨林主色集中在游戏标志一侧，文字一侧留出纸色空间。 */
.scene-rainforest {
  background-color: #f7f3e9;
}
.scene-rainforest::before,
.scene-scene21::before {
  content: "";
  position: absolute;
  background-repeat: no-repeat;
  background-size: cover;
}
.scene-rainforest::before {
  inset: 0;
  background-image: url("scenes/rainforest.webp");
  background-position: 69% center;
  mask-image: linear-gradient(90deg, transparent 8%, rgba(0,0,0,.2) 35%, #000 75%);
  opacity: .71;
}
.scene-rainforest::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, #f7f3e9 0%, transparent 24%, transparent 75%, #efece0 100%);
}

/* 木屋景色落在截图展区下缘，给轮播和功能文字留出清晰的底。 */
.scene-scene21 {
  background: linear-gradient(152deg, #fcf8ee 5%, #f4ecdf 55%, #eaddce 100%);
}
.scene-scene21::before {
  inset: 30% 0 0;
  background-image: url("scenes/scene_21.webp");
  background-position: center 74%;
  mask-image: linear-gradient(180deg, transparent 0%, rgba(0,0,0,.66) 58%, #000 100%);
  opacity: .42;
}

@media (max-width: 960px) {
  .scene-rainforest::before {
    background-position: 63% 14%;
    mask-image: linear-gradient(180deg, #000 4%, rgba(0,0,0,.63) 42%, transparent 71%);
    opacity: .58;
  }
  .scene-scene21::before {
    inset: 46% 0 0;
    opacity: .28;
  }
}
