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

:root {
  --ink: #15202b;
  --ink-soft: #3a4a5a;
  --mist: #eef6f4;
  --foam: #f7fbfa;
  --coral: #ff5d6c;
  --coral-deep: #e84353;
  --teal: #1fb8a0;
  --teal-deep: #0f8f7c;
  --gold: #d4a34a;
  --line: rgba(21, 32, 43, 0.08);
  --glass: rgba(255, 255, 255, 0.55);
  --shadow: 0 18px 40px rgba(21, 32, 43, 0.08);
  --radius: 22px;
  --max: 1080px;
  --nav-h: 64px;
  --dock-h: auto;
  --font-display: "ZCOOL XiaoWei", "Noto Sans SC", sans-serif;
  --font-body: "Noto Sans SC", 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(31, 184, 160, 0.18), transparent 60%),
    radial-gradient(900px 500px at 100% 0%, rgba(255, 93, 108, 0.16), transparent 55%),
    linear-gradient(180deg, #f4faf8 0%, var(--mist) 40%, #e8f2ef 100%);
  line-height: 1.8;
  font-size: 15px;
  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-deep);
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
}

.skip-link:focus {
  left: 12px;
  top: 12px;
  z-index: 100;
  background: #fff;
  padding: 8px 12px;
}

/* Promo rail */
.promo-zone {
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
  padding: 10px 12px 6px;
}

.promo-rail {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 12px;
}

.promo-chip {
  width: 70px;
  text-decoration: none;
  color: var(--ink-soft);
  text-align: center;
  font-size: 11px;
}

.promo-chip img {
  width: 65px;
  height: 65px;
  object-fit: cover;
  border-radius: 18px;
  box-shadow: 0 6px 18px rgba(24, 24, 24, 0.12);
  margin: 0 auto 4px;
  transition: transform 0.18s ease;
}

.promo-chip:hover img {
  transform: translateY(-3px) scale(1.03);
}

.promo-chip span {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Nav */
.mark-bar {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  backdrop-filter: blur(16px);
  background: rgba(247, 251, 250, 0.82);
  border-bottom: 1px solid var(--line);
}

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

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

.brand-lock img {
  width: 40px;
  height: 40px;
  border-radius: 12px;
}

.brand-lock strong {
  font-family: var(--font-display);
  font-size: 22px;
  letter-spacing: 0.04em;
  font-weight: 400;
}

.nav-panel {
  display: flex;
  gap: 18px;
  align-items: center;
}

.nav-panel a {
  text-decoration: none;
  color: var(--ink-soft);
  font-size: 14px;
  font-weight: 500;
}

.nav-panel a:hover,
.nav-panel a.is-current {
  color: var(--coral-deep);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  cursor: pointer;
  position: relative;
}

.nav-toggle span {
  position: absolute;
  left: 11px;
  right: 11px;
  height: 2px;
  background: var(--ink);
  transition: 0.2s ease;
}

.nav-toggle span:nth-child(1) {
  top: 14px;
}
.nav-toggle span:nth-child(2) {
  top: 20px;
}
.nav-toggle span:nth-child(3) {
  top: 26px;
}

.nav-toggle.is-active span:nth-child(1) {
  top: 20px;
  transform: rotate(45deg);
}
.nav-toggle.is-active span:nth-child(2) {
  opacity: 0;
}
.nav-toggle.is-active span:nth-child(3) {
  top: 20px;
  transform: rotate(-45deg);
}

/* Sticky download dock */
.signal-dock {
  position: sticky;
  top: var(--nav-h);
  z-index: 40;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  transform: translateY(-120%);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.28s ease, opacity 0.28s ease;
}

.signal-dock.is-visible {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

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

.dock-chip {
  width: calc(25% - 10px);
  max-width: 72px;
  text-decoration: none;
  color: var(--ink-soft);
  text-align: center;
  font-size: 10px;
}

.dock-chip img {
  width: 52px;
  height: 52px;
  margin: 0 auto 3px;
  border-radius: 14px;
  object-fit: cover;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.dock-chip span {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

@media (min-width: 768px) {
  .dock-chip {
    width: calc(12.5% - 10px);
  }
}

/* Layout */
.folio-wrap {
  width: min(100% - 28px, var(--max));
  margin: 0 auto;
}

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

.crumb-trail a {
  color: var(--ink-soft);
  text-decoration: none;
}

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

/* Hero */
.aurora-plane {
  position: relative;
  min-height: min(92vh, 760px);
  display: grid;
  align-items: end;
  overflow: hidden;
  margin: 0 0 28px;
  border-radius: 0 0 36px 36px;
  background:
    linear-gradient(120deg, rgba(21, 32, 43, 0.55), rgba(15, 143, 124, 0.35)),
    url("feat-comic-serial.jpg") center / cover no-repeat;
  color: #fff;
  isolation: isolate;
}

.aurora-plane::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(600px 280px at 80% 20%, rgba(255, 93, 108, 0.35), transparent 70%),
    linear-gradient(180deg, transparent 20%, rgba(11, 18, 24, 0.78) 100%);
  z-index: 0;
  animation: tidePulse 8s ease-in-out infinite alternate;
}

.aurora-copy {
  position: relative;
  z-index: 1;
  width: min(100% - 36px, var(--max));
  margin: 0 auto 48px;
  max-width: 720px;
}

.aurora-copy .brand-echo {
  font-family: var(--font-display);
  font-size: clamp(42px, 12vw, 72px);
  line-height: 1.05;
  margin: 0 0 12px;
  text-shadow: 0 8px 30px rgba(0, 0, 0, 0.35);
  animation: riseIn 0.9s ease both;
}

.aurora-copy h1 {
  margin: 0 0 12px;
  font-size: clamp(20px, 4.8vw, 30px);
  font-weight: 700;
  line-height: 1.35;
  animation: riseIn 1s ease 0.1s both;
}

.aurora-copy p {
  margin: 0 0 22px;
  font-size: 15px;
  opacity: 0.92;
  max-width: 36em;
  animation: riseIn 1.05s ease 0.18s both;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  animation: riseIn 1.1s ease 0.25s both;
}

.pill-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  border: 1px solid transparent;
  transition: transform 0.2s ease, background 0.2s ease;
}

.pill-link:hover {
  transform: translateY(-2px);
}

.pill-link.solid {
  background: var(--coral);
  color: #fff;
}

.pill-link.ghost {
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(8px);
}

.pill-link.ink {
  background: var(--ink);
  color: #fff;
}

.pill-link.mint {
  background: var(--teal);
  color: #fff;
}

.pill-link.soft {
  background: #fff;
  color: var(--ink);
  border-color: var(--line);
}

/* Sections */
.chapter-block {
  margin: 36px auto;
  padding: 28px 0;
}

.chapter-block h2 {
  font-family: var(--font-display);
  font-size: clamp(26px, 6vw, 36px);
  font-weight: 400;
  margin: 0 0 10px;
  line-height: 1.25;
}

.chapter-block h3 {
  font-size: 18px;
  margin: 22px 0 8px;
  color: var(--ink);
}

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

.prose-flow p {
  margin: 0 0 14px;
  color: var(--ink);
}

.prose-flow p:last-child {
  margin-bottom: 0;
}

.duo-lane {
  display: grid;
  gap: 22px;
  align-items: center;
  margin-top: 18px;
}

@media (min-width: 860px) {
  .duo-lane {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 36px;
  }
  .duo-lane.flip {
    grid-template-columns: 0.95fr 1.05fr;
  }
  .duo-lane.flip .shot-frame {
    order: -1;
  }
}

.shot-frame {
  position: relative;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: var(--shadow);
  background: #fff;
  transform: translateZ(0);
}

.shot-frame img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: top center;
}

.shot-frame::before {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: inherit;
  pointer-events: none;
  z-index: 1;
}

.glass-board {
  background: var(--glass);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.65);
  border-radius: var(--radius);
  padding: 22px 20px;
  box-shadow: var(--shadow);
}

.mosaic-grid {
  display: grid;
  gap: 14px;
  margin-top: 18px;
}

@media (min-width: 700px) {
  .mosaic-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.mosaic-card {
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  transition: transform 0.25s ease;
}

.mosaic-card:hover {
  transform: translateY(-4px);
}

.mosaic-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: top;
}

.mosaic-card .body {
  padding: 14px 16px 18px;
}

.mosaic-card h3 {
  margin: 0 0 6px;
  font-size: 17px;
}

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

.ribbon-list {
  display: grid;
  gap: 12px;
  margin: 18px 0 0;
}

.ribbon-item {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 14px;
  align-items: start;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 14px;
}

.ribbon-item .idx {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-size: 22px;
  color: #fff;
  background: linear-gradient(135deg, var(--teal), var(--coral));
}

.text-slab {
  background: linear-gradient(135deg, rgba(31, 184, 160, 0.08), rgba(255, 93, 108, 0.08));
  border-radius: 24px;
  padding: 24px 20px;
  border: 1px solid var(--line);
}

.rank-board {
  display: grid;
  gap: 10px;
  margin-top: 16px;
}

.rank-row {
  display: flex;
  gap: 12px;
  align-items: center;
  background: #fff;
  border-radius: 16px;
  padding: 12px 14px;
  border: 1px solid var(--line);
}

.rank-row .num {
  font-family: var(--font-display);
  font-size: 24px;
  color: var(--coral);
  min-width: 36px;
}

.action-band {
  margin: 42px auto;
  padding: 28px 22px;
  border-radius: 28px;
  background:
    linear-gradient(120deg, rgba(31, 184, 160, 0.9), rgba(255, 93, 108, 0.85)),
    #1fb8a0;
  color: #fff;
  text-align: center;
  box-shadow: var(--shadow);
}

.action-band h2 {
  font-family: var(--font-display);
  margin: 0 0 8px;
  font-size: 30px;
  font-weight: 400;
}

.action-band p {
  margin: 0 0 18px;
  opacity: 0.95;
}

.mini-shots {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 16px;
}

@media (min-width: 760px) {
  .mini-shots {
    grid-template-columns: repeat(4, 1fr);
  }
}

.mini-shots figure {
  margin: 0;
  border-radius: 18px;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
}

.mini-shots img {
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: top;
}

.mini-shots figcaption {
  padding: 8px 10px 10px;
  font-size: 12px;
  color: var(--ink-soft);
}

.legal-sheet {
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 28px 22px;
  margin: 18px auto 48px;
  box-shadow: var(--shadow);
}

.legal-sheet h1 {
  font-family: var(--font-display);
  font-size: clamp(28px, 7vw, 40px);
  font-weight: 400;
  margin: 0 0 12px;
}

.legal-sheet h2 {
  font-size: 20px;
  margin: 28px 0 10px;
}

.legal-sheet p,
.legal-sheet li {
  color: var(--ink-soft);
}

.legal-sheet ul {
  padding-left: 1.2em;
}

.status-pane {
  min-height: 60vh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 48px 20px;
}

.status-pane .code {
  font-family: var(--font-display);
  font-size: clamp(64px, 18vw, 120px);
  line-height: 1;
  background: linear-gradient(120deg, var(--teal), var(--coral));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin: 0;
}

.status-pane h1 {
  margin: 8px 0 10px;
  font-size: 24px;
}

.site-foot {
  margin-top: 40px;
  padding: 34px 0 50px;
  border-top: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.45);
}

.foot-grid {
  width: min(100% - 28px, var(--max));
  margin: 0 auto;
  display: grid;
  gap: 22px;
}

@media (min-width: 720px) {
  .foot-grid {
    grid-template-columns: 1.4fr 1fr 1fr;
  }
}

.site-foot h3 {
  margin: 0 0 10px;
  font-size: 15px;
}

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

.site-foot p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 13px;
}

.foot-note {
  width: min(100% - 28px, var(--max));
  margin: 22px auto 0;
  font-size: 12px;
  color: var(--ink-soft);
}

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

@keyframes tidePulse {
  from {
    filter: saturate(1);
  }
  to {
    filter: saturate(1.15) brightness(1.05);
  }
}

.float-soft {
  animation: floatSoft 4.5s ease-in-out infinite alternate;
}

@keyframes floatSoft {
  from {
    transform: translateY(0);
  }
  to {
    transform: translateY(-8px);
  }
}

@media (max-width: 820px) {
  .nav-toggle {
    display: inline-block;
  }
  .nav-panel {
    position: absolute;
    top: var(--nav-h);
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(12px);
    flex-direction: column;
    align-items: stretch;
    padding: 12px 18px 18px;
    gap: 0;
    border-bottom: 1px solid var(--line);
    display: none;
  }
  .nav-panel.is-open {
    display: flex;
  }
  .nav-panel a {
    padding: 12px 4px;
    border-bottom: 1px solid var(--line);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
