/* 哔咔漫画官网 · p-c.monster · Inkstream Nova 视觉体系 */
@import url("https://fonts.googleapis.com/css2?family=Noto+Sans+SC:wght@400;500;700;900&family=ZCOOL+QingKe+HuangYou&display=swap");

:root {
  --ink: #0b1420;
  --ink-soft: #152436;
  --mist: #e4eef8;
  --paper: #f5f9fc;
  --teal: #12b8a8;
  --teal-deep: #0a7f76;
  --coral: #ff5e57;
  --amber: #ffb347;
  --glass: rgba(255, 255, 255, 0.55);
  --glass-edge: rgba(255, 255, 255, 0.72);
  --line: rgba(18, 184, 168, 0.22);
  --text: #1a2b3c;
  --muted: #5a6f84;
  --radius: 22px;
  --shadow: 0 18px 48px rgba(11, 20, 32, 0.12);
  --font-display: "ZCOOL QingKe HuangYou", "Noto Sans SC", sans-serif;
  --font-body: "Noto Sans SC", sans-serif;
  --max: 1080px;
  --dock-h: auto;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  background:
    radial-gradient(1200px 600px at 10% -10%, rgba(18, 184, 168, 0.18), transparent 55%),
    radial-gradient(900px 500px at 100% 0%, rgba(255, 94, 87, 0.12), transparent 50%),
    linear-gradient(180deg, #d9e8f4 0%, var(--paper) 28%, #eef4f9 100%);
  line-height: 1.85;
  min-height: 100vh;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--teal-deep);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--coral);
}

.nova-wrap {
  width: min(100% - 32px, var(--max));
  margin-inline: auto;
}

/* 顶部推广 */
.nova-promo-shell {
  background: linear-gradient(90deg, rgba(11, 20, 32, 0.92), rgba(21, 36, 54, 0.88));
  padding: 10px 0 6px;
  border-bottom: 1px solid rgba(18, 184, 168, 0.25);
}

.nova-promo {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 14px;
}

.nova-promo-item {
  width: 70px;
  text-decoration: none;
  color: #c9d7e6;
  text-align: center;
  font-size: 11px;
}

.nova-promo-item img {
  width: 65px;
  height: 65px;
  object-fit: cover;
  border-radius: 18px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.28);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  margin-inline: auto;
}

.nova-promo-item:hover img {
  transform: translateY(-4px) scale(1.04);
}

.nova-promo-item span {
  display: block;
  margin-top: 4px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* 导航 */
.nova-nav {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(16px);
  background: rgba(245, 249, 252, 0.78);
  border-bottom: 1px solid var(--line);
}

.nova-nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
  gap: 16px;
}

.nova-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--ink);
}

.nova-brand img {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(18, 184, 168, 0.28);
}

.nova-brand strong {
  font-family: var(--font-display);
  font-size: 1.35rem;
  letter-spacing: 0.04em;
  font-weight: 400;
}

.nova-nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nova-nav-links a {
  text-decoration: none;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 500;
}

.nova-nav-links a:hover,
.nova-nav-links a.is-active {
  color: var(--teal-deep);
}

.nova-nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--glass);
  cursor: pointer;
}

.nova-nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: var(--ink);
}

/* 固定下载坞 */
.nova-dock-bar {
  position: sticky;
  top: 66px;
  z-index: 35;
  background: rgba(11, 20, 32, 0.94);
  border-bottom: 1px solid rgba(18, 184, 168, 0.3);
  transform: translateY(-120%);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.28s ease, opacity 0.28s ease;
}

.nova-dock-bar.is-visible {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.nova-dock {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 10px;
  padding: 10px 8px;
}

.nova-dock-item {
  width: calc(25% - 10px);
  max-width: 72px;
  text-decoration: none;
  color: #b8c8d8;
  text-align: center;
  font-size: 10px;
}

@media (min-width: 768px) {
  .nova-dock-item {
    width: calc(12.5% - 10px);
  }
}

.nova-dock-item img {
  width: 52px;
  height: 52px;
  margin: 0 auto;
  border-radius: 14px;
  object-fit: cover;
}

.nova-dock-item span {
  display: block;
  margin-top: 3px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Hero */
.nova-hero {
  position: relative;
  padding: 48px 0 36px;
  overflow: hidden;
}

.nova-hero::before {
  content: "";
  position: absolute;
  inset: 8% -20% auto;
  height: 70%;
  background:
    radial-gradient(circle at 30% 40%, rgba(18, 184, 168, 0.35), transparent 45%),
    radial-gradient(circle at 70% 30%, rgba(255, 94, 87, 0.22), transparent 40%);
  filter: blur(20px);
  pointer-events: none;
}

.nova-hero-panel {
  position: relative;
  border-radius: 28px;
  padding: clamp(28px, 6vw, 52px);
  background:
    linear-gradient(145deg, rgba(11, 20, 32, 0.94), rgba(21, 48, 62, 0.9)),
    url("feat-comic-serial.jpg") center/cover;
  background-blend-mode: multiply;
  color: #eef6fb;
  box-shadow: var(--shadow);
  min-height: 420px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  animation: novaRise 0.9s ease both;
}

.nova-hero-kicker {
  font-size: 0.85rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 10px;
}

.nova-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 7vw, 3.2rem);
  line-height: 1.25;
  margin: 0 0 14px;
  font-weight: 400;
  max-width: 16ch;
}

.nova-hero-lead {
  margin: 0;
  max-width: 36ch;
  color: rgba(238, 246, 251, 0.86);
  font-size: 1.02rem;
}

/* 通用区块 */
.nova-section {
  padding: 42px 0;
  animation: novaFade 0.8s ease both;
}

.nova-section h2 {
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 4.5vw, 2.1rem);
  margin: 0 0 12px;
  color: var(--ink);
  font-weight: 400;
}

.nova-section h3 {
  font-size: 1.15rem;
  margin: 22px 0 8px;
  color: var(--ink-soft);
}

.nova-section p {
  margin: 0 0 14px;
  color: var(--text);
}

.nova-lead {
  color: var(--muted);
  font-size: 1.02rem;
  margin-bottom: 20px !important;
}

.nova-split {
  display: grid;
  gap: 22px;
  align-items: center;
}

@media (min-width: 860px) {
  .nova-split {
    grid-template-columns: 1.05fr 0.95fr;
  }
  .nova-split.is-flip {
    grid-template-columns: 0.95fr 1.05fr;
  }
  .nova-split.is-flip .nova-media {
    order: -1;
  }
}

.nova-media {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: var(--ink);
}

.nova-media img {
  width: 100%;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  max-height: 520px;
  margin-inline: auto;
}

.nova-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(11, 20, 32, 0.35));
  pointer-events: none;
}

.nova-glass {
  background: var(--glass);
  border: 1px solid var(--glass-edge);
  backdrop-filter: blur(14px);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: 0 10px 30px rgba(11, 20, 32, 0.06);
}

.nova-grid {
  display: grid;
  gap: 16px;
}

@media (min-width: 700px) {
  .nova-grid.cols-3 {
    grid-template-columns: repeat(3, 1fr);
  }
  .nova-grid.cols-2 {
    grid-template-columns: repeat(2, 1fr);
  }
}

.nova-card {
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(18, 184, 168, 0.16);
  border-radius: 18px;
  padding: 18px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.nova-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.nova-card h3 {
  margin-top: 0;
  font-family: var(--font-display);
  font-weight: 400;
}

.nova-pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 16px 0;
}

.nova-pill {
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(18, 184, 168, 0.12);
  color: var(--teal-deep);
  font-size: 0.85rem;
}

.nova-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--teal), var(--teal-deep));
  color: #fff !important;
  text-decoration: none !important;
  font-weight: 700;
  box-shadow: 0 12px 28px rgba(18, 184, 168, 0.35);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.nova-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 32px rgba(18, 184, 168, 0.45);
}

.nova-cta.is-coral {
  background: linear-gradient(135deg, var(--coral), #e03d36);
  box-shadow: 0 12px 28px rgba(255, 94, 87, 0.35);
}

.nova-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}

.nova-mosaic {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(2, 1fr);
}

@media (min-width: 800px) {
  .nova-mosaic {
    grid-template-columns: repeat(4, 1fr);
  }
}

.nova-mosaic figure {
  margin: 0;
  border-radius: 16px;
  overflow: hidden;
  background: var(--ink-soft);
  box-shadow: var(--shadow);
}

.nova-mosaic img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.nova-mosaic figure:hover img {
  transform: scale(1.05);
}

.nova-quote {
  border-left: 4px solid var(--coral);
  padding: 8px 0 8px 16px;
  color: var(--muted);
  font-size: 1.05rem;
  margin: 18px 0;
}

.nova-timeline {
  display: grid;
  gap: 14px;
}

.nova-timeline-item {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 12px;
  align-items: start;
}

.nova-timeline-item strong {
  color: var(--teal-deep);
  font-size: 0.92rem;
}

/* 面包屑 */
.nova-crumb {
  padding: 18px 0 0;
  font-size: 0.88rem;
  color: var(--muted);
}

.nova-crumb a {
  color: var(--muted);
  text-decoration: none;
}

.nova-crumb a:hover {
  color: var(--teal-deep);
}

.nova-crumb span {
  margin: 0 6px;
  opacity: 0.5;
}

/* 法律页 */
.nova-legal {
  padding: 10px 0 60px;
}

.nova-legal article {
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(18, 184, 168, 0.14);
  border-radius: 24px;
  padding: clamp(22px, 4vw, 40px);
  box-shadow: var(--shadow);
}

.nova-legal h1 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 5vw, 2.4rem);
  margin: 0 0 12px;
  font-weight: 400;
}

.nova-legal h2 {
  font-size: 1.25rem;
  margin: 28px 0 10px;
  color: var(--ink-soft);
}

.nova-legal ul {
  padding-left: 1.2em;
}

.nova-legal li {
  margin-bottom: 8px;
}

/* 错误页 */
.nova-error {
  min-height: 70vh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 40px 0;
}

.nova-error-code {
  font-family: var(--font-display);
  font-size: clamp(4rem, 18vw, 7rem);
  line-height: 1;
  background: linear-gradient(135deg, var(--teal), var(--coral));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin: 0;
}

/* Footer */
.nova-footer {
  margin-top: 40px;
  background: linear-gradient(180deg, transparent, rgba(11, 20, 32, 0.04));
  border-top: 1px solid var(--line);
  padding: 36px 0 120px;
}

.nova-footer-grid {
  display: grid;
  gap: 22px;
}

@media (min-width: 760px) {
  .nova-footer-grid {
    grid-template-columns: 1.4fr 1fr 1fr;
  }
}

.nova-footer h3 {
  font-family: var(--font-display);
  font-weight: 400;
  margin: 0 0 10px;
}

.nova-footer a {
  display: inline-block;
  margin: 4px 0;
  text-decoration: none;
  color: var(--muted);
}

.nova-footer a:hover {
  color: var(--teal-deep);
}

.nova-copy {
  margin-top: 24px;
  font-size: 0.85rem;
  color: var(--muted);
}

@keyframes novaRise {
  from {
    opacity: 0;
    transform: translateY(24px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes novaFade {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.nova-section:nth-child(odd) {
  animation-delay: 0.05s;
}

.nova-glow-line {
  height: 3px;
  width: 72px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--teal), var(--coral));
  margin: 0 0 18px;
}

@media (max-width: 760px) {
  .nova-nav-toggle {
    display: block;
  }
  .nova-nav-links {
    display: none;
    position: absolute;
    left: 16px;
    right: 16px;
    top: 64px;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 14px;
    flex-direction: column;
    box-shadow: var(--shadow);
  }
  .nova-nav-links.is-open {
    display: flex;
  }
  .nova-nav {
    position: relative;
  }
  .nova-nav-inner {
    position: relative;
  }
  .nova-dock-bar {
    top: 0;
  }
  .nova-timeline-item {
    grid-template-columns: 1fr;
  }
}
