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

:root {
  --ink: #14212b;
  --ink-soft: #3a4a57;
  --mist: #eef7f6;
  --foam: #f7fcfb;
  --teal: #128a82;
  --teal-deep: #0b5f5a;
  --coral: #ff6b57;
  --sun: #f2b84b;
  --glass: rgba(255, 255, 255, 0.68);
  --line: rgba(18, 138, 130, 0.16);
  --shadow: 0 18px 40px rgba(20, 33, 43, 0.08);
  --radius: 22px;
  --max: 1080px;
  --nav-h: 64px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Noto Sans SC", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 12% -10%, rgba(242, 184, 75, 0.22), transparent 36%),
    radial-gradient(circle at 88% 8%, rgba(255, 107, 87, 0.16), transparent 32%),
    linear-gradient(180deg, #f4fbfa 0%, var(--mist) 42%, #e8f3f1 100%);
  line-height: 1.85;
  min-height: 100vh;
}

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

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

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

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

.top-promo {
  position: relative;
  z-index: 30;
  padding: 12px 0 4px;
  background: linear-gradient(90deg, rgba(18, 138, 130, 0.1), rgba(255, 107, 87, 0.08));
  border-bottom: 1px solid var(--line);
}

.promo-label {
  width: min(100% - 32px, var(--max));
  margin: 0 auto 8px;
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--ink-soft);
}

.dock-grid,
.promo-grid {
  width: min(100% - 32px, var(--max));
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px 8px;
  padding-bottom: 10px;
}

.dock-chip {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  color: var(--ink-soft);
  font-size: 11px;
}

.dock-chip img {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  object-fit: cover;
  box-shadow: 0 10px 20px rgba(20, 33, 43, 0.12);
  border: 2px solid rgba(255, 255, 255, 0.9);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.dock-chip:hover img {
  transform: translateY(-4px) scale(1.04);
  box-shadow: 0 14px 28px rgba(18, 138, 130, 0.22);
}

.dock-chip span {
  max-width: 72px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

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

.orbit-nav__inner {
  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: 42px;
  height: 42px;
  border-radius: 12px;
  object-fit: cover;
}

.brand-mark strong {
  font-family: "ZCOOL XiaoWei", serif;
  font-size: 22px;
  font-weight: 400;
  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: 14px;
  font-weight: 500;
}

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

.menu-toggle {
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--glass);
  display: grid;
  place-items: center;
  cursor: pointer;
}

.menu-toggle span,
.menu-toggle span::before,
.menu-toggle span::after {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--ink);
  position: relative;
  transition: 0.2s ease;
}

.menu-toggle span::before,
.menu-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
}

.menu-toggle span::before {
  top: -6px;
}

.menu-toggle span::after {
  top: 6px;
}

.menu-panel {
  display: none;
  padding: 8px 0 16px;
}

.menu-panel.is-open {
  display: grid;
  gap: 10px;
}

.menu-panel a {
  text-decoration: none;
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.7);
  color: var(--ink);
  border: 1px solid var(--line);
}

.sticky-dock {
  position: sticky;
  top: var(--nav-h);
  z-index: 35;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: max-height 0.28s ease, opacity 0.28s ease;
}

.sticky-dock.is-visible {
  max-height: 220px;
  opacity: 1;
  pointer-events: auto;
  border-bottom-color: var(--line);
  padding: 10px 0 6px;
}

.pulse-hero {
  position: relative;
  overflow: hidden;
  padding: 36px 0 28px;
  min-height: calc(100vh - 140px);
  display: flex;
  align-items: flex-end;
}

.pulse-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(20, 33, 43, 0.15), rgba(20, 33, 43, 0.62)),
    url("shot-comic-serial.jpg") center/cover no-repeat;
  transform: scale(1.02);
  animation: slow-pan 18s ease-in-out infinite alternate;
}

.pulse-hero__content {
  position: relative;
  z-index: 1;
  color: #fff;
  padding-bottom: 28px;
  max-width: 720px;
}

.brand-signal {
  font-family: "ZCOOL XiaoWei", serif;
  font-size: clamp(42px, 10vw, 72px);
  line-height: 1.1;
  margin: 0 0 12px;
  text-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

.pulse-hero h1 {
  margin: 0 0 12px;
  font-size: clamp(22px, 5.2vw, 34px);
  font-weight: 900;
  line-height: 1.35;
}

.pulse-hero p {
  margin: 0;
  font-size: 15px;
  opacity: 0.92;
  max-width: 34em;
}

.crumb {
  padding: 18px 0 0;
  font-size: 13px;
  color: var(--ink-soft);
}

.crumb a {
  text-decoration: none;
}

.section {
  padding: 42px 0;
}

.section-title {
  font-family: "ZCOOL XiaoWei", serif;
  font-size: clamp(28px, 6vw, 40px);
  margin: 0 0 10px;
  line-height: 1.25;
}

.section-lead {
  margin: 0 0 22px;
  color: var(--ink-soft);
  max-width: 42em;
}

.ink-block p,
.legal-prose p,
.legal-prose li {
  font-size: 15px;
  color: var(--ink);
}

.ink-block p + p,
.legal-prose p + p {
  margin-top: 1em;
}

.ink-block h2,
.legal-prose h2 {
  font-size: clamp(22px, 4.5vw, 30px);
  margin: 1.6em 0 0.6em;
}

.ink-block h3,
.legal-prose h3 {
  font-size: 18px;
  margin: 1.3em 0 0.5em;
  color: var(--teal-deep);
}

.duo-frame {
  display: grid;
  gap: 18px;
  align-items: center;
}

.media-pane {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid rgba(255, 255, 255, 0.7);
  background: #fff;
}

.media-pane img {
  width: 100%;
  height: auto;
}

.glass-card {
  background: var(--glass);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
}

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

.feature-chip h3 {
  margin: 0 0 8px;
  font-size: 17px;
}

.feature-chip p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 14px;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.btn-coral,
.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
}

.btn-coral {
  background: linear-gradient(135deg, var(--coral), #ff8f4a);
  color: #fff;
  box-shadow: 0 12px 24px rgba(255, 107, 87, 0.28);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.7);
  color: var(--teal-deep);
  border: 1px solid var(--line);
}

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

.mosaic .media-pane:nth-child(2) {
  transform: translateY(8px);
}

.rank-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.rank-list li {
  display: grid;
  grid-template-columns: 36px 1fr auto;
  gap: 10px;
  align-items: center;
  padding: 12px 14px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--line);
}

.rank-list b {
  width: 28px;
  height: 28px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: rgba(18, 138, 130, 0.12);
  color: var(--teal-deep);
  font-size: 13px;
}

.site-footer {
  margin-top: 20px;
  padding: 36px 0 120px;
  background: linear-gradient(180deg, transparent, rgba(11, 95, 90, 0.08));
  border-top: 1px solid var(--line);
}

.footer-grid {
  display: grid;
  gap: 18px;
}

.footer-grid h3 {
  margin: 0 0 8px;
  font-size: 16px;
}

.footer-grid a {
  display: block;
  text-decoration: none;
  color: var(--ink-soft);
  margin: 6px 0;
  font-size: 14px;
}

.footer-copy {
  margin-top: 22px;
  font-size: 12px;
  color: var(--ink-soft);
}

.error-panel {
  min-height: 70vh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 40px 0;
}

.error-panel h1 {
  font-family: "ZCOOL XiaoWei", serif;
  font-size: clamp(48px, 14vw, 88px);
  margin: 0 0 8px;
  color: var(--teal-deep);
}

[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

[data-reveal].is-in {
  opacity: 1;
  transform: none;
}

@keyframes slow-pan {
  from {
    transform: scale(1.02) translate3d(0, 0, 0);
  }
  to {
    transform: scale(1.08) translate3d(-1.5%, -1%, 0);
  }
}

@keyframes float-soft {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

.float-soft {
  animation: float-soft 5s ease-in-out infinite;
}

@media (min-width: 768px) {
  .dock-grid,
  .promo-grid {
    grid-template-columns: repeat(8, minmax(0, 1fr));
  }

  .nav-links {
    display: flex;
  }

  .menu-toggle {
    display: none;
  }

  .duo-frame {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 28px;
  }

  .duo-frame.is-flip {
    grid-template-columns: 0.95fr 1.05fr;
  }

  .duo-frame.is-flip .media-pane {
    order: 2;
  }

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

  .mosaic {
    grid-template-columns: 1.2fr 0.8fr;
  }

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

@media (min-width: 980px) {
  .pulse-hero {
    min-height: 72vh;
    align-items: center;
  }
}
