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

:root {
  --pkq-ink: #1a1520;
  --pkq-ink-soft: #3d3448;
  --pkq-paper: #fff8fb;
  --pkq-blush: #ffe4ef;
  --pkq-rose: #e11d68;
  --pkq-rose-deep: #be185d;
  --pkq-teal: #0f766e;
  --pkq-teal-soft: #14b8a6;
  --pkq-coral: #fb7185;
  --pkq-mist: #f0fdfa;
  --pkq-line: rgba(26, 21, 32, 0.08);
  --pkq-glass: rgba(255, 255, 255, 0.72);
  --pkq-shadow: 0 18px 50px rgba(190, 24, 93, 0.12);
  --pkq-radius: 22px;
  --pkq-nav-h: 64px;
  --pkq-promo-gap: 0px;
  --pkq-font-display: "ZCOOL XiaoWei", "Noto Sans SC", sans-serif;
  --pkq-font-body: "Noto Sans SC", sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--pkq-font-body);
  color: var(--pkq-ink);
  background:
    radial-gradient(1200px 600px at 10% -10%, #ffe4ef 0%, transparent 55%),
    radial-gradient(900px 500px at 95% 5%, #ccfbf1 0%, transparent 50%),
    linear-gradient(180deg, #fff8fb 0%, #f7fffd 48%, #fff5f8 100%);
  line-height: 1.85;
  min-height: 100vh;
  overflow-x: hidden;
}

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

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

a:hover {
  color: var(--pkq-rose-deep);
}

.pkq-skip {
  position: absolute;
  left: -9999px;
}

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

/* Top promo strip */
.pkq-promo {
  background: linear-gradient(90deg, #fff0f6, #ecfdf5);
  border-bottom: 1px solid var(--pkq-line);
  padding: 10px 0 6px;
}

.pkq-promo-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 16px;
}

.pkq-promo-label {
  font-size: 12px;
  color: var(--pkq-ink-soft);
  margin: 0 0 6px;
  letter-spacing: 0.08em;
}

#pkq-ads,
#pkq-sticky-ads {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 8px 0;
  background: transparent;
}

#pkq-ads > div,
#pkq-sticky-ads > div {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 70px;
  box-sizing: border-box;
}

#pkq-ads img,
#pkq-sticky-ads img {
  width: 65px !important;
  height: 65px !important;
  max-width: 65px !important;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 12px;
  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);
  flex-shrink: 0;
}

#pkq-ads a,
#pkq-sticky-ads a {
  display: inline-block;
  text-decoration: none;
  border-radius: 15px;
}

#pkq-ads img:hover,
#pkq-sticky-ads img:hover {
  transform: translateY(-4px) scale(1.04);
  box-shadow: 0 10px 24px rgba(24, 24, 24, 0.18);
}

#pkq-ads .caption,
#pkq-sticky-ads .caption {
  height: 15px;
  font-size: 11px;
  color: #666;
  text-align: center;
  max-width: 100px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Sticky download rail — always 4 icons per row */
.pkq-sticky-rail {
  position: sticky;
  top: var(--pkq-nav-h);
  z-index: 40;
  background: rgba(255, 248, 251, 0.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--pkq-line);
  padding: 8px 12px 6px;
  transform: translateY(-120%);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.28s ease, opacity 0.28s ease;
}

.pkq-sticky-rail.is-visible {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.pkq-sticky-rail #pkq-sticky-ads {
  max-width: 1120px;
  margin: 0 auto;
}

.pkq-sticky-rail #pkq-sticky-ads > div {
  flex: 0 0 25%;
  width: 25%;
  max-width: 25%;
}

/* Mobile: top promo icons match floating rail (4 per row, same cell layout) */
@media (max-width: 899px) {
  #pkq-ads > div {
    flex: 0 0 25%;
    width: 25%;
    max-width: 25%;
  }
}

/* Navigation */
.pkq-topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--pkq-nav-h);
  display: flex;
  align-items: center;
  backdrop-filter: blur(16px);
  background: var(--pkq-glass);
  border-bottom: 1px solid var(--pkq-line);
}

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

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

.pkq-brand img {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: 0 8px 20px rgba(225, 29, 104, 0.25);
}

.pkq-brand span {
  font-family: var(--pkq-font-display);
  font-size: 1.35rem;
  letter-spacing: 0.04em;
}

.pkq-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
  justify-content: flex-end;
}

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

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

.pkq-nav a:hover,
.pkq-nav a.is-active {
  color: var(--pkq-rose-deep);
}

.pkq-nav a:hover::after,
.pkq-nav a.is-active::after {
  width: 100%;
}

.pkq-menu-btn {
  display: none;
  border: 1px solid var(--pkq-line);
  background: #fff;
  border-radius: 10px;
  padding: 8px 10px;
  cursor: pointer;
}

@media (max-width: 760px) {
  .pkq-menu-btn {
    display: inline-flex;
  }

  .pkq-nav {
    display: none;
    position: absolute;
    top: var(--pkq-nav-h);
    left: 0;
    right: 0;
    background: #fff;
    padding: 14px 18px 18px;
    flex-direction: column;
    border-bottom: 1px solid var(--pkq-line);
    box-shadow: var(--pkq-shadow);
  }

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

/* Hero — brand first, no download CTA */
.pkq-hero {
  position: relative;
  overflow: hidden;
  padding: 42px 0 28px;
}

.pkq-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(120deg, rgba(255, 228, 239, 0.85), transparent 45%),
    linear-gradient(300deg, rgba(204, 251, 241, 0.7), transparent 40%);
  pointer-events: none;
}

.pkq-hero-orbit {
  position: absolute;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(251, 113, 133, 0.35), transparent 70%);
  right: -40px;
  top: 20px;
  animation: pkq-float 7s ease-in-out infinite;
  pointer-events: none;
}

.pkq-hero-orbit.alt {
  width: 180px;
  height: 180px;
  left: -30px;
  top: 180px;
  right: auto;
  background: radial-gradient(circle, rgba(20, 184, 166, 0.28), transparent 70%);
  animation-delay: -2.5s;
}

@keyframes pkq-float {
  0%,
  100% {
    transform: translateY(0) scale(1);
  }
  50% {
    transform: translateY(-16px) scale(1.05);
  }
}

.pkq-shell {
  width: min(1120px, calc(100% - 28px));
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

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

@media (min-width: 880px) {
  .pkq-hero-grid {
    grid-template-columns: 1.1fr 0.9fr;
  }
}

.pkq-kicker {
  display: inline-block;
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  color: var(--pkq-teal);
  margin-bottom: 10px;
  font-weight: 700;
}

.pkq-hero h1 {
  font-family: var(--pkq-font-display);
  font-size: clamp(1.9rem, 5vw, 3rem);
  line-height: 1.25;
  margin: 0 0 14px;
  color: var(--pkq-ink);
}

.pkq-hero-lead {
  font-size: 1.05rem;
  color: var(--pkq-ink-soft);
  margin: 0;
  max-width: 34em;
}

.pkq-hero-visual {
  position: relative;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: var(--pkq-shadow);
  border: 1px solid rgba(255, 255, 255, 0.7);
  transform: rotate(-1.5deg);
  animation: pkq-tilt 8s ease-in-out infinite;
}

@keyframes pkq-tilt {
  0%,
  100% {
    transform: rotate(-1.5deg) translateY(0);
  }
  50% {
    transform: rotate(1deg) translateY(-8px);
  }
}

.pkq-hero-visual img {
  width: 100%;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  max-height: 520px;
}

.pkq-hero-glow {
  position: absolute;
  inset: auto 12% -20% 12%;
  height: 40%;
  background: linear-gradient(transparent, rgba(225, 29, 104, 0.35));
  filter: blur(20px);
  pointer-events: none;
}

/* Breadcrumb */
.pkq-crumb {
  width: min(1120px, calc(100% - 28px));
  margin: 18px auto 0;
  font-size: 0.88rem;
  color: var(--pkq-ink-soft);
}

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

.pkq-crumb a:hover {
  color: var(--pkq-rose);
}

.pkq-crumb span {
  margin: 0 6px;
  opacity: 0.45;
}

/* Sections */
.pkq-section {
  padding: 48px 0;
}

.pkq-section + .pkq-section {
  border-top: 1px dashed rgba(190, 24, 93, 0.12);
}

.pkq-section h2 {
  font-family: var(--pkq-font-display);
  font-size: clamp(1.5rem, 3.4vw, 2.1rem);
  margin: 0 0 12px;
  line-height: 1.35;
}

.pkq-section h3 {
  font-size: 1.15rem;
  margin: 22px 0 8px;
  color: var(--pkq-rose-deep);
}

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

.pkq-lead {
  font-size: 1.02rem;
  max-width: 52em;
}

/* Split media */
.pkq-split {
  display: grid;
  gap: 24px;
  align-items: center;
}

@media (min-width: 860px) {
  .pkq-split {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }

  .pkq-split.is-flip .pkq-media {
    order: 2;
  }
}

.pkq-media {
  border-radius: var(--pkq-radius);
  overflow: hidden;
  box-shadow: var(--pkq-shadow);
  border: 1px solid rgba(255, 255, 255, 0.8);
  background: #fff;
  position: relative;
}

.pkq-media img {
  width: 100%;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  max-height: 560px;
  margin: 0 auto;
}

.pkq-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 70%, rgba(26, 21, 32, 0.12));
  pointer-events: none;
}

/* Cards */
.pkq-card-rail {
  display: grid;
  gap: 16px;
  margin-top: 22px;
}

@media (min-width: 720px) {
  .pkq-card-rail {
    grid-template-columns: repeat(3, 1fr);
  }
}

.pkq-card {
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(10px);
  border: 1px solid var(--pkq-line);
  border-radius: 20px;
  padding: 20px 18px;
  box-shadow: 0 10px 30px rgba(15, 118, 110, 0.06);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

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

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

.pkq-card p {
  margin-bottom: 0;
  font-size: 0.95rem;
}

.pkq-card-icon {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  margin-bottom: 12px;
  background: linear-gradient(135deg, #fecdd3, #99f6e4);
  color: var(--pkq-ink);
  font-weight: 900;
  font-size: 0.85rem;
}

/* Mosaic */
.pkq-mosaic {
  display: grid;
  gap: 14px;
  margin-top: 20px;
}

@media (min-width: 800px) {
  .pkq-mosaic {
    grid-template-columns: 1.2fr 1fr 1fr;
    grid-template-rows: auto auto;
  }

  .pkq-mosaic .pkq-tile:first-child {
    grid-row: span 2;
  }
}

.pkq-tile {
  background: #fff;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--pkq-line);
  display: flex;
  flex-direction: column;
}

.pkq-tile img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
}

.pkq-tile figcaption {
  padding: 12px 14px 16px;
  font-size: 0.92rem;
  color: var(--pkq-ink-soft);
}

/* Text blocks */
.pkq-prose {
  max-width: 70ch;
}

.pkq-prose p {
  text-align: justify;
}

.pkq-quote {
  margin: 24px 0;
  padding: 20px 22px;
  border-left: 4px solid var(--pkq-rose);
  background: linear-gradient(90deg, rgba(255, 228, 239, 0.7), transparent);
  border-radius: 0 16px 16px 0;
  font-family: var(--pkq-font-display);
  font-size: 1.15rem;
  color: var(--pkq-ink);
}

/* CTA band — download links only here / body, not hero/nav */
.pkq-cta-band {
  margin: 10px 0 0;
  padding: 28px 22px;
  border-radius: 24px;
  background:
    linear-gradient(135deg, rgba(225, 29, 104, 0.95), rgba(15, 118, 110, 0.92));
  color: #fff;
  text-align: center;
  box-shadow: var(--pkq-shadow);
  position: relative;
  overflow: hidden;
}

.pkq-cta-band::before {
  content: "";
  position: absolute;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  right: -40px;
  top: -60px;
  animation: pkq-float 6s ease-in-out infinite;
}

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

.pkq-cta-band p {
  opacity: 0.92;
  max-width: 40em;
  margin: 0 auto 18px;
}

.pkq-btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  position: relative;
  z-index: 1;
}

.pkq-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 20px;
  border-radius: 999px;
  background: #fff;
  color: var(--pkq-rose-deep);
  text-decoration: none;
  font-weight: 700;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.pkq-btn:hover {
  transform: translateY(-2px);
  color: var(--pkq-teal);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.16);
}

.pkq-btn.is-ghost {
  background: transparent;
  color: #fff;
  border: 1.5px solid rgba(255, 255, 255, 0.65);
  box-shadow: none;
}

.pkq-btn.is-ghost:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

/* Timeline */
.pkq-timeline {
  display: grid;
  gap: 16px;
  margin-top: 18px;
}

.pkq-step {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 14px;
  align-items: start;
}

.pkq-step-num {
  width: 48px;
  height: 48px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, var(--pkq-rose), var(--pkq-coral));
  color: #fff;
  font-weight: 800;
}

/* Legal pages */
.pkq-legal {
  padding: 28px 0 60px;
}

.pkq-legal h1 {
  font-family: var(--pkq-font-display);
  font-size: clamp(1.7rem, 4vw, 2.4rem);
  margin: 8px 0 16px;
}

.pkq-legal h2 {
  font-size: 1.25rem;
  margin: 28px 0 10px;
  color: var(--pkq-rose-deep);
}

.pkq-legal ul {
  padding-left: 1.2em;
  color: var(--pkq-ink-soft);
}

.pkq-legal li {
  margin-bottom: 8px;
}

/* Error pages */
.pkq-error {
  min-height: calc(100vh - 200px);
  display: grid;
  place-items: center;
  text-align: center;
  padding: 40px 16px;
}

.pkq-error-code {
  font-family: var(--pkq-font-display);
  font-size: clamp(4rem, 16vw, 8rem);
  line-height: 1;
  background: linear-gradient(120deg, var(--pkq-rose), var(--pkq-teal));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin: 0;
  animation: pkq-float 5s ease-in-out infinite;
}

.pkq-error h1 {
  font-family: var(--pkq-font-display);
  margin: 8px 0 12px;
}

.pkq-error p {
  color: var(--pkq-ink-soft);
  max-width: 28em;
  margin: 0 auto 20px;
}

/* Footer */
.pkq-footer {
  margin-top: 40px;
  padding: 36px 0 28px;
  background: linear-gradient(180deg, transparent, rgba(255, 228, 239, 0.55));
  border-top: 1px solid var(--pkq-line);
}

.pkq-footer-grid {
  display: grid;
  gap: 22px;
}

@media (min-width: 760px) {
  .pkq-footer-grid {
    grid-template-columns: 1.4fr 1fr 1fr;
  }
}

.pkq-footer h3 {
  margin: 0 0 10px;
  font-size: 1rem;
  font-family: var(--pkq-font-display);
}

.pkq-footer a {
  display: block;
  color: var(--pkq-ink-soft);
  text-decoration: none;
  margin-bottom: 6px;
  font-size: 0.92rem;
}

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

.pkq-copy {
  margin-top: 24px;
  padding-top: 16px;
  border-top: 1px solid var(--pkq-line);
  font-size: 0.85rem;
  color: var(--pkq-ink-soft);
  text-align: center;
}

/* Reveal animation */
.pkq-reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.pkq-reveal.is-in {
  opacity: 1;
  transform: none;
}

/* Utility */
.pkq-tagline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid var(--pkq-line);
  font-size: 0.82rem;
  color: var(--pkq-ink-soft);
  margin-bottom: 14px;
}

.pkq-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--pkq-teal-soft);
  box-shadow: 0 0 0 4px rgba(20, 184, 166, 0.2);
  animation: pkq-pulse 2s ease infinite;
}

@keyframes pkq-pulse {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.2);
  }
}

.pkq-inline-dl {
  margin: 18px 0;
}

body.has-sticky-rail {
  scroll-padding-top: calc(var(--pkq-nav-h) + 90px);
}
