/* ============== 游戏详情页 ============== */
.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;
}
.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-visual.playing .hero-hint { opacity: 0; }
.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: 2;
  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;
  letter-spacing: .1em;
  backdrop-filter: blur(8px);
  animation: heroHintPulse 2.6s ease-in-out infinite;
  transition: opacity .3s ease;
}
.hero-hint i { color: var(--tan); font-size: 18px; }
@keyframes heroHintPulse {
  0%, 100% { transform: translateY(0); box-shadow: 0 0 0 rgba(199,156,123,.4); }
  50%      { transform: translateY(-2px); box-shadow: 0 10px 24px -8px rgba(199,156,123,.5); }
}
.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;
}
/* 观鸟笔记游戏 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-title.big {
  font-weight: 600;
  font-size: clamp(72px, 8.4vw, 136px);
  letter-spacing: -.02em;
  filter:
    drop-shadow(0 0 1px rgba(247,245,234,.9))
    drop-shadow(0 0 4px rgba(247,245,234,.5))
    drop-shadow(0 8px 22px rgba(0,0,0,.55));
}
[data-lang="cn"] .hero-title.big { font-weight: 800; 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;
}
.btn-primary.status-btn {
  cursor: default;
  pointer-events: none;
  background: rgba(247,245,234,.14);
  color: var(--paper);
  border: 1px solid rgba(199,156,123,.55);
  backdrop-filter: blur(8px);
  padding: 12px 24px;
}
.btn-primary.status-btn .dot-pulse {
  width: 8px; height: 8px;
  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); }
}
.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.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:hover {
  background: var(--paper);
  transform: translateY(-2px);
}
.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) 0%, var(--sage) 100%);
}
.fs-inner {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.55fr 1fr;
  gap: 56px;
  align-items: center;
}
.fs-features .section-title { margin-bottom: 30px; }

/* 左侧核心功能 */
.feature-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 14px;
}
.feature-list li {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px 24px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(228,225,201,.5) 0%, rgba(247,245,234,.65) 100%);
  border: 1px solid rgba(86,64,47,.08);
  transition: all .25s ease;
}
.feature-list li:hover {
  transform: translateX(4px);
  border-color: rgba(199,156,123,.4);
  background: linear-gradient(135deg, rgba(199,156,123,.15) 0%, rgba(247,245,234,.9) 100%);
}
.feature-list li > i {
  flex: 0 0 auto;
  width: 44px; height: 44px;
  border-radius: 12px;
  background: var(--brown);
  color: var(--paper);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}
.feature-list li > div {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: center;
}
.feature-list li p {
  margin: 0;
  font-size: 19px;
  line-height: 1.5;
  color: var(--ink);
  font-weight: 500;
}

/* 右侧截图轮播 */
.shot-carousel {
  position: relative;
}
.shot-viewport {
  overflow: hidden;
  border-radius: 18px;
  box-shadow: var(--shadow-soft);
  aspect-ratio: 16 / 9;
  background: var(--cream);
}
.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);
}
[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: 50%;
  transform: translateY(-50%);
  width: 42px; height: 42px;
  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:hover {
  background: var(--tan);
  color: var(--paper);
  border-color: var(--tan);
}
.shot-btn.prev { left: 12px; }
.shot-btn.next { right: 12px; }
.shot-dots {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-top: 18px;
}
.shot-dots .dot {
  width: 26px;
  height: 4px;
  border-radius: 2px;
  border: none;
  background: rgba(86,64,47,.2);
  cursor: pointer;
  transition: all .25s;
  padding: 0;
}
.shot-dots .dot:hover { background: rgba(86,64,47,.4); }
.shot-dots .dot.active {
  width: 48px;
  background: var(--tan);
}

/* ============== 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; }

  .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.big { font-size: clamp(28px, 6vw, 40px); letter-spacing: 0; }
  .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;
    font-size: 11.5px;
    padding: 6px 12px;
  }

  .intro { padding: 60px 20px; }
  .features-shots { padding: 60px 20px; }
  .fs-inner { grid-template-columns: 1fr; gap: 36px; }
}
