/* bkol.mom — 哔咔漫画APP官方入口 */
:root {
  --pink: #ff4d8d;
  --pink-deep: #e91e63;
  --pink-soft: #ffe0ec;
  --pink-glow: rgba(255, 77, 141, 0.18);
  --orange: #ff8a3d;
  --ink: #1a1420;
  --muted: #5c5360;
  --line: #f0d6e2;
  --bg: #fff7fa;
  --card: #ffffff;
  --radius: 14px;
  --shadow: 0 12px 40px rgba(233, 30, 99, 0.1);
  --max: 1120px;
  --font: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  --display: "ZCOOL XiaoWei", "Noto Serif SC", serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background:
    radial-gradient(1200px 600px at 10% -10%, #ffd6e8 0%, transparent 55%),
    radial-gradient(900px 500px at 100% 0%, #ffe8d4 0%, transparent 50%),
    linear-gradient(180deg, #fff9fc 0%, var(--bg) 40%, #fff 100%);
  line-height: 1.75;
  font-size: 16px;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--pink-deep);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.container {
  width: min(100% - 32px, var(--max));
  margin-inline: auto;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(12px);
  background: rgba(255, 249, 252, 0.88);
  border-bottom: 1px solid var(--line);
}

.nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 68px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  text-decoration: none;
  font-weight: 700;
  font-size: 1.15rem;
}

.brand img {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  object-fit: cover;
}

.brand span {
  font-family: var(--display);
  letter-spacing: 0.02em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px 18px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 500;
  text-decoration: none;
  padding: 6px 0;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--pink-deep);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--pink), var(--orange));
  color: #fff !important;
  font-weight: 600;
  text-decoration: none !important;
  box-shadow: 0 8px 20px var(--pink-glow);
}

.menu-toggle {
  display: none;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 10px;
  width: 42px;
  height: 42px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--ink);
}

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  padding: 56px 0 40px;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(105deg, rgba(255, 247, 250, 0.94) 0%, rgba(255, 247, 250, 0.78) 42%, rgba(255, 247, 250, 0.35) 100%),
    url("/screen-comic-serial.jpg") center / cover no-repeat;
  z-index: 0;
}

.hero .container {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 36px;
  align-items: center;
}

.hero-kicker {
  display: inline-block;
  color: var(--pink-deep);
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 10px;
}

.hero h1 {
  margin: 0 0 14px;
  font-family: var(--display);
  font-size: clamp(2.1rem, 4vw, 3.1rem);
  line-height: 1.25;
  letter-spacing: 0.02em;
}

.hero-lead {
  margin: 0 0 22px;
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 36em;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 18px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none !important;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--pink), var(--pink-deep));
  color: #fff !important;
  box-shadow: 0 10px 24px var(--pink-glow);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.85);
  color: var(--ink) !important;
  border: 1px solid var(--line);
}

.hero-note {
  font-size: 0.9rem;
  color: var(--muted);
}

.hero-visual {
  position: relative;
}

.hero-visual img {
  width: 100%;
  max-width: 360px;
  margin-inline: auto;
  border-radius: 22px;
  box-shadow: var(--shadow);
  border: 4px solid #fff;
  animation: floaty 5s ease-in-out infinite;
}

.hero-badge {
  position: absolute;
  left: 8%;
  bottom: 8%;
  background: #fff;
  border-radius: 12px;
  padding: 10px 14px;
  box-shadow: var(--shadow);
  font-size: 0.85rem;
  font-weight: 600;
  animation: fadeup 0.8s ease both 0.3s;
}

@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

@keyframes fadeup {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Sections */
.section {
  padding: 56px 0;
}

.section-alt {
  background: linear-gradient(180deg, rgba(255, 224, 236, 0.35), transparent);
}

.section-head {
  max-width: 720px;
  margin-bottom: 28px;
}

.section-head h2 {
  margin: 0 0 10px;
  font-family: var(--display);
  font-size: clamp(1.6rem, 2.6vw, 2.2rem);
  line-height: 1.3;
}

.section-head p {
  margin: 0;
  color: var(--muted);
}

.prose h2,
.prose h3 {
  font-family: var(--display);
  line-height: 1.35;
  scroll-margin-top: 88px;
}

.prose h2 {
  margin: 2em 0 0.7em;
  font-size: 1.55rem;
}

.prose h3 {
  margin: 1.6em 0 0.55em;
  font-size: 1.2rem;
}

.prose p {
  margin: 0 0 1em;
  color: #2b2430;
}

.prose ul,
.prose ol {
  margin: 0 0 1.1em;
  padding-left: 1.25em;
  color: #2b2430;
}

.prose li {
  margin-bottom: 0.4em;
}

.prose strong {
  color: var(--ink);
}

.toc {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 22px;
  margin: 0 0 28px;
  box-shadow: var(--shadow);
}

.toc strong {
  display: block;
  margin-bottom: 8px;
}

.toc ol {
  margin: 0;
  padding-left: 1.2em;
}

.toc a {
  text-decoration: none;
}

.toc a:hover {
  text-decoration: underline;
}

/* Feature grid */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.feature-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 6px 24px rgba(26, 20, 32, 0.04);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.feature-card img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: top;
  background: var(--pink-soft);
}

.feature-card .body {
  padding: 16px 18px 20px;
}

.feature-card h3 {
  margin: 0 0 8px;
  font-size: 1.08rem;
}

.feature-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

/* Shot row */
.shot-row {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 28px;
  align-items: center;
  margin: 36px 0;
}

.shot-row.reverse {
  grid-template-columns: 1.2fr 1fr;
}

.shot-row.reverse .shot-media {
  order: 2;
}

.shot-media img {
  border-radius: 18px;
  border: 3px solid #fff;
  box-shadow: var(--shadow);
  margin-inline: auto;
  max-width: 320px;
}

.shot-copy h3 {
  margin-top: 0;
}

.pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
}

.pill-list li {
  background: var(--pink-soft);
  color: var(--pink-deep);
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 600;
}

/* Steps */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  counter-reset: step;
}

.step {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
  position: relative;
}

.step::before {
  counter-increment: step;
  content: counter(step);
  display: inline-flex;
  width: 28px;
  height: 28px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--pink), var(--orange));
  color: #fff;
  font-weight: 700;
  font-size: 0.85rem;
  margin-bottom: 10px;
}

.step h3 {
  margin: 0 0 6px;
  font-size: 1rem;
}

.step p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

/* FAQ */
.faq details {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 14px 18px;
  margin-bottom: 10px;
}

.faq summary {
  cursor: pointer;
  font-weight: 600;
}

.faq details p {
  margin: 10px 0 0;
  color: var(--muted);
}

/* CTA band */
.cta-band {
  margin: 20px 0 0;
  padding: 28px;
  border-radius: 20px;
  background: linear-gradient(120deg, #ff4d8d, #ff8a3d);
  color: #fff;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
}

.cta-band h2 {
  margin: 0 0 6px;
  font-family: var(--display);
  font-size: 1.5rem;
  color: #fff;
}

.cta-band p {
  margin: 0;
  opacity: 0.95;
}

.cta-band .btn-ghost {
  background: #fff;
  color: var(--pink-deep) !important;
  border: none;
}

/* Page hero (inner) */
.page-hero {
  padding: 42px 0 20px;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 224, 236, 0.45), transparent);
}

.page-hero h1 {
  margin: 0 0 10px;
  font-family: var(--display);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
}

.page-hero p {
  margin: 0;
  color: var(--muted);
  max-width: 46em;
}

.page-content {
  padding: 36px 0 64px;
}

.legal-meta {
  font-size: 0.9rem;
  color: var(--muted);
  margin-bottom: 22px;
}

/* Error pages */
.error-page {
  min-height: 70vh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 60px 0;
}

.error-page .code {
  font-family: var(--display);
  font-size: clamp(4rem, 12vw, 7rem);
  line-height: 1;
  background: linear-gradient(135deg, var(--pink), var(--orange));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin: 0;
}

.error-page h1 {
  margin: 8px 0 12px;
  font-size: 1.6rem;
}

.error-page p {
  color: var(--muted);
  margin: 0 0 22px;
}

/* Footer */
.site-footer {
  background: #1a1420;
  color: #d8cfdc;
  padding: 48px 0 24px;
  margin-top: 20px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 28px;
  margin-bottom: 28px;
}

.site-footer h3 {
  color: #fff;
  margin: 0 0 12px;
  font-size: 1rem;
}

.site-footer p {
  margin: 0 0 10px;
  font-size: 0.92rem;
  line-height: 1.7;
}

.site-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-footer li {
  margin-bottom: 8px;
}

.site-footer a {
  color: #f3b8cf;
  text-decoration: none;
}

.site-footer a:hover {
  color: #fff;
  text-decoration: underline;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 16px;
  font-size: 0.85rem;
  color: #9a8fa3;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
  justify-content: space-between;
}

.age-tip {
  display: inline-block;
  margin-top: 8px;
  padding: 4px 10px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 999px;
  font-size: 0.8rem;
}

/* Breadcrumb */
.breadcrumb {
  font-size: 0.9rem;
  color: var(--muted);
  margin-bottom: 12px;
}

.breadcrumb a {
  color: var(--muted);
}

/* Related links */
.related {
  margin-top: 36px;
  padding: 20px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.related h2 {
  margin: 0 0 12px;
  font-size: 1.15rem;
}

.related ul {
  margin: 0;
  padding-left: 1.2em;
}

/* Responsive */
@media (max-width: 960px) {
  .hero .container,
  .shot-row,
  .shot-row.reverse,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .shot-row.reverse .shot-media {
    order: 0;
  }

  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .steps {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 720px) {
  .menu-toggle {
    display: inline-flex;
  }

  .nav-links {
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: stretch;
    padding: 12px 16px 18px;
    display: none;
    box-shadow: var(--shadow);
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a {
    padding: 10px 4px;
  }

  .nav-cta {
    width: 100%;
    margin-top: 4px;
  }

  .hero {
    padding: 28px 0 24px;
  }

  .hero::before {
    background:
      linear-gradient(180deg, rgba(255, 247, 250, 0.92) 35%, rgba(255, 247, 250, 0.78) 100%),
      url("/screen-comic-serial.jpg") center top / cover no-repeat;
  }

  .hero-visual {
    order: -1;
  }

  .hero-visual img {
    max-width: 240px;
  }

  .feature-grid,
  .steps {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 40px 0;
  }

  .cta-band {
    padding: 22px;
  }

  .footer-grid {
    gap: 22px;
  }
}
