:root {
  /* Font Family */
  --font-title: 'Fredoka', 'Plus Jakarta Sans', -apple-system, sans-serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, sans-serif;

  /* Playful & Soft Pastel Macaron Colors */
  --color-bg-base: #fcfaf6;
  --color-primary: #8d71ff;       /* Soft Purple */
  --color-primary-glow: rgba(141, 113, 255, 0.35);
  
  --color-orange: #ff8a65;        /* Soft Orange */
  --color-blue: #64b5f6;          /* Soft Blue */
  --color-mint: #4db6ac;          /* Soft Mint */
  --color-gold: #ffb74d;          /* Soft Gold */
  --color-pink: #ff8da1;          /* Soft Pink */
  --color-green: #81c784;         /* Soft Green */
  
  --text-dark: #2d3748;
  --text-secondary: #718096;
  --text-muted: #a0aec0;
  
  /* Shadows and Borders */
  --glass-bg: rgba(255, 255, 255, 0.65);
  --glass-border: rgba(255, 255, 255, 0.5);
  --shadow-soft: 0 12px 32px -4px rgba(100, 100, 110, 0.08);
  --shadow-card-hover: 0 20px 40px -8px rgba(141, 113, 255, 0.15);
  --shadow-neon-glow: 0 8px 24px rgba(141, 113, 255, 0.25);
  
  /* Transitions */
  --transition-smooth: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-bounce: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background-color: var(--color-bg-base);
  color: var(--text-dark);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, .logo-text, .app-spell, .toy-card-title {
  font-family: var(--font-title);
  font-weight: 600;
  color: var(--text-dark);
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition-smooth);
}

/* Background Atmosphere Decorations */
.background-decorations {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}

.bubble {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.35;
}

.bubble-1 {
  width: 450px;
  height: 450px;
  top: -100px;
  right: -50px;
  background: radial-gradient(circle, rgba(141, 113, 255, 0.6) 0%, rgba(255, 255, 255, 0) 70%);
  animation: float-drift 22s infinite alternate;
}

.bubble-2 {
  width: 400px;
  height: 400px;
  bottom: 20%;
  left: -100px;
  background: radial-gradient(circle, rgba(100, 181, 246, 0.6) 0%, rgba(255, 255, 255, 0) 70%);
  animation: float-drift 18s infinite alternate-reverse;
}

.bubble-3 {
  width: 350px;
  height: 350px;
  top: 45%;
  right: -80px;
  background: radial-gradient(circle, rgba(255, 138, 101, 0.5) 0%, rgba(255, 255, 255, 0) 70%);
  animation: float-drift 25s infinite alternate;
}

@keyframes float-drift {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(60px, 40px) scale(1.15); }
}

/* Glassmorphism utility */
.glass-effect {
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow-soft);
}

/* Micro-interaction scale hover */
.hover-scale {
  transition: var(--transition-bounce);
}

.hover-scale:hover {
  transform: translateY(-4px) scale(1.03);
}

/* Header & Navbar */
.navbar {
  position: fixed;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  width: 90%;
  max-width: 1200px;
  height: 64px;
  border-radius: 30px;
  z-index: 100;
  padding: 0 24px;
  display: flex;
  align-items: center;
}

.nav-container {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 8px;
}

.logo-emoji {
  font-size: 24px;
}

.logo-text {
  font-size: 20px;
  letter-spacing: -0.5px;
  background: linear-gradient(135deg, var(--color-primary), var(--color-orange));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

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

.nav-item {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-secondary);
}

.nav-item:hover {
  color: var(--color-primary);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.console-btn {
  font-size: 13px;
  font-weight: 700;
  padding: 8px 16px;
  border-radius: 20px;
  color: var(--color-primary);
  border-color: rgba(141, 113, 255, 0.2);
}

.console-btn:hover {
  background: rgba(141, 113, 255, 0.08);
  border-color: var(--color-primary);
}

.download-btn {
  font-size: 13px;
  font-weight: 700;
  padding: 8px 20px;
  border-radius: 20px;
  background: var(--color-primary);
  color: #fff;
  box-shadow: var(--shadow-neon-glow);
  border: none;
  cursor: pointer;
  transition: var(--transition-bounce);
}

.download-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(141, 113, 255, 0.4);
}

/* Hero Section */
.hero-section {
  padding: 160px 20px 80px;
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.hero-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
}

.hero-badge {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  color: var(--color-primary);
  background: rgba(141, 113, 255, 0.08);
  padding: 6px 14px;
  border-radius: 20px;
  margin-bottom: 20px;
  letter-spacing: 0.5px;
}

.hero-title {
  font-size: 52px;
  line-height: 1.2;
  margin-bottom: 24px;
  letter-spacing: -1.5px;
}

.text-highlight {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-orange) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  position: relative;
}

.hero-subtitle {
  font-size: 16px;
  color: var(--text-secondary);
  margin-bottom: 40px;
  max-width: 520px;
}

.hero-actions-row {
  display: flex;
  gap: 16px;
  margin-bottom: 48px;
}

.cta-large {
  font-size: 15px;
  padding: 12px 28px;
  border-radius: 25px;
}

.preview-btn {
  font-size: 15px;
  font-weight: 700;
  padding: 12px 28px;
  border-radius: 25px;
  background: #fff;
  border: 1.5px dashed rgba(141, 113, 255, 0.4);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  gap: 8px;
}

.preview-btn:hover {
  background: rgba(141, 113, 255, 0.03);
  border-style: solid;
  border-color: var(--color-primary);
}

.hero-reviews {
  display: flex;
  align-items: center;
  gap: 12px;
}

.review-stars {
  font-size: 14px;
  letter-spacing: 1px;
}

.review-text {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-secondary);
}

/* 3D Interactive App Mockup */
.hero-mockup {
  position: relative;
  height: 520px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.mockup-screen-container {
  position: relative;
  width: 100%;
  height: 100%;
  perspective: 1000px;
}

.main-mockup-app {
  width: 280px;
  height: 480px;
  border-radius: 40px;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%) rotateY(-10deg) rotateX(6deg);
  z-index: 2;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.15);
  border: 3px solid rgba(255,255,255,0.7);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.95);
}

.app-top-bar {
  height: 38px;
  padding: 0 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(0,0,0,0.04);
  background: #fff;
}

.app-dots {
  display: flex;
  gap: 5px;
}

.dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
}
.dot.red { background-color: #ff5f56; }
.dot.yellow { background-color: #ffbd2e; }
.dot.green { background-color: #27c93f; }

.app-title-text {
  font-size: 10px;
  font-weight: 800;
  color: var(--text-secondary);
  letter-spacing: 0.5px;
}

.app-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 12px 16px;
  text-align: center;
  overflow-y: hidden;
  background: #fdfcf8;
}

/* App Bottom Navigation Bar inside Mockup */
.app-bottom-nav {
  height: 56px;
  border-top: 1px solid rgba(0,0,0,0.05);
  display: flex;
  background: #fff;
  padding: 4px 8px;
}

.nav-tab {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0.45;
  transition: var(--transition-smooth);
  user-select: none;
}

.nav-tab.active {
  opacity: 1;
  color: var(--color-primary);
}

.nav-tab .tab-icon {
  font-size: 18px;
}

.nav-tab .tab-label {
  font-size: 9px;
  font-weight: 700;
  margin-top: 2px;
}

/* Interactive App Screens Mockup */
.mockup-learn-screen, .mockup-quiz-screen, .mockup-checkin-screen, .mockup-shop-screen {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.mockup-star-badge {
  font-size: 12px;
  font-weight: 800;
  color: var(--color-orange);
  background: rgba(255, 138, 101, 0.1);
  padding: 4px 12px;
  border-radius: 15px;
  margin-bottom: 10px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.mockup-emoji {
  font-size: 56px;
  margin-bottom: 8px;
  filter: drop-shadow(0 6px 10px rgba(0,0,0,0.1));
}

.mockup-word {
  font-size: 28px;
  margin-bottom: 2px;
}

.mockup-phonetic {
  font-size: 13px;
  color: var(--color-primary);
  margin-bottom: 8px;
}

.mockup-trans-box {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-secondary);
  background: #fff;
  border: 1px solid rgba(0,0,0,0.05);
  padding: 6px 20px;
  border-radius: 12px;
}

.mockup-speak-btn {
  width: 44px;
  height: 44px;
  line-height: 44px;
  font-size: 18px;
  background: var(--color-primary);
  color: white;
  border-radius: 50%;
  margin-top: 12px;
  box-shadow: 0 6px 15px rgba(141, 113, 255, 0.3);
  cursor: pointer;
  transition: var(--transition-bounce);
}

.mockup-speak-btn:hover {
  transform: scale(1.1);
}

.mockup-homophone-box {
  margin-top: 8px;
  background: rgba(255, 138, 101, 0.08);
  border: 1px dashed rgba(255, 138, 101, 0.3);
  padding: 6px 12px;
  border-radius: 12px;
  max-width: 85%;
  text-align: center;
}

.homophone-tag {
  font-size: 10px;
  color: var(--color-orange);
  font-weight: 800;
  display: block;
  margin-bottom: 2px;
}

.homophone-text {
  font-size: 11px;
  color: var(--text-secondary);
  margin: 0;
  line-height: 1.3;
}

/* Quiz Screen Mock */
.quiz-header {
  font-size: 14px;
  font-weight: 800;
  color: var(--text-secondary);
  margin-bottom: 16px;
}

.quiz-question-box {
  background: #fff;
  border: 1px solid rgba(0,0,0,0.04);
  border-radius: 16px;
  padding: 12px;
  width: 100%;
  margin-bottom: 20px;
  box-shadow: var(--shadow-soft);
}

.quiz-question-emoji {
  font-size: 40px;
}

.quiz-question-text {
  font-size: 13px;
  color: var(--text-dark);
  font-weight: 700;
  margin-top: 4px;
}

.quiz-options {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
}

.quiz-option-btn {
  width: 100%;
  padding: 10px;
  border-radius: 14px;
  border: 1px solid rgba(0,0,0,0.06);
  background: #fff;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition-bounce);
}

.quiz-option-btn:hover {
  background: #fafafa;
  transform: translateY(-2px);
}

.quiz-option-btn.correct {
  background: rgba(129, 199, 132, 0.15);
  border-color: var(--color-green);
  color: #2e7d32;
}

.quiz-option-btn.wrong {
  background: rgba(229, 115, 115, 0.15);
  border-color: #e57373;
  color: #c62828;
}

/* Checkin Screen Mock */
.checkin-streak-banner {
  font-size: 12px;
  font-weight: 800;
  color: var(--color-orange);
  margin-bottom: 16px;
}

.checkin-calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 6px;
  width: 100%;
  margin-bottom: 16px;
}

.calendar-day-cell {
  aspect-ratio: 1;
  background: rgba(0,0,0,0.02);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 700;
  color: var(--text-secondary);
}

.calendar-day-cell.checked {
  background: var(--color-pink);
  color: white;
}

.calendar-day-cell.today {
  border: 1.5px dashed var(--color-primary);
}

.checkin-action-btn {
  padding: 8px 24px;
  background: var(--color-pink);
  color: white;
  border: none;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 6px 12px rgba(255, 141, 161, 0.3);
  transition: var(--transition-bounce);
}

.checkin-action-btn.disabled {
  background: #cbd5e1;
  box-shadow: none;
  cursor: not-allowed;
}

/* Shop Screen Mock */
.shop-header-row {
  display: flex;
  justify-content: space-between;
  width: 100%;
  font-size: 13px;
  font-weight: 800;
  color: var(--text-secondary);
  margin-bottom: 12px;
}

.shop-items-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
  max-height: 280px;
  overflow-y: auto;
}

.shop-item-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #fff;
  border: 1px solid rgba(0,0,0,0.04);
  border-radius: 12px;
  padding: 8px 12px;
}

.shop-item-left {
  display: flex;
  align-items: center;
  gap: 8px;
}

.shop-item-emoji {
  font-size: 20px;
}

.shop-item-info {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.shop-item-name {
  font-size: 11px;
  font-weight: 700;
}

.shop-item-cost {
  font-size: 9px;
  color: var(--color-gold);
  font-weight: 800;
}

.shop-item-redeem-btn {
  padding: 4px 10px;
  font-size: 9px;
  font-weight: 800;
  background: var(--color-primary);
  color: white;
  border: none;
  border-radius: 10px;
  cursor: pointer;
}

/* Interactive Sandbox Sections Common headers */
.section-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 20px;
}

.section-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 56px;
}

.section-tag {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 2px;
  color: var(--color-primary);
  display: block;
  margin-bottom: 12px;
}

.section-title {
  font-size: 38px;
  letter-spacing: -1px;
  line-height: 1.3;
  margin-bottom: 16px;
}

.section-desc {
  font-size: 15px;
  color: var(--text-secondary);
}

/* Sandbox word card */
.sandbox-filters {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 40px;
}

.filter-chip {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 700;
  padding: 10px 24px;
  border-radius: 20px;
  border: 1px solid var(--glass-border);
  background: white;
  color: var(--text-secondary);
  cursor: pointer;
  box-shadow: var(--shadow-soft);
  transition: var(--transition-bounce);
}

.filter-chip.active {
  background: var(--color-primary);
  color: white;
  border-color: var(--color-primary);
  box-shadow: var(--shadow-neon-glow);
}

.filter-chip:hover {
  transform: translateY(-2px);
}

.sandbox-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 24px;
  margin-bottom: 40px;
}

.sandbox-card {
  perspective: 1000px;
  height: 320px;
  cursor: pointer;
}

.card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  text-align: center;
  transition: transform 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  transform-style: preserve-3d;
}

.sandbox-card.is-flipped .card-inner {
  transform: rotateY(180deg);
}

.card-front, .card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  border-radius: 24px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--glass-border);
}

.card-front {
  background: rgba(255, 255, 255, 0.8);
  box-shadow: var(--shadow-soft);
}

.card-front .word-emoji {
  font-size: 72px;
  margin-bottom: 12px;
  filter: drop-shadow(0 6px 10px rgba(0,0,0,0.06));
  transition: var(--transition-bounce);
}

.sandbox-card:hover .word-emoji {
  transform: scale(1.15) rotate(5deg);
}

.card-front h3 {
  font-size: 24px;
  margin-bottom: 4px;
}

.card-front .word-phonetic {
  font-size: 13px;
  color: var(--color-primary);
  margin-bottom: 12px;
}

.card-front .tap-hint {
  font-size: 11px;
  color: var(--text-muted);
  font-weight: 700;
  letter-spacing: 1px;
  display: flex;
  align-items: center;
  gap: 4px;
}

.card-back {
  background: linear-gradient(135deg, #ffffff 0%, #faf8ff 100%);
  transform: rotateY(180deg);
  box-shadow: var(--shadow-soft);
  justify-content: space-between;
}

.card-back .back-header {
  display: flex;
  justify-content: space-between;
  width: 100%;
  font-size: 12px;
  font-weight: 700;
  color: var(--text-muted);
  border-bottom: 1px dashed var(--glass-border);
  padding-bottom: 8px;
}

.card-back .trans-text {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-dark);
}

.card-back .memo-box {
  background: rgba(141, 113, 255, 0.03);
  border: 1.5px dashed rgba(141, 113, 255, 0.15);
  border-radius: 16px;
  padding: 12px 16px;
  width: 100%;
  text-align: left;
}

.card-back .memo-title {
  font-size: 11px;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 4px;
  display: block;
}

.card-back .memo-desc {
  font-size: 12px;
  color: var(--text-secondary);
  line-height: 1.4;
  white-space: pre-line;
}

.card-back .back-footer {
  font-size: 10px;
  font-weight: 700;
  color: var(--color-primary);
  display: flex;
  align-items: center;
  gap: 4px;
}

/* Audio feedback wave panel */
.audio-feedback-panel {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  max-width: 320px;
  margin: 0 auto;
  padding: 12px 24px;
  border-radius: 30px;
  transition: var(--transition-smooth);
}

.audio-feedback-panel.hidden {
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
}

.audio-wave {
  display: flex;
  align-items: flex-end;
  gap: 3px;
  height: 20px;
}

.audio-wave .bar {
  width: 3px;
  height: 5px;
  background-color: var(--color-primary);
  border-radius: 2px;
  animation: wave-bounce 0.6s infinite alternate ease-in-out;
}

.audio-wave .bar:nth-child(2) { animation-delay: 0.1s; height: 12px; }
.audio-wave .bar:nth-child(3) { animation-delay: 0.25s; height: 18px; }
.audio-wave .bar:nth-child(4) { animation-delay: 0.15s; height: 10px; }
.audio-wave .bar:nth-child(5) { animation-delay: 0.3s; height: 14px; }

@keyframes wave-bounce {
  100% { height: 4px; }
}

.audio-status-text {
  font-size: 12px;
  font-weight: 700;
  color: var(--color-primary);
}

/* Magic Star Shop Section */
.star-balance-card {
  max-width: 480px;
  margin: 0 auto 40px;
  padding: 20px 28px;
  border-radius: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: linear-gradient(135deg, rgba(255, 183, 77, 0.15) 0%, rgba(255, 138, 101, 0.15) 100%);
  border: 1px solid rgba(255, 183, 77, 0.3);
  box-shadow: 0 10px 30px -5px rgba(255, 138, 101, 0.15);
}

.balance-info {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.balance-label {
  font-size: 12px;
  font-weight: 700;
  color: var(--text-secondary);
  letter-spacing: 0.5px;
}

.balance-value {
  font-size: 26px;
  font-weight: 900;
  color: var(--color-orange);
  margin-top: 4px;
}

.balance-icon {
  font-size: 40px;
}

.toys-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 28px;
}

.toy-card {
  border-radius: 24px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  height: 250px;
  justify-content: space-between;
  position: relative;
}

.toy-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.toy-emoji-box {
  width: 56px;
  height: 56px;
  line-height: 56px;
  text-align: center;
  font-size: 32px;
  border-radius: 16px;
  background: rgba(255,255,255,0.7);
  box-shadow: var(--shadow-soft);
}

.toy-cost-badge {
  font-size: 13px;
  font-weight: 800;
  color: var(--color-orange);
  background: rgba(255, 138, 101, 0.1);
  padding: 4px 12px;
  border-radius: 20px;
}

.toy-card-body {
  text-align: left;
  margin: 16px 0;
  flex: 1;
}

.toy-card-title {
  font-size: 17px;
  font-weight: 800;
  margin-bottom: 2px;
}

.toy-card-title-cn {
  font-size: 12px;
  font-weight: 700;
  color: var(--text-secondary);
  margin-bottom: 6px;
}

.toy-card-desc {
  font-size: 11px;
  color: var(--text-muted);
  line-height: 1.4;
}

.toy-card-actions {
  display: flex;
  gap: 10px;
}

.toy-action-btn {
  flex: 1;
  padding: 8px;
  font-size: 12px;
  font-weight: 800;
  border-radius: 14px;
  cursor: pointer;
  border: none;
  transition: var(--transition-bounce);
}

.toy-action-btn.speak {
  background: white;
  border: 1px solid rgba(0,0,0,0.06);
  color: var(--text-secondary);
}

.toy-action-btn.speak:hover {
  background: #f8f8f8;
}

.toy-action-btn.redeem {
  background: var(--color-primary);
  color: white;
  box-shadow: 0 4px 12px rgba(141, 113, 255, 0.2);
}

.toy-action-btn.redeem:hover {
  box-shadow: 0 6px 18px rgba(141, 113, 255, 0.35);
}

/* Features Grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 28px;
}

.feature-card {
  border-radius: 24px;
  padding: 32px 24px;
}

.feat-icon-box, .feature-badge-icon {
  width: 54px;
  height: 54px;
  line-height: 54px;
  text-align: center;
  font-size: 24px;
  border-radius: 16px;
  margin-bottom: 24px;
}

.bg-pastel-blue { background-color: rgba(100, 181, 246, 0.15); color: var(--color-blue); }
.bg-pastel-purple { background-color: rgba(141, 113, 255, 0.15); color: var(--color-primary); }
.bg-pastel-orange { background-color: rgba(255, 138, 101, 0.15); color: var(--color-orange); }
.bg-pastel-gold { background-color: rgba(255, 183, 77, 0.15); color: var(--color-gold); }

.feature-card h3 {
  font-size: 18px;
  margin-bottom: 12px;
}

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

/* Parent Control Hype Section */
.parent-section {
  max-width: 1200px;
  margin: 80px auto;
  padding: 0 20px;
}

.parent-container {
  border-radius: 36px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}

@media (max-width: 900px) {
  .parent-container {
    grid-template-columns: 1fr;
  }
}

.parent-info {
  padding: 60px 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.section-tag-light {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 2px;
  color: var(--color-orange);
  margin-bottom: 12px;
}

.parent-info h2 {
  font-size: 34px;
  line-height: 1.3;
  margin-bottom: 20px;
}

.parent-info p {
  font-size: 15px;
  color: var(--text-secondary);
  margin-bottom: 24px;
}

.parent-bullets {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 36px;
}

.parent-bullets li {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-dark);
}

.parent-visual {
  background: linear-gradient(135deg, rgba(141, 113, 255, 0.05) 0%, rgba(100, 181, 246, 0.05) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
}

.console-screen-mockup {
  width: 100%;
  max-width: 440px;
  height: 300px;
  border-radius: 20px;
  background: #0b0f19;
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 20px 40px rgba(0,0,0,0.3);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.mockup-header {
  height: 32px;
  background: #0f131a;
  display: flex;
  align-items: center;
  padding: 0 16px;
  gap: 8px;
}

.mock-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
}

.mock-title {
  font-size: 9px;
  font-weight: 700;
  color: rgba(255,255,255,0.3);
  letter-spacing: 0.5px;
}

.mockup-body {
  flex: 1;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.mock-chart-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.mock-stat-box {
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: 8px;
  padding: 10px;
  text-align: center;
  display: flex;
  flex-direction: column;
}

.mock-stat-box .box-val {
  font-size: 13px;
  font-weight: 700;
  color: #fff;
}

.mock-stat-box .box-lbl {
  font-size: 9px;
  color: #64748b;
  margin-top: 2px;
}

.mock-timeline-box {
  background: rgba(255,255,255,0.01);
  border: 1px dashed rgba(255,255,255,0.05);
  border-radius: 10px;
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.time-title {
  font-size: 10px;
  font-weight: 700;
  color: #22d3ee;
  margin-bottom: 2px;
}

.mock-timeline-item {
  font-size: 10px;
  color: #94a3b8;
}

/* Download Conversion Section */
.download-section {
  padding: 80px 20px;
}

.download-card {
  max-width: 900px;
  margin: 0 auto;
  border-radius: 36px;
  padding: 60px 40px;
}

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

.download-card h2 {
  font-size: 38px;
  margin-bottom: 12px;
}

.download-card p {
  font-size: 15px;
  color: var(--text-secondary);
  margin-bottom: 40px;
}

.download-options-row {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.download-options-row .download-btn {
  box-shadow: 0 10px 24px rgba(141, 113, 255, 0.3);
}

.download-options-row .console-btn {
  background: white;
  border: 1.5px solid rgba(141, 113, 255, 0.3);
  color: var(--color-primary);
  font-weight: 700;
  padding: 12px 28px;
  border-radius: 25px;
  transition: var(--transition-bounce);
}

.download-options-row .console-btn:hover {
  border-color: var(--color-primary);
  background: rgba(141, 113, 255, 0.04);
}

.compatibility-info {
  font-size: 11px;
  color: var(--text-muted);
  font-weight: 600;
  letter-spacing: 0.5px;
}

/* Footer styling */
.footer {
  background-color: #faf8f5;
  border-top: 1px solid rgba(0,0,0,0.03);
  padding: 64px 20px 24px;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto 48px;
  display: flex;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}

.footer-brand {
  max-width: 320px;
}

.footer-logo {
  font-family: var(--font-title);
  font-size: 20px;
  font-weight: 700;
  color: var(--text-dark);
  display: block;
  margin-bottom: 12px;
}

.footer-brand p {
  font-size: 13px;
  color: var(--text-secondary);
}

.footer-links-grid {
  display: flex;
  gap: 64px;
}

.links-col {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.links-col h4 {
  font-size: 13px;
  font-weight: 800;
  color: var(--text-dark);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 8px;
}

.links-col a {
  font-size: 13px;
  color: var(--text-secondary);
}

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

.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  border-top: 1px solid rgba(0,0,0,0.04);
  padding-top: 24px;
  text-align: center;
  font-size: 11px;
  color: var(--text-muted);
  font-weight: 600;
}

/* Confetti Overlay Particle Styles */
.confetti-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 9999;
  pointer-events: none;
  overflow: hidden;
}

.confetti-particle {
  position: absolute;
  width: 10px;
  height: 10px;
  animation: fall linear forwards;
}

@keyframes fall {
  0% {
    transform: translateY(-20px) rotate(0deg);
  }
  100% {
    transform: translateY(105vh) rotate(720deg);
  }
}

/* Responsive breakpoints */
@media (max-width: 850px) {
  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 48px;
  }
  .hero-title {
    font-size: 38px;
  }
  .hero-subtitle {
    margin-left: auto;
    margin-right: auto;
  }
  .hero-actions-row {
    justify-content: center;
  }
  .hero-reviews {
    justify-content: center;
  }
  .hero-mockup {
    height: 380px;
  }
  .main-mockup-app {
    width: 230px;
    height: 390px;
    border-radius: 30px;
  }
  .app-bottom-nav {
    height: 48px;
  }
  .nav-tab .tab-icon {
    font-size: 14px;
  }
  .nav-tab .tab-label {
    font-size: 8px;
  }
  .footer-links-grid {
    gap: 32px;
  }
}

/* 针对平板和手机 (max-width: 768px) */
@media (max-width: 768px) {
  .navbar {
    width: 94%;
    padding: 0 16px;
    top: 8px;
  }
  .nav-links {
    display: none; /* 隐藏中间的文字链接，留出空间给 Logo 和下载按钮 */
  }
  .logo-text {
    font-size: 16px;
  }
  .nav-actions .download-btn {
    padding: 8px 16px;
    font-size: 12px;
  }
  .footer-container {
    flex-direction: column;
    text-align: center;
    align-items: center;
  }
  .footer-brand {
    max-width: 100%;
    margin-bottom: 24px;
  }
  .footer-links-grid {
    justify-content: center;
  }
}

/* 针对小屏手机 (max-width: 480px) */
@media (max-width: 480px) {
  .hero-section {
    padding: 100px 16px 60px;
  }
  .hero-title {
    font-size: 28px;
    line-height: 1.3;
  }
  .hero-actions-row {
    flex-direction: column;
    gap: 12px;
    width: 100%;
    align-items: center;
  }
  .hero-actions-row .download-btn,
  .hero-actions-row .preview-btn {
    width: 100%;
    max-width: 280px;
    text-align: center;
    justify-content: center;
    padding: 14px 20px;
  }
  .hero-reviews {
    font-size: 12px;
  }
  .section-title {
    font-size: 24px;
  }
  .section-desc {
    font-size: 13px;
  }
  .sandbox-filters {
    gap: 6px;
  }
  .filter-chip {
    padding: 6px 12px;
    font-size: 12px;
  }
  .download-section {
    padding: 40px 12px;
  }
  .download-card {
    padding: 32px 16px;
    border-radius: 24px;
  }
  .download-card h2 {
    font-size: 24px;
  }
  .download-card p {
    font-size: 13px;
    margin-bottom: 24px;
  }
  .download-options-row .download-btn {
    width: 100%;
    max-width: 280px;
    justify-content: center;
    padding: 14px 20px;
  }
}
