/* 桌面鱼塘宣传站 — 仿 skent.design 池畔气质 */
:root {
  --ink: #29463e;
  --ink-soft: rgba(41, 70, 62, 0.68);
  --ink-faint: rgba(41, 70, 62, 0.42);
  --paper: #f4f1e6;
  --paper-deep: #ebe6d6;
  --moss: #1f4a42;
  --moss-deep: #163832;
  --moss-line: rgba(255, 248, 232, 0.18);
  --cream: #f8f5ea;
  --gold: #b08a4a;
  --rust: #b15f46;
  --max: 1120px;
  --serif: "LXGW WenKai", "Noto Serif SC", "Songti SC", "SimSun", serif;
  --sans: "PingFang SC", "Microsoft YaHei", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--serif);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font: inherit; cursor: pointer; }

.wrap {
  width: min(100% - 48px, var(--max));
  margin-inline: auto;
}

/* —— 顶栏 —— */
.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 22px 0 8px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.brand img {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  box-shadow: 0 8px 22px rgba(22, 56, 50, 0.18);
}
.brand strong {
  display: block;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.08em;
}
.brand small {
  display: block;
  margin-top: 2px;
  font-family: var(--sans);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-faint);
}
.nav {
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 14px;
  color: var(--ink-soft);
}
.nav a:hover { color: var(--ink); }
.nav-download {
  padding: 8px 14px;
  border: 1px solid rgba(41, 70, 62, 0.18);
  border-radius: 999px;
  background: #fff;
}

/* —— Hero —— */
.hero {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
  min-height: calc(100vh - 96px);
  padding: 36px 0 72px;
}
.hero-kicker {
  margin: 0 0 18px;
  color: var(--gold);
  font-size: 14px;
  letter-spacing: 0.08em;
}
.hero h1 {
  margin: 0;
  font-size: clamp(40px, 5.6vw, 64px);
  font-weight: 600;
  line-height: 1.18;
  letter-spacing: 0.04em;
}
.hero h1 .mark {
  position: relative;
  display: inline-block;
}
.hero h1 .mark::after {
  content: "";
  position: absolute;
  left: -4%;
  right: -4%;
  bottom: 0.08em;
  height: 0.28em;
  background: rgba(88, 140, 118, 0.28);
  border-radius: 999px;
  z-index: -1;
}
.hero-lead {
  margin: 22px 0 28px;
  max-width: 28em;
  font-size: 17px;
  color: var(--ink-soft);
}
.cta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}
.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border: 0;
  border-radius: 10px;
  background: var(--moss);
  color: #f7f2e4;
  font-size: 16px;
  letter-spacing: 0.06em;
  box-shadow: 0 12px 28px rgba(22, 56, 50, 0.18);
}
.cta:hover { background: var(--moss-deep); }
.cta-secondary {
  background: transparent;
  color: var(--moss-deep);
  border: 1.5px solid rgba(34, 84, 74, 0.45);
  box-shadow: none;
}
.cta-secondary:hover {
  background: rgba(34, 84, 74, 0.08);
  color: var(--moss-deep);
  border-color: var(--moss-deep);
}
.cta-note {
  margin: 12px 0 0;
  font-size: 13px;
  color: var(--ink-faint);
}
.stats {
  margin-top: 34px;
  padding: 14px 0;
  border-top: 1px solid rgba(41, 70, 62, 0.12);
  border-bottom: 1px solid rgba(41, 70, 62, 0.12);
  font-size: 15px;
  color: var(--ink-soft);
}
.stats b {
  font-size: 22px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: 0.04em;
}
.hero-poems {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 24px;
  margin-top: 28px;
  font-size: 14px;
  color: var(--ink-soft);
}
.hero-poems span {
  display: block;
  color: var(--ink-faint);
  font-size: 12px;
  letter-spacing: 0.12em;
  margin-bottom: 6px;
}

/* —— 拱门活池（照搬 skent.design） —— */
.pond-art {
  min-width: 0;
  width: 100%;
}
.pond-window {
  position: relative;
  overflow: hidden;
  width: 100%;
  max-width: 580px;
  margin-inline: auto;
  aspect-ratio: 0.78 / 1;
  border-radius: 50% 50% 4px 4px / 39% 39% 4px 4px;
  background:
    linear-gradient(rgba(85, 124, 113, 0.44), rgba(18, 62, 69, 0.44)),
    url("./assets/backgrounds/pond-bottom-topdown.webp") center / cover;
  box-shadow: inset 0 0 80px rgba(16, 46, 56, 0.25);
}
.pond-window #water,
.pond-window #garden {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}
.pond-window #water {
  z-index: 0;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.45s;
}
.pond-window #water.is-ready { opacity: 1; }
.pond-window #garden {
  z-index: 1;
  cursor: crosshair;
}
.pond-window .leaf {
  z-index: 2;
  position: absolute;
  pointer-events: none;
  object-fit: contain;
  filter: drop-shadow(4px 10px 7px rgba(9, 42, 48, 0.33));
}
.leaf-one {
  width: 180px;
  left: -48px;
  top: 42%;
  transform: rotate(20deg);
  opacity: 0.8;
}
.leaf-two {
  width: 145px;
  right: -40px;
  bottom: -16px;
  opacity: 0.85;
}
.pond-caption {
  position: absolute;
  z-index: 3;
  bottom: 22px;
  left: 25px;
  color: rgba(225, 232, 208, 0.66);
  font-size: 14px;
  letter-spacing: 2px;
  pointer-events: none;
}
.art-bottomline {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 20px;
  font-size: 14px;
  letter-spacing: 2px;
  color: rgb(124, 136, 121);
}
.art-bottomline b {
  font-weight: 400;
  border: 1px solid var(--rust);
  color: var(--rust);
  padding: 3px;
  margin-left: 10px;
}

/* —— 通用区块 —— */
.section {
  padding: 88px 0;
}
.section-tag {
  margin: 0 0 18px;
  color: var(--ink-faint);
  font-size: 13px;
  letter-spacing: 0.14em;
}
.section h2 {
  margin: 0 0 16px;
  max-width: 12em;
  font-size: clamp(32px, 4vw, 46px);
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: 0.04em;
}
.section-lead {
  margin: 0 0 42px;
  max-width: 34em;
  color: var(--ink-soft);
  font-size: 16px;
}
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.card {
  padding: 26px 24px 28px;
  border: 1px solid rgba(41, 70, 62, 0.1);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.55);
}
.card .num {
  display: block;
  margin-bottom: 14px;
  color: var(--ink-faint);
  font-size: 12px;
  letter-spacing: 0.16em;
}
.card h3 {
  margin: 0 0 10px;
  font-size: 22px;
  font-weight: 600;
}
.card p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 14px;
}

.band {
  background: linear-gradient(180deg, #f7f3e8 0%, #efe9d8 100%);
  border-top: 1px solid rgba(41, 70, 62, 0.08);
  border-bottom: 1px solid rgba(41, 70, 62, 0.08);
}
.band-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}
.koi-panel {
  position: relative;
  min-height: 320px;
  padding: 28px;
  border-radius: 28px;
  background: linear-gradient(160deg, #214840, #16352f);
  color: #f4efe2;
  overflow: hidden;
}
.koi-panel img {
  width: 120px;
  height: 120px;
  border-radius: 28px;
  margin-bottom: 22px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.28);
}
.koi-panel strong {
  display: block;
  font-size: 28px;
  letter-spacing: 0.08em;
}
.koi-panel p {
  margin: 10px 0 0;
  color: rgba(244, 239, 226, 0.72);
  font-size: 14px;
}
.koi-panel .badge {
  position: absolute;
  right: 24px;
  top: 24px;
  padding: 6px 10px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  font-size: 11px;
  letter-spacing: 0.12em;
  color: rgba(244, 239, 226, 0.7);
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.step .num {
  display: block;
  margin-bottom: 10px;
  color: var(--ink-faint);
  letter-spacing: 0.14em;
  font-size: 12px;
}
.step h3 {
  margin: 0 0 8px;
  font-size: 20px;
}
.step p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 14px;
}

/* —— 邀请码区 —— */
.download {
  background: linear-gradient(165deg, #214840 0%, #16352f 55%, #122c28 100%);
  color: #f4efe2;
  padding: 96px 0 72px;
}
.download .section-tag { color: rgba(244, 239, 226, 0.5); }
.download h2 {
  color: #f7f2e4;
  max-width: 14em;
}
.download .section-lead {
  color: rgba(244, 239, 226, 0.72);
  max-width: 36em;
}
.invite-compose {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 40px 56px;
  align-items: center;
  margin-top: 8px;
}
.invite-qr {
  margin: 0;
  display: grid;
  justify-items: center;
  gap: 14px;
  padding: 22px 24px 18px;
  border: 1px solid rgba(244, 239, 226, 0.14);
  border-radius: 24px;
  background: rgba(8, 24, 22, 0.22);
}
.invite-qr figcaption {
  margin: 0;
  color: rgba(244, 239, 226, 0.62);
  font-size: 13px;
  letter-spacing: 0.08em;
  text-align: center;
}
.download-list {
  margin: 0;
  padding: 0;
  list-style: none;
}
.download-list li {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 10px;
  padding: 16px 0;
  border-top: 1px solid var(--moss-line);
  color: rgba(244, 239, 226, 0.78);
  font-size: 15px;
  line-height: 1.55;
}
.download-list li:last-child { border-bottom: 1px solid var(--moss-line); }
.download-list span {
  color: rgba(244, 239, 226, 0.45);
  letter-spacing: 0.12em;
  font-size: 12px;
  padding-top: 3px;
}
.qr {
  width: 168px;
  height: 168px;
  margin: 0;
  padding: 10px;
  border-radius: 18px;
  background: #fff;
  object-fit: cover;
  display: block;
}
.seal {
  margin-top: 36px;
  color: rgba(244, 239, 226, 0.42);
  font-size: 13px;
  letter-spacing: 0.18em;
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 0 28px;
  color: var(--ink-faint);
  font-size: 13px;
}

@media (max-width: 900px) {
  .hero, .band-grid, .invite-compose, .cards, .steps { grid-template-columns: 1fr; }
  .invite-compose { gap: 28px; justify-items: center; }
  .download-list { width: 100%; }
  .hero { min-height: auto; padding-top: 20px; }
  .pond-art { padding: 0 10px; }
  .leaf-one { width: 140px; left: -36px; }
  .leaf-two { width: 110px; right: -28px; }
  .nav a:not(.nav-download) { display: none; }
  .hero-poems { grid-template-columns: 1fr; }
}
