@import url("https://fonts.googleapis.com/css2?family=Noto+Sans+SC:wght@400;500;700;900&family=ZCOOL+XiaoWei&display=swap");

:root {
  --pcm-bg: #e7f4f1;
  --pcm-bg-2: #fff5ef;
  --pcm-ink: #101925;
  --pcm-mute: #4a5a68;
  --pcm-line: rgba(16, 25, 37, 0.12);
  --pcm-coral: #ff4f6e;
  --pcm-mint: #12c4a2;
  --pcm-ocean: #1a6f8a;
  --pcm-glass: rgba(255, 255, 255, 0.55);
  --pcm-shadow: 0 18px 40px rgba(16, 25, 37, 0.1);
  --pcm-radius: 22px;
  --pcm-max: 1120px;
  --pcm-font: "Noto Sans SC", sans-serif;
  --pcm-display: "ZCOOL XiaoWei", "Noto Sans SC", serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--pcm-font);
  color: var(--pcm-ink);
  background:
    radial-gradient(900px 420px at 12% -10%, rgba(18, 196, 162, 0.22), transparent 60%),
    radial-gradient(700px 380px at 96% 8%, rgba(255, 79, 110, 0.16), transparent 55%),
    linear-gradient(180deg, var(--pcm-bg) 0%, var(--pcm-bg-2) 48%, #f3fbf9 100%);
  line-height: 1.75;
  min-height: 100vh;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--pcm-ocean);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--pcm-coral);
}

.pcm-wrap {
  width: min(100% - 32px, var(--pcm-max));
  margin-inline: auto;
}

.pcm-topbar {
  position: sticky;
  top: 0;
  z-index: 80;
  backdrop-filter: blur(16px);
  background: rgba(231, 244, 241, 0.92);
  border-bottom: 1px solid var(--pcm-line);
}

.pcm-topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
  width: min(100% - 32px, var(--pcm-max));
  margin-inline: auto;
}

.pcm-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: inherit;
  text-decoration: none;
  font-family: var(--pcm-display);
  font-size: 1.35rem;
  letter-spacing: 0.02em;
}

.pcm-brand img {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  box-shadow: 0 8px 18px rgba(18, 196, 162, 0.28);
}

.pcm-nav {
  display: none;
  gap: 18px;
  align-items: center;
}

.pcm-nav a {
  color: var(--pcm-ink);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
}

.pcm-nav a:hover {
  color: var(--pcm-mint);
}

.pcm-menu-btn {
  width: 44px;
  height: 44px;
  border: 1px solid var(--pcm-line);
  border-radius: 12px;
  background: var(--pcm-glass);
  display: grid;
  place-items: center;
  cursor: pointer;
}

.pcm-menu-btn span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--pcm-ink);
  margin: 3px 0;
  transition: 0.25s ease;
}

.pcm-menu-btn.is-active span:nth-child(1) {
  transform: translateY(5px) rotate(45deg);
}
.pcm-menu-btn.is-active span:nth-child(2) {
  opacity: 0;
}
.pcm-menu-btn.is-active span:nth-child(3) {
  transform: translateY(-5px) rotate(-45deg);
}

.pcm-menu-panel {
  display: none;
  width: min(100% - 32px, var(--pcm-max));
  margin: 0 auto;
  padding: 8px 0 16px;
}

.pcm-menu-panel.is-open {
  display: grid;
  gap: 10px;
}

.pcm-menu-panel a {
  text-decoration: none;
  color: var(--pcm-ink);
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.55);
}

.pcm-promo {
  position: relative;
  z-index: 1;
  padding: 12px 8px 8px;
  background: rgba(255, 255, 255, 0.45);
  border-bottom: 1px solid var(--pcm-line);
}

.pcm-ads {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 10px 8px;
  margin: 0 auto;
  padding: 0;
  max-width: var(--pcm-max);
}

.pcm-ads-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 70px;
  box-sizing: border-box;
  text-decoration: none;
  color: #666;
  flex: 0 0 70px;
}

.pcm-ads-item img {
  width: 65px !important;
  height: 65px !important;
  max-width: 65px !important;
  object-fit: cover;
  border-radius: 18px;
  box-shadow: 0 6px 18px rgba(24, 24, 24, 0.12);
  background: #fff;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.pcm-ads-item:hover img {
  transform: translateY(-4px) scale(1.04);
  box-shadow: 0 10px 24px rgba(24, 24, 24, 0.18);
}

.pcm-ads-item span {
  display: block;
  width: 100%;
  height: 16px;
  margin-top: 6px;
  font-size: 11px;
  line-height: 16px;
  text-align: center;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.pcm-hero {
  position: relative;
  padding: 36px 0 28px;
  overflow: hidden;
}

.pcm-hero-stage {
  position: relative;
  border-radius: 28px;
  padding: 36px 22px 42px;
  background:
    linear-gradient(145deg, rgba(16, 25, 37, 0.92), rgba(26, 111, 138, 0.88)),
    url("shot-comic-serial.jpg") center/cover;
  background-blend-mode: multiply;
  color: #fff;
  box-shadow: var(--pcm-shadow);
  isolation: isolate;
}

.pcm-hero-stage::after {
  content: "";
  position: absolute;
  inset: auto -20% -40% 40%;
  height: 220px;
  background: radial-gradient(circle, rgba(18, 196, 162, 0.45), transparent 70%);
  pointer-events: none;
  animation: pcm-glow 6s ease-in-out infinite alternate;
}

.pcm-kicker {
  display: inline-block;
  font-size: 0.82rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  opacity: 0.85;
  margin-bottom: 10px;
}

.pcm-hero h1 {
  font-family: var(--pcm-display);
  font-size: clamp(1.8rem, 6vw, 2.8rem);
  line-height: 1.25;
  margin: 0 0 14px;
  font-weight: 400;
  max-width: 16ch;
}

.pcm-hero-lead {
  margin: 0;
  max-width: 36ch;
  color: rgba(255, 255, 255, 0.88);
  font-size: 1rem;
}

.pcm-hero-orbit {
  margin-top: 28px;
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding-bottom: 4px;
  scrollbar-width: none;
}

.pcm-hero-orbit::-webkit-scrollbar {
  display: none;
}

.pcm-hero-orbit img {
  width: 92px;
  height: 148px;
  object-fit: cover;
  border-radius: 16px;
  border: 2px solid rgba(255, 255, 255, 0.35);
  flex: 0 0 auto;
  animation: pcm-float 4.5s ease-in-out infinite;
}

.pcm-hero-orbit img:nth-child(2) {
  animation-delay: 0.4s;
}
.pcm-hero-orbit img:nth-child(3) {
  animation-delay: 0.8s;
}

@keyframes pcm-float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

@keyframes pcm-glow {
  from {
    opacity: 0.55;
    transform: translateX(0);
  }
  to {
    opacity: 1;
    transform: translateX(-30px);
  }
}

.pcm-section {
  padding: 42px 0;
}

.pcm-section h2 {
  font-family: var(--pcm-display);
  font-size: clamp(1.45rem, 4.5vw, 2rem);
  margin: 0 0 12px;
  line-height: 1.35;
}

.pcm-section h3 {
  font-size: 1.12rem;
  margin: 22px 0 8px;
  color: var(--pcm-ocean);
}

.pcm-section p {
  margin: 0 0 14px;
  color: var(--pcm-mute);
}

.pcm-lead {
  font-size: 1.05rem;
  color: var(--pcm-ink);
}

.pcm-zig {
  display: grid;
  gap: 22px;
  align-items: center;
}

.pcm-media {
  position: relative;
  border-radius: var(--pcm-radius);
  overflow: hidden;
  box-shadow: var(--pcm-shadow);
  background: #fff;
}

.pcm-media img {
  width: 100%;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  max-height: 520px;
}

.pcm-media.landscape img {
  aspect-ratio: 16 / 10;
  max-height: 360px;
}

.pcm-glass-panel {
  background: var(--pcm-glass);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.65);
  border-radius: var(--pcm-radius);
  padding: 22px 18px;
  box-shadow: var(--pcm-shadow);
}

.pcm-card-rail {
  display: grid;
  gap: 14px;
}

.pcm-tile {
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--pcm-line);
  border-radius: 18px;
  padding: 18px 16px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.pcm-tile:hover {
  transform: translateY(-4px);
  box-shadow: var(--pcm-shadow);
}

.pcm-tile h3 {
  margin-top: 0;
  color: var(--pcm-ink);
}

.pcm-tile p {
  margin-bottom: 0;
}

.pcm-mosaic {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 12px;
}

.pcm-mosaic .pcm-media:first-child {
  grid-row: span 2;
}

.pcm-quote {
  border-left: 4px solid var(--pcm-mint);
  padding: 8px 0 8px 16px;
  margin: 18px 0;
  color: var(--pcm-ink);
  font-family: var(--pcm-display);
  font-size: 1.15rem;
}

.pcm-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 16px 0;
}

.pcm-chip {
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(18, 196, 162, 0.12);
  color: var(--pcm-ocean);
  font-size: 0.82rem;
}

.pcm-split-text {
  columns: 1;
  gap: 28px;
}

.pcm-crumb {
  padding: 18px 0 0;
  font-size: 0.88rem;
  color: var(--pcm-mute);
}

.pcm-crumb a {
  color: var(--pcm-ocean);
  text-decoration: none;
}

.pcm-crumb span {
  margin: 0 6px;
  opacity: 0.5;
}

.pcm-legal {
  padding-bottom: 60px;
}

.pcm-legal h1 {
  font-family: var(--pcm-display);
  font-size: clamp(1.6rem, 5vw, 2.2rem);
  margin: 10px 0 18px;
}

.pcm-legal h2 {
  font-size: 1.2rem;
  margin: 28px 0 10px;
  color: var(--pcm-ocean);
}

.pcm-footer {
  margin-top: 20px;
  padding: 36px 0 120px;
  border-top: 1px solid var(--pcm-line);
  background: rgba(16, 25, 37, 0.94);
  color: rgba(255, 255, 255, 0.78);
}

.pcm-footer a {
  color: #9be7d6;
  text-decoration: none;
}

.pcm-footer-grid {
  display: grid;
  gap: 22px;
}

.pcm-footer h3 {
  margin: 0 0 10px;
  color: #fff;
  font-size: 1rem;
}

.pcm-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}

.pcm-copy {
  margin-top: 22px;
  font-size: 0.85rem;
  opacity: 0.7;
}

.pcm-error {
  min-height: 70vh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 40px 0 100px;
}

.pcm-error h1 {
  font-family: var(--pcm-display);
  font-size: clamp(2.4rem, 10vw, 4rem);
  margin: 0 0 8px;
  background: linear-gradient(90deg, var(--pcm-mint), var(--pcm-coral));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.pcm-error p {
  color: var(--pcm-mute);
}

.pcm-btn-ghost {
  display: inline-flex;
  margin-top: 18px;
  padding: 12px 22px;
  border-radius: 999px;
  border: 1px solid var(--pcm-line);
  background: rgba(255, 255, 255, 0.7);
  color: var(--pcm-ink);
  text-decoration: none;
  font-weight: 600;
}

.pcm-dock {
  position: fixed;
  left: 0;
  right: 0;
  top: 0;
  z-index: 70;
  transform: translateY(-110%);
  opacity: 0;
  visibility: hidden;
  transition: transform 0.28s ease, opacity 0.2s ease, visibility 0.2s;
  pointer-events: none;
  padding: 0 8px;
}

.pcm-dock.is-show {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.pcm-dock-panel {
  width: min(100%, var(--pcm-max));
  margin: 6px auto 0;
  padding: 8px 6px 6px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(14px);
  border: 1px solid var(--pcm-line);
  box-shadow: 0 10px 28px rgba(16, 25, 37, 0.12);
}

.pcm-dock .pcm-ads {
  gap: 8px 4px;
}

.pcm-dock .pcm-ads-item {
  width: 70px;
  flex: 0 0 70px;
  max-width: 70px;
}

.pcm-dock .pcm-ads-item img {
  width: 56px;
  height: 56px;
  border-radius: 16px;
}

.pcm-dock .pcm-ads-item span {
  font-size: 10px;
  height: 14px;
  line-height: 14px;
  margin-top: 4px;
}

body.pcm-dock-open {
  scroll-padding-top: 160px;
}

@media (min-width: 768px) {
  .pcm-menu-btn {
    display: none;
  }

  .pcm-nav {
    display: flex;
  }

  .pcm-menu-panel {
    display: none !important;
  }

  .pcm-dock .pcm-ads-item img {
    width: 60px;
    height: 60px;
  }

  .pcm-hero-stage {
    padding: 56px 48px 50px;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 28px;
    align-items: end;
  }

  .pcm-hero-orbit {
    margin-top: 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    overflow: visible;
  }

  .pcm-hero-orbit img {
    width: 100%;
    height: 220px;
  }

  .pcm-zig {
    grid-template-columns: 0.95fr 1.05fr;
    gap: 36px;
  }

  .pcm-zig.reverse {
    grid-template-columns: 1.05fr 0.95fr;
  }

  .pcm-zig.reverse .pcm-media {
    order: 2;
  }

  .pcm-card-rail {
    grid-template-columns: repeat(3, 1fr);
  }

  .pcm-split-text {
    columns: 2;
  }

  .pcm-footer-grid {
    grid-template-columns: 1.4fr 1fr 1fr;
  }
}

@media (min-width: 1024px) {
  .pcm-card-rail.four {
    grid-template-columns: repeat(4, 1fr);
  }
}
