/* p-c.club · 哔咔漫画 — nebula ink theme */
@import url("https://fonts.googleapis.com/css2?family=Noto+Sans+SC:wght@400;500;700;900&family=ZCOOL+KuaiLe&display=swap");

:root {
  --pcl-ink: #141821;
  --pcl-ink-soft: #2a3142;
  --pcl-rose: #ff3d6e;
  --pcl-coral: #ff7a59;
  --pcl-amber: #ffc857;
  --pcl-mint: #4fd1c5;
  --pcl-fog: #f6f1ec;
  --pcl-paper: #fffaf6;
  --pcl-line: rgba(20, 24, 33, 0.08);
  --pcl-glass: rgba(255, 250, 246, 0.72);
  --pcl-shadow: 0 18px 50px rgba(20, 24, 33, 0.14);
  --pcl-radius: 22px;
  --pcl-max: 1080px;
  --pcl-nav-h: 64px;
  --pcl-dock-gap: 8px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Noto Sans SC", sans-serif;
  color: var(--pcl-ink);
  background:
    radial-gradient(1200px 600px at 10% -10%, rgba(255, 61, 110, 0.18), transparent 55%),
    radial-gradient(900px 500px at 95% 5%, rgba(79, 209, 197, 0.16), transparent 50%),
    radial-gradient(700px 420px at 50% 100%, rgba(255, 200, 87, 0.12), transparent 45%),
    linear-gradient(180deg, #fff7f2 0%, var(--pcl-fog) 40%, #eef4f8 100%);
  line-height: 1.75;
  min-height: 100vh;
  padding-bottom: 120px;
}

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

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

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

.pcl-wrap {
  width: min(100% - 32px, var(--pcl-max));
  margin-inline: auto;
}

/* —— top promo —— */
.pcl-promo {
  background: rgba(20, 24, 33, 0.92);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 10px 0 6px;
}

.pcl-promo-inner {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 10px 12px;
}

.pcl-promo-item {
  width: 70px;
  text-align: center;
}

.pcl-promo-item a {
  display: inline-block;
  border-radius: 16px;
  text-decoration: none;
}

.pcl-promo-item img {
  width: 62px;
  height: 62px;
  object-fit: cover;
  border-radius: 16px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.35);
  transition: transform 0.2s ease;
}

.pcl-promo-item img:hover {
  transform: translateY(-3px) scale(1.04);
}

.pcl-promo-item span {
  display: block;
  margin-top: 4px;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.72);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* —— nav —— */
.pcl-topbar {
  position: sticky;
  top: 0;
  z-index: 80;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  background: var(--pcl-glass);
  border-bottom: 1px solid var(--pcl-line);
  height: var(--pcl-nav-h);
}

.pcl-topbar-row {
  height: var(--pcl-nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

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

.pcl-brand img {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: 0 6px 16px rgba(255, 61, 110, 0.25);
}

.pcl-brand strong {
  font-family: "ZCOOL KuaiLe", "Noto Sans SC", sans-serif;
  font-size: 1.35rem;
  letter-spacing: 0.04em;
  font-weight: 400;
}

.pcl-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
  align-items: center;
}

.pcl-nav a {
  color: var(--pcl-ink-soft);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
  padding: 6px 2px;
  position: relative;
}

.pcl-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--pcl-rose), var(--pcl-amber));
  transition: width 0.25s ease;
}

.pcl-nav a:hover::after,
.pcl-nav a.is-on::after {
  width: 100%;
}

.pcl-menu-btn {
  display: none;
  border: 0;
  background: var(--pcl-ink);
  color: #fff;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  cursor: pointer;
  font-size: 1.1rem;
}

/* —— sticky download dock —— */
.pcl-dock {
  position: sticky;
  top: var(--pcl-nav-h);
  z-index: 70;
  display: none;
  background: rgba(255, 250, 246, 0.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--pcl-line);
  padding: 8px 0;
}

.pcl-dock.is-show {
  display: block;
  animation: pcl-slide-down 0.28s ease;
}

@keyframes pcl-slide-down {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.pcl-dock-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--pcl-dock-gap);
  justify-items: center;
}

.pcl-dock-grid a {
  text-decoration: none;
  text-align: center;
  width: 100%;
  max-width: 72px;
}

.pcl-dock-grid img {
  width: 48px;
  height: 48px;
  margin: 0 auto;
  border-radius: 14px;
  object-fit: cover;
  box-shadow: 0 4px 12px rgba(20, 24, 33, 0.12);
}

.pcl-dock-grid span {
  display: block;
  font-size: 10px;
  color: var(--pcl-ink-soft);
  margin-top: 3px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

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

/* —— hero —— */
.pcl-hero {
  position: relative;
  overflow: hidden;
  padding: 42px 0 28px;
}

.pcl-hero::before {
  content: "";
  position: absolute;
  inset: 8% -20% auto auto;
  width: 340px;
  height: 340px;
  background: radial-gradient(circle, rgba(255, 61, 110, 0.28), transparent 70%);
  filter: blur(8px);
  pointer-events: none;
  animation: pcl-pulse 6s ease-in-out infinite;
}

@keyframes pcl-pulse {
  0%,
  100% {
    transform: scale(1);
    opacity: 0.7;
  }
  50% {
    transform: scale(1.12);
    opacity: 1;
  }
}

.pcl-hero-grid {
  display: grid;
  gap: 28px;
  align-items: center;
}

.pcl-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  color: var(--pcl-ink-soft);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.pcl-eyebrow i {
  width: 28px;
  height: 3px;
  border-radius: 99px;
  background: linear-gradient(90deg, var(--pcl-rose), var(--pcl-mint));
}

.pcl-hero h1 {
  font-family: "ZCOOL KuaiLe", "Noto Sans SC", sans-serif;
  font-size: clamp(1.9rem, 6vw, 2.85rem);
  line-height: 1.25;
  margin: 0 0 14px;
  font-weight: 400;
  background: linear-gradient(120deg, var(--pcl-ink) 20%, var(--pcl-rose) 70%, var(--pcl-coral));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.pcl-hero-lead {
  font-size: 1.02rem;
  color: var(--pcl-ink-soft);
  margin: 0 0 18px;
  max-width: 36em;
}

.pcl-hero-visual {
  position: relative;
  justify-self: center;
}

.pcl-phone {
  width: min(260px, 72vw);
  border-radius: 28px;
  overflow: hidden;
  box-shadow: var(--pcl-shadow);
  border: 3px solid rgba(255, 255, 255, 0.85);
  transform: rotate(-4deg);
  animation: pcl-float 4.5s ease-in-out infinite;
}

.pcl-phone img {
  width: 100%;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  object-position: top;
}

@keyframes pcl-float {
  0%,
  100% {
    transform: rotate(-4deg) translateY(0);
  }
  50% {
    transform: rotate(-2deg) translateY(-10px);
  }
}

.pcl-orb {
  position: absolute;
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: linear-gradient(145deg, var(--pcl-amber), var(--pcl-coral));
  filter: blur(2px);
  opacity: 0.55;
  right: -18px;
  bottom: 30px;
  z-index: -1;
  animation: pcl-spin-soft 12s linear infinite;
}

@keyframes pcl-spin-soft {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

/* —— sections —— */
.pcl-section {
  padding: 36px 0;
}

.pcl-section h2 {
  font-family: "ZCOOL KuaiLe", "Noto Sans SC", sans-serif;
  font-size: clamp(1.45rem, 4vw, 1.9rem);
  margin: 0 0 12px;
  font-weight: 400;
  color: var(--pcl-ink);
}

.pcl-section h3 {
  font-size: 1.12rem;
  margin: 22px 0 8px;
  color: var(--pcl-ink);
}

.pcl-section p {
  margin: 0 0 14px;
  color: var(--pcl-ink-soft);
}

.pcl-panel {
  background: rgba(255, 255, 255, 0.66);
  border: 1px solid var(--pcl-line);
  border-radius: var(--pcl-radius);
  padding: 22px 20px;
  box-shadow: 0 10px 30px rgba(20, 24, 33, 0.05);
}

.pcl-split {
  display: grid;
  gap: 20px;
  align-items: center;
}

.pcl-split.is-flip .pcl-shot {
  order: -1;
}

.pcl-shot {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--pcl-shadow);
  border: 2px solid rgba(255, 255, 255, 0.9);
}

.pcl-shot img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: top;
  transition: transform 0.45s ease;
}

.pcl-shot:hover img {
  transform: scale(1.04);
}

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

.pcl-card {
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.92), rgba(255, 240, 235, 0.75));
  border: 1px solid var(--pcl-line);
  border-radius: 18px;
  padding: 18px 16px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.pcl-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--pcl-shadow);
}

.pcl-card h3 {
  margin-top: 0;
  font-size: 1.05rem;
}

.pcl-chip-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 14px 0;
}

.pcl-chip {
  font-size: 0.78rem;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255, 61, 110, 0.1);
  color: var(--pcl-rose);
  border: 1px solid rgba(255, 61, 110, 0.18);
}

.pcl-rank {
  display: grid;
  gap: 10px;
}

.pcl-rank-item {
  display: grid;
  grid-template-columns: 42px 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 12px 14px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid var(--pcl-line);
}

.pcl-rank-item b {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--pcl-rose), var(--pcl-coral));
  color: #fff;
  font-size: 0.9rem;
}

.pcl-cta-band {
  margin: 28px 0;
  padding: 28px 22px;
  border-radius: 24px;
  background:
    linear-gradient(125deg, rgba(20, 24, 33, 0.94), rgba(42, 49, 66, 0.9)),
    linear-gradient(90deg, var(--pcl-rose), var(--pcl-mint));
  color: #fff;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.pcl-cta-band::after {
  content: "";
  position: absolute;
  width: 180px;
  height: 180px;
  right: -40px;
  top: -50px;
  background: radial-gradient(circle, rgba(255, 200, 87, 0.35), transparent 70%);
}

.pcl-cta-band h2,
.pcl-cta-band p {
  color: #fff;
  position: relative;
  z-index: 1;
}

.pcl-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 8px;
  padding: 12px 22px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--pcl-rose), var(--pcl-coral));
  color: #fff !important;
  text-decoration: none !important;
  font-weight: 700;
  box-shadow: 0 10px 24px rgba(255, 61, 110, 0.35);
  position: relative;
  z-index: 1;
  transition: transform 0.2s ease;
}

.pcl-btn:hover {
  transform: translateY(-2px) scale(1.02);
}

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

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

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

.pcl-mosaic figcaption {
  padding: 10px 12px 12px;
  font-size: 0.86rem;
  color: var(--pcl-ink-soft);
}

.pcl-quote {
  border-left: 4px solid var(--pcl-mint);
  padding: 8px 0 8px 16px;
  margin: 18px 0;
  color: var(--pcl-ink);
  font-size: 1.02rem;
}

.pcl-breadcrumb {
  padding: 16px 0 0;
  font-size: 0.86rem;
  color: var(--pcl-ink-soft);
}

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

.pcl-breadcrumb a:hover {
  color: var(--pcl-rose);
}

.pcl-legal {
  padding: 20px 0 40px;
}

.pcl-legal .pcl-panel {
  padding: 28px 22px;
}

.pcl-legal h1 {
  font-family: "ZCOOL KuaiLe", "Noto Sans SC", sans-serif;
  font-size: clamp(1.6rem, 4vw, 2.1rem);
  margin: 0 0 8px;
  font-weight: 400;
}

.pcl-legal .pcl-meta {
  font-size: 0.86rem;
  color: #7a8294;
  margin-bottom: 22px;
}

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

.pcl-error h1 {
  font-family: "ZCOOL KuaiLe", "Noto Sans SC", sans-serif;
  font-size: clamp(2.4rem, 8vw, 4rem);
  margin: 0 0 10px;
  background: linear-gradient(120deg, var(--pcl-rose), var(--pcl-amber));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.pcl-footer {
  margin-top: 40px;
  padding: 28px 0 20px;
  border-top: 1px solid var(--pcl-line);
  background: rgba(20, 24, 33, 0.04);
}

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

.pcl-footer h3 {
  margin: 0 0 8px;
  font-size: 1rem;
}

.pcl-footer a {
  display: inline-block;
  margin: 4px 10px 4px 0;
  color: var(--pcl-ink-soft);
  text-decoration: none;
  font-size: 0.9rem;
}

.pcl-footer a:hover {
  color: var(--pcl-rose);
}

.pcl-copy {
  margin-top: 18px;
  font-size: 0.82rem;
  color: #7a8294;
  text-align: center;
}

@media (min-width: 720px) {
  .pcl-hero-grid {
    grid-template-columns: 1.15fr 0.85fr;
  }

  .pcl-split {
    grid-template-columns: 1fr 1fr;
  }

  .pcl-split.is-flip .pcl-shot {
    order: 0;
  }

  .pcl-split.is-flip .pcl-copy-block {
    order: -1;
  }

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

  .pcl-mosaic {
    grid-template-columns: repeat(3, 1fr);
  }

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

@media (max-width: 719px) {
  .pcl-menu-btn {
    display: grid;
    place-items: center;
  }

  .pcl-nav {
    display: none;
    position: absolute;
    left: 16px;
    right: 16px;
    top: calc(var(--pcl-nav-h) + 6px);
    flex-direction: column;
    align-items: stretch;
    background: rgba(255, 250, 246, 0.98);
    border: 1px solid var(--pcl-line);
    border-radius: 16px;
    padding: 12px;
    box-shadow: var(--pcl-shadow);
  }

  .pcl-nav.is-open {
    display: flex;
  }
}
