:root {
  --cream: #fff7e8;
  --paper: #fffdf8;
  --ink: #3e2b1d;
  --muted: #826f60;
  --orange: #ffbd46;
  --coral: #ff6e58;
  --coral-dark: #d84b37;
  --peach: #ffe4bd;
  --mint: #c9eddc;
  --sky: #d9eeff;
  --lavender: #efe4ff;
  --line: rgba(91, 56, 28, 0.12);
  --shadow: 0 28px 80px rgba(137, 81, 21, 0.16);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Rounded", "PingFang SC", "Microsoft YaHei", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  background:
    radial-gradient(circle at 10% 2%, rgba(255, 199, 93, 0.52), transparent 28rem),
    radial-gradient(circle at 92% 10%, rgba(201, 237, 220, 0.56), transparent 26rem),
    linear-gradient(180deg, #fff8eb 0%, #fff1e6 48%, #fff9ef 100%);
  overflow-x: hidden;
}

a { color: inherit; }
img { max-width: 100%; display: block; }

.page-glow {
  position: fixed;
  pointer-events: none;
  filter: blur(6px);
  opacity: 0.75;
  z-index: -1;
}
.page-glow-a {
  width: 42vw;
  height: 42vw;
  left: -18vw;
  top: 22vh;
  border-radius: 999px;
  background: rgba(255, 111, 89, 0.16);
}
.page-glow-b {
  width: 36vw;
  height: 36vw;
  right: -12vw;
  bottom: 8vh;
  border-radius: 999px;
  background: rgba(96, 188, 255, 0.13);
}

.site-header,
.site-footer,
main {
  width: min(1160px, calc(100% - 36px));
  margin: 0 auto;
}

.site-header,
.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.site-header { padding: 20px 0 10px; }
.site-footer { padding: 36px 0 42px; color: var(--muted); flex-wrap: wrap; }

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.brand-icon {
  width: 54px;
  height: 54px;
  border-radius: 16px;
  box-shadow: 0 14px 26px rgba(183, 99, 19, 0.22);
}
.brand strong,
.brand small { display: block; }
.brand strong { font-size: 18px; letter-spacing: -0.02em; }
.brand small { color: var(--muted); margin-top: 2px; font-weight: 700; }

nav {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.58);
  backdrop-filter: blur(14px);
}
nav a {
  text-decoration: none;
  font-weight: 900;
  color: var(--muted);
  padding: 8px 13px;
  border-radius: 999px;
}
nav a:hover { background: white; color: var(--ink); }
.language-link { background: rgba(255, 191, 77, 0.22); color: #9b4d1c; }
.language-link:hover { background: var(--orange); color: #5b3118; }

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 520px;
  gap: 56px;
  align-items: center;
  padding: 60px 0 76px;
}

.eyebrow {
  margin: 0 0 14px;
  color: #c86721;
  font-size: 12px;
  font-weight: 1000;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
h1, h2, h3, p { margin-top: 0; }
h1 {
  max-width: 620px;
  margin-bottom: 24px;
  color: #4b3425;
  font-size: clamp(42px, 5.8vw, 70px);
  line-height: 1.06;
  letter-spacing: -0.045em;
  text-wrap: balance;
}
h2 {
  margin-bottom: 14px;
  color: #4b3425;
  font-size: clamp(30px, 3.8vw, 46px);
  line-height: 1.12;
  letter-spacing: -0.035em;
  text-wrap: balance;
}
h3 { margin-bottom: 9px; font-size: 23px; letter-spacing: -0.025em; }
p { line-height: 1.72; }
.lead { max-width: 650px; color: var(--muted); font-size: 20px; }
.muted { color: var(--muted); }

.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.button {
  display: inline-flex;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  padding: 0 24px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 1000;
}
.primary { color: white; background: linear-gradient(135deg, var(--coral), #ff8a4a); box-shadow: 0 18px 34px rgba(255, 111, 89, 0.27); }
.secondary { background: rgba(255, 255, 255, 0.72); border: 1px solid var(--line); }

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}
.trust-row span {
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.68);
  border: 1px solid rgba(255, 205, 134, 0.62);
  color: #684832;
  font-weight: 900;
}

.hero-stage {
  position: relative;
  min-height: 650px;
}
.phone-shell {
  position: absolute;
  right: 40px;
  top: 42px;
  width: 360px;
  padding: 20px;
  border-radius: 46px;
  background: linear-gradient(180deg, rgba(255, 242, 219, 0.96), rgba(255, 229, 211, 0.92));
  border: 1px solid rgba(255, 255, 255, 0.8);
  box-shadow: var(--shadow), inset 0 1px 0 rgba(255, 255, 255, 0.8);
}
.phone-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  font-weight: 1000;
}
.phone-top span { font-size: 20px; }
.phone-top b {
  padding: 8px 12px;
  border-radius: 999px;
  background: white;
  color: #f5a400;
}
.target-card,
.choice-grid button {
  border: 0;
  border-radius: 32px;
  background: rgba(255, 255, 255, 0.84);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.9), 0 16px 32px rgba(168, 97, 28, 0.10);
}
.target-card {
  display: grid;
  place-items: center;
  min-height: 292px;
  padding: 20px;
}
.target-card span {
  padding: 8px 13px;
  border-radius: 999px;
  color: white;
  background: var(--coral);
  font-size: 14px;
  font-weight: 1000;
}
.target-card img { width: 168px; margin: 8px 0 -4px; }
.target-card strong { font-size: 25px; }
.choice-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 14px;
}
.choice-grid button { padding: 16px; }
.choice-grid img { width: 128px; margin: auto; }

.floating-card {
  position: absolute;
  left: 14px;
  top: 18px;
  width: 158px;
  padding: 16px;
  border-radius: 32px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(255,255,255,0.76);
  box-shadow: 0 20px 44px rgba(130, 73, 20, 0.14);
  backdrop-filter: blur(14px);
  transform: rotate(-8deg);
}
.floating-card img { border-radius: 28px; margin-bottom: 10px; }
.floating-card strong { display: block; text-align: center; }
.liuliu-float {
  position: absolute;
  left: 10px;
  bottom: 28px;
  width: 215px;
  filter: drop-shadow(0 24px 24px rgba(141, 82, 21, 0.15));
}
.frog-float {
  position: absolute;
  right: 0;
  bottom: 6px;
  width: 132px;
  transform: rotate(9deg);
  filter: drop-shadow(0 18px 22px rgba(75, 137, 49, 0.14));
}

.section { padding: 74px 0; }
.section-heading { max-width: 760px; margin-bottom: 28px; }
.section-heading p { color: var(--muted); font-size: 18px; }
.play-strip {
  display: flex;
  align-items: end;
  gap: 18px;
  margin: 0 0 24px;
  padding: 18px;
  width: max-content;
  max-width: 100%;
  border-radius: 34px;
  background: rgba(255, 255, 255, 0.62);
  overflow: hidden;
}
.play-strip img { width: 78px; height: 78px; object-fit: contain; }
.play-strip img:nth-child(2) { transform: translateY(6px) rotate(-4deg); }
.play-strip img:nth-child(4) { transform: translateY(4px) rotate(5deg); }

.game-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.game-card {
  position: relative;
  min-height: 320px;
  padding: 24px;
  overflow: hidden;
  border-radius: 38px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  background: rgba(255, 253, 248, 0.82);
  box-shadow: 0 20px 46px rgba(128, 75, 22, 0.10);
}
.game-card::before {
  content: "";
  position: absolute;
  inset: auto -20% -28% auto;
  width: 180px;
  height: 180px;
  border-radius: 999px;
  background: rgba(255, 191, 77, 0.18);
}
.game-card .number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 34px;
  margin-bottom: 14px;
  border-radius: 999px;
  color: var(--coral-dark);
  background: rgba(255, 225, 188, 0.88);
  font-weight: 1000;
}
.game-card img {
  position: absolute;
  right: 14px;
  top: 34px;
  width: 136px;
  height: 136px;
  object-fit: contain;
  filter: drop-shadow(0 18px 16px rgba(120, 72, 18, 0.10));
}
.game-card h3 { position: relative; margin-top: 118px; }
.game-card p { position: relative; color: var(--muted); margin-bottom: 0; }
.animal { background: linear-gradient(145deg, rgba(255,255,255,0.86), rgba(255,239,207,0.82)); }
.sound { background: linear-gradient(145deg, rgba(255,255,255,0.86), rgba(218,242,255,0.82)); }
.color { background: linear-gradient(145deg, rgba(255,255,255,0.86), rgba(255,225,218,0.82)); }
.shape { background: linear-gradient(145deg, rgba(255,255,255,0.86), rgba(239,228,255,0.82)); }
.size { background: linear-gradient(145deg, rgba(255,255,255,0.86), rgba(217,244,226,0.82)); }
.shadow { background: linear-gradient(145deg, rgba(255,255,255,0.86), rgba(242,231,219,0.82)); }

.shape-stack {
  position: absolute;
  right: 28px;
  top: 56px;
  width: 128px;
  height: 112px;
}
.shape-stack i { position: absolute; display: block; }
.shape-stack i:nth-child(1) { width: 70px; height: 70px; border-radius: 50%; background: #ffbd46; right: 0; top: 0; }
.shape-stack i:nth-child(2) { width: 68px; height: 68px; border-radius: 22px; background: #ff6e58; left: 0; bottom: 0; transform: rotate(12deg); }
.shape-stack i:nth-child(3) { width: 0; height: 0; border-left: 34px solid transparent; border-right: 34px solid transparent; border-bottom: 62px solid #6fc7ff; right: 18px; bottom: 0; transform: rotate(-10deg); }

.safe-section,
.download-card {
  border-radius: 44px;
  border: 1px solid rgba(255, 255, 255, 0.78);
  background: rgba(255, 253, 248, 0.76);
  box-shadow: 0 22px 58px rgba(128, 75, 22, 0.11);
}
.safe-section {
  display: grid;
  grid-template-columns: 0.86fr 1.14fr;
  gap: 30px;
  padding: 42px;
}
.safe-copy p { color: var(--muted); font-size: 18px; }
.safe-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.safe-list div {
  padding: 22px;
  border-radius: 28px;
  background: linear-gradient(145deg, rgba(255,244,226,0.78), rgba(255,255,255,0.74));
}
.safe-list strong { display: block; margin-bottom: 7px; font-size: 19px; }
.safe-list p { margin-bottom: 0; color: var(--muted); }

.download-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  margin: 74px 0 20px;
  padding: 38px 44px;
  background: linear-gradient(135deg, rgba(255, 214, 124, 0.42), rgba(255,255,255,0.76));
}
.download-card p { max-width: 680px; color: var(--muted); margin-bottom: 0; }
.download-card img { width: 118px; border-radius: 28px; box-shadow: 0 20px 36px rgba(147, 80, 17, 0.18); }

.policy-page { max-width: 900px; }
.policy-hero { padding: 54px 0 24px; }
.policy-card {
  padding: clamp(24px, 5vw, 52px);
  margin-bottom: 34px;
  border-radius: 34px;
  background: rgba(255, 253, 248, 0.82);
  border: 1px solid var(--line);
  box-shadow: 0 16px 40px rgba(120, 72, 18, 0.10);
}
.policy-card h2 { font-size: 26px; margin-top: 30px; }
.policy-card h2:first-child { margin-top: 0; }
.policy-card p { color: var(--muted); }
.policy-card a { color: #b94f27; font-weight: 800; }

@media (max-width: 960px) {
  .hero { grid-template-columns: 1fr; gap: 18px; padding-top: 42px; }
  .hero-stage { min-height: 600px; }
  .phone-shell { left: 50%; right: auto; transform: translateX(-42%); }
  .floating-card { left: 5%; }
  .liuliu-float { left: 4%; }
  .game-grid { grid-template-columns: repeat(2, 1fr); }
  .safe-section { grid-template-columns: 1fr; }
}

@media (max-width: 680px) {
  .site-header { align-items: flex-start; flex-direction: column; }
  nav { width: 100%; justify-content: space-between; }
  nav a { padding-inline: 9px; }
  .language-link { margin-left: auto; }
  h1 { font-size: 38px; line-height: 1.12; }
  h2 { font-size: 31px; line-height: 1.14; }
  .lead { font-size: 17px; }
  .hero { padding: 34px 0 46px; }
  .hero-stage { min-height: 560px; margin-inline: -8px; }
  .phone-shell { width: min(340px, 92vw); top: 34px; transform: translateX(-50%); }
  .floating-card { width: 122px; left: 0; top: 0; padding: 12px; border-radius: 24px; }
  .liuliu-float { width: 158px; bottom: 4px; }
  .frog-float { width: 104px; }
  .game-grid, .safe-list { grid-template-columns: 1fr; }
  .game-card { min-height: 290px; }
  .safe-section, .download-card { border-radius: 32px; padding: 26px; }
  .download-card { align-items: flex-start; flex-direction: column; }
  .download-card img { width: 88px; }
  .site-footer { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 420px) {
  .site-header,
  .site-footer,
  main { width: min(100% - 24px, 1160px); }
  .brand-icon { width: 48px; height: 48px; }
  nav { font-size: 14px; }
  h1 { font-size: 34px; }
  .hero-stage { min-height: 530px; }
  .target-card { min-height: 260px; }
  .target-card img { width: 144px; }
  .choice-grid img { width: 108px; }
}
