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

:root {
  --pq-ink: #0a1628;
  --pq-deep: #12263f;
  --pq-panel: rgba(18, 42, 68, 0.72);
  --pq-line: rgba(125, 211, 252, 0.22);
  --pq-foam: #eef7ff;
  --pq-mist: #9fb6cc;
  --pq-coral: #ff6b4a;
  --pq-coral-soft: #ff8f70;
  --pq-aqua: #3ecfcf;
  --pq-gold: #f0c14b;
  --pq-radius: 22px;
  --pq-shadow: 0 18px 48px rgba(4, 12, 28, 0.45);
  --pq-max: 1080px;
  --pq-font: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  --pq-display: "ZCOOL QingKe HuangYou", "Noto Sans SC", cursive;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--pq-font);
  color: var(--pq-foam);
  background:
    radial-gradient(ellipse 80% 50% at 10% -10%, rgba(62, 207, 207, 0.18), transparent 55%),
    radial-gradient(ellipse 70% 45% at 95% 5%, rgba(255, 107, 74, 0.16), transparent 50%),
    linear-gradient(180deg, #07101d 0%, #0a1628 40%, #0d1c33 100%);
  min-height: 100vh;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

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

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

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

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

.pq-promo-shell {
  background: rgba(7, 16, 29, 0.88);
  border-bottom: 1px solid var(--pq-line);
  backdrop-filter: blur(14px);
}

.pq-promo-rail {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 8px;
  padding: 10px 8px 12px;
}

.pq-ad-chip {
  width: calc(25% - 8px);
  max-width: 78px;
  text-decoration: none;
  color: var(--pq-mist);
  text-align: center;
  font-size: 11px;
  line-height: 1.3;
}

.pq-ad-chip img {
  width: 56px;
  height: 56px;
  margin: 0 auto 6px;
  border-radius: 16px;
  object-fit: cover;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.28);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.pq-ad-chip span {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.pq-ad-chip:hover img {
  transform: translateY(-3px) scale(1.04);
  box-shadow: 0 12px 24px rgba(62, 207, 207, 0.28);
}

@media (min-width: 768px) {
  .pq-ad-chip {
    width: calc(12.5% - 8px);
  }
}

.pq-topbar {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(10, 22, 40, 0.82);
  border-bottom: 1px solid var(--pq-line);
  backdrop-filter: blur(16px);
}

.pq-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 64px;
}

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

.pq-brand img {
  width: 40px;
  height: 40px;
  border-radius: 12px;
}

.pq-brand strong {
  font-family: var(--pq-display);
  font-size: 1.35rem;
  letter-spacing: 0.04em;
  font-weight: 400;
}

.pq-nav-links {
  display: none;
  gap: 8px 18px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.pq-nav-links a {
  color: var(--pq-mist);
  text-decoration: none;
  font-size: 0.92rem;
}

.pq-nav-links a:hover,
.pq-nav-links a.is-current {
  color: var(--pq-foam);
}

.pq-nav-toggle {
  width: 42px;
  height: 42px;
  border: 1px solid var(--pq-line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  display: grid;
  place-items: center;
  gap: 5px;
  cursor: pointer;
}

.pq-nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--pq-foam);
  transition: 0.2s ease;
}

.pq-nav-toggle.is-active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.pq-nav-toggle.is-active span:nth-child(2) {
  opacity: 0;
}
.pq-nav-toggle.is-active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.pq-nav-links.is-open {
  display: flex;
  flex-direction: column;
  position: absolute;
  left: 14px;
  right: 14px;
  top: 68px;
  padding: 14px;
  background: rgba(12, 28, 48, 0.96);
  border: 1px solid var(--pq-line);
  border-radius: 16px;
  box-shadow: var(--pq-shadow);
}

@media (min-width: 860px) {
  .pq-nav-toggle {
    display: none;
  }
  .pq-nav-links {
    display: flex;
    flex-direction: row;
    position: static;
    background: none;
    border: 0;
    padding: 0;
    box-shadow: none;
  }
}

.pq-sticky-bar {
  position: sticky;
  top: 64px;
  z-index: 35;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
  background: rgba(8, 18, 34, 0.94);
  border-bottom: 1px solid transparent;
  transition: max-height 0.28s ease, opacity 0.28s ease;
}

.pq-sticky-bar.is-visible {
  max-height: 220px;
  opacity: 1;
  pointer-events: auto;
  border-bottom-color: var(--pq-line);
}

.pq-sticky-inner {
  padding: 8px 0 10px;
}

.pq-sticky-label {
  text-align: center;
  font-size: 12px;
  color: var(--pq-mist);
  margin: 0 0 6px;
}

body.pq-sticky-on {
  scroll-padding-top: 180px;
}

.pq-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: min(92vh, 760px);
  display: grid;
  align-items: end;
  padding: 48px 0 56px;
}

.pq-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(7, 16, 29, 0.25) 0%, rgba(7, 16, 29, 0.55) 45%, rgba(7, 16, 29, 0.92) 100%),
    url("shot-comic-serial.jpg") center / cover no-repeat;
  z-index: -2;
  animation: pqDrift 18s ease-in-out infinite alternate;
}

.pq-hero::after {
  content: "";
  position: absolute;
  inset: auto -20% -30% 40%;
  height: 60%;
  background: radial-gradient(circle, rgba(255, 107, 74, 0.28), transparent 65%);
  z-index: -1;
  animation: pqPulse 6s ease-in-out infinite;
}

@keyframes pqDrift {
  from {
    transform: scale(1.04) translateY(0);
  }
  to {
    transform: scale(1.1) translateY(-2%);
  }
}

@keyframes pqPulse {
  0%,
  100% {
    opacity: 0.55;
  }
  50% {
    opacity: 1;
  }
}

.pq-hero-kicker {
  display: inline-block;
  font-size: 0.82rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--pq-aqua);
  margin-bottom: 12px;
}

.pq-hero h1 {
  font-family: var(--pq-display);
  font-size: clamp(2.4rem, 8vw, 4.2rem);
  line-height: 1.15;
  margin: 0 0 16px;
  font-weight: 400;
  text-shadow: 0 10px 40px rgba(0, 0, 0, 0.45);
}

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

.pq-crumb {
  padding: 18px 0 8px;
  font-size: 0.88rem;
  color: var(--pq-mist);
}

.pq-crumb a {
  color: var(--pq-mist);
  text-decoration: none;
}

.pq-crumb a:hover {
  color: var(--pq-aqua);
}

.pq-crumb span {
  opacity: 0.55;
  margin: 0 6px;
}

.pq-section {
  padding: 42px 0;
}

.pq-section h2 {
  font-family: var(--pq-display);
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  margin: 0 0 14px;
  font-weight: 400;
  line-height: 1.3;
}

.pq-section h3 {
  font-size: 1.15rem;
  margin: 28px 0 10px;
  color: var(--pq-gold);
}

.pq-prose p {
  margin: 0 0 1em;
  color: #d7e6f5;
}

.pq-prose p:last-child {
  margin-bottom: 0;
}

.pq-split {
  display: grid;
  gap: 22px;
  align-items: center;
}

@media (min-width: 860px) {
  .pq-split {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 36px;
  }
  .pq-split.is-flip > :first-child {
    order: 2;
  }
}

.pq-frame {
  position: relative;
  border-radius: 28px;
  overflow: hidden;
  border: 1px solid var(--pq-line);
  box-shadow: var(--pq-shadow);
  background: #081525;
}

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

.pq-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(7, 16, 29, 0.35));
  pointer-events: none;
}

.pq-glass {
  background: var(--pq-panel);
  border: 1px solid var(--pq-line);
  border-radius: var(--pq-radius);
  padding: 22px;
  backdrop-filter: blur(12px);
  box-shadow: var(--pq-shadow);
}

.pq-tile-grid {
  display: grid;
  gap: 16px;
}

@media (min-width: 700px) {
  .pq-tile-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 980px) {
  .pq-tile-grid.is-three {
    grid-template-columns: repeat(3, 1fr);
  }
}

.pq-tile {
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
  border: 1px solid var(--pq-line);
  border-radius: 20px;
  padding: 20px;
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.pq-tile:hover {
  transform: translateY(-4px);
  border-color: rgba(62, 207, 207, 0.45);
}

.pq-tile h3 {
  margin-top: 0;
  color: var(--pq-foam);
}

.pq-tile p {
  margin: 0;
  color: var(--pq-mist);
  font-size: 0.95rem;
}

.pq-mosaic {
  display: grid;
  gap: 14px;
}

@media (min-width: 760px) {
  .pq-mosaic {
    grid-template-columns: 1.2fr 1fr;
  }
}

.pq-mosaic figure {
  margin: 0;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--pq-line);
  background: #081525;
}

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

.pq-mosaic figure:hover img {
  transform: scale(1.04);
}

.pq-mosaic figcaption {
  padding: 10px 12px 12px;
  font-size: 0.85rem;
  color: var(--pq-mist);
}

.pq-quote {
  border-left: 3px solid var(--pq-coral);
  padding: 8px 0 8px 18px;
  color: #cfe3f7;
  font-size: 1.05rem;
}

.pq-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}

.pq-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 20px;
  border-radius: 999px;
  border: 0;
  font: inherit;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.pq-btn-primary {
  background: linear-gradient(135deg, var(--pq-coral), #ff8a4c);
  color: #1a0d08;
  box-shadow: 0 10px 28px rgba(255, 107, 74, 0.35);
}

.pq-btn-ghost {
  background: transparent;
  color: var(--pq-foam);
  border: 1px solid var(--pq-line);
}

.pq-btn:hover {
  transform: translateY(-2px);
  color: inherit;
}

.pq-legal {
  padding-bottom: 64px;
}

.pq-legal .pq-glass + .pq-glass {
  margin-top: 16px;
}

.pq-error {
  min-height: 70vh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 48px 0;
}

.pq-error h1 {
  font-family: var(--pq-display);
  font-size: clamp(3rem, 12vw, 6rem);
  margin: 0 0 8px;
  background: linear-gradient(90deg, var(--pq-aqua), var(--pq-coral));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.pq-footer {
  border-top: 1px solid var(--pq-line);
  padding: 36px 0 48px;
  margin-top: 24px;
  background: rgba(5, 12, 24, 0.65);
}

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

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

.pq-footer h3 {
  margin: 0 0 10px;
  font-size: 1rem;
  color: var(--pq-foam);
}

.pq-footer p,
.pq-footer a {
  color: var(--pq-mist);
  font-size: 0.92rem;
}

.pq-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.pq-footer li + li {
  margin-top: 8px;
}

.pq-footer a {
  text-decoration: none;
}

.pq-footer a:hover {
  color: var(--pq-aqua);
}

.pq-copy {
  margin-top: 28px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.85rem;
  color: #7f93a8;
}

.pq-rise {
  animation: pqRise 0.8s ease both;
}

@keyframes pqRise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.pq-delay-1 {
  animation-delay: 0.12s;
}
.pq-delay-2 {
  animation-delay: 0.24s;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
