
/* CSS 变量 - 配色方案 */
:root {
  /* 色系 */
  --cream-50: #FFFBF5;
  --cream-100: #FFF8E7;
  --cream-200: #FFEFD5;
  --cream-300: #FFE4B5;
  --cream-400: #FFD996;
  --cream-500: #FFCC70;

  /* 主题色 */
  --primary: #FF8C42;
  --primary-light: #FFB380;
  --primary-dark: #E67332;

  /* 辅助色 */
  --strawberry: #FF6B6B;
  --mint: #6BCB77;
  --sky: #4D96FF;
  --lavender: #C4B5FD;
  --peach: #FFB5A7;
  --lemon: #FFD93D;

  /* 文字色 */
  --text-primary: #3D2914;
  --text-secondary: #8B6F47;
  --text-light: #B8A68C;
  --text-white: #FFFFFF;

  /* 阴影系统 - Claymorphism */
  --shadow-sm: 0 4px 12px rgba(255, 140, 66, 0.08);
  --shadow-md: 0 8px 24px rgba(255, 140, 66, 0.12);
  --shadow-lg: 0 16px 48px rgba(255, 140, 66, 0.16);
  --shadow-xl: 0 24px 64px rgba(255, 140, 66, 0.2);

  /* 内阴影 - Claymorphism */
  --inset-shadow: inset 2px 2px 6px rgba(255, 255, 255, 0.8),
                   inset -2px -2px 6px rgba(255, 140, 66, 0.08);

  /* 圆角系统 */
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --radius-full: 999px;

  /* 字体 - 微信风格 */
  --font-primary: -apple-system, BlinkMacSystemFont, "PingFang SC", "Helvetica Neue", "Microsoft YaHei", sans-serif;
  --font-secondary: -apple-system, BlinkMacSystemFont, "PingFang SC", "Helvetica Neue", "Microsoft YaHei", sans-serif;
}

/* 全局重置 */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: auto;
  overflow: hidden;
  height: 100%;
}

body {
  font-family: var(--font-secondary);
  background: var(--cream-100);
  color: var(--text-primary);
  line-height: 1.6;
  overflow: hidden;
  overflow-x: hidden;
  height: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  text-decoration: none;
  color: inherit;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

/* ============================================
   全屏滚动容器
   ============================================ */
.fullpage-container {
  height: 100vh;
  width: 100%;
  max-width: 100vw;
  overflow-y: auto;
  overflow-x: hidden;
  scroll-snap-type: y mandatory;
  scroll-behavior: smooth;
}

.fullpage-container::-webkit-scrollbar {
  display: none;
}

.section {
  height: 100vh;
  width: 100%;
  max-width: 100vw;
  scroll-snap-align: start;
  scroll-snap-stop: always;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px 60px 40px;
}

/* ============================================
   背景装饰 - 彩色模糊光斑
   ============================================ */
.bg-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.5;
  pointer-events: none;
  z-index: 0;
}

.bg-blob-1 {
  width: 400px;
  height: 400px;
  background: var(--peach);
  top: -100px;
  right: -100px;
}

.bg-blob-2 {
  width: 300px;
  height: 300px;
  background: var(--lavender);
  bottom: 50px;
  left: -50px;
}

.bg-blob-3 {
  width: 250px;
  height: 250px;
  background: var(--mint);
  top: 40%;
  right: 15%;
  opacity: 0.3;
}

.bg-blob-4 {
  width: 350px;
  height: 350px;
  background: var(--sky);
  top: -80px;
  left: 20%;
  opacity: 0.25;
}

.bg-blob-5 {
  width: 280px;
  height: 280px;
  background: var(--lemon);
  bottom: -60px;
  right: 10%;
  opacity: 0.35;
}

.bg-blob-6 {
  width: 320px;
  height: 320px;
  background: var(--strawberry);
  top: 10%;
  right: -80px;
  opacity: 0.3;
}

.bg-blob-7 {
  width: 260px;
  height: 260px;
  background: var(--mint);
  bottom: 20%;
  left: -60px;
  opacity: 0.35;
}

.bg-blob-8 {
  width: 200px;
  height: 200px;
  background: var(--lavender);
  top: 50%;
  right: 30%;
  opacity: 0.25;
}

/* ============================================
   导航栏
   ============================================ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 16px 40px;
  transition: all 0.3s ease;
  background: transparent;
  border-bottom: none;
}

.navbar.scrolled {
  padding: 12px 40px;
  box-shadow: var(--shadow-sm);
}

.nav-inner {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.nav-logo:hover {
  transform: scale(1.05);
}

.logo-icon img,
.logo-icon svg {
  display: block;
}

.logo-img {
  width: 40px;
  height: 40px;
  object-fit: contain;
  border-radius: 50%;
  background: #FFE4B5;
  padding: 2px;
}

.logo-text {
  font-family: var(--font-primary);
  font-size: 20px;
  font-weight: 600;
  color: var(--text-primary);
}

.nav-menu {
  display: flex;
  gap: 40px;
  list-style: none;
}

.nav-link {
  font-family: var(--font-secondary);
  font-size: 16px;
  font-weight: 600;
  color: var(--text-secondary);
  position: relative;
  padding: 8px 0;
  transition: color 0.3s ease;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 3px;
  background: var(--primary);
  border-radius: 2px;
  transition: width 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
  color: var(--primary);
}

.nav-link.active::after,
.nav-link:hover::after {
  width: 100%;
}

.nav-btn {
  font-family: var(--font-primary);
  font-size: 16px;
  padding: 12px 32px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: white;
  border-radius: var(--radius-full);
  box-shadow: 0 4px 16px rgba(255, 140, 66, 0.3);
  transition: all 0.3s ease;
}

.nav-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(255, 140, 66, 0.4);
}

.nav-btn:active {
  transform: translateY(0);
}

/* ============================================
   侧边导航指示器
   ============================================ */
.side-dots {
  position: fixed;
  right: 30px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 100;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--cream-400);
  border: 2px solid var(--cream-500);
  cursor: pointer;
  position: relative;
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.dot span {
  display: none;
}

.dot::after {
  content: attr(data-label);
  position: absolute;
  right: 24px;
  top: 50%;
  transform: translateY(-50%);
  background: var(--text-primary);
  color: white;
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  font-size: 12px;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  pointer-events: none;
  z-index: 200;
}

.dot:hover {
  background: var(--primary-light);
  transform: scale(1.2);
}

.dot:hover::after {
  opacity: 1;
  visibility: visible;
}

.dot.active {
  background: var(--primary);
  border-color: var(--primary);
  transform: scale(1.3);
  box-shadow: 0 0 12px rgba(255, 140, 66, 0.5);
}

/* ============================================
   Hero 区域
   ============================================ */
.section-hero {
  background: linear-gradient(135deg, var(--cream-50) 0%, var(--cream-100) 100%);
}

.floating-elements {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
}

.float-item {
  position: absolute;
  font-size: 40px;
  animation: float 6s ease-in-out infinite;
}

.item-1 {
  top: 20%;
  left: 10%;
  animation-delay: 0s;
}

.item-2 {
  top: 60%;
  left: 8%;
  animation-delay: 1.5s;
  font-size: 36px;
}

.item-3 {
  top: 15%;
  right: 12%;
  animation-delay: 0.8s;
  font-size: 44px;
}

.item-4 {
  bottom: 25%;
  right: 15%;
  animation-delay: 2s;
  font-size: 32px;
}

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

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1100px;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

/* 手机模型 */
.hero-left {
  display: flex;
  justify-content: center;
  align-items: center;
}

.phone-mockup {
  width: 260px;
  height: 520px;
  background: linear-gradient(145deg, #2C1810, #1a0f08);
  border-radius: 36px;
  padding: 6px;
  position: relative;
  box-shadow: 
    0 25px 60px rgba(0, 0, 0, 0.3),
    inset 0 2px 4px rgba(255, 255, 255, 0.1);
  flex-shrink: 0;
}

.phone-notch {
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 18px;
  background: #1a0f08;
  border-radius: 20px;
  z-index: 10;
}

.phone-screen {
  width: 100%;
  height: 100%;
  background: #1a0f08;
  border-radius: 32px;
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: flex-start;
  justify-content: center;
}

.phone-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
  border-radius: 32px;
}

.phone-bottom {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 4px;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 2px;
}

/* APP 预览内容 */
.app-preview {
  padding: 50px 16px 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.app-header {
  display: flex;
  align-items: center;
  gap: 12px;
}

.app-avatar svg {
  display: block;
}

.app-greeting {
  display: flex;
  flex-direction: column;
}

.app-greeting span:first-child {
  font-family: var(--font-primary);
  font-size: 18px;
  color: var(--text-primary);
}

.app-sub {
  font-size: 14px;
  color: var(--text-secondary);
}

.app-word-card {
  background: white;
  border-radius: var(--radius-md);
  padding: 20px;
  box-shadow: var(--shadow-sm);
}

.word-en {
  font-family: var(--font-primary);
  font-size: 24px;
  color: var(--text-primary);
}

.word-phonetic {
  font-size: 14px;
  color: var(--text-light);
  margin: 4px 0;
}

.word-cn {
  font-size: 16px;
  color: var(--text-secondary);
  font-weight: 600;
}

.word-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.tag {
  font-size: 12px;
  padding: 6px 12px;
  border-radius: var(--radius-full);
}

.tag-pink {
  background: rgba(255, 107, 107, 0.15);
  color: var(--strawberry);
}

.tag-mint {
  background: rgba(107, 203, 119, 0.15);
  color: var(--mint);
}

.app-progress {
  background: white;
  border-radius: var(--radius-md);
  padding: 16px;
  box-shadow: var(--shadow-sm);
}

.progress-bar {
  width: 100%;
  height: 8px;
  background: var(--cream-200);
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 8px;
}

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

.app-progress span {
  font-size: 12px;
  color: var(--text-secondary);
}

/* Hero 右侧内容 */
.hero-right {
  text-align: left;
}

.hero-title {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 20px;
}

.title-main {
  font-family: var(--font-primary);
  font-size: 64px;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.2;
}

.title-sub {
  font-family: var(--font-primary);
  font-size: 32px;
  font-weight: 500;
  color: var(--primary);
}

.hero-desc {
  font-size: 18px;
  color: var(--text-secondary);
  margin-bottom: 40px;
  line-height: 1.8;
}

/* 下载按钮 */
.download-buttons {
  display: flex;
  gap: 16px;
  margin-bottom: 48px;
}

.dl-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 28px;
  border-radius: var(--radius-lg);
  transition: all 0.3s ease;
  cursor: pointer;
}

.dl-ios {
  background: linear-gradient(135deg, #1a1a1a, #333);
  color: white;
}

.dl-android {
  background: linear-gradient(135deg, var(--mint), #4CAF50);
  color: white;
}

.dl-btn:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.dl-btn:active {
  transform: translateY(-1px);
}

.dl-icon {
  display: flex;
  align-items: center;
}

.dl-info {
  display: flex;
  flex-direction: column;
}

.dl-tag {
  font-size: 11px;
  opacity: 0.8;
}

.dl-name {
  font-family: var(--font-primary);
  font-size: 20px;
}

/* Hero 统计数据 */
.hero-stats {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 24px 32px;
  background: white;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.stat-num {
  font-family: var(--font-primary);
  font-size: 28px;
  color: var(--primary);
}

.stat-label {
  font-size: 14px;
  color: var(--text-secondary);
}

.stat-divider {
  width: 1px;
  height: 40px;
  background: var(--cream-300);
}

/* 滚动提示 */
.scroll-hint {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--text-secondary);
  font-size: 14px;
  z-index: 2;
}

.scroll-arrow {
  width: 24px;
  height: 24px;
  border-right: 2px solid var(--primary);
  border-bottom: 2px solid var(--primary);
  transform: rotate(45deg);
  animation: scrollBounce 2s infinite;
}

@keyframes scrollBounce {
  0%, 100% {
    transform: rotate(45deg) translate(0, 0);
  }
  50% {
    transform: rotate(45deg) translate(5px, 5px);
  }
}

/* ============================================
   概念区域 (两步记单词)
   ============================================ */
.section-concept {
  background: linear-gradient(180deg, var(--cream-100) 0%, var(--cream-50) 100%);
  overflow-y: auto;
}

.concept-content {
  position: relative;
  z-index: 2;
  max-width: 1000px;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.concept-header {
  text-align: center;
  margin-bottom: 20px;
  flex-shrink: 0;
}

.concept-title {
  font-family: var(--font-primary);
  font-size: 40px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 8px;
  position: relative;
  display: inline-block;
}

.concept-title::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 3px;
  background: var(--primary);
  border-radius: 3px;
}

.concept-subtitle {
  font-size: 14px;
  color: var(--text-secondary);
  margin-top: 10px;
}

/* 步骤卡片 */
.concept-steps {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  align-items: stretch;
  position: relative;
  max-width: 900px;
  margin: 0 auto;
}

.step-card {
  background: white;
  border-radius: var(--radius-xl);
  padding: 10px 18px;
  position: relative;
  box-shadow: var(--shadow-md);
  transition: all 0.4s ease;
}

.step-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
}

.step-1 {
  border-top: 6px solid var(--strawberry);
}

.step-2 {
  border-top: 6px solid var(--sky);
}

.step-number {
  position: absolute;
  top: -20px;
  left: 40px;
  width: 50px;
  height: 50px;
  background: var(--cream-100);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-sm);
}

.step-number span {
  font-family: var(--font-primary);
  font-size: 20px;
  color: var(--primary);
}

.step-content {
  padding-top: 14px;
}

.step-title {
  font-family: var(--font-primary);
  font-size: 22px;
  color: var(--text-primary);
  margin-bottom: 6px;
}

.step-desc {
  font-size: 13px;
  color: var(--text-secondary);
  margin-bottom: 12px;
  line-height: 1.5;
}

/* 步骤示例 */
.step-example {
  background: var(--cream-50);
  border-radius: var(--radius-md);
  padding: 12px;
}

.example-word {
  text-align: center;
  margin-bottom: 8px;
}

.example-word .word-en {
  font-size: 18px;
}

.example-word .word-phonetic {
  font-size: 11px;
}

.example-arrow {
  display: flex;
  justify-content: center;
  margin-bottom: 16px;
}

.example-sound {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
}

.sound-icon {
  font-size: 16px;
}

.sound-text {
  font-family: var(--font-primary);
  font-size: 16px;
  color: var(--primary);
  background: rgba(255, 140, 66, 0.1);
  padding: 4px 12px;
  border-radius: var(--radius-full);
}

.sound-meaning {
  font-size: 16px;
  color: var(--text-secondary);
}

.example-letters {
  text-align: center;
}

.letter-group {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 12px;
}

.letter {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  font-family: var(--font-primary);
  font-size: 18px;
  color: white;
}

.letter.b { background: var(--primary); }
.letter.a { background: var(--sky); }
.letter.g { background: var(--mint); }
.letter.l { background: var(--strawberry); }

.letter-meaning {
  font-size: 16px;
  color: var(--text-secondary);
}

/* 步骤装饰 */
.step-decoration {
  position: absolute;
  right: -20px;
  bottom: -20px;
  opacity: 0.3;
}

.steps-connection {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.conn-line {
  width: 2px;
  height: 80px;
  background: linear-gradient(to bottom, var(--primary), var(--primary-light));
  border-radius: 1px;
}

.conn-star {
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.2);
  }
}

/* 单词展示 */
.word-showcase {
  margin-top: 18px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.showcase-title {
  font-family: var(--font-primary);
  font-size: 20px;
  color: var(--text-primary);
  margin-bottom: 12px;
}

.word-cards {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.mini-word-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: 16px;
  min-width: 160px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
  cursor: pointer;
  position: relative;
}

.mini-word-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.mini-word-card.playing::after {
  content: '🔊';
  position: absolute;
  top: 10px;
  right: 10px;
  font-size: 16px;
  animation: pulse 0.5s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.2); }
}

.mini-en {
  font-family: var(--font-primary);
  font-size: 18px;
  color: var(--text-primary);
}

.mini-cn {
  font-size: 13px;
  color: var(--text-secondary);
  font-weight: 600;
}

.mini-tip {
  font-size: 12px;
  color: var(--primary);
  background: rgba(255, 140, 66, 0.1);
  padding: 3px 8px;
  border-radius: var(--radius-full);
}

/* ============================================
   游戏区域
   ============================================ */
.section-game {
  background: linear-gradient(135deg, var(--cream-50) 0%, #FFF0F5 100%);
}

.game-content {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.game-visual {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.game-features-top {
  display: flex;
  flex-direction: row;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.game-screenshot {
  background: white;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  position: relative;
}

.game-scene {
  aspect-ratio: 4/3;
  background: linear-gradient(180deg, #87CEEB 0%, #98FB98 70%);
}

.game-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.game-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  background: var(--primary);
  color: white;
  padding: 8px 16px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
  box-shadow: var(--shadow-md);
}

/* 游戏特性卡片 */
.feature-card {
  background: white;
  border-radius: var(--radius-md);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: var(--shadow-md);
  transition: all 0.3s ease;
  min-width: 160px;
}

.feature-card:hover {
  transform: translateY(-4px);
}

.feature-icon {
  font-size: 24px;
}

.feature-text h4 {
  font-family: var(--font-primary);
  font-size: 14px;
  color: var(--text-primary);
}

.feature-text p {
  font-size: 11px;
  color: var(--text-secondary);
}

.feature-text .mobile-desc {
  display: none;
}

.feature-text .desktop-desc {
  display: block;
}

.card-1 {
  animation: slideIn 0.6s ease-out 0.2s backwards;
}

.card-2 {
  animation: slideIn 0.6s ease-out 0.4s backwards;
}

.card-3 {
  animation: slideIn 0.6s ease-out 0.6s backwards;
}

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

/* 游戏文字 */
.game-text {
  text-align: left;
  padding-top: 0;
}

.game-title {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 16px;
}

.title-highlight {
  font-family: var(--font-primary);
  font-size: 48px;
  color: var(--primary);
}

.title-line {
  font-family: var(--font-primary);
  font-size: 48px;
  color: var(--text-primary);
}

.game-desc {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 24px;
}

.game-points {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 40px;
}

.point {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 16px;
  color: var(--text-primary);
}

.point-icon {
  flex-shrink: 0;
}

/* CTA 按钮 */
.game-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 36px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: white;
  font-family: var(--font-primary);
  font-size: 20px;
  border-radius: var(--radius-full);
  box-shadow: 0 8px 24px rgba(255, 140, 66, 0.35);
  transition: all 0.3s ease;
}

.game-cta:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(255, 140, 66, 0.45);
}

.game-cta:active {
  transform: translateY(-1px);
}

/* ============================================
   页脚
   ============================================ */
.section-footer {
  background: linear-gradient(180deg, var(--cream-50) 0%, var(--cream-200) 100%);
  height: auto;
  min-height: 80vh;
  padding: 60px 60px 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.footer-content {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  width: 100%;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-logo-img {
  border-radius: 50%;
  object-fit: cover;
}

.footer-brand-name {
  font-family: var(--font-primary);
  font-size: 28px;
  color: var(--text-primary);
}

.footer-slogan {
  font-size: 16px;
  color: var(--text-secondary);
}

.footer-title {
  font-family: var(--font-primary);
  font-size: 18px;
  color: var(--text-primary);
  margin-bottom: 20px;
}

.contact-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.contact-label {
  font-size: 13px;
  color: var(--text-light);
}

.contact-value {
  font-size: 15px;
  color: var(--text-primary);
  font-weight: 600;
}

.footer-dl-buttons {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-dl-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: white;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  font-size: 14px;
  color: var(--text-primary);
  transition: all 0.3s ease;
}

.footer-dl-btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

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

.footer-link-list a {
  font-size: 15px;
  color: var(--text-secondary);
  transition: color 0.3s ease;
}

.footer-link-list a:hover {
  color: var(--primary);
}

.footer-bottom {
  border-top: 1px solid var(--cream-300);
  padding: 24px 60px;
  text-align: center;
  background: rgba(255, 255, 255, 0.3);
}

.footer-bottom p {
  font-size: 14px;
  color: var(--text-secondary);
  margin: 4px 0;
}

/* ============================================
   二维码弹窗
   ============================================ */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.modal-overlay.active {
  display: flex;
  opacity: 1;
}

.modal-content {
  background: white;
  border-radius: var(--radius-xl);
  padding: 40px;
  text-align: center;
  max-width: 400px;
  width: 90%;
  position: relative;
  box-shadow: var(--shadow-xl);
  animation: modalSlideUp 0.4s ease-out;
}

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

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--cream-200);
  font-size: 20px;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.modal-close:hover {
  background: var(--strawberry);
  color: white;
}

.modal-title {
  font-family: var(--font-primary);
  font-size: 28px;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.modal-desc {
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 24px;
}

.qr-wrapper {
  width: 200px;
  height: 200px;
  margin: 0 auto 24px;
  background: var(--cream-50);
  border-radius: var(--radius-lg);
  padding: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.qr-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.modal-alternative {
  font-size: 14px;
  color: var(--text-secondary);
}

.modal-alternative a {
  color: var(--primary);
  font-weight: 600;
  margin-left: 4px;
}

.modal-alternative a:hover {
  text-decoration: underline;
}

/* ============================================
   响应式设计
   ============================================ */
@media (max-width: 1024px) {
  .section {
    padding: 80px 40px 40px;
  }

  /* 平板半屏模式保留左右分屏布局 */
  .hero-content,
  .game-content {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }

  .hero-right {
    text-align: left;
  }

  .hero-title {
    align-items: flex-start;
  }

  .download-buttons {
    justify-content: flex-start;
  }

  .hero-stats {
    justify-content: flex-start;
  }

  .game-text {
    text-align: left;
  }

  .game-title {
    align-items: flex-start;
  }

  .game-points {
    align-items: flex-start;
  }

  /* 半屏模式手机尺寸调整 */
  .phone-mockup {
    width: 220px;
    height: 440px;
  }

  /* 半屏模式第二页布局 */
  .concept-steps {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }

  /* 半屏模式隐藏连接线装饰 */
  .steps-connection {
    display: none;
  }

  .step-card {
    padding: 24px 20px;
  }

  .concept-title {
    font-size: 40px;
  }

  .concept-subtitle {
    font-size: 16px;
  }

  .steps-connection {
    flex-direction: row;
    padding: 20px 0;
  }

  .conn-line {
    width: 80px;
    height: 2px;
  }

  .footer-content {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
}

@media (max-width: 768px) {
  html, body {
    overflow-x: hidden;
    max-width: 100%;
  }

  .fullpage-container {
    overflow-x: hidden;
    max-width: 100%;
  }

  .section {
    padding: 70px 20px 30px;
    min-height: auto;
    height: auto;
    overflow: visible;
    overflow-x: hidden;
    max-width: 100vw;
  }

  /* 移动端隐藏背景装饰，防止横向溢出 */
  .bg-blob {
    display: none;
  }

  .section-game {
    height: 100vh;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    overflow: hidden;
  }

  .navbar {
    padding: 12px 20px;
  }

  .nav-menu {
    display: none;
  }

  .nav-btn {
    padding: 10px 20px;
    font-size: 14px;
  }

  .side-dots {
    display: none;
  }

  /* 移动端隐藏装饰元素 */
  .floating-elements {
    display: none;
  }

  /* 移动端隐藏标题文字 */
  .hero-title,
  .hero-desc {
    display: none;
  }

  /* 移动端调整hero布局 */
  .hero-content {
    grid-template-columns: 1fr;
    gap: 30px;
    justify-items: center;
  }

  .hero-right {
    text-align: center;
    width: 100%;
  }

  .download-buttons {
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }

  .dl-btn {
    width: 100%;
    max-width: 280px;
  }

  .hero-stats {
    display: none;
  }

  .phone-mockup {
    width: 200px;
    height: 400px;
  }

  /* 移动端第二页样式调整 */
  .section-concept {
    padding: 70px 20px 40px;
  }

  .concept-header {
    margin-bottom: 16px;
  }

  .concept-title {
    font-size: 32px;
  }

  .concept-subtitle {
    font-size: 12px;
  }

  .concept-steps {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }

  /* 移动端隐藏连接线装饰 */
  .steps-connection {
    display: none;
  }

  .step-card {
    padding: 10px 8px;
    max-height: none;
  }

  .step-title {
    font-size: 16px;
    margin-bottom: 4px;
  }

  .step-desc {
    font-size: 11px;
    margin-bottom: 8px;
  }

  .step-example {
    padding: 6px;
  }

  .example-word {
    margin-bottom: 4px;
  }

  .example-word .word-en {
    font-size: 15px;
  }

  .example-word .word-phonetic {
    font-size: 10px;
  }

  .example-arrow {
    margin-bottom: 4px;
  }

  .example-sound {
    gap: 4px;
  }

  .sound-icon,
  .sound-text,
  .sound-meaning {
    font-family: var(--font-primary);
    font-size: 11px;
    line-height: 1.2;
  }

  .letter-group {
    gap: 4px;
    margin-bottom: 6px;
  }

  .letter {
    width: 28px;
    height: 28px;
    font-size: 14px;
  }

  .letter-meaning {
    font-size: 11px;
  }

  .mini-word-card {
    min-width: 100px;
    padding: 16px 12px;
  }

  .mini-en {
    font-size: 16px;
  }

  .mini-cn {
    font-size: 12px;
  }

  .mini-tip {
    font-size: 11px;
    padding: 3px 8px;
  }

  .word-cards {
    gap: 12px;
  }

  .showcase-title {
    font-size: 18px;
    margin-bottom: 16px;
  }

  /* 移动端游戏区域调整 */
  .game-content {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 0;
    max-width: 100%;
    width: 100%;
    align-content: center;
    justify-items: center;
  }

  .game-visual {
    width: 100%;
    gap: 12px;
    max-width: 100%;
  }

  .game-features-top {
    flex-wrap: nowrap;
    gap: 6px;
    width: 100%;
    max-width: 100%;
  }

  .feature-card {
    flex: 1;
    min-width: 0;
    padding: 6px 4px;
    gap: 4px;
    max-width: 100%;
  }

  .feature-icon {
    font-size: 16px;
    flex-shrink: 0;
  }

  .feature-text {
    overflow: hidden;
  }

  .feature-text h4 {
    font-size: 11px;
    line-height: 1.2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .feature-text .desktop-desc {
    display: none;
  }

  .feature-text .mobile-desc {
    display: block;
    font-size: 9px;
    line-height: 1.1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .game-screenshot {
    width: 85%;
    max-width: 320px;
    margin: 0 auto;
  }

  .game-scene {
    aspect-ratio: 16/10;
  }

  .game-title {
    text-align: center;
    margin-bottom: 8px;
    flex-direction: row;
    gap: 10px;
    justify-content: center;
  }

  .game-text {
    text-align: center;
  }

  .game-desc {
    font-size: 12px;
    line-height: 1.5;
    margin-bottom: 10px;
  }

  .game-points {
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 14px;
  }

  .point {
    font-size: 10px;
    gap: 4px;
  }

  .point-icon svg {
    width: 14px;
    height: 14px;
  }

  .game-cta {
    width: 100%;
    justify-content: center;
    padding: 12px 28px;
    font-size: 16px;
  }

  .title-highlight,
  .title-line {
    font-size: 24px;
  }

  .section-footer {
    padding: 40px 0 0;
    min-height: 100vh;
    justify-content: center;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 40px 20px 80px;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: auto;
  }

  /* 圈1: 隐藏品牌介绍 */
  .footer-brand {
    display: none;
  }

  /* 圈2: 联系我们横向排列 */
  .contact-list {
    flex-direction: row;
    justify-content: center;
    gap: 32px;
  }

  .contact-item {
    flex-direction: column;
    gap: 6px;
  }

  .contact-label {
    font-size: 15px;
  }

  .contact-value {
    font-size: 17px;
  }

  /* 圈3: 下载按钮横向排列 */
  .footer-dl-buttons {
    flex-direction: row;
    justify-content: center;
    gap: 16px;
  }

  .footer-dl-btn {
    padding: 12px 24px;
    font-size: 16px;
  }

  /* 圈4: 关于链接横向排列 */
  .footer-link-list {
    flex-direction: row;
    justify-content: center;
    gap: 32px;
  }

  .footer-link-list a {
    font-size: 16px;
  }

  .footer-title {
    font-size: 18px;
    text-align: center;
    margin-bottom: 12px;
  }

  .footer-bottom {
    padding: 32px 20px 24px;
  }

  .footer-bottom p {
    font-size: 14px;
    margin: 6px 0;
  }

  .floating-elements {
    display: none;
  }

  .scroll-hint {
    display: none;
  }
}

/* ============================================
   动画和过渡
   ============================================ */
.section.active .hero-content,
.section.active .concept-content,
.section.active .game-content {
  animation: fadeInUp 0.8s ease-out;
}

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

/* 减少动画偏好 */
@media (prefers-reduced-motion: reduce) {
  .float-item,
  .conn-star,
  .scroll-arrow {
    animation: none;
  }

  .section.active .hero-content,
  .section.active .concept-content,
  .section.active .game-content {
    animation: none;
  }

  .feature-card {
    animation: none;
  }

  .dl-btn,
  .nav-btn,
  .mini-word-card,
  .feature-card,
  .footer-dl-btn {
    transition: none;
  }
}
