@import url("https://fonts.googleapis.com/css2?family=ZCOOL+QingKe+HuangYou&family=Noto+Sans+SC:wght@400;500;700&display=swap");

:root {
  --ink: #1e2a3a;
  --ink-soft: #3a4a5c;
  --mist: #eef6f4;
  --paper: #f7fbfa;
  --foam: #2eb8a0;
  --foam-deep: #1a8f7b;
  --blush: #ff6b7a;
  --blush-soft: #ffd6db;
  --sand: #f3e6d4;
  --line: rgba(30, 42, 58, 0.12);
  --glass: rgba(255, 255, 255, 0.55);
  --shadow: 0 18px 40px rgba(30, 42, 58, 0.1);
  --radius: 22px;
  --max: 1080px;
  --nav-h: 64px;
  --dock-pad: 0px;
  --font-display: "ZCOOL QingKe HuangYou", "PingFang SC", sans-serif;
  --font-body: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background:
    radial-gradient(1200px 600px at 10% -10%, rgba(46, 184, 160, 0.18), transparent 60%),
    radial-gradient(900px 500px at 100% 0%, rgba(255, 107, 122, 0.16), transparent 55%),
    linear-gradient(180deg, #f4faf8 0%, var(--mist) 40%, #e8f2ef 100%);
  line-height: 1.85;
  padding-bottom: var(--dock-pad);
}

body.dock-open {
  --dock-pad: 92px;
}

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

a {
  color: var(--foam-deep);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--blush);
}

.site-shell {
  width: min(100% - 32px, var(--max));
  margin-inline: auto;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(16px);
  background: rgba(247, 251, 250, 0.78);
  border-bottom: 1px solid var(--line);
}

.topbar-inner {
  width: min(100% - 32px, var(--max));
  margin: 0 auto;
  min-height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand-mark {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--ink);
}

.brand-mark img {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  box-shadow: 0 8px 18px rgba(46, 184, 160, 0.25);
}

.brand-mark strong {
  font-family: var(--font-display);
  font-size: 1.35rem;
  letter-spacing: 0.04em;
}

.nav-links {
  display: none;
  gap: 18px;
  align-items: center;
}

.nav-links a {
  text-decoration: none;
  color: var(--ink-soft);
  font-size: 0.95rem;
  font-weight: 500;
}

.nav-links a:hover {
  color: var(--foam-deep);
}

.nav-toggle {
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--glass);
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  cursor: pointer;
}

.nav-toggle span {
  width: 18px;
  height: 2px;
  background: var(--ink);
  transition: 0.25s ease;
}

.nav-toggle.is-active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle.is-active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.is-active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.nav-drawer {
  display: none;
  border-top: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.92);
  padding: 12px 16px 18px;
}

.nav-drawer.is-open {
  display: block;
}

.nav-drawer a {
  display: block;
  padding: 10px 4px;
  text-decoration: none;
  color: var(--ink);
  border-bottom: 1px dashed var(--line);
}

.promo-band {
  width: min(100% - 32px, var(--max));
  margin: 14px auto 0;
  padding: 14px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.7), rgba(255, 214, 219, 0.35));
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.promo-title {
  margin: 0 0 10px;
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: var(--ink);
}

.promo-rail {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 8px;
}

.promo-cell {
  width: 70px;
  text-align: center;
}

.promo-cell img {
  width: 65px;
  height: 65px;
  object-fit: cover;
  border-radius: 18px;
  box-shadow: 0 6px 18px rgba(24, 24, 24, 0.12);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.promo-cell a:hover img {
  transform: translateY(-4px) scale(1.04);
  box-shadow: 0 10px 24px rgba(24, 24, 24, 0.18);
}

.promo-cap {
  display: block;
  margin-top: 4px;
  font-size: 11px;
  color: #666;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.hero-stage {
  position: relative;
  overflow: hidden;
  margin-top: 18px;
  border-radius: 28px;
  min-height: 72vh;
  display: grid;
  align-items: end;
  background:
    linear-gradient(180deg, rgba(30, 42, 58, 0.15) 0%, rgba(30, 42, 58, 0.72) 100%),
    url("feature-comic-serial.jpg") center/cover no-repeat;
  color: #fff;
  box-shadow: var(--shadow);
}

.hero-stage::before {
  content: "";
  position: absolute;
  inset: -20% auto auto -10%;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(46, 184, 160, 0.45), transparent 70%);
  animation: drift 8s ease-in-out infinite alternate;
}

.hero-stage::after {
  content: "";
  position: absolute;
  right: -8%;
  bottom: -15%;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 107, 122, 0.35), transparent 70%);
  animation: drift 10s ease-in-out infinite alternate-reverse;
}

@keyframes drift {
  from {
    transform: translate(0, 0);
  }
  to {
    transform: translate(24px, -18px);
  }
}

.hero-copy {
  position: relative;
  z-index: 2;
  padding: 36px 28px 42px;
  max-width: 640px;
}

.hero-copy .brand-signal {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 8vw, 3.6rem);
  letter-spacing: 0.06em;
  margin: 0 0 10px;
  text-shadow: 0 8px 30px rgba(0, 0, 0, 0.35);
  animation: rise-in 0.8s ease both;
}

.hero-copy h1 {
  margin: 0 0 12px;
  font-size: clamp(1.25rem, 4.2vw, 1.75rem);
  font-weight: 700;
  line-height: 1.45;
  animation: rise-in 0.9s ease 0.08s both;
}

.hero-copy p {
  margin: 0;
  font-size: 1rem;
  opacity: 0.92;
  animation: rise-in 1s ease 0.16s both;
}

@keyframes rise-in {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.crumb {
  width: min(100% - 32px, var(--max));
  margin: 18px auto 0;
  font-size: 0.9rem;
  color: var(--ink-soft);
}

.crumb a {
  text-decoration: none;
}

.section-block {
  width: min(100% - 32px, var(--max));
  margin: 28px auto;
}

.section-block h2 {
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 4vw, 2rem);
  margin: 0 0 12px;
  letter-spacing: 0.03em;
}

.section-block h3 {
  font-size: 1.15rem;
  margin: 22px 0 8px;
  color: var(--foam-deep);
}

.section-block p {
  margin: 0 0 14px;
  color: var(--ink-soft);
  font-size: 1rem;
}

.glass-panel {
  background: var(--glass);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 20px;
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow);
}

.split-lane {
  display: grid;
  gap: 18px;
}

.split-lane.reverse .media-frame {
  order: -1;
}

.media-frame {
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  background: #fff;
  transform: translateY(0);
  transition: transform 0.35s ease;
}

.media-frame:hover {
  transform: translateY(-6px);
}

.media-frame img {
  width: 100%;
  height: auto;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  object-position: top;
}

.card-grid {
  display: grid;
  gap: 14px;
}

.insight-card {
  border-radius: 18px;
  padding: 18px 16px;
  background: linear-gradient(160deg, #fff, rgba(46, 184, 160, 0.08));
  border: 1px solid var(--line);
  box-shadow: 0 10px 24px rgba(30, 42, 58, 0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.insight-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 28px rgba(30, 42, 58, 0.1);
}

.insight-card h3 {
  margin-top: 0;
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--ink);
}

.mosaic-row {
  display: grid;
  gap: 12px;
}

.mosaic-row .media-frame img {
  aspect-ratio: 3 / 4;
}

.cta-strip {
  margin: 34px auto;
  width: min(100% - 32px, var(--max));
  border-radius: 24px;
  padding: 28px 22px;
  background:
    linear-gradient(120deg, rgba(46, 184, 160, 0.92), rgba(26, 143, 123, 0.95)),
    linear-gradient(90deg, #2eb8a0, #ff6b7a);
  color: #fff;
  text-align: center;
  box-shadow: var(--shadow);
}

.cta-strip h2 {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-size: 1.7rem;
}

.cta-strip p {
  margin: 0 0 16px;
  opacity: 0.95;
}

.action-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 22px;
  border-radius: 999px;
  border: none;
  background: #fff;
  color: var(--foam-deep);
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.12);
  transition: transform 0.2s ease;
}

.action-btn:hover {
  transform: translateY(-2px);
  color: var(--blush);
}

.text-flow p + p {
  text-indent: 0;
}

.legal-body h2 {
  margin-top: 28px;
}

.legal-body ul {
  padding-left: 1.2em;
  color: var(--ink-soft);
}

.legal-body li {
  margin-bottom: 8px;
}

.error-stage {
  min-height: 58vh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 40px 16px;
}

.error-stage .code {
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 14vw, 6rem);
  color: var(--foam);
  margin: 0;
  line-height: 1;
}

.error-stage h1 {
  margin: 8px 0 12px;
  font-size: 1.4rem;
}

.site-footer {
  margin-top: 48px;
  padding: 28px 0 36px;
  border-top: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.45);
}

.footer-grid {
  width: min(100% - 32px, var(--max));
  margin: 0 auto;
  display: grid;
  gap: 18px;
}

.footer-grid h3 {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-size: 1.15rem;
}

.footer-grid a {
  display: inline-block;
  margin: 4px 10px 4px 0;
  text-decoration: none;
  color: var(--ink-soft);
}

.footer-grid p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.92rem;
}

.sticky-dock {
  position: fixed;
  left: 0;
  right: 0;
  top: var(--nav-h);
  z-index: 35;
  transform: translateY(-120%);
  transition: transform 0.28s ease;
  background: rgba(247, 251, 250, 0.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
  padding: 8px 10px;
}

.sticky-dock.is-visible {
  transform: translateY(0);
}

.dock-rail {
  width: min(100%, var(--max));
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}

.dock-cell {
  width: calc(25% - 8px);
  max-width: 64px;
  display: block;
}

.dock-cell img {
  width: 100%;
  aspect-ratio: 1;
  border-radius: 14px;
  object-fit: cover;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.wave-divider {
  height: 28px;
  margin: 8px 0;
  background:
    radial-gradient(circle at 10px 0, transparent 9px, rgba(46, 184, 160, 0.18) 10px) 0 0 / 28px 28px repeat-x;
}

@media (min-width: 768px) {
  .nav-links {
    display: flex;
  }

  .nav-toggle {
    display: none;
  }

  .nav-drawer {
    display: none !important;
  }

  .split-lane {
    grid-template-columns: 1.05fr 0.95fr;
    align-items: center;
  }

  .split-lane.reverse {
    grid-template-columns: 0.95fr 1.05fr;
  }

  .split-lane.reverse .media-frame {
    order: 0;
  }

  .card-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .mosaic-row {
    grid-template-columns: repeat(3, 1fr);
  }

  .dock-cell {
    width: calc(12.5% - 8px);
    max-width: 58px;
  }

  .footer-grid {
    grid-template-columns: 1.4fr 1fr 1fr;
  }

  .media-frame img {
    aspect-ratio: 9 / 14;
  }
}
