/* 哔咔漫画官网 - bloom visual system */
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+SC:wght@400;500;700;900&family=ZCOOL+QingKe+HuangYou&display=swap');

:root {
  --bloom-ink: #12182b;
  --bloom-dusk: #1c2440;
  --bloom-petal: #ff6b9d;
  --bloom-rose: #ff8fb8;
  --bloom-aqua: #3ddc97;
  --bloom-sky: #7ec8ff;
  --bloom-gold: #ffc857;
  --bloom-cloud: #fff9fc;
  --bloom-mist: #eef6ff;
  --bloom-fog: rgba(255, 249, 252, 0.72);
  --bloom-line: rgba(255, 107, 157, 0.28);
  --bloom-shadow: 0 18px 48px rgba(18, 24, 43, 0.18);
  --bloom-radius: 22px;
  --bloom-max: 1080px;
  --bloom-ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: 'Noto Sans SC', sans-serif;
  color: var(--bloom-ink);
  background:
    radial-gradient(1200px 600px at 10% -10%, rgba(255, 107, 157, 0.22), transparent 55%),
    radial-gradient(900px 500px at 90% 5%, rgba(126, 200, 255, 0.2), transparent 50%),
    linear-gradient(180deg, #fff5f9 0%, #f4f9ff 42%, #fff9fc 100%);
  line-height: 1.85;
  min-height: 100vh;
  overflow-x: hidden;
}

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

a {
  color: var(--bloom-petal);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  transition: color 0.25s var(--bloom-ease);
}

a:hover {
  color: #e0457a;
}

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

/* promo strip */
.bloom-promo {
  background: linear-gradient(90deg, #1c2440, #2a1840 48%, #1a3050);
  padding: 12px 0 8px;
  border-bottom: 1px solid rgba(255, 143, 184, 0.25);
}

.bloom-promo-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 14px;
}

.bloom-promo-item {
  width: 72px;
  text-align: center;
}

.bloom-promo-item a {
  display: block;
  text-decoration: none;
}

.bloom-promo-item img {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  object-fit: cover;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.28);
  transition: transform 0.2s var(--bloom-ease);
}

.bloom-promo-item img:hover {
  transform: translateY(-3px) scale(1.04);
}

.bloom-promo-item span {
  display: block;
  margin-top: 4px;
  font-size: 11px;
  color: rgba(255, 249, 252, 0.78);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* top nav */
.bloom-nav {
  position: sticky;
  top: 0;
  z-index: 80;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  background: rgba(255, 249, 252, 0.78);
  border-bottom: 1px solid var(--bloom-line);
}

.bloom-nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 64px;
  padding: 8px 0;
}

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

.bloom-brand img {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  box-shadow: 0 6px 16px rgba(255, 107, 157, 0.35);
}

.bloom-brand strong {
  font-family: 'ZCOOL QingKe HuangYou', 'Noto Sans SC', sans-serif;
  font-size: 1.35rem;
  letter-spacing: 0.04em;
  background: linear-gradient(120deg, var(--bloom-petal), #7ec8ff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.bloom-menu {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
  list-style: none;
}

.bloom-menu a {
  text-decoration: none;
  color: var(--bloom-dusk);
  font-size: 0.92rem;
  font-weight: 500;
  padding: 6px 2px;
  position: relative;
}

.bloom-menu a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--bloom-petal), var(--bloom-aqua));
  transition: width 0.25s var(--bloom-ease);
}

.bloom-menu a:hover::after,
.bloom-menu a.is-on::after {
  width: 100%;
}

.bloom-burger {
  display: none;
  border: 0;
  background: transparent;
  width: 42px;
  height: 42px;
  cursor: pointer;
  border-radius: 12px;
}

.bloom-burger span {
  display: block;
  width: 22px;
  height: 2px;
  margin: 5px auto;
  background: var(--bloom-ink);
  border-radius: 2px;
}

/* sticky download dock */
.bloom-dock {
  position: sticky;
  top: 64px;
  z-index: 70;
  display: none;
  background: rgba(18, 24, 43, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 107, 157, 0.25);
  padding: 10px 0;
}

.bloom-dock.is-show {
  display: block;
  animation: bloom-slide 0.35s var(--bloom-ease);
}

@keyframes bloom-slide {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.bloom-dock-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px 8px;
  justify-items: center;
}

.bloom-dock-item {
  width: 100%;
  max-width: 72px;
  text-align: center;
}

.bloom-dock-item a {
  text-decoration: none;
  display: block;
}

.bloom-dock-item img {
  width: 52px;
  height: 52px;
  margin: 0 auto;
  border-radius: 14px;
  object-fit: cover;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.3);
}

.bloom-dock-item span {
  display: block;
  margin-top: 4px;
  font-size: 10px;
  color: rgba(255, 249, 252, 0.75);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* hero */
.bloom-hero {
  position: relative;
  padding: 48px 0 36px;
  overflow: hidden;
}

.bloom-hero::before {
  content: '';
  position: absolute;
  inset: -20% -10% auto;
  height: 70%;
  background:
    radial-gradient(circle at 30% 40%, rgba(255, 107, 157, 0.28), transparent 45%),
    radial-gradient(circle at 70% 30%, rgba(61, 220, 151, 0.18), transparent 40%);
  pointer-events: none;
  animation: bloom-float 8s ease-in-out infinite alternate;
}

@keyframes bloom-float {
  from {
    transform: translateY(0) scale(1);
  }
  to {
    transform: translateY(18px) scale(1.04);
  }
}

.bloom-hero-panel {
  position: relative;
  display: grid;
  gap: 28px;
  align-items: center;
}

.bloom-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #6b728f;
  margin-bottom: 12px;
}

.bloom-kicker i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--bloom-aqua);
  box-shadow: 0 0 0 6px rgba(61, 220, 151, 0.2);
  animation: bloom-pulse 2s ease-in-out infinite;
}

@keyframes bloom-pulse {
  50% {
    box-shadow: 0 0 0 10px rgba(61, 220, 151, 0);
  }
}

.bloom-hero h1 {
  font-family: 'ZCOOL QingKe HuangYou', 'Noto Sans SC', sans-serif;
  font-size: clamp(1.9rem, 6vw, 2.8rem);
  line-height: 1.25;
  margin-bottom: 14px;
  color: var(--bloom-ink);
}

.bloom-hero-lead {
  font-size: 1.02rem;
  color: #3d4563;
  max-width: 36em;
}

.bloom-hero-visual {
  position: relative;
  justify-self: center;
}

.bloom-phone {
  width: min(260px, 70vw);
  border-radius: 28px;
  overflow: hidden;
  border: 3px solid rgba(255, 255, 255, 0.85);
  box-shadow: var(--bloom-shadow), 0 0 0 1px rgba(255, 107, 157, 0.2);
  transform: rotate(-3deg);
  animation: bloom-tilt 5s ease-in-out infinite alternate;
}

@keyframes bloom-tilt {
  from {
    transform: rotate(-3deg) translateY(0);
  }
  to {
    transform: rotate(2deg) translateY(-8px);
  }
}

.bloom-orb {
  position: absolute;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  filter: blur(2px);
  z-index: -1;
  background: radial-gradient(circle, rgba(255, 143, 184, 0.55), transparent 70%);
  right: -20px;
  top: -10px;
  animation: bloom-float 6s ease-in-out infinite alternate-reverse;
}

/* crumb */
.bloom-crumb {
  padding: 18px 0 6px;
  font-size: 0.88rem;
  color: #66708f;
}

.bloom-crumb a {
  text-decoration: none;
  color: #66708f;
}

.bloom-crumb span {
  margin: 0 6px;
  opacity: 0.5;
}

/* sections */
.bloom-section {
  padding: 36px 0;
}

.bloom-section h2 {
  font-family: 'ZCOOL QingKe HuangYou', 'Noto Sans SC', sans-serif;
  font-size: clamp(1.45rem, 4vw, 1.9rem);
  margin-bottom: 14px;
  line-height: 1.35;
}

.bloom-section h3 {
  font-size: 1.12rem;
  margin: 22px 0 10px;
  color: var(--bloom-dusk);
}

.bloom-section p {
  margin-bottom: 14px;
  color: #2d3450;
  font-size: 0.98rem;
}

.bloom-section ul,
.bloom-section ol {
  margin: 0 0 16px 1.2em;
  color: #2d3450;
}

.bloom-section li {
  margin-bottom: 8px;
}

.bloom-glass {
  background: var(--bloom-fog);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: var(--bloom-radius);
  box-shadow: var(--bloom-shadow);
  padding: 22px 20px;
}

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

.bloom-split.is-flip .bloom-media {
  order: -1;
}

.bloom-media {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--bloom-shadow);
  border: 2px solid rgba(255, 255, 255, 0.85);
  background: #fff;
}

.bloom-media img {
  width: 100%;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  object-position: top;
  max-height: 520px;
}

.bloom-cards {
  display: grid;
  gap: 16px;
}

.bloom-card {
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.92), rgba(255, 245, 249, 0.88));
  border: 1px solid rgba(255, 107, 157, 0.16);
  border-radius: 18px;
  padding: 18px 16px;
  box-shadow: 0 10px 28px rgba(18, 24, 43, 0.08);
  transition: transform 0.25s var(--bloom-ease), box-shadow 0.25s var(--bloom-ease);
}

.bloom-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(18, 24, 43, 0.14);
}

.bloom-card h3 {
  margin-top: 0;
  font-size: 1.05rem;
}

.bloom-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 12px 0 4px;
}

.bloom-chip {
  font-size: 0.78rem;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(255, 107, 157, 0.12);
  color: #c73d6f;
  border: 1px solid rgba(255, 107, 157, 0.2);
}

.bloom-wave {
  height: 48px;
  width: 100%;
  background:
    radial-gradient(48px 24px at 12% 100%, transparent 49%, rgba(255, 143, 184, 0.15) 50%),
    radial-gradient(48px 24px at 37% 100%, transparent 49%, rgba(126, 200, 255, 0.15) 50%),
    radial-gradient(48px 24px at 62% 100%, transparent 49%, rgba(61, 220, 151, 0.12) 50%),
    radial-gradient(48px 24px at 87% 100%, transparent 49%, rgba(255, 143, 184, 0.12) 50%);
  background-size: 100% 100%;
  opacity: 0.9;
}

.bloom-quote {
  border-left: 4px solid var(--bloom-aqua);
  padding: 12px 16px;
  margin: 18px 0;
  background: rgba(61, 220, 151, 0.08);
  border-radius: 0 14px 14px 0;
  color: #2a3550;
}

.bloom-cta-band {
  margin: 28px 0;
  padding: 26px 20px;
  border-radius: 24px;
  background:
    linear-gradient(135deg, rgba(255, 107, 157, 0.95), rgba(126, 200, 255, 0.9));
  color: #fff;
  text-align: center;
  box-shadow: var(--bloom-shadow);
}

.bloom-cta-band h2 {
  color: #fff;
  margin-bottom: 8px;
}

.bloom-cta-band p {
  color: rgba(255, 255, 255, 0.92);
  margin-bottom: 16px;
}

.bloom-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 0 22px;
  border-radius: 999px;
  background: #12182b;
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  box-shadow: 0 10px 24px rgba(18, 24, 43, 0.25);
  transition: transform 0.2s var(--bloom-ease), background 0.2s;
}

.bloom-btn:hover {
  transform: translateY(-2px);
  background: #1c2440;
  color: #fff;
}

.bloom-btn.is-soft {
  background: #fff;
  color: var(--bloom-ink);
}

.bloom-btn.is-soft:hover {
  background: #fff5f9;
  color: var(--bloom-ink);
}

.bloom-mosaic {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.bloom-mosaic .bloom-media {
  margin: 0;
}

.bloom-mosaic .bloom-media:first-child {
  grid-column: 1 / -1;
}

.bloom-mosaic img {
  max-height: 360px;
}

.bloom-timeline {
  position: relative;
  padding-left: 22px;
}

.bloom-timeline::before {
  content: '';
  position: absolute;
  left: 6px;
  top: 6px;
  bottom: 6px;
  width: 2px;
  background: linear-gradient(180deg, var(--bloom-petal), var(--bloom-aqua));
}

.bloom-step {
  position: relative;
  margin-bottom: 18px;
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.75);
  border-radius: 14px;
  border: 1px solid rgba(255, 107, 157, 0.12);
}

.bloom-step::before {
  content: '';
  position: absolute;
  left: -20px;
  top: 20px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--bloom-petal);
  box-shadow: 0 0 0 4px rgba(255, 107, 157, 0.2);
}

/* legal pages */
.bloom-legal {
  padding: 10px 0 48px;
}

.bloom-legal .bloom-glass {
  padding: 28px 22px;
}

.bloom-legal h1 {
  font-family: 'ZCOOL QingKe HuangYou', 'Noto Sans SC', sans-serif;
  font-size: clamp(1.6rem, 4.5vw, 2.2rem);
  margin-bottom: 10px;
}

.bloom-legal .bloom-meta {
  color: #6b728f;
  font-size: 0.9rem;
  margin-bottom: 22px;
}

/* error pages */
.bloom-error {
  min-height: 70vh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 40px 0;
}

.bloom-error h1 {
  font-family: 'ZCOOL QingKe HuangYou', 'Noto Sans SC', sans-serif;
  font-size: clamp(2.4rem, 10vw, 4rem);
  background: linear-gradient(120deg, var(--bloom-petal), var(--bloom-sky));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 10px;
}

.bloom-error p {
  color: #3d4563;
  margin-bottom: 18px;
}

/* footer */
.bloom-foot {
  margin-top: 40px;
  background: linear-gradient(180deg, #1c2440, #12182b);
  color: rgba(255, 249, 252, 0.86);
  padding: 40px 0 28px;
}

.bloom-foot a {
  color: #ffb3cd;
  text-decoration: none;
}

.bloom-foot a:hover {
  color: #fff;
}

.bloom-foot-grid {
  display: grid;
  gap: 22px;
}

.bloom-foot h3 {
  font-size: 1rem;
  margin-bottom: 10px;
  color: #fff;
}

.bloom-foot ul {
  list-style: none;
}

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

.bloom-copy {
  margin-top: 26px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.85rem;
  color: rgba(255, 249, 252, 0.55);
  text-align: center;
}

/* reveal motion */
.bloom-reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s var(--bloom-ease), transform 0.6s var(--bloom-ease);
}

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

@media (min-width: 768px) {
  .bloom-burger {
    display: none !important;
  }

  .bloom-menu {
    display: flex !important;
  }

  .bloom-hero-panel {
    grid-template-columns: 1.15fr 0.85fr;
  }

  .bloom-split {
    grid-template-columns: 1fr 1fr;
  }

  .bloom-split.is-flip .bloom-media {
    order: 0;
  }

  .bloom-split.is-flip .bloom-copyblock {
    order: -1;
  }

  .bloom-cards {
    grid-template-columns: repeat(3, 1fr);
  }

  .bloom-cards.is-two {
    grid-template-columns: repeat(2, 1fr);
  }

  .bloom-dock-grid {
    grid-template-columns: repeat(8, minmax(0, 1fr));
  }

  .bloom-mosaic {
    grid-template-columns: repeat(3, 1fr);
  }

  .bloom-mosaic .bloom-media:first-child {
    grid-column: auto;
  }

  .bloom-foot-grid {
    grid-template-columns: 1.4fr 1fr 1fr;
  }

  .bloom-media img {
    max-height: 560px;
  }
}

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

  .bloom-menu {
    display: none;
    width: 100%;
    flex-direction: column;
    padding-bottom: 12px;
  }

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

  .bloom-nav-row {
    flex-wrap: wrap;
  }

  .bloom-dock {
    top: 56px;
  }
}
