:root {
  --bg-top: #7ec8c0;
  --bg-mid: #3f9f93;
  --bg-bottom: #1a6b5c;
  --sand: #fff6e4;
  --ink: #14352f;
  --muted: #24574d;
  --card: rgba(255, 248, 235, 0.92);
  --stroke: rgba(20, 53, 47, 0.12);
  --shadow: 0 14px 28px rgba(12, 48, 42, 0.22);
  --radius: 22px;
  --font-display: "ZCOOL KuaiLe", "Nunito", system-ui, sans-serif;
  --font-body: "Nunito", "PingFang SC", "Microsoft YaHei", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100dvh;
  color: var(--ink);
  font-family: var(--font-body);
  background:
    radial-gradient(1200px 500px at 10% -10%, #b7efe6 0%, transparent 55%),
    radial-gradient(900px 420px at 100% 8%, #ffe7a8 0%, transparent 50%),
    linear-gradient(180deg, var(--bg-top), var(--bg-mid) 42%, var(--bg-bottom));
  overflow-x: hidden;
}

.sky { position: fixed; inset: 0; pointer-events: none; z-index: 0; overflow: hidden; }
.cloud {
  position: absolute;
  width: 120px; height: 36px;
  background: rgba(255,255,255,.55);
  border-radius: 40px;
  filter: blur(0.2px);
  animation: drift 28s linear infinite;
}
.cloud::before, .cloud::after {
  content: "";
  position: absolute;
  background: inherit;
  border-radius: 50%;
}
.cloud::before { width: 48px; height: 48px; top: -22px; left: 18px; }
.cloud::after { width: 64px; height: 64px; top: -30px; left: 48px; }
.c1 { top: 8%; left: -20%; animation-duration: 36s; }
.c2 { top: 18%; left: -30%; width: 160px; animation-duration: 44s; animation-delay: -12s; opacity: .7; }
.c3 { top: 28%; left: -25%; width: 90px; animation-duration: 30s; animation-delay: -20s; opacity: .5; }
.bird {
  position: absolute;
  color: rgba(255,255,255,.75);
  font-size: 14px;
  animation: flutter 7s ease-in-out infinite;
}
.b1 { top: 12%; right: 18%; }
.b2 { top: 22%; right: 28%; animation-delay: -2.5s; font-size: 11px; }

@keyframes drift {
  from { transform: translateX(0); }
  to { transform: translateX(140vw); }
}
@keyframes flutter {
  0%, 100% { transform: translateY(0) rotate(-6deg); opacity: .7; }
  50% { transform: translateY(-10px) rotate(8deg); opacity: 1; }
}

.hero, main, .foot { position: relative; z-index: 1; }
.hero {
  padding: calc(28px + env(safe-area-inset-top)) 20px 18px;
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
}
.badge {
  display: inline-block;
  margin: 0 0 10px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,.28);
  color: #fff;
  font-size: 12px;
  letter-spacing: .08em;
  backdrop-filter: blur(6px);
}
.hero h1 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(42px, 12vw, 64px);
  line-height: 1.05;
  color: #fff;
  text-shadow: 0 4px 0 rgba(12, 60, 52, .25);
  animation: pop-in .7s cubic-bezier(.2,1.4,.3,1) both;
}
.tagline {
  margin: 12px auto 0;
  max-width: 22em;
  color: rgba(255,255,255,.92);
  font-size: 15px;
  font-weight: 600;
  animation: fade-up .6s ease .15s both;
}
.hero-actions {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 18px;
  animation: fade-up .6s ease .28s both;
}
.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 999px;
  background: #ffcf4d;
  color: #3a2a00;
  text-decoration: none;
  font-weight: 800;
  box-shadow: 0 8px 0 #d39a12;
  transition: transform .15s ease, box-shadow .15s ease;
}
.cta:active { transform: translateY(4px); box-shadow: 0 4px 0 #d39a12; }
.cta.ghost {
  background: rgba(255,255,255,.18);
  color: #fff;
  box-shadow: 0 8px 0 rgba(0,0,0,.12);
  border: 1px solid rgba(255,255,255,.35);
}

.zone {
  padding: 8px 16px 28px;
  max-width: 960px;
  margin: 0 auto;
}
.zone-head {
  text-align: center;
  margin-bottom: 14px;
  color: #fff;
}
.zone-head h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(28px, 8vw, 36px);
  text-shadow: 0 3px 0 rgba(12, 60, 52, .2);
}
.zone-head p {
  margin: 6px 0 0;
  opacity: .9;
  font-size: 14px;
  font-weight: 600;
}

.islands {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}
@media (min-width: 560px) {
  .islands { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 900px) {
  .islands { grid-template-columns: 1fr 1fr 1fr 1fr; }
  .islands.play { grid-template-columns: 1fr 1fr 1fr 1fr; }
}

.island {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: auto auto;
  column-gap: 12px;
  row-gap: 2px;
  align-items: center;
  min-height: 88px;
  padding: 14px 16px;
  border-radius: var(--radius);
  background: var(--card);
  border: 1px solid var(--stroke);
  box-shadow: var(--shadow);
  text-decoration: none;
  color: inherit;
  overflow: hidden;
  transform: translateY(12px);
  opacity: 0;
  animation: rise .55s ease forwards;
  transition: transform .18s ease, box-shadow .18s ease;
}
.island:nth-child(1) { animation-delay: .05s; }
.island:nth-child(2) { animation-delay: .1s; }
.island:nth-child(3) { animation-delay: .15s; }
.island:nth-child(4) { animation-delay: .2s; }
.island:nth-child(5) { animation-delay: .25s; }
.island:nth-child(6) { animation-delay: .3s; }
.island:nth-child(7) { animation-delay: .35s; }
.island:nth-child(8) { animation-delay: .4s; }
.island::after {
  content: "";
  position: absolute;
  right: -18px; bottom: -24px;
  width: 84px; height: 84px;
  border-radius: 50%;
  background: currentColor;
  opacity: .08;
}
.island:hover { transform: translateY(-3px) scale(1.01); }
.island:active { transform: translateY(1px) scale(.99); }

.mark {
  grid-row: 1 / span 2;
  width: 52px; height: 52px;
  border-radius: 18px;
  display: grid; place-items: center;
  font-size: 28px;
  background: rgba(255,255,255,.7);
  box-shadow: inset 0 -3px 0 rgba(0,0,0,.06);
}
.name {
  font-family: var(--font-display);
  font-size: 22px;
  line-height: 1.15;
}
.desc {
  font-size: 13px;
  color: var(--muted);
  font-weight: 600;
}

.tone-teal { color: #0f766e; }
.tone-ink { color: #9a3412; }
.tone-navy { color: #1e3a8a; }
.tone-sky { color: #0369a1; }
.tone-lime { color: #3f6212; }
.tone-forest { color: #166534; }
.tone-amber { color: #b45309; }
.tone-ocean { color: #0e7490; }
.tone-stone { color: #334155; }
.tone-red { color: #b91c1c; }
.tone-board { color: #44403c; }
.tone-coral { color: #c2410c; }

.foot {
  text-align: center;
  padding: 8px 16px calc(24px + env(safe-area-inset-bottom));
  color: rgba(255,255,255,.82);
  font-size: 12px;
  font-weight: 600;
}

@keyframes pop-in {
  from { transform: scale(.86); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}
@keyframes fade-up {
  from { transform: translateY(10px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
@keyframes rise {
  to { transform: translateY(0); opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
  .island { opacity: 1; transform: none; }
}
