/* 黄山寻宝 - Landing Page 样式 */
/* 纪念碑谷风格 + 黄绿色主色调 */

:root {
  --primary: #7CB342;
  --primary-dark: #558B2F;
  --primary-light: #AED581;
  --accent: #C6FF00;
  --accent-warm: #E6EE9C;
  --bg-light: #F1F8E9;
  --bg-cream: #F5F5DC;
  --text-dark: #33691E;
  --text-medium: #558B2F;
  --text-light: #789544;
  --white: #FFFFFF;
  --shadow: rgba(124, 179, 66, 0.2);
  --shadow-strong: rgba(85, 139, 47, 0.3);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-snap-type: y mandatory;
  scroll-padding-top: 0;
}

body {
  font-family: 'Quicksand', 'PingFang SC', sans-serif;
  background: #eef6ea;
  color: var(--text-dark);
  line-height: 1.7;
  overflow-x: hidden;
}

body::before {
  content: '';
  position: fixed;
  inset: -18px;
  z-index: -3;
  background-image: url("背景.jpg");
  background-size: cover;
  background-position: center;
  opacity: 0.72;
  filter: blur(6px) saturate(1.08) contrast(1.03);
  transform: scale(1.02);
  pointer-events: none;
}

body::after {
  display: none;
}

.site-bg-video {
  position: fixed;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.08);
  transform-origin: center;
  opacity: 0.84;
  filter: blur(6px) saturate(1.12) contrast(1.03);
  pointer-events: none;
}

/* 浮动背景球 */
.floating-balls {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.ball {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.5;
  animation: float 20s ease-in-out infinite;
}

.ball-1 {
  width: 400px;
  height: 400px;
  background: linear-gradient(135deg, #7CB342, #AED581);
  top: -100px;
  right: -100px;
  animation-delay: 0s;
}

.ball-2 {
  width: 300px;
  height: 300px;
  background: linear-gradient(135deg, #C6FF00, #7CB342);
  bottom: 20%;
  left: -50px;
  animation-delay: -5s;
}

.ball-3 {
  width: 250px;
  height: 250px;
  background: linear-gradient(135deg, #E6EE9C, #C6FF00);
  top: 40%;
  right: 10%;
  animation-delay: -10s;
}

.ball-4 {
  width: 200px;
  height: 200px;
  background: linear-gradient(135deg, #AED581, #DCEDC8);
  bottom: 10%;
  right: 30%;
  animation-delay: -15s;
}

@keyframes float {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  25% { transform: translate(30px, -30px) rotate(5deg); }
  50% { transform: translate(-20px, 20px) rotate(-5deg); }
  75% { transform: translate(20px, 30px) rotate(3deg); }
}

/* 导航栏 */
.navbar {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 16px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.3s ease;
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(20px);
  box-shadow: 0 2px 20px var(--shadow);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 20px;
  font-weight: 700;
  color: var(--primary-dark);
  text-decoration: none;
}

.nav-logo-image {
  width: 44px;
  height: 44px;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 8px 16px rgba(85, 139, 47, 0.16));
}

.nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-medium);
  font-weight: 600;
  font-size: 15px;
  transition: color 0.3s ease;
  position: relative;
}

.nav-links a:hover {
  color: var(--primary-dark);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width 0.3s ease;
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-cta {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: white !important;
  padding: 10px 24px;
  border-radius: 50px;
  transition: all 0.3s ease;
}

.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px var(--shadow-strong);
}

.nav-cta::after {
  display: none !important;
}

.page-progress {
  position: fixed;
  right: clamp(18px, 2.4vw, 34px);
  top: 50%;
  z-index: 50;
  display: flex;
  flex-direction: column;
  gap: 13px;
  transform: translateY(-50%);
  padding: 12px 9px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.34);
  border: 1px solid rgba(255, 255, 255, 0.52);
  box-shadow: 0 18px 48px rgba(42, 62, 48, 0.12);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.page-progress button {
  width: 10px;
  height: 10px;
  border: 0;
  border-radius: 999px;
  background: rgba(85, 139, 47, 0.28);
  cursor: pointer;
  transition: height 0.32s ease, background 0.32s ease, transform 0.32s ease;
}

.page-progress button:hover {
  transform: scale(1.28);
  background: rgba(85, 139, 47, 0.58);
}

.page-progress button.active {
  height: 36px;
  background: linear-gradient(180deg, var(--primary), var(--primary-dark));
}

/* Hero区域 */
.hero {
  min-height: 100dvh;
  display: flex;
  align-items: center;
  padding: clamp(18px, 4vh, 42px) 60px;
  position: relative;
  z-index: 1;
  scroll-snap-align: start;
  scroll-snap-stop: always;
}

.hero-container {
  max-width: 1400px;
  width: min(88vw, 1400px);
  min-height: calc(100dvh - clamp(36px, 8vh, 84px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(42px, 6vw, 80px);
  align-items: center;
  padding: clamp(42px, 5vw, 72px);
  border-radius: 34px;
  background:
    linear-gradient(135deg, rgba(253, 255, 250, 0.88), rgba(242, 250, 235, 0.74)),
    radial-gradient(circle at 82% 10%, rgba(198, 255, 0, 0.13), transparent 32%);
  border: 1px solid rgba(255, 255, 255, 0.64);
  box-shadow: 0 28px 78px rgba(42, 62, 48, 0.18);
}

.hero-content {
  animation: slideInLeft 1s ease-out;
}

@keyframes slideInLeft {
  from { opacity: 0; transform: translateX(-50px); }
  to { opacity: 1; transform: translateX(0); }
}

.hero-title {
  font-family: "Alimama ShuHeiTi", "PingFang SC", sans-serif;
  font-size: 72px;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 24px;
  background: linear-gradient(135deg, var(--primary-dark), var(--primary), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-desc {
  font-size: 20px;
  color: var(--text-light);
  margin-bottom: 40px;
  max-width: 500px;
  line-height: 1.8;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: white;
  padding: 16px 32px;
  border-radius: 50px;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 40px var(--shadow-strong);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: white;
  color: var(--primary-dark);
  padding: 16px 32px;
  border-radius: 50px;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  border: 2px solid var(--primary-light);
}

.btn-secondary:hover {
  background: var(--accent-warm);
  border-color: var(--accent);
  transform: translateY(-3px);
}

.hero-phone {
  position: relative;
  animation: slideInRight 1s ease-out;
}

@keyframes slideInRight {
  from { opacity: 0; transform: translateX(50px); }
  to { opacity: 1; transform: translateX(0); }
}

.phone-mockup {
  width: 320px;
  height: 650px;
  background: linear-gradient(145deg, #1a1a2e, #16213e);
  border-radius: 50px;
  padding: 12px;
  box-shadow: 
    0 50px 100px rgba(0, 0, 0, 0.3),
    inset 0 0 0 2px rgba(255, 255, 255, 0.1);
  margin: 0 auto;
  perspective: 1000px;
}

.phone-screen {
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, #E8F5E9 0%, #C8E6C9 50%, #A5D6A7 100%);
  border-radius: 40px;
  overflow: hidden;
  position: relative;
}

.phone-header {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  padding: 40px 20px 20px;
  color: white;
  text-align: center;
}

.phone-header h4 {
  font-size: 14px;
  opacity: 0.9;
  margin-bottom: 4px;
}

.phone-header h2 {
  font-size: 20px;
  font-weight: 700;
}

.phone-content {
  padding: 20px;
}

.game-card-preview {
  background: white;
  border-radius: 20px;
  padding: 16px;
  margin-bottom: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.game-card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.game-icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
}

.game-info h4 {
  font-size: 14px;
  color: var(--text-dark);
  margin-bottom: 2px;
}

.game-info p {
  font-size: 11px;
  color: var(--text-light);
}

.progress-bar {
  height: 6px;
  background: #E8F5E9;
  border-radius: 3px;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  border-radius: 3px;
  width: 65%;
}

.phone-float-element {
  position: absolute;
  animation: floatElement 3s ease-in-out infinite;
}

.phone-float-element.el-1 {
  top: 25%;
  right: -30px;
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--accent), var(--primary-light));
  border-radius: 16px;
  transform: rotate(15deg);
}

.phone-float-element.el-2 {
  bottom: 30%;
  left: -40px;
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  border-radius: 50%;
  animation-delay: -1s;
}

.phone-float-element.el-3 {
  top: 60%;
  right: -20px;
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, #FFF59D, var(--accent));
  border-radius: 12px;
  transform: rotate(-10deg);
  animation-delay: -2s;
}

@keyframes floatElement {
  0%, 100% { transform: translateY(0) rotate(15deg); }
  50% { transform: translateY(-15px) rotate(15deg); }
}

/* 通用容器 */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
  position: relative;
  z-index: 1;
}

section {
  min-height: 100dvh;
  padding: clamp(18px, 4vh, 42px) 0;
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  scroll-snap-align: start;
  scroll-snap-stop: always;
}

section:not(.hero) > .container {
  width: min(84vw, 1280px);
  max-width: 1280px;
  max-height: calc(100dvh - clamp(36px, 8vh, 84px));
  overflow: hidden;
  padding: clamp(30px, 4vw, 58px);
  border-radius: 34px;
  background:
    linear-gradient(135deg, rgba(253, 255, 250, 0.88), rgba(242, 250, 235, 0.74)),
    radial-gradient(circle at 82% 10%, rgba(198, 255, 0, 0.13), transparent 32%);
  border: 1px solid rgba(255, 255, 255, 0.64);
  box-shadow: 0 28px 78px rgba(42, 62, 48, 0.18);
}

.stats > .container {
  width: min(84vw, 1280px);
}

/* 标题样式 */
.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, rgba(198, 255, 0, 0.2), rgba(124, 179, 66, 0.2));
  border: 1px solid rgba(198, 255, 0, 0.3);
  padding: 8px 16px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 600;
  color: var(--primary-dark);
  margin-bottom: 16px;
}

.section-title {
  font-size: 48px;
  font-weight: 800;
  color: var(--primary-dark);
  margin-bottom: 16px;
}

.section-desc {
  font-size: 18px;
  color: var(--text-light);
  max-width: 600px;
}

/* 产品概述 */
.products {
  background: transparent;
}

.poster-showcase {
  margin-top: 54px;
  position: relative;
}

.poster-stage {
  --poster-radius: 200px;
  --poster-drop: 16px;
  position: relative;
  min-height: 560px;
  overflow: hidden;
  border-radius: 34px;
  background:
    radial-gradient(circle at 50% 46%, rgba(198, 255, 0, 0.16), transparent 30%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.26), rgba(241, 248, 233, 0.18));
  cursor: grab;
  touch-action: pan-y;
}

.poster-stage.is-dragging {
  cursor: grabbing;
}

.poster-card {
  --slot: 0;
  --distance: 0;
  --spread: 0;
  --lift: 0;
  position: absolute;
  left: 50%;
  top: 50%;
  width: min(280px, 26vw);
  aspect-ratio: 9 / 16;
  padding: 10px;
  border-radius: 24px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.9), rgba(239, 248, 232, 0.72)),
    radial-gradient(circle at 78% 18%, rgba(198, 255, 0, 0.16), transparent 32%);
  border: 1px solid rgba(255, 255, 255, 0.74);
  box-shadow: 0 26px 70px rgba(42, 62, 48, 0.18);
  opacity: 0;
  transform:
    translate(-50%, -50%)
    rotate(calc(var(--slot) * var(--spread) * 18deg))
    translateX(calc(var(--slot) * var(--poster-radius) * var(--spread)))
    translateY(calc(var(--distance) * var(--poster-drop) * var(--spread) - var(--lift) * 18px))
    rotate(calc(var(--slot) * var(--spread) * -13deg))
    scale(calc(0.38 + var(--spread) * (0.62 - var(--distance) * 0.1) + var(--lift) * 0.1));
  transition:
    transform 1.08s cubic-bezier(0.16, 1, 0.3, 1),
    opacity 0.5s ease,
    box-shadow 0.42s ease,
    filter 0.42s ease;
  transition-delay: calc(var(--i) * 90ms);
  user-select: none;
  z-index: calc(20 - var(--distance));
}

.poster-stage.is-visible .poster-card {
  opacity: 1;
}

.poster-stage.is-spreading .poster-card {
  --spread: 1;
}

.poster-stage.is-unfolded .poster-card {
  filter: saturate(calc(1 - var(--distance) * 0.18));
  z-index: calc(20 - var(--distance));
}

.poster-stage.is-unfolded .poster-card.is-active {
  --lift: 1;
  z-index: 30;
  box-shadow: 0 34px 90px rgba(42, 62, 48, 0.24);
}

.poster-card img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 18px;
  border: 1px solid rgba(85, 139, 47, 0.12);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.45);
  pointer-events: none;
}

.poster-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  color: rgba(85, 139, 47, 0.72);
  font-size: 13px;
  font-weight: 800;
}

.poster-controls button {
  width: 42px;
  height: 42px;
  border: 1px solid rgba(85, 139, 47, 0.2);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.68);
  color: var(--primary-dark);
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  transition: transform 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}

.poster-controls button:hover {
  transform: translateY(-2px);
  background: rgba(241, 248, 233, 0.92);
  box-shadow: 0 12px 28px rgba(85, 139, 47, 0.12);
}

/* 功能区域 */
.features {
  background: transparent;
}

.feature-carousel {
  margin-top: 56px;
  position: relative;
}

.feature-carousel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
  color: rgba(85, 139, 47, 0.72);
  font-size: 13px;
  font-weight: 800;
}

.feature-controls {
  display: inline-flex;
  gap: 10px;
}

.feature-controls button {
  width: 42px;
  height: 42px;
  border: 1px solid rgba(85, 139, 47, 0.2);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.68);
  color: var(--primary-dark);
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  transition: transform 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}

.feature-controls button:hover {
  transform: translateY(-2px);
  background: rgba(241, 248, 233, 0.9);
  box-shadow: 0 12px 28px rgba(85, 139, 47, 0.12);
}

.features-grid {
  width: min(100%, 980px);
  margin: 0 auto;
  display: block;
  margin-top: 0;
  border-top: 0;
  overflow: hidden;
  padding: 8px 4px 30px;
  cursor: grab;
  touch-action: pan-y;
}

.features-grid.is-dragging {
  cursor: grabbing;
}

.feature-slide-track {
  display: flex;
  width: 100%;
  transition: transform 0.72s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

.features-grid.is-dragging .feature-slide-track {
  transition: none;
}

.feature-card {
  flex: 0 0 100%;
  min-height: 540px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.84), rgba(239, 248, 232, 0.66)),
    radial-gradient(circle at 88% 16%, rgba(198, 255, 0, 0.18), transparent 32%);
  border-radius: 36px;
  padding: clamp(24px, 4vw, 46px);
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(260px, 0.86fr) minmax(260px, 1fr);
  align-items: center;
  gap: clamp(28px, 5vw, 64px);
  transition: transform 0.35s ease, box-shadow 0.35s ease, opacity 0.35s ease;
  border: 1px solid rgba(255, 255, 255, 0.72);
  box-shadow: 0 24px 70px rgba(70, 94, 75, 0.16);
  user-select: none;
}

.feature-card:hover {
  box-shadow: 0 30px 80px rgba(70, 94, 75, 0.2);
}

.feature-card::before,
.feature-card::after {
  content: '';
  position: absolute;
  pointer-events: none;
}

.feature-card::before {
  width: 150px;
  height: 150px;
  right: -42px;
  top: -42px;
  border-radius: 999px;
  background: rgba(124, 179, 66, 0.1);
}

.feature-card::after {
  left: 28px;
  right: 28px;
  bottom: 28px;
  height: 2px;
  background: linear-gradient(90deg, rgba(85, 139, 47, 0.48), transparent);
}

.feature-count {
  display: inline-flex;
  color: rgba(85, 139, 47, 0.42);
  font-size: 14px;
  font-weight: 900;
  margin-bottom: 18px;
}

.feature-media {
  width: min(100%, 340px);
  aspect-ratio: 735 / 1431;
  justify-self: center;
  border-radius: 34px;
  overflow: hidden;
  margin: 0;
  background: rgba(238, 248, 230, 0.72);
  border: 10px solid rgba(255, 255, 255, 0.72);
  box-shadow: 0 28px 64px rgba(52, 74, 59, 0.2);
  position: relative;
}

.feature-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.5s ease;
}

.feature-media-phone img {
  object-fit: cover;
  object-position: top center;
}

.feature-media-wide {
  width: min(100%, 470px);
  aspect-ratio: 16 / 10;
  border-radius: 30px;
}

.feature-media-wide img {
  object-fit: cover;
  object-position: center;
}

.feature-card:hover .feature-media img {
  transform: scale(1.035);
}

.feature-copy {
  max-width: 430px;
  position: relative;
  z-index: 1;
}

.feature-icon {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, var(--bg-light), var(--accent-warm));
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  margin-bottom: 20px;
  transition: transform 0.3s ease;
}

.feature-card:hover .feature-icon {
  transform: rotate(10deg) scale(1.1);
}

.feature-card h3 {
  font-size: clamp(34px, 4vw, 54px);
  font-weight: 700;
  color: var(--primary-dark);
  line-height: 1.05;
  margin-bottom: 22px;
  padding-left: 0;
}

.feature-card p {
  font-size: clamp(17px, 1.6vw, 22px);
  color: var(--text-light);
  line-height: 1.7;
  padding-left: 0;
  max-width: 28ch;
}

.feature-dots {
  display: flex;
  gap: 8px;
  align-items: center;
  justify-content: center;
  margin-top: 4px;
}

.feature-dots button {
  width: 22px;
  height: 4px;
  border: 0;
  border-radius: 999px;
  background: rgba(85, 139, 47, 0.18);
  cursor: pointer;
  transition: width 0.25s ease, background 0.25s ease;
}

.feature-dots button.active {
  width: 42px;
  background: var(--primary-dark);
}

/* AI问答区域 */
.ai-section {
  background: transparent;
}

.ai-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  margin-top: 60px;
}

.ai-chat-preview {
  background: white;
  border-radius: 32px;
  padding: 32px;
  box-shadow: 0 30px 80px var(--shadow);
  position: relative;
}

.ai-chat-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 20px;
  border-bottom: 1px solid #E8F5E9;
  margin-bottom: 20px;
}

.ai-avatar {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
}

.ai-info h4 {
  font-size: 16px;
  font-weight: 700;
  color: var(--primary-dark);
}

.ai-info p {
  font-size: 12px;
  color: var(--text-light);
}

.chat-messages {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.chat-bubble {
  max-width: 85%;
  padding: 16px 20px;
  border-radius: 20px;
  font-size: 14px;
  line-height: 1.6;
  animation: bubbleIn 0.4s ease-out;
}

@keyframes bubbleIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.chat-bubble.user {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: white;
  align-self: flex-end;
  border-bottom-right-radius: 6px;
}

.chat-bubble.ai {
  background: var(--bg-light);
  color: var(--text-dark);
  align-self: flex-start;
  border-bottom-left-radius: 6px;
}

.ai-features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.ai-feature-item {
  background: white;
  border-radius: 20px;
  padding: 24px;
  transition: all 0.3s ease;
  border: 1px solid rgba(124, 179, 66, 0.1);
}

.ai-feature-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px var(--shadow);
  border-color: var(--accent-warm);
}

.ai-feature-icon {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, var(--bg-light), var(--accent-warm));
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 16px;
}

.ai-feature-item h4 {
  font-size: 16px;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 8px;
}

.ai-feature-item p {
  font-size: 13px;
  color: var(--text-light);
  line-height: 1.5;
}

/* 数据统计 */
.stats {
  background: transparent;
  position: relative;
  overflow: hidden;
}

.stats::before {
  content: none;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.5;
}

.stats .section-badge {
  background: rgba(226, 242, 205, 0.7);
  border-color: rgba(135, 176, 97, 0.22);
  color: var(--primary-dark);
}

.stats .section-title,
.stats .section-desc {
  color: var(--primary-dark);
}

.stats .section-desc {
  color: var(--text-light);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  margin-top: 60px;
}

.stat-item {
  text-align: center;
  position: relative;
  min-height: 176px;
  padding: 34px 18px;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.22);
  overflow: hidden;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.stat-item::before {
  content: '';
  position: absolute;
  inset: auto 18px 18px;
  height: 2px;
  background: rgba(255, 255, 255, 0.24);
}

.stat-prank::after {
  content: '归零中';
  position: absolute;
  top: 16px;
  right: 16px;
  padding: 4px 9px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  color: rgba(255, 255, 255, 0.82);
  font-size: 11px;
  opacity: 0;
  transform: translateY(-4px);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.stat-prank.is-resetting::after {
  opacity: 1;
  transform: translateY(0);
}

.stat-number {
  font-size: clamp(46px, 5vw, 72px);
  font-weight: 800;
  color: white;
  line-height: 1;
  margin-bottom: 14px;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  font-variant-numeric: tabular-nums;
  transition: transform 0.16s ease, opacity 0.16s ease;
}

.stat-number.is-jumping {
  animation: statJump 0.22s ease-in-out;
}

@keyframes statJump {
  0% { transform: translateY(0) scale(1); }
  45% { transform: translateY(-12px) scale(1.08); }
  100% { transform: translateY(0) scale(1); }
}

.stat-label {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.8);
  font-weight: 500;
}

/* 游戏中心 */
.games {
  background: transparent;
}

.games-title-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 28px;
}

.games-title-row .section-title {
  margin-bottom: 16px;
}

.qr-slot {
  width: 104px;
  height: 104px;
  flex: 0 0 auto;
  border-radius: 22px;
  padding: 12px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(85, 139, 47, 0.18);
  box-shadow: 0 14px 34px rgba(70, 94, 75, 0.12);
}

.qr-slot img {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 10px;
  object-fit: contain;
}

.games-tabs {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin: 40px 0;
  flex-wrap: wrap;
}

.tab-btn {
  padding: 12px 28px;
  border: 2px solid var(--primary-light);
  background: white;
  border-radius: 50px;
  font-size: 15px;
  font-weight: 600;
  color: var(--text-medium);
  cursor: pointer;
  transition: all 0.3s ease;
}

.tab-btn:hover {
  background: var(--accent-warm);
  border-color: var(--accent);
}

.tab-btn.active {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: white;
  border-color: transparent;
}

.games-content {
  display: none;
  animation: fadeIn 0.5s ease;
}

.games-content.active {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 40px;
  align-items: center;
}

.attraction-explorer.games-content.active {
  grid-template-columns: minmax(0, 1.35fr) minmax(320px, 0.65fr);
  align-items: stretch;
  gap: 28px;
  margin-top: 8px;
}

.attraction-map {
  position: relative;
  min-height: 440px;
  border-radius: 34px;
  overflow: hidden;
  box-shadow: 0 28px 80px rgba(70, 94, 75, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.58);
  background: transparent;
}

.attraction-map img {
  width: 100%;
  height: 100%;
  min-height: 440px;
  object-fit: cover;
  display: block;
}

.map-hotspot {
  position: absolute;
  left: var(--x);
  top: var(--y);
  transform: translate(-50%, -50%);
  border: 0;
  padding: 0;
  background: transparent;
  cursor: pointer;
  color: #5d6b4f;
  font-family: inherit;
  z-index: 2;
}

.map-hotspot::before {
  content: '';
  display: block;
  width: 20px;
  height: 20px;
  margin: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.96);
  border: 3px solid #f4ce6a;
  box-shadow: 0 0 0 8px rgba(244, 206, 106, 0.22), 0 0 26px rgba(244, 206, 106, 0.72);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.map-hotspot span {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.map-hotspot:hover::before,
.map-hotspot.active::before {
  transform: scale(1.25);
  box-shadow: 0 0 0 12px rgba(198, 255, 0, 0.24), 0 0 34px rgba(244, 206, 106, 0.9);
}

.map-hotspot:hover span,
.map-hotspot.active span {
  transform: none;
}

.attraction-detail {
  border-radius: 30px;
  padding: 32px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.86), rgba(241, 248, 233, 0.84)),
    radial-gradient(circle at 100% 0%, rgba(198, 255, 0, 0.18), transparent 42%);
  border: 1px solid rgba(255, 255, 255, 0.7);
  box-shadow: 0 24px 70px rgba(85, 139, 47, 0.14);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 440px;
}

.detail-kicker {
  display: inline-flex;
  width: fit-content;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(124, 179, 66, 0.12);
  color: var(--primary-dark);
  font-size: 12px;
  font-weight: 800;
  margin-bottom: 16px;
}

.attraction-detail h3 {
  color: var(--primary-dark);
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1;
  margin-bottom: 14px;
}

.attraction-detail > p:not(.detail-kicker) {
  color: var(--text-light);
  font-size: 15px;
  line-height: 1.7;
}

.detail-play {
  margin: 24px 0;
  padding: 22px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.62);
}

.detail-play h4 {
  color: var(--primary-dark);
  font-size: 15px;
  margin-bottom: 12px;
}

.detail-play ul {
  margin: 0;
  padding-left: 18px;
  color: var(--text-medium);
  font-size: 14px;
  line-height: 1.8;
}

.detail-gallery {
  display: flex;
  justify-content: center;
}

.gallery-shot {
  margin: 0;
  width: min(100%, 286px);
}

.gallery-shot img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 24px;
  border: 8px solid rgba(38, 73, 50, 0.92);
  background: #f8f7f4;
  box-shadow: 0 24px 58px rgba(60, 88, 63, 0.18);
}

.gallery-shot figcaption {
  margin-top: 10px;
  color: rgba(85, 139, 47, 0.72);
  font-size: 12px;
  font-weight: 800;
}

.game-overview.games-content.active {
  margin-top: 8px;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.game-intro {
  align-self: start;
  padding: 10px 0 0;
}

.game-intro-kicker {
  color: rgba(85, 139, 47, 0.7);
  font-size: 13px;
  font-weight: 800;
  margin-bottom: 16px;
}

.game-intro h3 {
  font-size: 28px;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 12px;
}

.game-intro p {
  font-size: 16px;
  color: var(--text-light);
  line-height: 1.7;
  max-width: 36ch;
}

.game-direct-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 34px;
  border-top: 1px solid rgba(85, 139, 47, 0.18);
}

.game-direct-list article {
  position: relative;
  padding: 22px 0 22px 42px;
  border-bottom: 1px solid rgba(85, 139, 47, 0.14);
}

.game-direct-list span {
  position: absolute;
  left: 0;
  top: 25px;
  color: rgba(85, 139, 47, 0.38);
  font-size: 12px;
  font-weight: 800;
}

.game-direct-list h4 {
  font-size: 17px;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 7px;
}

.game-direct-list p {
  font-size: 14px;
  color: var(--text-medium);
  line-height: 1.6;
}

/* 联系我们 */
.contact {
  background: transparent;
}

.partnership-board {
  margin-top: 52px;
  border-top: 1px solid rgba(85, 139, 47, 0.24);
}

.partnership-row {
  display: grid;
  grid-template-columns: 64px minmax(160px, 0.8fr) minmax(260px, 1.3fr) 120px;
  gap: 24px;
  align-items: center;
  padding: 26px 0;
  border-bottom: 1px solid rgba(85, 139, 47, 0.18);
}

.partnership-row span {
  color: rgba(85, 139, 47, 0.38);
  font-size: 13px;
  font-weight: 800;
}

.partnership-row h3 {
  color: var(--primary-dark);
  font-size: 20px;
}

.partnership-row p {
  color: var(--text-light);
  font-size: 15px;
  line-height: 1.7;
}

.partnership-row em {
  justify-self: end;
  color: rgba(85, 139, 47, 0.72);
  font-style: normal;
  font-size: 13px;
  font-weight: 800;
  padding: 7px 12px;
  border: 1px solid rgba(85, 139, 47, 0.18);
  border-radius: 999px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-medium);
  margin-bottom: 8px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 14px 20px;
  border: 2px solid var(--primary-light);
  border-radius: 16px;
  font-size: 15px;
  font-family: inherit;
  transition: all 0.3s ease;
  background: var(--bg-light);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  background: white;
  box-shadow: 0 0 0 4px rgba(124, 179, 66, 0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.form-submit {
  width: 100%;
  padding: 16px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: white;
  border: none;
  border-radius: 16px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
}

.form-submit:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 40px var(--shadow-strong);
}

/* 页脚 */
.footer {
  background: linear-gradient(135deg, var(--primary-dark), #33691E);
  color: white;
  padding: 60px 40px 30px;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 60px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand h3 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-brand h3 img {
  width: 42px;
  height: 42px;
  object-fit: contain;
  filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.16));
}

.footer-brand p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.7;
}

.footer-links h4 {
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--accent);
}

.footer-links ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: white;
}

.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding-top: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
}

/* 动画 */
.scroll-reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.scroll-reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* 响应式 */
@media (max-width: 1024px) {
  .hero-container {
    grid-template-columns: 1fr;
    gap: 60px;
    text-align: center;
  }
  
  .hero-content {
    order: 2;
  }
  
  .hero-phone {
    order: 1;
  }
  
  .hero-desc {
    margin: 0 auto 40px;
  }
  
  .hero-buttons {
    justify-content: center;
  }
  
  .ai-container {
    grid-template-columns: 1fr;
  }
  
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }
  
  .games-content.active {
    grid-template-columns: 1fr;
  }

  .attraction-explorer.games-content.active {
    grid-template-columns: 1fr;
  }

  .attraction-map,
  .attraction-map img,
  .attraction-detail {
    min-height: 360px;
  }
  
  .contact-container {
    grid-template-columns: 1fr;
  }
  
  .footer-content {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
  }
}

@media (max-width: 768px) {
  .hero {
    padding: 100px 30px 60px;
  }
  
  .hero-title {
    font-size: 48px;
  }
  
  .container {
    padding: 0 24px;
  }
  
  section {
    padding: 80px 0;
  }
  
  .section-title {
    font-size: 36px;
  }
  
  .poster-stage {
    --poster-radius: 178px;
    --poster-drop: 34px;
    min-height: 430px;
  }

  .poster-card {
    width: min(330px, 72vw);
  }
  
  .features-grid {
    width: 100%;
    padding-bottom: 24px;
  }

  .feature-card {
    grid-template-columns: 1fr;
    min-height: 0;
    gap: 26px;
    border-radius: 30px;
  }

  .feature-media {
    width: min(260px, 72vw);
  }

  .feature-media-wide {
    width: 100%;
  }

  .feature-carousel-head {
    align-items: flex-start;
  }

  .feature-controls button {
    width: 38px;
    height: 38px;
  }
  
  .ai-features {
    grid-template-columns: 1fr;
  }
  
  .stats-grid {
    grid-template-columns: 1fr;
  }
  
  .stat-number {
    font-size: 48px;
  }
  
  .nav-links {
    display: none;
  }

  .attraction-map,
  .attraction-map img {
    min-height: 300px;
  }

  .map-hotspot span {
    display: none;
  }

  .map-hotspot::before {
    width: 16px;
    height: 16px;
    margin: 0;
  }

  .attraction-detail {
    min-height: auto;
    padding: 24px;
  }

  .games-title-row {
    align-items: center;
  }

  .qr-slot {
    width: 68px;
    height: 68px;
    border-radius: 14px;
    padding: 10px;
  }

  .detail-gallery {
    grid-template-columns: 1fr;
  }

  .game-direct-list {
    grid-template-columns: 1fr;
  }

  .partnership-row {
    grid-template-columns: 40px 1fr;
    gap: 8px 16px;
    align-items: start;
  }

  .partnership-row p,
  .partnership-row em {
    grid-column: 2;
    justify-self: start;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
.footer-bottom {
  flex-direction: column;
  gap: 16px;
  text-align: center;
  }
}

/* ==========================================
   Centered stage direction
   ========================================== */
.navbar {
  top: 8vh;
  left: 50%;
  right: auto;
  width: min(84vw, 1280px);
  transform: translateX(-50%);
  padding: 16px 34px;
  border-radius: 30px 30px 0 0;
  background: transparent;
}

.navbar.scrolled {
  background: transparent;
  box-shadow: none;
}

/* ==========================================
   Hero refinement - Figma frame 24 + animated phone
   ========================================== */
.floating-balls {
  display: none;
}

.hero {
  min-height: 100svh;
  padding: 8vh clamp(24px, 7vw, 88px);
  isolation: isolate;
  overflow: hidden;
  background: transparent;
}

.hero-bg {
  display: none;
}

.hero::before {
  display: none;
}

.hero::after {
  content: '';
  position: absolute;
  inset: 8vh clamp(24px, 7vw, 88px);
  z-index: -1;
  display: block;
  border-radius: 34px;
  background:
    linear-gradient(115deg, rgba(253, 255, 250, 0.9), rgba(242, 250, 235, 0.76)),
    radial-gradient(circle at 78% 26%, rgba(198, 255, 0, 0.18), transparent 28%);
  border: 1px solid rgba(255, 255, 255, 0.72);
  box-shadow: 0 36px 100px rgba(42, 62, 48, 0.28);
  pointer-events: none;
}

.treasure-particles {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: 0.7;
}

@keyframes heroMist {
  0% { opacity: 0.86; transform: translate3d(-12px, 0, 0) scale(1); }
  100% { opacity: 1; transform: translate3d(18px, -10px, 0) scale(1.02); }
}

.hero-container {
  width: min(100%, 1280px);
  min-height: 84vh;
  grid-template-columns: minmax(360px, 0.96fr) minmax(360px, 1fr);
  gap: 56px;
  padding: 118px clamp(48px, 8vw, 132px) 54px;
  position: relative;
  z-index: 1;
}

.hero-content {
  animation: none;
}

.hero-title {
  color: #86a96e;
  font-size: clamp(56px, 6vw, 92px);
  line-height: 0.98;
  letter-spacing: 0;
  background: none;
  -webkit-text-fill-color: currentColor;
}

.hero-desc {
  color: #718a60;
  max-width: 550px;
  font-size: 19px;
}

.btn-primary,
.btn-secondary {
  min-width: 136px;
  justify-content: center;
  box-shadow: 0 14px 36px rgba(85, 139, 47, 0.18);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.76);
}

.product-icon,
.feature-icon,
.ai-avatar,
.ai-feature-icon,
.stat-icon,
.game-preview-icon,
.contact-icon {
  letter-spacing: 0;
  font-weight: 800;
}

.product-icon,
.feature-icon,
.ai-feature-icon,
.stat-icon,
.game-preview-icon,
.contact-icon {
  color: #4f7d35;
  font-size: 15px;
  line-height: 1;
}

.product-icon,
.game-preview-icon {
  font-size: 17px;
}

.contact-icon {
  font-size: 12px;
}

.btn-primary,
.btn-secondary,
.nav-cta,
.tab-btn,
.form-submit {
  will-change: transform;
}

.poster-card,
.ai-feature-item,
.ai-chat-preview {
  --spot-x: 50%;
  --spot-y: 0%;
}

.poster-card::after,
.ai-feature-item::after,
.ai-chat-preview::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(circle at var(--spot-x) var(--spot-y), rgba(198, 255, 0, 0.2), transparent 34%);
  opacity: 0;
  transition: opacity 0.25s ease;
  pointer-events: none;
}

.poster-card:hover::after,
.ai-feature-item:hover::after,
.ai-chat-preview:hover::after {
  opacity: 1;
}

.ai-feature-item {
  position: relative;
  overflow: hidden;
}

.hero-phone {
  min-height: 560px;
  display: flex;
  align-items: center;
  justify-content: center;
  perspective: 1200px;
  animation: none;
}

.phone-mockup {
  position: relative;
  width: 302px;
  height: 590px;
  margin: 0;
  padding: 11px;
  border-radius: 38px;
  background: linear-gradient(145deg, #22273b, #111525 58%, #272f3d);
  box-shadow:
    0 34px 90px rgba(35, 53, 42, 0.32),
    0 0 0 8px rgba(23, 28, 42, 0.07),
    inset 0 0 0 2px rgba(255, 255, 255, 0.13);
  transform-style: preserve-3d;
  animation: phoneFloat 5.6s ease-in-out infinite;
  will-change: transform;
}

.phone-mockup::before {
  content: '';
  position: absolute;
  inset: -34px -46px;
  z-index: -1;
  border-radius: 46px;
  background: radial-gradient(circle at 50% 36%, rgba(187, 223, 143, 0.45), transparent 62%);
  filter: blur(8px);
  animation: phoneAura 3.8s ease-in-out infinite alternate;
}

.phone-notch {
  position: absolute;
  top: 20px;
  left: 50%;
  z-index: 5;
  width: 86px;
  height: 19px;
  border-radius: 0 0 16px 16px;
  background: #151a2a;
  transform: translateX(-50%);
}

@keyframes phoneFloat {
  0%, 100% { transform: translate3d(0, 0, 0) rotateX(0deg) rotateY(-7deg) rotateZ(1deg); }
  50% { transform: translate3d(0, -18px, 0) rotateX(3deg) rotateY(-2deg) rotateZ(-1deg); }
}

@keyframes phoneAura {
  from { opacity: 0.55; transform: scale(0.95); }
  to { opacity: 0.95; transform: scale(1.03); }
}

.phone-screen {
  border-radius: 30px;
  background:
    linear-gradient(180deg, rgba(135, 172, 111, 0.98), rgba(211, 233, 203, 0.96) 30%, rgba(202, 226, 199, 0.98));
}

.phone-header {
  padding: 52px 22px 24px;
  background: linear-gradient(180deg, rgba(118, 155, 92, 0.96), rgba(122, 162, 100, 0.88));
}

.phone-content {
  padding: 22px 18px;
}

.game-card-preview {
  position: relative;
  padding: 13px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 8px 22px rgba(64, 101, 68, 0.12);
  cursor: pointer;
  transform-origin: center left;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.game-card-preview.is-active {
  transform: translateX(-8px) scale(1.035);
  box-shadow: 0 16px 34px rgba(73, 119, 71, 0.22);
}

.game-card-preview.is-active::after {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: 16px;
  border: 2px solid rgba(172, 216, 115, 0.78);
  pointer-events: none;
}

.game-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  color: #5d8739;
  background: #c9ef7e;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
}

.progress-fill {
  width: 0%;
  background: linear-gradient(90deg, #7faf5f, #c8ee75);
  transition: width 1.2s ease;
}

.phone-float-element {
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #668746;
  font-weight: 800;
  box-shadow: 0 18px 40px rgba(83, 123, 70, 0.18);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.phone-float-element.el-1 {
  top: 90px;
  right: 54px;
  width: 72px;
  height: 72px;
  border-radius: 22px;
  background: rgba(205, 241, 121, 0.78);
  animation: orbitOne 5s ease-in-out infinite;
}

.phone-float-element.el-2 {
  left: 34px;
  bottom: 210px;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: rgba(205, 241, 121, 0.78);
  animation: orbitThree 4.8s ease-in-out infinite;
}

.phone-float-element.el-3 {
  right: 4px;
  bottom: 150px;
  width: 54px;
  height: 54px;
  border-radius: 18px;
  background: rgba(205, 241, 121, 0.78);
  animation: orbitTwo 4.4s ease-in-out infinite;
}

@keyframes orbitOne {
  0%, 100% { transform: translate3d(0, 0, 0) rotate(8deg); }
  50% { transform: translate3d(10px, -16px, 0) rotate(-4deg); }
}

@keyframes orbitTwo {
  0%, 100% { transform: translate3d(0, 0, 0) rotate(-10deg); }
  50% { transform: translate3d(-12px, 12px, 0) rotate(7deg); }
}

@keyframes orbitThree {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(-10px, -8px, 0) scale(1.08); }
}

@media (max-width: 1024px) {
  .navbar {
    top: 24px;
    width: calc(100% - 44px);
    padding: 14px 22px;
  }

  .hero {
    padding: 24px 22px 44px;
  }

  .hero::after {
    inset: 24px 22px 34px;
  }

  .hero-container {
    grid-template-columns: 1fr;
    min-height: auto;
    padding: 104px 28px 46px;
    gap: 34px;
  }

  .hero-content {
    order: 1;
  }

  .hero-phone {
    order: 2;
    min-height: 500px;
  }
}

@media (max-width: 600px) {
  .navbar {
    top: 12px;
    width: calc(100% - 24px);
    border-radius: 24px 24px 0 0;
  }

  .hero {
    padding: 12px 12px 34px;
  }

  .hero::after {
    inset: 12px 12px 22px;
    border-radius: 28px;
  }

  .hero-container {
    padding: 94px 18px 34px;
  }

  .hero-title {
    font-size: 48px;
  }

  .hero-desc {
    font-size: 16px;
  }

  .phone-mockup {
    width: 250px;
    height: 492px;
  }

  .phone-float-element {
    transform: scale(0.82);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero::before,
  .phone-mockup,
  .phone-mockup::before,
  .phone-float-element {
    animation: none !important;
  }
}

/* ==========================================
   Full-screen card deck
   ========================================== */
html {
  scroll-snap-type: y mandatory;
  scroll-padding-top: 0;
}

body {
  min-height: 100dvh;
}

section {
  min-height: 100dvh;
  height: 100dvh;
  padding: clamp(18px, 4vh, 42px) 0;
  display: flex;
  align-items: center;
  justify-content: center;
  scroll-snap-align: start;
  scroll-snap-stop: always;
  overflow: hidden;
}

.hero {
  min-height: 100dvh;
  height: 100dvh;
  padding: clamp(18px, 4vh, 42px) clamp(24px, 7vw, 88px);
  overflow: hidden;
}

.hero::after {
  display: none;
}

.hero-container,
section:not(.hero) > .container {
  width: min(86vw, 1280px);
  max-width: 1280px;
  height: min(84dvh, 820px);
  max-height: calc(100dvh - clamp(36px, 8vh, 84px));
  padding: clamp(30px, 4.2vw, 64px);
  border-radius: 34px;
  background:
    linear-gradient(135deg, rgba(253, 255, 250, 0.9), rgba(242, 250, 235, 0.76)),
    radial-gradient(circle at 82% 10%, rgba(198, 255, 0, 0.13), transparent 32%);
  border: 1px solid rgba(255, 255, 255, 0.66);
  box-shadow: 0 30px 86px rgba(42, 62, 48, 0.18);
  overflow: hidden;
}

.hero-container {
  min-height: 0;
  display: grid;
  grid-template-columns: minmax(360px, 0.95fr) minmax(360px, 1fr);
  align-items: center;
  gap: clamp(42px, 6vw, 78px);
}

.products .container,
.features .container,
.ai-section .container,
.stats .container,
.games .container,
.contact .container {
  display: flex;
  flex-direction: column;
}

.poster-showcase,
.feature-carousel,
.ai-container,
.stats-grid,
.games-tabs,
.partnership-board {
  min-height: 0;
}

.poster-showcase {
  margin-top: clamp(20px, 3vh, 42px);
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
}

.poster-stage {
  flex: 1 1 auto;
  min-height: 0;
  max-height: 100%;
}

.poster-card {
  width: min(500px, 48vw);
}

.feature-carousel {
  margin-top: clamp(20px, 3vh, 40px);
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
}

.features-grid {
  flex: 1 1 auto;
  width: min(100%, 1040px);
  padding-bottom: 18px;
}

.feature-card {
  min-height: 100%;
  height: 100%;
}

.feature-media {
  width: min(100%, 310px);
}

.feature-media-wide {
  width: min(100%, 520px);
}

.ai-container {
  flex: 1 1 auto;
  margin-top: clamp(22px, 3vh, 42px);
  gap: clamp(24px, 4vw, 52px);
}

.ai-chat-preview {
  max-height: 100%;
  overflow: hidden;
}

.chat-bubble {
  font-size: 13px;
}

.stats-grid {
  margin-top: clamp(28px, 5vh, 56px);
}

.games-tabs {
  margin: clamp(18px, 3vh, 32px) 0;
}

.games-content.active {
  min-height: 0;
  flex: 1 1 auto;
}

.attraction-map,
.attraction-map img,
.attraction-detail {
  min-height: min(42dvh, 380px);
}

.partnership-board {
  flex: 1 1 auto;
  margin-top: clamp(24px, 4vh, 46px);
}

.footer {
  scroll-snap-align: start;
}

@media (max-width: 1024px) {
  section,
  .hero {
    height: auto;
    min-height: 100dvh;
    overflow: visible;
  }

  .hero-container,
  section:not(.hero) > .container {
    height: auto;
    min-height: calc(100dvh - 44px);
    max-height: none;
    width: calc(100vw - 44px);
    overflow: visible;
  }

  .hero-container,
  .feature-card {
    grid-template-columns: 1fr;
  }

  .page-progress {
    right: 12px;
    padding: 10px 7px;
  }
}

@media (max-width: 700px) {
  .page-progress {
    display: none;
  }

  .hero-container,
  section:not(.hero) > .container {
    width: calc(100vw - 24px);
    border-radius: 28px;
  }
}

/* ==========================================
   Single-card stage interaction
   ========================================== */
.deck-mode {
  overflow: hidden;
  height: 100dvh;
}

.deck-mode .navbar {
  display: none;
}

.deck-mode .deck-card {
  position: fixed;
  inset: 0;
  z-index: 1;
  opacity: 0;
  pointer-events: none;
  transform: translate3d(0, 7vh, 0) scale(0.965);
  filter: blur(8px);
  transition:
    opacity 0.62s ease,
    transform 0.82s cubic-bezier(0.22, 1, 0.36, 1),
    filter 0.62s ease;
  will-change: opacity, transform, filter;
}

.deck-mode[data-deck-direction="up"] .deck-card {
  transform: translate3d(0, -7vh, 0) scale(0.965);
}

.deck-mode .deck-card.active {
  z-index: 2;
  opacity: 1;
  pointer-events: auto;
  transform: translate3d(0, 0, 0) scale(1);
  filter: blur(0);
}

.deck-mode .deck-card:not(.active) .container,
.deck-mode .deck-card:not(.active) .hero-container {
  transform: scale(0.985);
}

.deck-mode .hero-container,
.deck-mode section:not(.hero) > .container {
  position: relative;
}

.deck-mode .hero-container,
.deck-mode section:not(.hero) > .container {
  height: auto;
  min-height: 0;
  max-height: calc(100dvh - clamp(40px, 8vh, 88px));
  overflow: hidden;
}

.deck-mode .hero-container::before,
.deck-mode section:not(.hero) > .container::before {
  content: attr(data-deck-index);
  position: absolute;
  right: clamp(24px, 3vw, 42px);
  bottom: clamp(18px, 2.4vw, 34px);
  color: rgba(85, 139, 47, 0.2);
  font-size: clamp(42px, 7vw, 94px);
  font-weight: 900;
  line-height: 0.8;
  pointer-events: none;
}

.deck-mode .deck-card::before {
  content: attr(data-deck-index);
  position: fixed;
  right: clamp(60px, 6vw, 92px);
  top: clamp(44px, 7vh, 82px);
  color: rgba(85, 139, 47, 0.2);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.deck-mode .stats-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(16px, 2vw, 26px);
}

.deck-mode .stat-item {
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.94), rgba(241, 248, 233, 0.88));
  border-color: rgba(255, 255, 255, 0.86);
  box-shadow: 0 22px 58px rgba(42, 62, 48, 0.18);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.deck-mode .stat-item::before {
  background: rgba(85, 139, 47, 0.18);
}

.deck-mode .stat-prank::after {
  background: rgba(85, 139, 47, 0.1);
  color: rgba(85, 139, 47, 0.68);
}

.deck-mode .stat-number {
  color: var(--primary-dark);
  text-shadow: none;
}

.deck-mode .stat-label {
  color: var(--text-medium);
}

.deck-mode .hero-container {
  height: min(84dvh, 800px);
}

.deck-mode .products .container {
  height: min(84dvh, 820px);
}

.deck-mode .features .container {
  height: min(84dvh, 820px);
}

.deck-mode .games .container {
  width: min(92vw, 1360px);
  height: min(90dvh, 860px);
  padding: clamp(28px, 3.2vw, 46px);
}

.deck-mode .ai-section .container {
  height: auto;
  min-height: min(68dvh, 620px);
}

.deck-mode .stats .container {
  height: auto;
  min-height: 0;
}

.deck-mode .contact .container {
  height: auto;
  min-height: 0;
}

.deck-mode .products .section-title,
.deck-mode .features .section-title,
.deck-mode .games .section-title {
  font-size: clamp(32px, 3vw, 44px);
  line-height: 1.05;
  margin-bottom: 10px;
}

.deck-mode .section-badge {
  padding: 6px 14px;
  font-size: 13px;
  margin-bottom: 12px;
}

.deck-mode .section-desc {
  font-size: 15px;
  line-height: 1.55;
  margin-bottom: 0;
}

.deck-mode .poster-showcase {
  margin-top: clamp(18px, 2.6vh, 36px);
}

.deck-mode .poster-stage {
  --poster-radius: 178px;
  --poster-drop: 14px;
  min-height: 520px;
}

.deck-mode .poster-card {
  width: min(260px, 22vw);
  aspect-ratio: 9 / 16;
  padding: 9px;
}

.deck-mode .poster-card img {
  object-fit: contain;
}

.deck-mode .feature-carousel {
  margin-top: clamp(10px, 1.6vh, 20px);
}

.deck-mode .feature-card {
  min-height: 370px;
  height: auto;
  padding: clamp(20px, 2.5vw, 30px);
}

.deck-mode .feature-media {
  width: min(100%, 210px);
}

.deck-mode .feature-media-wide {
  width: min(100%, 430px);
}

.deck-mode .feature-card h3 {
  font-size: clamp(26px, 2.5vw, 36px);
}

.deck-mode .feature-card p {
  font-size: clamp(14px, 1.15vw, 16px);
  line-height: 1.55;
}

.deck-mode .ai-container {
  grid-template-columns: minmax(360px, 1fr) minmax(320px, 0.9fr);
}

.deck-mode .games-tabs {
  margin: 4px 0 12px;
}

.deck-mode .games-title-row .section-title {
  margin-bottom: 2px;
}

.deck-mode .games .section-desc {
  font-size: 14px;
  line-height: 1.45;
}

.deck-mode .games .qr-slot {
  width: 92px;
  height: 92px;
  padding: 8px;
  border-radius: 18px;
}

.deck-mode .games-title-row {
  align-items: center;
  gap: 18px;
}

.deck-mode .attraction-explorer.games-content.active {
  grid-template-columns: minmax(0, 1.08fr) minmax(420px, 0.92fr);
  gap: 20px;
  align-items: stretch;
}

.deck-mode .attraction-map,
.deck-mode .attraction-map img,
.deck-mode .attraction-detail {
  min-height: 360px;
}

.deck-mode .attraction-detail {
  padding: 18px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(142px, 0.54fr);
  gap: 14px;
  align-items: center;
}

.deck-mode .attraction-detail h3 {
  font-size: clamp(24px, 2vw, 32px);
  margin-bottom: 8px;
}

.deck-mode .detail-kicker {
  padding: 5px 10px;
  font-size: 11px;
  margin-bottom: 10px;
}

.deck-mode .attraction-detail > p:not(.detail-kicker) {
  font-size: 13px;
  line-height: 1.55;
}

.deck-mode .detail-play {
  margin: 10px 0 0;
  padding: 12px;
  border-radius: 18px;
}

.deck-mode .detail-play h4 {
  font-size: 13px;
  margin-bottom: 8px;
}

.deck-mode .detail-play ul {
  font-size: 12px;
  line-height: 1.5;
}

.deck-mode .detail-gallery {
  display: flex;
  align-items: center;
  justify-content: center;
  grid-row: 1 / span 4;
  grid-column: 2;
}

.deck-mode .gallery-shot {
  width: 100%;
  max-width: 170px;
}

.deck-mode .gallery-shot img {
  width: 100%;
  height: auto;
  max-height: 306px;
  object-fit: contain;
  border-radius: 20px;
  border-width: 6px;
}

.deck-mode .gallery-shot figcaption {
  font-size: 11px;
  text-align: center;
}

.deck-mode .detail-kicker,
.deck-mode .attraction-detail h3,
.deck-mode .attraction-detail > p:not(.detail-kicker),
.deck-mode .detail-play {
  grid-column: 1;
}

@media (max-width: 1024px) {
  .deck-mode {
    overflow: hidden;
  }

  .deck-mode .deck-card {
    overflow-y: auto;
  }

  .deck-mode .stats-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
