:root {
  color-scheme: light;
  --ink: #334c34;
  --ink-soft: #667461;
  --leaf: #6f9f5b;
  --leaf-dark: #477441;
  --cream: #fffaf0;
  --paper: #fffdf7;
  --sun: #f3ca5e;
  --peach: #e98f78;
  --sky: #dff0cf;
  --shadow: rgba(67, 83, 49, 0.16);
  font-family: "Microsoft YaHei", "PingFang SC", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 280px;
  min-height: 100vh;
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 8% 12%, rgba(255, 255, 255, 0.82) 0 4px, transparent 5px),
    radial-gradient(circle at 87% 18%, rgba(255, 255, 255, 0.72) 0 5px, transparent 6px),
    linear-gradient(180deg, #e9f6d8 0%, #f8edc5 48%, #f9f1d8 100%);
  background-size: 92px 92px, 124px 124px, auto;
}

a {
  color: inherit;
}

.sky-dots {
  position: fixed;
  z-index: -1;
  inset: 0;
  opacity: 0.45;
  background-image: radial-gradient(circle, #fff 0 3px, transparent 3.5px);
  background-size: 76px 76px;
  pointer-events: none;
}

.site-header,
main,
footer {
  width: min(1120px, calc(100% - 32px));
  margin-inline: auto;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 0 18px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-house {
  position: relative;
  display: block;
  width: 50px;
  height: 47px;
  border: 3px solid rgba(71, 116, 65, 0.16);
  border-radius: 14px 14px 17px 17px;
  background: var(--cream);
  box-shadow: 0 5px 0 rgba(71, 116, 65, 0.13);
}

.brand-roof {
  position: absolute;
  top: 5px;
  left: 9px;
  width: 27px;
  height: 27px;
  border-top: 7px solid var(--peach);
  border-left: 7px solid var(--peach);
  border-radius: 4px;
  transform: rotate(45deg);
}

.brand-door {
  position: absolute;
  bottom: 3px;
  left: 18px;
  width: 13px;
  height: 18px;
  border-radius: 7px 7px 3px 3px;
  background: var(--leaf-dark);
}

.brand-copy {
  display: grid;
  gap: 1px;
}

.brand-copy strong {
  font-family: "STKaiti", "KaiTi", "Microsoft YaHei", sans-serif;
  font-size: clamp(24px, 3vw, 31px);
  line-height: 1;
}

.brand-copy small {
  color: var(--ink-soft);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.game-count {
  padding: 9px 14px;
  color: var(--leaf-dark);
  border: 2px solid rgba(71, 116, 65, 0.12);
  border-radius: 999px;
  background: rgba(255, 253, 247, 0.7);
  font-size: 13px;
  font-weight: 800;
}

.game-count b {
  display: inline-grid;
  width: 25px;
  height: 25px;
  margin-right: 4px;
  place-items: center;
  color: #fff;
  border-radius: 50%;
  background: var(--leaf);
}

.hero {
  position: relative;
  display: grid;
  min-height: 430px;
  overflow: hidden;
  grid-template-columns: minmax(0, 0.9fr) minmax(390px, 1.1fr);
  border: 3px solid rgba(255, 255, 255, 0.72);
  border-radius: 46px;
  background: rgba(255, 251, 234, 0.78);
  box-shadow: 0 24px 70px var(--shadow), inset 0 0 0 1px rgba(83, 111, 59, 0.08);
}

.hero::before {
  position: absolute;
  top: -38px;
  left: 38%;
  width: 112px;
  height: 74px;
  content: "";
  opacity: 0.45;
  background: repeating-linear-gradient(96deg, transparent 0 13px, #d4b46d 14px 17px);
  transform: rotate(3deg);
}

.hero-copy {
  position: relative;
  z-index: 2;
  align-self: center;
  padding: clamp(34px, 7vw, 74px);
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--leaf-dark);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.12em;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  font-family: "STKaiti", "KaiTi", "Microsoft YaHei", sans-serif;
}

h1 {
  max-width: 8em;
  margin-bottom: 19px;
  font-size: clamp(46px, 6.2vw, 76px);
  line-height: 1.03;
  letter-spacing: -0.05em;
}

.hero-intro {
  max-width: 30em;
  margin-bottom: 27px;
  color: var(--ink-soft);
  font-size: clamp(15px, 1.7vw, 18px);
  font-weight: 700;
  line-height: 1.8;
}

.hero-button {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  padding: 13px 19px;
  color: #fffdf6;
  border-radius: 999px;
  background: var(--leaf-dark);
  box-shadow: 0 6px 0 #335d36, 0 13px 25px rgba(51, 93, 54, 0.2);
  font-weight: 900;
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.hero-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 0 #335d36, 0 16px 28px rgba(51, 93, 54, 0.22);
}

.hero-scene {
  position: relative;
  min-height: 430px;
  overflow: hidden;
  background: linear-gradient(180deg, #cce9c2 0 53%, #8fbe6f 54% 100%);
}

.scene-sun {
  position: absolute;
  top: 45px;
  right: 58px;
  width: 92px;
  height: 92px;
  border-radius: 50%;
  background: #f5d66d;
  box-shadow: 0 0 0 18px rgba(255, 239, 151, 0.3);
}

.scene-cloud {
  position: absolute;
  width: 92px;
  height: 26px;
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.82);
  animation: cloud-drift 7s ease-in-out infinite alternate;
}

.scene-cloud::before,
.scene-cloud::after {
  position: absolute;
  bottom: 0;
  content: "";
  border-radius: 50%;
  background: inherit;
}

.scene-cloud::before {
  left: 16px;
  width: 42px;
  height: 42px;
}

.scene-cloud::after {
  right: 14px;
  width: 31px;
  height: 31px;
}

.cloud-one {
  top: 90px;
  left: 32px;
}

.cloud-two {
  top: 165px;
  right: 16px;
  scale: 0.7;
  animation-delay: -3s;
}

.scene-hill {
  position: absolute;
  border-radius: 50% 50% 0 0;
}

.hill-back {
  right: -60px;
  bottom: 64px;
  width: 390px;
  height: 205px;
  background: #a6cf83;
  transform: rotate(-4deg);
}

.hill-front {
  bottom: -72px;
  left: -60px;
  width: 520px;
  height: 250px;
  background: #78ad63;
  transform: rotate(5deg);
}

.scene-path {
  position: absolute;
  right: 53px;
  bottom: -70px;
  width: 180px;
  height: 330px;
  border-radius: 50%;
  background: #f5dfad;
  transform: rotate(18deg);
  clip-path: polygon(38% 0, 62% 0, 100% 100%, 0 100%);
}

.scene-rabbit,
.scene-home,
.scene-flower {
  position: absolute;
  z-index: 3;
  filter: drop-shadow(0 6px 3px rgba(64, 82, 46, 0.15));
}

.scene-rabbit {
  bottom: 48px;
  left: 37%;
  font-size: 68px;
  transform: rotate(-7deg);
}

.scene-home {
  right: 55px;
  bottom: 183px;
  color: #fff7dc;
  font-family: Georgia, serif;
  font-size: 112px;
  line-height: 1;
  text-shadow: 0 8px 0 #d98a68, 0 13px 20px rgba(69, 85, 52, 0.18);
}

.scene-flower {
  color: #fff4c7;
  font-size: 34px;
}

.flower-one {
  bottom: 39px;
  left: 54px;
}

.flower-two {
  right: 23px;
  bottom: 26px;
  color: #ef9b8a;
}

.game-library {
  padding: clamp(70px, 10vw, 118px) 0 42px;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 24px;
}

.section-heading h2 {
  margin-bottom: 0;
  font-size: clamp(34px, 4.7vw, 54px);
  line-height: 1.08;
}

.section-heading > p {
  max-width: 25em;
  margin-bottom: 5px;
  color: var(--ink-soft);
  font-weight: 700;
}

.shelf {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(260px, 0.75fr);
  gap: 22px;
  align-items: stretch;
}

.game-card {
  position: relative;
  display: grid;
  overflow: hidden;
  grid-template-columns: minmax(0, 1.08fr) minmax(270px, 0.92fr);
  color: inherit;
  border: 3px solid rgba(255, 255, 255, 0.82);
  border-radius: 37px;
  background: var(--paper);
  box-shadow: 0 18px 55px rgba(67, 83, 49, 0.14), 0 6px 0 rgba(81, 113, 62, 0.09);
  text-decoration: none;
  transition: transform 220ms cubic-bezier(0.16, 1, 0.3, 1), box-shadow 220ms ease;
}

.game-card:hover {
  transform: translateY(-7px) rotate(-0.3deg);
  box-shadow: 0 28px 65px rgba(67, 83, 49, 0.19), 0 8px 0 rgba(81, 113, 62, 0.1);
}

.game-card:focus-visible,
.hero-button:focus-visible,
.brand:focus-visible {
  outline: 5px solid rgba(232, 143, 120, 0.7);
  outline-offset: 5px;
}

.game-art {
  position: relative;
  min-height: 390px;
  padding: 16px;
}

.game-art svg {
  width: 100%;
  height: 100%;
  border-radius: 27px;
  object-fit: cover;
}

.play-sticker {
  position: absolute;
  top: 28px;
  left: 29px;
  padding: 9px 13px;
  color: #7a562c;
  border: 2px solid rgba(135, 95, 45, 0.1);
  border-radius: 10px;
  background: #ffe89a;
  box-shadow: 0 4px 0 rgba(117, 85, 43, 0.14);
  font-size: 13px;
  font-weight: 900;
  transform: rotate(-4deg);
}

.game-copy {
  display: flex;
  padding: 40px 34px 34px 23px;
  flex-direction: column;
  justify-content: center;
}

.game-number {
  width: fit-content;
  margin-bottom: 15px;
  padding: 5px 9px;
  color: var(--leaf-dark);
  border-radius: 8px;
  background: #e9f3d8;
  font-size: 12px;
  font-weight: 900;
}

.game-copy h3,
.growing-card h3 {
  margin-bottom: 12px;
  font-size: clamp(35px, 4vw, 48px);
  line-height: 1;
}

.game-copy > p,
.growing-card > p {
  color: var(--ink-soft);
  font-weight: 700;
  line-height: 1.7;
}

.game-tags {
  display: flex;
  margin: 5px 0 26px;
  padding: 0;
  flex-wrap: wrap;
  gap: 7px;
  list-style: none;
}

.game-tags li,
.idea-chips span {
  padding: 7px 10px;
  color: #65765f;
  border-radius: 999px;
  background: #f1ead7;
  font-size: 12px;
  font-weight: 800;
}

.game-action {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 19px;
  color: var(--leaf-dark);
  border-top: 2px dashed #e8dec8;
  font-weight: 900;
}

.game-action b {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  color: #fff;
  border-radius: 50%;
  background: var(--leaf-dark);
  font-size: 21px;
  transition: transform 180ms ease;
}

.game-card:hover .game-action b {
  transform: translateX(4px);
}

.growing-card {
  position: relative;
  display: flex;
  min-height: 390px;
  overflow: hidden;
  padding: 34px;
  flex-direction: column;
  justify-content: end;
  border: 3px dashed rgba(96, 126, 76, 0.25);
  border-radius: 37px;
  background:
    linear-gradient(150deg, rgba(255, 253, 245, 0.78), rgba(239, 238, 206, 0.78)),
    var(--paper);
  color: inherit;
  text-decoration: none;
  transition: transform 220ms cubic-bezier(0.16, 1, 0.3, 1), box-shadow 220ms ease, border-color 220ms ease;
}

.growing-card::before {
  position: absolute;
  top: 21px;
  right: 21px;
  content: "02";
  color: rgba(76, 112, 68, 0.12);
  font-family: Georgia, serif;
  font-size: 76px;
  font-weight: 900;
}

.growing-card.is-playable {
  cursor: pointer;
  border-style: solid;
  border-color: rgba(255, 255, 255, 0.84);
  background: linear-gradient(155deg, #fff9df, #f6e4c2 58%, #e4efd0);
  box-shadow: 0 18px 48px rgba(77, 88, 53, 0.13), 0 6px 0 rgba(108, 104, 57, 0.08);
}

.growing-card.is-playable:hover {
  transform: translateY(-7px) rotate(0.35deg);
  box-shadow: 0 27px 60px rgba(77, 88, 53, 0.18), 0 8px 0 rgba(108, 104, 57, 0.09);
}

.growing-card.is-playable:focus-visible {
  outline: 5px solid rgba(232, 143, 120, 0.7);
  outline-offset: 5px;
}

.growing-card h3 {
  max-width: 7em;
  font-size: clamp(31px, 3.5vw, 42px);
}

.sprout {
  position: relative;
  width: 110px;
  height: 112px;
  margin-bottom: auto;
  border-radius: 50%;
  background: #f4dda1;
  box-shadow: 0 0 0 13px rgba(244, 221, 161, 0.32);
}

.sprout::before,
.sprout::after {
  position: absolute;
  top: 31px;
  width: 43px;
  height: 24px;
  content: "";
  border-radius: 80% 15% 80% 15%;
  background: var(--leaf);
}

.sprout::before {
  left: 17px;
  transform: rotate(18deg);
}

.sprout::after {
  right: 16px;
  transform: scaleX(-1) rotate(18deg);
}

.sprout span {
  position: absolute;
  bottom: 18px;
  left: 53px;
  width: 5px;
  height: 56px;
  border-radius: 5px;
  background: var(--leaf-dark);
}

.idea-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.picnic-preview {
  position: relative;
  width: 100%;
  min-height: 122px;
  margin-bottom: auto;
  overflow: hidden;
  border-radius: 24px;
  background: linear-gradient(180deg, #cfe9bd 0 55%, #82b66c 56% 100%);
  box-shadow: inset 0 0 0 3px rgba(255, 255, 255, 0.55);
}

.picnic-preview::after {
  position: absolute;
  right: -19px;
  bottom: -62px;
  width: 200px;
  height: 150px;
  content: "";
  border-radius: 50%;
  background: #a8cf82;
}

.preview-sun,
.preview-child,
.preview-dad,
.preview-blanket {
  position: absolute;
  z-index: 2;
  filter: drop-shadow(0 4px 2px rgba(67, 79, 48, 0.15));
}

.preview-sun {
  top: 12px;
  right: 18px;
  color: #d39b35;
  font-size: 38px;
}

.preview-child {
  bottom: 9px;
  left: 23px;
  font-size: 39px;
}

.preview-dad {
  bottom: 18px;
  left: 70px;
  font-size: 48px;
}

.preview-blanket {
  right: 28px;
  bottom: 10px;
  font-size: 39px;
}

.second-game-action {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 19px;
  padding-top: 16px;
  color: var(--leaf-dark);
  border-top: 2px dashed rgba(94, 110, 67, 0.17);
  font-weight: 900;
}

.second-game-action b {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  color: #fff;
  border-radius: 50%;
  background: var(--leaf-dark);
  transition: transform 180ms ease;
}

.growing-card:hover .second-game-action b {
  transform: translateX(4px);
}

.eater-card {
  position: relative;
  display: grid;
  min-height: 300px;
  overflow: hidden;
  grid-column: 1 / -1;
  grid-template-columns: minmax(300px, .9fr) minmax(340px, 1.1fr);
  color: inherit;
  border: 3px solid rgba(255,255,255,.86);
  border-radius: 37px;
  background: linear-gradient(135deg, #f9d39b, #fff3d2 58%, #d9ead0);
  box-shadow: 0 18px 48px rgba(94, 72, 51, .13), 0 6px 0 rgba(122, 81, 54, .08);
  text-decoration: none;
  transition: transform 220ms cubic-bezier(.16,1,.3,1), box-shadow 220ms ease;
}

.eater-card::before {
  position: absolute;
  top: 16px;
  right: 25px;
  content: "03";
  color: rgba(130, 83, 55, .1);
  font-family: Georgia, serif;
  font-size: 76px;
  font-weight: 900;
}

.eater-card:hover {
  transform: translateY(-7px) rotate(-.18deg);
  box-shadow: 0 27px 60px rgba(94, 72, 51, .18), 0 8px 0 rgba(122, 81, 54, .09);
}

.eater-card:focus-visible {
  outline: 5px solid rgba(232, 143, 120, .7);
  outline-offset: 5px;
}

.eater-preview {
  position: relative;
  min-height: 300px;
  overflow: hidden;
  background:
    radial-gradient(circle at 22% 18%, rgba(255,255,255,.8) 0 4px, transparent 5px),
    linear-gradient(180deg, #b9ddcb 0 60%, #dc946c 61% 100%);
  background-size: 47px 47px, auto;
}

.preview-plate {
  position: absolute;
  right: 22px;
  bottom: 27px;
  width: 230px;
  height: 73px;
  border: 8px solid #fff7e9;
  border-radius: 50%;
  background: #d4e5d8;
  box-shadow: 0 8px 0 rgba(95, 65, 45, .14);
}

.preview-food,
.preview-kid,
.preview-bubble {
  position: absolute;
  z-index: 2;
  filter: drop-shadow(0 5px 2px rgba(77, 59, 43, .13));
}

.preview-kid { bottom: 63px; left: 40px; font-size: 115px; }
.preview-food { bottom: 53px; font-size: 46px; }
.food-a { right: 174px; transform: rotate(-9deg); }
.food-b { right: 122px; bottom: 50px; }
.food-c { right: 73px; transform: rotate(8deg); }
.food-d { right: 26px; bottom: 55px; }
.preview-bubble { top: 37px; left: 140px; padding: 10px 14px; border: 3px solid rgba(255,255,255,.78); border-radius: 18px 18px 18px 5px; background: #fffaf0; font-size: 13px; font-weight: 900; }

.eater-copy {
  position: relative;
  z-index: 2;
  display: flex;
  padding: 39px 46px 34px;
  flex-direction: column;
  justify-content: center;
}

.eater-copy h3 {
  max-width: 8em;
  margin: 0 0 12px;
  font-size: clamp(34px, 4vw, 48px);
  line-height: 1;
}

.eater-copy > p:not(.eyebrow) {
  max-width: 34em;
  color: var(--ink-soft);
  font-weight: 700;
  line-height: 1.7;
}

.eater-game-action {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 22px;
  padding-top: 16px;
  color: #8c5d49;
  border-top: 2px dashed rgba(130, 85, 55, .16);
  font-weight: 900;
}

.eater-game-action b {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  color: #fff;
  border-radius: 50%;
  background: #d87967;
  transition: transform 180ms ease;
}

.eater-card:hover .eater-game-action b { transform: translateX(4px); }

.parent-note {
  display: grid;
  margin: 52px 0 80px;
  padding: clamp(25px, 4vw, 42px);
  grid-template-columns: auto 1fr;
  gap: 23px;
  align-items: center;
  border: 2px solid rgba(83, 108, 60, 0.1);
  border-radius: 31px;
  background: rgba(255, 252, 240, 0.72);
}

.note-icon {
  display: grid;
  width: 68px;
  height: 68px;
  place-items: center;
  color: #c98d31;
  border-radius: 50%;
  background: #ffe99d;
  font-size: 37px;
}

.parent-note h2 {
  margin-bottom: 5px;
  font-size: clamp(25px, 3vw, 35px);
}

.parent-note p {
  margin-bottom: 0;
  color: var(--ink-soft);
  font-weight: 700;
  line-height: 1.7;
}

footer {
  padding: 0 0 36px;
  color: rgba(57, 76, 55, 0.6);
  font-size: 12px;
  font-weight: 800;
  text-align: center;
  letter-spacing: 0.08em;
}

@keyframes cloud-drift {
  from { transform: translateX(-8px); }
  to { transform: translateX(13px); }
}

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

  .hero-scene {
    min-height: 330px;
  }

  .shelf {
    grid-template-columns: 1fr;
  }

  .growing-card {
    min-height: 330px;
  }

  .eater-card {
    grid-template-columns: 1fr;
  }

  .eater-preview {
    min-height: 260px;
  }
}

@media (max-width: 680px) {
  .site-header,
  main,
  footer {
    width: min(100% - 22px, 1120px);
  }

  .site-header {
    padding-top: 16px;
  }

  .game-count {
    display: none;
  }

  .hero {
    min-height: 0;
    border-radius: 31px;
  }

  .hero-copy {
    padding: 38px 25px 32px;
  }

  h1 {
    font-size: clamp(42px, 13vw, 61px);
  }

  .hero-scene {
    min-height: 285px;
  }

  .scene-home {
    right: 35px;
    bottom: 130px;
    font-size: 90px;
  }

  .scene-rabbit {
    bottom: 36px;
    font-size: 57px;
  }

  .section-heading {
    align-items: start;
    flex-direction: column;
    gap: 7px;
  }

  .section-heading > p {
    margin: 0;
  }

  .game-card {
    grid-template-columns: 1fr;
    border-radius: 30px;
  }

  .game-art {
    min-height: 250px;
    padding-bottom: 0;
  }

  .game-copy {
    padding: 27px 25px 29px;
  }

  .growing-card {
    min-height: 350px;
    padding: 28px;
    border-radius: 30px;
  }

  .eater-card {
    border-radius: 30px;
  }

  .eater-preview {
    min-height: 240px;
  }

  .preview-kid {
    left: 18px;
    font-size: 93px;
  }

  .preview-bubble {
    top: 23px;
    left: 96px;
  }

  .preview-plate {
    right: 4px;
  }

  .eater-copy {
    padding: 29px 26px 27px;
  }

  .parent-note {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
