@import url("https://fonts.googleapis.com/css2?family=Noto+Sans+SC:wght@400;500;700;900&family=ZCOOL+XiaoWei&display=swap");

:root {
  --sumi: #10141c;
  --ink: #1a2230;
  --panel: #243044;
  --paper: #eef3f8;
  --mist: #d5e0ec;
  --teal: #1ec8b8;
  --teal-deep: #0f8f84;
  --rose: #ff5a7a;
  --gold: #f0c45c;
  --glass: rgba(26, 34, 48, 0.72);
  --glass-border: rgba(255, 255, 255, 0.14);
  --shadow: 0 18px 48px rgba(8, 12, 20, 0.35);
  --radius: 18px;
  --max: 1120px;
  --nav-h: 64px;
  --stick-h: 0px;
  --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(--paper);
  background:
    radial-gradient(ellipse 80% 50% at 10% -10%, rgba(30, 200, 184, 0.18), transparent 55%),
    radial-gradient(ellipse 60% 40% at 90% 0%, rgba(255, 90, 122, 0.12), transparent 50%),
    linear-gradient(165deg, #0c1018 0%, #151c2a 42%, #0f1622 100%);
  background-attachment: fixed;
  line-height: 1.75;
  font-size: 16px;
  min-height: 100vh;
  padding-top: var(--nav-h);
  padding-bottom: calc(var(--stick-h) + 24px);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--teal);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--gold);
}

.wrap {
  width: min(100% - 32px, var(--max));
  margin-inline: auto;
}

/* —— top promo strip（文档流内，不固定漂浮） —— */
.promo-rail {
  position: relative;
  z-index: 1;
  background: linear-gradient(180deg, rgba(16, 20, 28, 0.96), rgba(20, 28, 40, 0.88));
  border-bottom: 1px solid var(--glass-border);
  padding: 10px 0 8px;
}

#promo-ads {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 6px 10px;
  padding: 0 12px;
}

#promo-ads > div {
  width: 64px;
  text-align: center;
}

#promo-ads img {
  width: 56px;
  height: 56px;
  object-fit: cover;
  border-radius: 14px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
  border: 1px solid var(--glass-border);
}

#promo-ads .caption {
  margin-top: 4px;
  font-size: 10px;
  color: var(--mist);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* —— navigation —— */
.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1100;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  background: var(--glass);
  border-bottom: 1px solid var(--glass-border);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: min(100% - 24px, var(--max));
  margin-inline: auto;
}

.brand-lockup {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--paper);
  text-decoration: none;
}

.brand-lockup img {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: 0 0 0 2px rgba(30, 200, 184, 0.35);
}

.brand-lockup span {
  font-family: var(--font-display);
  font-size: 1.35rem;
  letter-spacing: 0.04em;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  color: var(--mist);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
}

.nav-links a:hover,
.nav-links a.is-current {
  color: var(--teal);
}

.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--glass-border);
  color: var(--paper);
  border-radius: 10px;
  padding: 8px 12px;
  cursor: pointer;
}

/* —— sticky download dock —— */
.download-dock {
  position: fixed;
  left: 0;
  right: 0;
  top: var(--nav-h);
  z-index: 1050;
  background: rgba(20, 28, 40, 0.92);
  border-bottom: 1px solid var(--glass-border);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transform: translateY(-120%);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.28s ease, opacity 0.28s ease;
  padding: 8px 0;
}

.download-dock.is-visible {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

#dock-ads {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 10px;
  width: min(100% - 16px, var(--max));
  margin-inline: auto;
}

#dock-ads > div {
  width: calc(25% - 10px);
  max-width: 72px;
  text-align: center;
}

@media (min-width: 768px) {
  #dock-ads > div {
    width: calc(12.5% - 10px);
  }
}

#dock-ads img {
  width: 52px;
  height: 52px;
  margin-inline: auto;
  border-radius: 14px;
  object-fit: cover;
  border: 1px solid var(--glass-border);
}

#dock-ads .caption {
  font-size: 10px;
  color: var(--mist);
  margin-top: 3px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* —— hero —— */
.hero-stage {
  position: relative;
  overflow: hidden;
  padding: 48px 0 36px;
  min-height: calc(100vh - var(--nav-h) - 40px);
  display: flex;
  align-items: center;
}

.hero-stage::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(120deg, transparent 40%, rgba(30, 200, 184, 0.08) 100%),
    url("screen-comic-serial.jpg") center / cover no-repeat;
  opacity: 0.28;
  filter: saturate(1.1) contrast(1.05);
  animation: pan-bg 28s ease-in-out infinite alternate;
  z-index: 0;
}

.hero-stage::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(12, 16, 24, 0.55) 0%, rgba(12, 16, 24, 0.92) 100%);
  z-index: 1;
}

.hero-copy {
  position: relative;
  z-index: 2;
  max-width: 640px;
}

.hero-copy .brand-signal {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 9vw, 4.2rem);
  line-height: 1.15;
  margin: 0 0 12px;
  background: linear-gradient(105deg, #fff 20%, var(--teal) 55%, var(--rose) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: rise-in 0.8s ease both;
}

.hero-copy h1 {
  font-size: clamp(1.25rem, 3.6vw, 1.65rem);
  font-weight: 700;
  margin: 0 0 14px;
  color: var(--paper);
  animation: rise-in 0.9s ease 0.08s both;
}

.hero-copy .lead {
  margin: 0 0 22px;
  color: var(--mist);
  font-size: 1.02rem;
  animation: rise-in 1s ease 0.14s both;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  animation: rise-in 1.05s ease 0.2s both;
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  border-radius: 999px;
  border: 1px solid rgba(30, 200, 184, 0.55);
  color: var(--paper);
  text-decoration: none;
  background: rgba(30, 200, 184, 0.12);
  font-weight: 600;
}

.btn-ghost:hover {
  background: rgba(30, 200, 184, 0.28);
  color: #fff;
}

.btn-soft {
  display: inline-flex;
  align-items: center;
  padding: 12px 22px;
  border-radius: 999px;
  border: 1px solid var(--glass-border);
  color: var(--mist);
  text-decoration: none;
  background: rgba(255, 255, 255, 0.04);
}

/* —— sections —— */
.block {
  padding: 42px 0;
}

.block + .block {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.block h2 {
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 4vw, 2rem);
  margin: 0 0 12px;
  color: #fff;
}

.block h3 {
  font-size: 1.15rem;
  margin: 28px 0 10px;
  color: var(--teal);
  font-weight: 700;
}

.block p {
  margin: 0 0 14px;
  color: var(--mist);
  text-align: justify;
}

.crumb {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
  font-size: 0.88rem;
  color: var(--mist);
  padding: 18px 0 6px;
}

.crumb a {
  color: var(--teal);
  text-decoration: none;
}

.crumb span {
  opacity: 0.5;
}

/* —— layout mixes —— */
.split-duo {
  display: grid;
  gap: 28px;
  align-items: center;
}

@media (min-width: 860px) {
  .split-duo {
    grid-template-columns: 1.1fr 0.9fr;
  }

  .split-duo.reverse {
    grid-template-columns: 0.9fr 1.1fr;
  }

  .split-duo.reverse .visual-frame {
    order: -1;
  }
}

.visual-frame {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--glass-border);
  background: var(--ink);
  animation: float-soft 6s ease-in-out infinite;
}

.visual-frame img {
  width: 100%;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  object-position: top;
  max-height: 520px;
}

.glow-ring {
  position: absolute;
  inset: -20%;
  background: radial-gradient(circle, rgba(30, 200, 184, 0.25), transparent 60%);
  pointer-events: none;
  z-index: -1;
}

.mosaic-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: 1fr 1fr;
}

@media (min-width: 720px) {
  .mosaic-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.mosaic-card {
  background: rgba(36, 48, 68, 0.55);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  overflow: hidden;
  backdrop-filter: blur(10px);
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.mosaic-card:hover {
  transform: translateY(-6px);
  border-color: rgba(30, 200, 184, 0.45);
}

.mosaic-card img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: top;
}

.mosaic-card .cap {
  padding: 12px 14px 16px;
}

.mosaic-card h3 {
  margin: 0 0 6px;
  font-size: 1rem;
  color: #fff;
}

.mosaic-card p {
  margin: 0;
  font-size: 0.88rem;
  color: var(--mist);
}

.ribbon-note {
  margin: 20px 0;
  padding: 18px 20px;
  border-left: 4px solid var(--rose);
  background: linear-gradient(90deg, rgba(255, 90, 122, 0.12), transparent);
  border-radius: 0 14px 14px 0;
  color: var(--paper);
}

.feature-strip {
  display: grid;
  gap: 14px;
}

@media (min-width: 700px) {
  .feature-strip {
    grid-template-columns: repeat(2, 1fr);
  }
}

.feature-chip {
  padding: 18px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--glass-border);
}

.feature-chip strong {
  display: block;
  color: var(--gold);
  margin-bottom: 6px;
}

.text-column p {
  font-size: 0.98rem;
}

.timeline {
  position: relative;
  padding-left: 22px;
  margin: 18px 0;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 4px;
  bottom: 4px;
  width: 2px;
  background: linear-gradient(var(--teal), var(--rose));
}

.timeline li {
  list-style: none;
  margin-bottom: 16px;
  position: relative;
}

.timeline li::before {
  content: "";
  position: absolute;
  left: -22px;
  top: 8px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 0 4px rgba(30, 200, 184, 0.2);
}

.pair-shots {
  display: grid;
  gap: 16px;
}

@media (min-width: 640px) {
  .pair-shots {
    grid-template-columns: 1fr 1fr;
  }
}

.pair-shots figure {
  margin: 0;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--glass-border);
  background: var(--ink);
}

.pair-shots figcaption {
  padding: 10px 12px;
  font-size: 0.85rem;
  color: var(--mist);
}

.legal-body h2 {
  margin-top: 36px;
}

.legal-body ul {
  color: var(--mist);
  padding-left: 1.2em;
}

.legal-body li {
  margin-bottom: 8px;
}

.page-hero-mini {
  padding: 28px 0 10px;
}

.page-hero-mini h1 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 5vw, 2.4rem);
  margin: 0 0 10px;
}

.error-shell {
  min-height: 70vh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 40px 16px;
}

.error-shell .code {
  font-family: var(--font-display);
  font-size: clamp(4rem, 18vw, 7rem);
  line-height: 1;
  background: linear-gradient(120deg, var(--teal), var(--rose));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin: 0;
}

.site-footer {
  margin-top: 48px;
  padding: 36px 0 28px;
  border-top: 1px solid var(--glass-border);
  background: rgba(8, 10, 16, 0.55);
}

.footer-grid {
  display: grid;
  gap: 24px;
}

@media (min-width: 720px) {
  .footer-grid {
    grid-template-columns: 1.4fr 1fr 1fr;
  }
}

.site-footer h3 {
  margin: 0 0 10px;
  font-size: 1rem;
  color: #fff;
}

.site-footer p,
.site-footer a {
  color: var(--mist);
  font-size: 0.9rem;
}

.site-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-footer li {
  margin-bottom: 8px;
}

.site-footer a {
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--teal);
}

.copy-line {
  margin-top: 28px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 0.82rem;
  color: rgba(213, 224, 236, 0.65);
  text-align: center;
}

.dl-inline {
  display: inline-flex;
  margin: 10px 0 0;
  padding: 10px 18px;
  border-radius: 12px;
  background: linear-gradient(120deg, var(--teal-deep), #1a9b8f);
  color: #fff !important;
  text-decoration: none;
  font-weight: 600;
  border: none;
}

.dl-inline:hover {
  filter: brightness(1.08);
  color: #fff !important;
}

@keyframes rise-in {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes float-soft {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

@keyframes pan-bg {
  from {
    transform: scale(1.05) translateX(0);
  }
  to {
    transform: scale(1.12) translateX(-2%);
  }
}

@media (max-width: 760px) {
  .nav-toggle {
    display: inline-flex;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: var(--nav-h);
    left: 0;
    right: 0;
    flex-direction: column;
    padding: 14px 18px 18px;
    background: rgba(16, 20, 28, 0.96);
    border-bottom: 1px solid var(--glass-border);
  }

  .nav-links.is-open {
    display: flex;
  }

}
