/* 哔咔漫画官网 · 薄荷绿雾 × 珊瑚点缀 · 移动端优先 */
:root {
  --bcm-ink: #1a2433;
  --bcm-mute: #5a6878;
  --bcm-paper: #f4fbf8;
  --bcm-panel: rgba(255, 255, 255, 0.72);
  --bcm-line: rgba(26, 36, 51, 0.08);
  --bcm-coral: #ff5a72;
  --bcm-coral-deep: #e03d56;
  --bcm-mint: #2ec4b6;
  --bcm-sky: #6ec1e4;
  --bcm-lilac: #b8a4ff;
  --bcm-glow: rgba(46, 196, 182, 0.28);
  --bcm-radius: 22px;
  --bcm-shadow: 0 18px 40px rgba(26, 36, 51, 0.1);
  --bcm-nav-h: 64px;
  --bcm-font-display: "ZCOOL XiaoWei", "Ma Shan Zheng", "Songti SC", serif;
  --bcm-font-body: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--bcm-ink);
  font-family: var(--bcm-font-body);
  font-size: 16px;
  line-height: 1.75;
  background:
    radial-gradient(1200px 600px at 10% -10%, rgba(110, 193, 228, 0.35), transparent 60%),
    radial-gradient(900px 500px at 95% 5%, rgba(255, 90, 114, 0.18), transparent 55%),
    radial-gradient(800px 500px at 50% 100%, rgba(184, 164, 255, 0.2), transparent 50%),
    linear-gradient(180deg, #e8f8f4 0%, #f7fbff 42%, #f3eefc 100%);
  min-height: 100vh;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--bcm-coral-deep);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--bcm-mint);
}

body.bcm-nav-locked {
  overflow: hidden;
}

.bcm-wrap {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

/* promo top rail */
.bcm-promo-shell {
  background: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--bcm-line);
  padding: 10px 0 6px;
}

.bcm-ad-rail {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 12px;
}

.bcm-ad-chip {
  width: 70px;
  text-decoration: none;
  color: var(--bcm-mute);
  text-align: center;
  font-size: 11px;
  line-height: 1.2;
}

.bcm-ad-chip img {
  width: 58px;
  height: 58px;
  margin: 0 auto 4px;
  border-radius: 16px;
  object-fit: cover;
  box-shadow: 0 8px 18px rgba(26, 36, 51, 0.12);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.bcm-ad-chip:hover img {
  transform: translateY(-3px) scale(1.04);
  box-shadow: 0 12px 22px rgba(26, 36, 51, 0.16);
}

.bcm-ad-chip span {
  display: block;
  max-width: 70px;
  margin: 0 auto;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* nav */
.bcm-topnav {
  position: sticky;
  top: 0;
  z-index: 40;
  height: var(--bcm-nav-h);
  display: flex;
  align-items: center;
  background: rgba(244, 251, 248, 0.82);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--bcm-line);
}

.bcm-topnav .bcm-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.bcm-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--bcm-ink);
}

.bcm-brand img {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: 0 6px 14px var(--bcm-glow);
}

.bcm-brand strong {
  font-family: var(--bcm-font-display);
  font-size: 1.35rem;
  font-weight: 400;
  letter-spacing: 0.04em;
}

.bcm-burger {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--bcm-line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.72);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  flex-shrink: 0;
}

.bcm-burger span {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: var(--bcm-ink);
  transition: transform 0.22s ease, opacity 0.22s ease;
}

.bcm-burger.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.bcm-burger.is-open span:nth-child(2) {
  opacity: 0;
}

.bcm-burger.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.bcm-nav-panel {
  display: block;
}

.bcm-menu {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.bcm-menu a {
  text-decoration: none;
  color: var(--bcm-mute);
  font-size: 0.92rem;
  font-weight: 500;
}

.bcm-menu a:hover,
.bcm-menu a.is-on {
  color: var(--bcm-coral-deep);
}

@media (max-width: 860px) {
  .bcm-topnav {
    height: auto;
    min-height: var(--bcm-nav-h);
  }

  .bcm-topnav .bcm-wrap {
    flex-wrap: wrap;
    row-gap: 0;
  }

  .bcm-burger {
    display: inline-flex;
  }

  .bcm-nav-panel {
    display: none;
    width: 100%;
    padding: 4px 0 14px;
    border-top: 1px solid var(--bcm-line);
    margin-top: 8px;
  }

  .bcm-nav-panel.is-open {
    display: block;
  }

  .bcm-menu {
    flex-direction: column;
    gap: 0;
  }

  .bcm-menu li + li {
    border-top: 1px solid var(--bcm-line);
  }

  .bcm-menu a {
    display: block;
    padding: 12px 4px;
    font-size: 0.95rem;
  }
}

/* sticky download dock */
.bcm-sticky-dock {
  position: sticky;
  top: var(--bcm-nav-h);
  z-index: 35;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
  transition: max-height 0.28s ease, opacity 0.28s ease, padding 0.28s ease;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
}

.bcm-sticky-dock.is-visible {
  max-height: 220px;
  opacity: 1;
  pointer-events: auto;
  padding: 8px 0 6px;
  border-bottom-color: var(--bcm-line);
  box-shadow: 0 10px 24px rgba(26, 36, 51, 0.06);
}

.bcm-sticky-dock .bcm-ad-rail {
  width: min(1120px, calc(100% - 24px));
  margin: 0 auto;
}

.bcm-sticky-dock .bcm-ad-chip {
  width: calc(25% - 10px);
  max-width: 78px;
}

@media (min-width: 900px) {
  .bcm-sticky-dock .bcm-ad-chip {
    width: calc(12.5% - 10px);
  }
}

/* hero — full bleed atmospheric plane */
.bcm-hero {
  position: relative;
  isolation: isolate;
  padding: 48px 0 56px;
  overflow: hidden;
}

.bcm-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(120deg, rgba(46, 196, 182, 0.22), transparent 45%),
    linear-gradient(300deg, rgba(255, 90, 114, 0.16), transparent 40%),
    url("shot-comic-serial.jpg") center / cover no-repeat;
  opacity: 0.22;
  filter: saturate(1.1);
}

.bcm-hero-inner {
  display: grid;
  gap: 28px;
  align-items: center;
}

.bcm-hero-copy .bcm-kicker {
  display: inline-block;
  margin-bottom: 12px;
  font-size: 0.82rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--bcm-mint);
  font-weight: 700;
}

.bcm-hero h1 {
  margin: 0 0 14px;
  font-family: var(--bcm-font-display);
  font-size: clamp(1.9rem, 5vw, 2.8rem);
  line-height: 1.25;
  font-weight: 400;
}

.bcm-hero-lead {
  margin: 0;
  max-width: 36em;
  color: var(--bcm-mute);
  font-size: 1.05rem;
}

.bcm-hero-visual {
  position: relative;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: var(--bcm-shadow);
  transform: rotate(-1.5deg);
  animation: bcm-float 5.5s ease-in-out infinite;
}

.bcm-hero-visual img {
  width: 100%;
  aspect-ratio: 9 / 16;
  max-height: 520px;
  object-fit: cover;
  object-position: top;
}

@keyframes bcm-float {
  0%,
  100% {
    transform: rotate(-1.5deg) translateY(0);
  }
  50% {
    transform: rotate(-1.5deg) translateY(-10px);
  }
}

@media (min-width: 860px) {
  .bcm-hero-inner {
    grid-template-columns: 1.15fr 0.85fr;
  }
}

/* sections */
.bcm-section {
  padding: 42px 0;
}

.bcm-section h2 {
  margin: 0 0 12px;
  font-family: var(--bcm-font-display);
  font-size: clamp(1.45rem, 3.2vw, 2rem);
  font-weight: 400;
  line-height: 1.3;
}

.bcm-section h3 {
  margin: 22px 0 10px;
  font-size: 1.15rem;
  color: var(--bcm-ink);
}

.bcm-section p {
  margin: 0 0 14px;
  color: var(--bcm-ink);
}

.bcm-lead {
  color: var(--bcm-mute);
  font-size: 1.02rem;
}

.bcm-glass {
  background: var(--bcm-panel);
  backdrop-filter: blur(18px);
  border: 1px solid rgba(255, 255, 255, 0.65);
  border-radius: var(--bcm-radius);
  box-shadow: var(--bcm-shadow);
  padding: 22px;
}

.bcm-split {
  display: grid;
  gap: 22px;
  align-items: center;
}

@media (min-width: 860px) {
  .bcm-split {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }
  .bcm-split.is-flip > :first-child {
    order: 2;
  }
}

.bcm-shot {
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--bcm-shadow);
  background: #fff;
}

.bcm-shot img {
  width: 100%;
  aspect-ratio: 9 / 16;
  max-height: 560px;
  object-fit: cover;
  object-position: top;
}

.bcm-card-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: 1fr;
}

@media (min-width: 700px) {
  .bcm-card-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 980px) {
  .bcm-card-grid.is-three {
    grid-template-columns: repeat(3, 1fr);
  }
}

.bcm-feature-card {
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid var(--bcm-line);
  border-radius: 20px;
  padding: 18px 18px 16px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.bcm-feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 32px rgba(46, 196, 182, 0.15);
}

.bcm-feature-card h3 {
  margin-top: 0;
}

.bcm-feature-card p:last-child {
  margin-bottom: 0;
}

.bcm-pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 12px 0 18px;
}

.bcm-pill {
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(46, 196, 182, 0.12);
  color: #0f766e;
  font-size: 0.85rem;
  font-weight: 600;
}

.bcm-cta-band {
  margin: 10px 0 0;
  padding: 28px 22px;
  border-radius: 24px;
  background: linear-gradient(135deg, #1a2433 0%, #234e52 55%, #2ec4b6 140%);
  color: #fff;
  text-align: center;
  box-shadow: var(--bcm-shadow);
}

.bcm-cta-band h2 {
  color: #fff;
}

.bcm-cta-band p {
  color: rgba(255, 255, 255, 0.86);
  max-width: 40em;
  margin-left: auto;
  margin-right: auto;
}

.bcm-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 22px;
  border-radius: 999px;
  border: none;
  background: linear-gradient(135deg, var(--bcm-coral), #ff8a6b);
  color: #fff !important;
  text-decoration: none !important;
  font-weight: 700;
  letter-spacing: 0.02em;
  box-shadow: 0 10px 24px rgba(255, 90, 114, 0.35);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.bcm-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(255, 90, 114, 0.42);
}

.bcm-btn.is-ghost {
  background: rgba(255, 255, 255, 0.14);
  box-shadow: none;
  border: 1px solid rgba(255, 255, 255, 0.35);
}

.bcm-btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-top: 18px;
}

.bcm-timeline {
  display: grid;
  gap: 14px;
}

.bcm-timeline-item {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 12px;
}

.bcm-timeline-item i {
  width: 12px;
  height: 12px;
  margin-top: 8px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--bcm-mint), var(--bcm-sky));
  box-shadow: 0 0 0 4px rgba(46, 196, 182, 0.18);
}

.bcm-quote {
  margin: 18px 0;
  padding: 18px 20px;
  border-left: 4px solid var(--bcm-coral);
  background: rgba(255, 90, 114, 0.06);
  border-radius: 0 16px 16px 0;
  color: var(--bcm-mute);
  font-style: normal;
}

.bcm-mosaic {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(2, 1fr);
}

@media (min-width: 800px) {
  .bcm-mosaic {
    grid-template-columns: repeat(4, 1fr);
  }
}

.bcm-mosaic .bcm-shot {
  border-radius: 16px;
}

.bcm-mosaic .bcm-shot img {
  max-height: 280px;
}

.bcm-text-block + .bcm-text-block {
  margin-top: 8px;
}

.bcm-reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.bcm-reveal.is-in {
  opacity: 1;
  transform: none;
}

/* breadcrumb */
.bcm-crumb {
  padding: 18px 0 0;
  font-size: 0.9rem;
  color: var(--bcm-mute);
}

.bcm-crumb a {
  color: var(--bcm-mute);
  text-decoration: none;
}

.bcm-crumb a:hover {
  color: var(--bcm-coral-deep);
}

.bcm-crumb span {
  margin: 0 6px;
  opacity: 0.5;
}

/* legal / article */
.bcm-article {
  padding: 12px 0 48px;
}

.bcm-article .bcm-glass {
  padding: 28px 22px;
}

.bcm-article h1 {
  margin: 0 0 10px;
  font-family: var(--bcm-font-display);
  font-size: clamp(1.7rem, 4vw, 2.3rem);
  font-weight: 400;
}

.bcm-article h2 {
  margin: 28px 0 10px;
  font-size: 1.25rem;
}

.bcm-article h3 {
  margin: 18px 0 8px;
  font-size: 1.05rem;
}

.bcm-meta {
  color: var(--bcm-mute);
  font-size: 0.9rem;
  margin-bottom: 18px;
}

/* error pages */
.bcm-error {
  min-height: 62vh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 40px 0;
}

.bcm-error-code {
  font-family: var(--bcm-font-display);
  font-size: clamp(4rem, 16vw, 7rem);
  line-height: 1;
  background: linear-gradient(135deg, var(--bcm-coral), var(--bcm-lilac));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin: 0;
  animation: bcm-pulse 2.8s ease-in-out infinite;
}

@keyframes bcm-pulse {
  0%,
  100% {
    filter: brightness(1);
  }
  50% {
    filter: brightness(1.12);
  }
}

/* footer */
.bcm-foot {
  margin-top: 20px;
  padding: 36px 0 48px;
  border-top: 1px solid var(--bcm-line);
  background: rgba(255, 255, 255, 0.45);
}

.bcm-foot-grid {
  display: grid;
  gap: 22px;
}

@media (min-width: 760px) {
  .bcm-foot-grid {
    grid-template-columns: 1.5fr 1fr;
  }
}

.bcm-foot h3 {
  margin: 0 0 10px;
  font-size: 1rem;
}

.bcm-foot p,
.bcm-foot a {
  color: var(--bcm-mute);
  font-size: 0.92rem;
}

.bcm-foot ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.bcm-foot li {
  margin-bottom: 8px;
}

.bcm-foot a {
  text-decoration: none;
}

.bcm-foot a:hover {
  color: var(--bcm-coral-deep);
}

.bcm-copy {
  margin-top: 24px;
  padding-top: 16px;
  border-top: 1px solid var(--bcm-line);
  font-size: 0.85rem;
  color: var(--bcm-mute);
  text-align: center;
}

@media (max-width: 640px) {
  .bcm-brand strong {
    font-size: 1.15rem;
  }
}
