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

:root {
  --bcx-ink: #101820;
  --bcx-slate: #2a3a44;
  --bcx-mint: #12c4a8;
  --bcx-mint-deep: #0a7f6e;
  --bcx-peach: #ff6b4a;
  --bcx-sand: #fff8f2;
  --bcx-fog: #e6f7f3;
  --bcx-line: rgba(16, 24, 32, 0.08);
  --bcx-glass: rgba(255, 255, 255, 0.55);
  --bcx-shadow: 0 18px 40px rgba(10, 40, 36, 0.12);
  --bcx-radius: 22px;
  --bcx-max: 1080px;
  --bcx-nav-h: 64px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Noto Sans SC", sans-serif;
  color: var(--bcx-ink);
  background:
    radial-gradient(1200px 600px at 10% -10%, rgba(18, 196, 168, 0.18), transparent 55%),
    radial-gradient(900px 500px at 100% 0%, rgba(255, 107, 74, 0.14), transparent 50%),
    linear-gradient(180deg, #f4fffc 0%, var(--bcx-sand) 42%, #f7fffe 100%);
  line-height: 1.85;
  font-size: 16px;
  overflow-x: hidden;
}

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

a {
  color: var(--bcx-mint-deep);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--bcx-peach);
}

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

.bcx-skip {
  position: absolute;
  left: -999px;
  top: 0;
}

.bcx-skip:focus {
  left: 12px;
  z-index: 1000;
  background: #fff;
  padding: 8px 12px;
}

/* Top promo strip */
.bcx-promo {
  background: linear-gradient(90deg, rgba(18, 196, 168, 0.12), rgba(255, 107, 74, 0.1));
  border-bottom: 1px solid var(--bcx-line);
  padding: 10px 0 6px;
}

.bcx-promo-title {
  text-align: center;
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--bcx-slate);
  margin: 0 0 6px;
  font-weight: 500;
}

.bcx-ads {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 8px;
  padding: 4px 8px 8px;
}

.bcx-ads figure {
  margin: 0;
  width: 70px;
  text-align: center;
}

.bcx-ads img {
  width: 58px;
  height: 58px;
  object-fit: cover;
  border-radius: 16px;
  box-shadow: 0 8px 18px rgba(16, 24, 32, 0.12);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  background: #fff;
}

.bcx-ads a:hover img {
  transform: translateY(-3px) scale(1.04);
  box-shadow: 0 12px 24px rgba(16, 24, 32, 0.16);
}

.bcx-ads .bcx-cap {
  margin-top: 4px;
  font-size: 11px;
  color: #667;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Sticky download dock */
.bcx-dock {
  position: sticky;
  top: var(--bcx-nav-h);
  z-index: 40;
  background: rgba(255, 252, 248, 0.86);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--bcx-line);
  transform: translateY(-120%);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.28s ease, opacity 0.28s ease;
}

.bcx-dock.is-on {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.bcx-dock-inner {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  padding: 10px 12px;
  width: min(100% - 16px, var(--bcx-max));
  margin-inline: auto;
}

@media (min-width: 900px) {
  .bcx-dock-inner {
    grid-template-columns: repeat(8, minmax(0, 1fr));
  }
}

.bcx-dock a {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  text-decoration: none;
  color: var(--bcx-slate);
  font-size: 11px;
}

.bcx-dock img {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  object-fit: cover;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.1);
}

/* Nav */
.bcx-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--bcx-nav-h);
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--bcx-line);
}

.bcx-nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: min(100% - 32px, var(--bcx-max));
  margin-inline: auto;
}

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

.bcx-brand img {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: 0 6px 16px rgba(18, 196, 168, 0.25);
}

.bcx-brand span {
  font-family: "ZCOOL XiaoWei", "Ma Shan Zheng", serif;
  font-size: 22px;
  letter-spacing: 0.04em;
}

.bcx-menu {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
  list-style: none;
  margin: 0;
  padding: 0;
  justify-content: flex-end;
}

.bcx-menu a {
  text-decoration: none;
  color: var(--bcx-slate);
  font-size: 14px;
  font-weight: 500;
  position: relative;
}

.bcx-menu a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--bcx-mint), var(--bcx-peach));
  transition: width 0.25s ease;
}

.bcx-menu a:hover::after,
.bcx-menu a.is-here::after {
  width: 100%;
}

.bcx-burger {
  display: none;
  border: 0;
  background: transparent;
  width: 40px;
  height: 40px;
  padding: 8px;
  cursor: pointer;
}

.bcx-burger span {
  display: block;
  height: 2px;
  margin: 6px 0;
  background: var(--bcx-ink);
  border-radius: 2px;
  transition: 0.2s ease;
}

@media (max-width: 760px) {
  .bcx-burger {
    display: block;
  }

  .bcx-menu {
    display: none;
    position: absolute;
    right: 16px;
    top: calc(var(--bcx-nav-h) + 8px);
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid var(--bcx-line);
    border-radius: 16px;
    padding: 12px 16px;
    flex-direction: column;
    box-shadow: var(--bcx-shadow);
    min-width: 160px;
  }

  .bcx-menu.is-open {
    display: flex;
  }
}

/* Hero — full-bleed, brand first */
.bcx-hero {
  position: relative;
  min-height: min(92vh, 860px);
  display: grid;
  align-items: end;
  overflow: hidden;
  isolation: isolate;
}

.bcx-hero-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(160deg, rgba(10, 40, 36, 0.55), rgba(16, 24, 32, 0.25) 45%, rgba(255, 248, 242, 0.2)),
    url("shot-comic-update.jpg") center / cover no-repeat;
  transform: scale(1.04);
  animation: bcx-ken 18s ease-in-out infinite alternate;
}

.bcx-hero-veil {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle at 20% 30%, rgba(18, 196, 168, 0.35), transparent 45%),
    linear-gradient(180deg, transparent 30%, rgba(255, 248, 242, 0.92) 88%);
}

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

.bcx-hero-copy {
  padding: 48px 0 56px;
  color: var(--bcx-ink);
  max-width: 720px;
  animation: bcx-rise 0.9s ease both;
}

@keyframes bcx-rise {
  from {
    opacity: 0;
    transform: translateY(28px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.bcx-hero-brand {
  font-family: "Ma Shan Zheng", "ZCOOL XiaoWei", serif;
  font-size: clamp(48px, 12vw, 92px);
  line-height: 1.05;
  margin: 0 0 12px;
  background: linear-gradient(120deg, #0a7f6e, #12c4a8 40%, #ff6b4a);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 10px 40px rgba(18, 196, 168, 0.15);
  animation: bcx-glow 3.2s ease-in-out infinite alternate;
}

@keyframes bcx-glow {
  from {
    filter: drop-shadow(0 0 0 rgba(18, 196, 168, 0));
  }
  to {
    filter: drop-shadow(0 8px 18px rgba(18, 196, 168, 0.35));
  }
}

.bcx-hero h1 {
  font-family: "ZCOOL XiaoWei", serif;
  font-size: clamp(22px, 4.5vw, 34px);
  font-weight: 400;
  margin: 0 0 14px;
  line-height: 1.35;
  color: var(--bcx-ink);
}

.bcx-hero-lead {
  margin: 0 0 22px;
  font-size: 15px;
  color: var(--bcx-slate);
  max-width: 34em;
}

.bcx-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.bcx-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.bcx-btn-mint {
  background: linear-gradient(135deg, var(--bcx-mint), var(--bcx-mint-deep));
  color: #fff;
  box-shadow: 0 10px 24px rgba(18, 196, 168, 0.35);
}

.bcx-btn-mint:hover {
  color: #fff;
  transform: translateY(-2px);
}

.bcx-btn-ghost {
  background: var(--bcx-glass);
  border-color: rgba(16, 24, 32, 0.12);
  color: var(--bcx-ink);
  backdrop-filter: blur(8px);
}

.bcx-btn-ghost:hover {
  color: var(--bcx-ink);
  transform: translateY(-2px);
}

.bcx-btn-peach {
  background: linear-gradient(135deg, #ff8a6b, var(--bcx-peach));
  color: #fff;
  box-shadow: 0 10px 24px rgba(255, 107, 74, 0.3);
}

.bcx-btn-peach:hover {
  color: #fff;
  transform: translateY(-2px);
}

/* Sections */
.bcx-section {
  padding: 56px 0;
  position: relative;
}

.bcx-section:nth-of-type(even) {
  background: linear-gradient(180deg, rgba(230, 247, 243, 0.55), transparent);
}

.bcx-kicker {
  display: inline-block;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--bcx-mint-deep);
  margin-bottom: 8px;
}

.bcx-section h2 {
  font-family: "ZCOOL XiaoWei", serif;
  font-size: clamp(26px, 4vw, 36px);
  font-weight: 400;
  margin: 0 0 16px;
  line-height: 1.3;
}

.bcx-section h3 {
  font-size: 20px;
  margin: 28px 0 10px;
  color: var(--bcx-ink);
}

.bcx-section p {
  margin: 0 0 14px;
  color: var(--bcx-slate);
}

.bcx-prose p + p {
  text-indent: 0;
}

/* Split layouts */
.bcx-split {
  display: grid;
  gap: 28px;
  align-items: center;
}

@media (min-width: 860px) {
  .bcx-split {
    grid-template-columns: 1.05fr 0.95fr;
  }

  .bcx-split.is-flip {
    grid-template-columns: 0.95fr 1.05fr;
  }

  .bcx-split.is-flip .bcx-shot {
    order: -1;
  }
}

.bcx-shot {
  position: relative;
  border-radius: var(--bcx-radius);
  overflow: hidden;
  box-shadow: var(--bcx-shadow);
  background: #fff;
  transform: rotate(-1.2deg);
  transition: transform 0.35s ease;
}

.bcx-shot:hover {
  transform: rotate(0deg) translateY(-4px);
}

.bcx-shot.is-tilt-r {
  transform: rotate(1.4deg);
}

.bcx-shot.is-tilt-r:hover {
  transform: rotate(0deg) translateY(-4px);
}

.bcx-shot img {
  width: 100%;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  object-position: top center;
  max-height: 560px;
}

.bcx-shot::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(16, 24, 32, 0.18));
  pointer-events: none;
}

/* Cards */
.bcx-grid {
  display: grid;
  gap: 16px;
  margin-top: 24px;
}

@media (min-width: 700px) {
  .bcx-grid.cols-3 {
    grid-template-columns: repeat(3, 1fr);
  }

  .bcx-grid.cols-2 {
    grid-template-columns: repeat(2, 1fr);
  }
}

.bcx-card {
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--bcx-line);
  border-radius: 20px;
  padding: 22px 20px;
  box-shadow: 0 10px 28px rgba(10, 40, 36, 0.06);
  backdrop-filter: blur(10px);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

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

.bcx-card h3 {
  margin-top: 0;
  font-size: 18px;
}

.bcx-card p {
  margin-bottom: 0;
  font-size: 14px;
}

.bcx-icon-dot {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  margin-bottom: 12px;
  background: linear-gradient(135deg, rgba(18, 196, 168, 0.2), rgba(255, 107, 74, 0.18));
  font-size: 18px;
}

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

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

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

.bcx-tile {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  min-height: 180px;
  box-shadow: var(--bcx-shadow);
}

.bcx-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 3 / 4;
  max-height: 480px;
}

.bcx-tile figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 16px;
  color: #fff;
  background: linear-gradient(transparent, rgba(10, 20, 24, 0.78));
  font-size: 14px;
}

/* Quote / ribbon */
.bcx-ribbon {
  margin: 28px 0;
  padding: 22px 24px;
  border-left: 4px solid var(--bcx-mint);
  background: linear-gradient(90deg, rgba(18, 196, 168, 0.12), transparent);
  border-radius: 0 16px 16px 0;
  font-family: "ZCOOL XiaoWei", serif;
  font-size: 18px;
  color: var(--bcx-ink);
}

/* Timeline */
.bcx-timeline {
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
  border-left: 2px dashed rgba(18, 196, 168, 0.45);
}

.bcx-timeline li {
  position: relative;
  padding: 0 0 22px 22px;
}

.bcx-timeline li::before {
  content: "";
  position: absolute;
  left: -7px;
  top: 8px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--bcx-peach);
  box-shadow: 0 0 0 4px rgba(255, 107, 74, 0.2);
}

.bcx-timeline strong {
  display: block;
  margin-bottom: 4px;
}

/* Breadcrumb */
.bcx-crumb {
  padding: 18px 0 0;
  font-size: 13px;
  color: var(--bcx-slate);
}

.bcx-crumb ol {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.bcx-crumb li:not(:last-child)::after {
  content: "/";
  margin-left: 6px;
  color: #99a;
}

.bcx-crumb a {
  text-decoration: none;
}

/* Legal pages */
.bcx-legal {
  padding: 24px 0 72px;
}

.bcx-legal-panel {
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid var(--bcx-line);
  border-radius: 24px;
  padding: 28px 22px;
  box-shadow: var(--bcx-shadow);
}

.bcx-legal-panel h1 {
  font-family: "ZCOOL XiaoWei", serif;
  font-size: clamp(28px, 5vw, 40px);
  margin: 0 0 8px;
}

.bcx-meta {
  font-size: 13px;
  color: #778;
  margin-bottom: 24px;
}

.bcx-legal-panel h2 {
  font-size: 22px;
  margin: 28px 0 10px;
  padding-top: 8px;
  border-top: 1px dashed var(--bcx-line);
}

.bcx-legal-panel h2:first-of-type {
  border-top: 0;
  padding-top: 0;
}

.bcx-legal-panel ul {
  padding-left: 1.2em;
  color: var(--bcx-slate);
}

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

/* Error pages */
.bcx-error {
  min-height: 70vh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 48px 16px;
}

.bcx-error-code {
  font-family: "Ma Shan Zheng", serif;
  font-size: clamp(72px, 18vw, 140px);
  line-height: 1;
  background: linear-gradient(135deg, var(--bcx-mint), var(--bcx-peach));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin: 0;
  animation: bcx-rise 0.8s ease both;
}

.bcx-error h1 {
  font-family: "ZCOOL XiaoWei", serif;
  font-size: 28px;
  margin: 8px 0 12px;
}

/* Footer */
.bcx-foot {
  margin-top: 40px;
  padding: 40px 0 28px;
  background: linear-gradient(180deg, transparent, rgba(10, 40, 36, 0.06));
  border-top: 1px solid var(--bcx-line);
}

.bcx-foot-grid {
  display: grid;
  gap: 24px;
}

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

.bcx-foot h3 {
  margin: 0 0 10px;
  font-size: 16px;
}

.bcx-foot p,
.bcx-foot a {
  font-size: 14px;
  color: var(--bcx-slate);
  text-decoration: none;
}

.bcx-foot ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.bcx-foot li {
  margin-bottom: 8px;
}

.bcx-copy {
  margin-top: 28px;
  padding-top: 16px;
  border-top: 1px solid var(--bcx-line);
  font-size: 12px;
  color: #889;
  text-align: center;
}

/* Reveal on scroll */
.bcx-reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.bcx-reveal.is-in {
  opacity: 1;
  transform: translateY(0);
}

/* Utility */
.bcx-muted {
  color: #778;
  font-size: 14px;
}

.bcx-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 16px 0;
}

.bcx-chip {
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(18, 196, 168, 0.12);
  color: var(--bcx-mint-deep);
  font-size: 12px;
  font-weight: 500;
}

.bcx-dl-zone {
  margin: 32px 0;
  padding: 28px 22px;
  border-radius: 24px;
  background:
    linear-gradient(135deg, rgba(18, 196, 168, 0.16), rgba(255, 107, 74, 0.12)),
    #fff;
  border: 1px solid var(--bcx-line);
  text-align: center;
}

.bcx-dl-zone h2 {
  margin-top: 0;
}

.bcx-float-orb {
  position: absolute;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  filter: blur(40px);
  opacity: 0.45;
  pointer-events: none;
  animation: bcx-drift 9s ease-in-out infinite alternate;
}

@keyframes bcx-drift {
  from {
    transform: translate(0, 0);
  }
  to {
    transform: translate(20px, -16px);
  }
}

.bcx-orb-a {
  background: var(--bcx-mint);
  top: 10%;
  right: 8%;
}

.bcx-orb-b {
  background: var(--bcx-peach);
  bottom: 18%;
  left: 6%;
  animation-delay: -3s;
}
