@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+SC:wght@400;500;700;900&family=ZCOOL+QingKe+HuangYou&display=swap');

:root {
  --ink: #141821;
  --ink-soft: #2a3142;
  --mist: #e8edf5;
  --panel: #f7fafc;
  --snow: #ffffff;
  --coral: #ff3b6b;
  --coral-deep: #d12452;
  --teal: #00bfa5;
  --teal-deep: #008f7a;
  --amber: #ffc53d;
  --fog: #8b97ad;
  --line: rgba(20, 24, 33, 0.08);
  --shadow: 0 18px 48px rgba(20, 24, 33, 0.12);
  --radius-lg: 28px;
  --radius-md: 16px;
  --nav-h: 64px;
  --ads-gap: 10px;
  --max: 1080px;
  --font-display: "ZCOOL QingKe HuangYou", "Noto Sans 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 12% -10%, rgba(255, 59, 107, 0.16), transparent 60%),
    radial-gradient(900px 500px at 92% 8%, rgba(0, 191, 165, 0.14), transparent 55%),
    linear-gradient(165deg, #f3f6fb 0%, #eef2f8 42%, #f8fafc 100%);
  line-height: 1.85;
  font-size: 16px;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
  height: auto;
}

a {
  color: var(--coral-deep);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--teal-deep);
}

.oblique-shell {
  min-height: 100vh;
}

.lane-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  min-height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  padding: 0 18px;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

.nav-burger {
  display: none;
  width: 42px;
  height: 42px;
  margin-left: auto;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.92);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

.nav-burger span {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: var(--ink);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-burger.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-burger.is-open span:nth-child(2) {
  opacity: 0;
}

.nav-burger.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.brand-mark {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  text-decoration: none;
  font-family: var(--font-display);
  font-size: 1.35rem;
  letter-spacing: 0.04em;
}

.brand-mark img {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  object-fit: cover;
  box-shadow: 0 6px 16px rgba(255, 59, 107, 0.28);
}

.lane-menu {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.lane-menu a {
  text-decoration: none;
  color: var(--ink-soft);
  font-size: 0.86rem;
  padding: 8px 12px;
  border-radius: 999px;
  transition: background 0.2s ease, color 0.2s ease;
}

.lane-menu a:hover,
.lane-menu a.is-here {
  background: rgba(255, 59, 107, 0.12);
  color: var(--coral-deep);
}

.pulse-ads {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 8px 6px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(247, 250, 252, 0.9));
  margin: 0;
  padding: 12px 8px 6px;
  border-bottom: 1px solid var(--line);
}

.pulse-ads > div {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 70px;
  box-sizing: border-box;
}

.pulse-ads 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;
  border: none;
  background: linear-gradient(135deg, #fff, #fff);
}

.pulse-ads a {
  display: inline-block;
  text-decoration: none;
  border-radius: 15px;
}

.pulse-ads img:hover {
  transform: translateY(-4px) scale(1.04);
  box-shadow: 0 10px 24px rgba(24, 24, 24, 0.18);
}

.pulse-ads .caption {
  height: 15px;
  font-size: 11px;
  color: #666;
  text-align: center;
  max-width: 100px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dock-rail {
  position: sticky;
  top: var(--nav-h);
  z-index: 90;
  background: rgba(20, 24, 33, 0.94);
  color: #fff;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  pointer-events: none;
  border-bottom: 0;
  transition: max-height 0.28s ease, opacity 0.2s ease;
}

.dock-rail:not(.is-pinned) .dock-label,
.dock-rail:not(.is-pinned) .pulse-ads {
  display: none;
}

.dock-rail.is-pinned {
  max-height: 42vh;
  opacity: 1;
  overflow-y: auto;
  pointer-events: auto;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.dock-rail .dock-label {
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  padding: 8px 14px 0;
}

.dock-rail .pulse-ads {
  background: transparent;
  border: none;
  padding-top: 8px;
  padding-bottom: 10px;
}

.dock-rail .pulse-ads .caption {
  color: rgba(255, 255, 255, 0.72);
}

.dock-rail .pulse-ads > div {
  width: calc(25% - 8px);
  max-width: 78px;
}

@media (min-width: 900px) {
  .dock-rail .pulse-ads > div {
    width: calc(12.5% - 8px);
  }
}

.harbor-hero {
  position: relative;
  min-height: min(92vh, 780px);
  display: grid;
  align-items: end;
  padding: 48px 20px 56px;
  overflow: hidden;
  color: #fff;
  background:
    linear-gradient(125deg, rgba(20, 24, 33, 0.88) 18%, rgba(20, 24, 33, 0.42) 58%, rgba(0, 191, 165, 0.28) 100%),
    radial-gradient(circle at 78% 28%, rgba(255, 59, 107, 0.45), transparent 42%),
    linear-gradient(160deg, #1b2233, #0f141f 70%);
  clip-path: polygon(0 0, 100% 0, 100% 88%, 0 100%);
}

.harbor-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(
      -18deg,
      transparent,
      transparent 18px,
      rgba(255, 255, 255, 0.03) 18px,
      rgba(255, 255, 255, 0.03) 19px
    );
  pointer-events: none;
}

.harbor-copy {
  position: relative;
  z-index: 2;
  max-width: 720px;
  animation: rise-in 0.9s ease both;
}

.harbor-copy .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 14px;
}

.harbor-copy h1 {
  margin: 0 0 16px;
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 7vw, 3.4rem);
  line-height: 1.2;
  font-weight: 400;
  text-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

.harbor-copy p {
  margin: 0;
  max-width: 34em;
  font-size: 1.02rem;
  color: rgba(255, 255, 255, 0.88);
}

.orbit-dots {
  position: absolute;
  right: 8%;
  top: 18%;
  width: 180px;
  height: 180px;
  border: 1px dashed rgba(255, 255, 255, 0.28);
  border-radius: 50%;
  animation: spin-slow 18s linear infinite;
}

.orbit-dots span {
  position: absolute;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--coral);
  box-shadow: 0 0 0 6px rgba(255, 59, 107, 0.2);
}

.orbit-dots span:nth-child(1) { top: -5px; left: 50%; }
.orbit-dots span:nth-child(2) { bottom: 18px; right: 8px; background: var(--teal); box-shadow: 0 0 0 6px rgba(0, 191, 165, 0.2); }
.orbit-dots span:nth-child(3) { bottom: 12px; left: 16px; background: var(--amber); box-shadow: 0 0 0 6px rgba(255, 197, 61, 0.2); }

.page-wrap {
  width: min(100% - 32px, var(--max));
  margin: 0 auto;
  padding: 28px 0 72px;
}

.crumb {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
  font-size: 0.86rem;
  color: var(--fog);
  margin: 18px 0 28px;
}

.crumb a {
  color: var(--ink-soft);
  text-decoration: none;
}

.crumb a:hover {
  color: var(--coral);
}

.crumb span {
  opacity: 0.5;
}

.chapter-rail {
  position: relative;
  padding-left: 0;
}

@media (min-width: 880px) {
  .chapter-rail {
    padding-left: 34px;
  }

  .chapter-rail::before {
    content: "";
    position: absolute;
    left: 8px;
    top: 12px;
    bottom: 12px;
    width: 2px;
    background: linear-gradient(180deg, var(--coral), var(--teal), var(--amber));
    border-radius: 2px;
    opacity: 0.55;
  }
}

.ink-block {
  position: relative;
  margin: 0 0 42px;
  padding: 26px 22px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  backdrop-filter: blur(8px);
  animation: rise-in 0.7s ease both;
}

.ink-block h2 {
  margin: 0 0 14px;
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 4vw, 1.9rem);
  line-height: 1.35;
  color: var(--ink);
}

.ink-block h3 {
  margin: 28px 0 10px;
  font-size: 1.15rem;
  color: var(--ink-soft);
}

.ink-block p {
  margin: 0 0 1em;
  color: var(--ink-soft);
  text-align: justify;
}

.ink-block p:last-child {
  margin-bottom: 0;
}

.tag-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal-deep);
  background: rgba(0, 191, 165, 0.12);
  border-radius: 999px;
  padding: 6px 12px;
  margin-bottom: 12px;
}

.magnet-row {
  display: grid;
  gap: 18px;
  margin-top: 18px;
}

@media (min-width: 760px) {
  .magnet-row.is-split {
    grid-template-columns: 1.15fr 0.85fr;
    align-items: center;
  }

  .magnet-row.is-split.reverse {
    grid-template-columns: 0.85fr 1.15fr;
  }

  .magnet-row.is-split.reverse .shot-frame {
    order: -1;
  }
}

.shot-frame {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 22px 40px rgba(20, 24, 33, 0.18);
  transform: rotate(-1.5deg);
  background: #111;
}

.shot-frame.tilt-right {
  transform: rotate(1.8deg);
}

.shot-frame img {
  width: 100%;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  object-position: top center;
  max-height: 520px;
}

.shot-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 65%, rgba(20, 24, 33, 0.35));
  pointer-events: none;
}

.facet-grid {
  display: grid;
  gap: 14px;
  margin-top: 18px;
}

@media (min-width: 680px) {
  .facet-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.facet-card {
  padding: 18px 16px;
  border-radius: 18px;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.96), rgba(232, 237, 245, 0.7));
  border: 1px solid var(--line);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.facet-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 28px rgba(20, 24, 33, 0.1);
}

.facet-card strong {
  display: block;
  font-size: 1.02rem;
  margin-bottom: 8px;
  color: var(--ink);
}

.facet-card p {
  margin: 0;
  font-size: 0.92rem;
  color: var(--fog);
  text-align: left;
}

.duo-panel {
  display: grid;
  gap: 14px;
}

@media (min-width: 760px) {
  .duo-panel {
    grid-template-columns: 1fr 1fr;
  }
}

.soft-note {
  padding: 16px 18px;
  border-left: 4px solid var(--coral);
  background: rgba(255, 59, 107, 0.06);
  border-radius: 0 14px 14px 0;
  margin: 18px 0;
  color: var(--ink-soft);
}

.soft-note.teal {
  border-left-color: var(--teal);
  background: rgba(0, 191, 165, 0.08);
}

.faq-stack details {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 12px 16px;
  margin-bottom: 10px;
  background: rgba(255, 255, 255, 0.75);
}

.faq-stack summary {
  cursor: pointer;
  font-weight: 700;
  color: var(--ink);
  list-style: none;
}

.faq-stack summary::-webkit-details-marker {
  display: none;
}

.faq-stack details[open] summary {
  color: var(--coral-deep);
  margin-bottom: 8px;
}

.legal-body h2 {
  margin-top: 34px;
}

.legal-body ul {
  padding-left: 1.2em;
  color: var(--ink-soft);
}

.legal-body li {
  margin-bottom: 0.55em;
}

.site-foot {
  margin-top: 20px;
  padding: 36px 20px 48px;
  background: #10141d;
  color: rgba(255, 255, 255, 0.78);
  clip-path: polygon(0 8%, 100% 0, 100% 100%, 0 100%);
}

.site-foot .foot-inner {
  width: min(100% - 24px, var(--max));
  margin: 0 auto;
  display: grid;
  gap: 22px;
}

@media (min-width: 760px) {
  .site-foot .foot-inner {
    grid-template-columns: 1.4fr 1fr 1fr;
  }
}

.site-foot a {
  color: #ffd3df;
  text-decoration: none;
}

.site-foot a:hover {
  color: var(--amber);
}

.site-foot h3 {
  margin: 0 0 10px;
  font-family: var(--font-display);
  color: #fff;
  font-size: 1.15rem;
}

.site-foot p,
.site-foot li {
  font-size: 0.9rem;
  line-height: 1.7;
}

.site-foot ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-foot li {
  margin-bottom: 6px;
}

.foot-copy {
  margin-top: 22px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.45);
}

.err-stage {
  min-height: 70vh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 40px 20px;
}

.err-stage h1 {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 10vw, 4.5rem);
  margin: 0 0 10px;
  background: linear-gradient(90deg, var(--coral), var(--teal));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.err-stage p {
  color: var(--ink-soft);
  max-width: 28em;
  margin: 0 auto 22px;
}

.ghost-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  border-radius: 999px;
  background: var(--ink);
  color: #fff !important;
  text-decoration: none;
}

.ghost-link:hover {
  background: var(--coral-deep);
}

@keyframes rise-in {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes spin-slow {
  to {
    transform: rotate(360deg);
  }
}

@media (max-width: 720px) {
  .nav-burger {
    display: inline-flex;
  }

  .lane-menu {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 8px 0 14px;
    border-top: 1px solid var(--line);
    margin-top: 4px;
  }

  .lane-menu.is-open {
    display: flex;
  }

  .lane-menu a {
    padding: 12px 14px;
    font-size: 0.95rem;
    border-radius: 12px;
  }

  .harbor-hero {
    min-height: 72vh;
    padding-bottom: 70px;
  }

  .shot-frame,
  .shot-frame.tilt-right {
    transform: none;
  }
}

@media (min-width: 721px) {
  .lane-menu {
    display: flex !important;
  }
}
