@import url("https://fonts.googleapis.com/css2?family=Noto+Sans+SC:wght@400;500;700;900&family=ZCOOL+XiaoWei&display=swap");

:root {
  --bloom-ink: #14233a;
  --bloom-ink-soft: #243652;
  --bloom-sakura: #ff4d7a;
  --bloom-sakura-deep: #d6325c;
  --bloom-mint: #2eb8a0;
  --bloom-sky: #6eb6ff;
  --bloom-cream: #fff7fb;
  --bloom-mist: #f3f8ff;
  --bloom-line: rgba(20, 35, 58, 0.08);
  --bloom-glass: rgba(255, 255, 255, 0.55);
  --bloom-shadow: 0 18px 40px rgba(20, 35, 58, 0.12);
  --bloom-radius: 22px;
  --bloom-max: 1080px;
  --bloom-font: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  --bloom-display: "ZCOOL XiaoWei", "Noto Sans SC", serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--bloom-font);
  color: var(--bloom-ink);
  background:
    radial-gradient(1200px 600px at 10% -10%, rgba(255, 77, 122, 0.18), transparent 55%),
    radial-gradient(900px 500px at 100% 0%, rgba(110, 182, 255, 0.22), transparent 50%),
    linear-gradient(180deg, var(--bloom-cream), var(--bloom-mist) 40%, #ffffff 100%);
  line-height: 1.75;
  min-height: 100vh;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--bloom-sakura-deep);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--bloom-ink);
}

.bloom-wrap {
  width: min(100% - 2rem, var(--bloom-max));
  margin-inline: auto;
}

.bloom-skip {
  position: absolute;
  left: -999px;
  top: 0;
}

.bloom-skip:focus {
  left: 1rem;
  top: 1rem;
  z-index: 100;
  background: #fff;
  padding: 0.5rem 1rem;
}

/* Promo rail */
.bloom-promo {
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--bloom-line);
  padding: 0.7rem 0 0.4rem;
}

.bloom-promo-title {
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  color: var(--bloom-ink-soft);
  margin: 0 0 0.45rem;
  text-align: center;
}

.bloom-ad-rail {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.55rem 0.75rem;
}

.bloom-ad-cell {
  width: calc(25% - 0.75rem);
  max-width: 78px;
  text-align: center;
}

.bloom-ad-link img {
  width: 65px;
  height: 65px;
  object-fit: cover;
  border-radius: 18px;
  box-shadow: 0 8px 20px rgba(20, 35, 58, 0.14);
  margin: 0 auto;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.bloom-ad-link:hover img {
  transform: translateY(-4px) scale(1.04);
  box-shadow: 0 12px 26px rgba(20, 35, 58, 0.2);
}

.bloom-ad-caption {
  display: block;
  margin-top: 0.25rem;
  font-size: 0.68rem;
  color: #667288;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

@media (min-width: 900px) {
  .bloom-ad-cell {
    width: calc(12.5% - 0.75rem);
  }
}

/* Header */
.bloom-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 247, 251, 0.82);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--bloom-line);
}

.bloom-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.7rem 0;
}

.bloom-brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: var(--bloom-ink);
}

.bloom-brand img {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: 0 6px 16px rgba(214, 50, 92, 0.25);
}

.bloom-brand-text {
  font-family: var(--bloom-display);
  font-size: 1.35rem;
  letter-spacing: 0.04em;
}

.bloom-nav-toggle {
  border: 0;
  background: transparent;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  cursor: pointer;
}

.bloom-nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--bloom-ink);
  margin: 3px 0;
  transition: 0.2s ease;
}

.bloom-nav-toggle.is-active span:nth-child(1) {
  transform: translateY(5px) rotate(45deg);
}
.bloom-nav-toggle.is-active span:nth-child(2) {
  opacity: 0;
}
.bloom-nav-toggle.is-active span:nth-child(3) {
  transform: translateY(-5px) rotate(-45deg);
}

.bloom-nav-menu {
  display: none;
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--bloom-line);
  padding: 0.8rem 1rem 1rem;
}

.bloom-nav-menu.is-open {
  display: block;
}

.bloom-nav-menu a {
  display: block;
  padding: 0.55rem 0.2rem;
  color: var(--bloom-ink);
  text-decoration: none;
  font-weight: 500;
}

.bloom-nav-menu a:hover {
  color: var(--bloom-sakura-deep);
}

@media (min-width: 860px) {
  .bloom-nav-toggle {
    display: none;
  }
  .bloom-nav-menu {
    display: flex !important;
    position: static;
    background: transparent;
    border: 0;
    padding: 0;
    gap: 1.1rem;
  }
  .bloom-nav-menu a {
    display: inline-block;
    padding: 0.2rem 0;
    font-size: 0.95rem;
  }
}

/* Sticky download bar */
.bloom-sticky-bar {
  position: sticky;
  top: 58px;
  z-index: 45;
  background: rgba(20, 35, 58, 0.92);
  color: #fff;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.28s ease, opacity 0.28s ease, padding 0.28s ease;
  padding: 0;
}

.bloom-sticky-bar.is-visible {
  max-height: 220px;
  opacity: 1;
  padding: 0.55rem 0 0.35rem;
}

.bloom-sticky-bar .bloom-ad-caption {
  color: rgba(255, 255, 255, 0.78);
}

.bloom-sticky-label {
  text-align: center;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  margin: 0 0 0.35rem;
  color: rgba(255, 255, 255, 0.7);
}

body.bloom-sticky-open {
  scroll-padding-top: 180px;
}

/* Hero */
.bloom-hero {
  position: relative;
  overflow: hidden;
  min-height: min(88vh, 760px);
  display: grid;
  align-items: end;
  color: #fff;
  isolation: isolate;
}

.bloom-hero-media {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.bloom-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.04);
  animation: bloom-drift 18s ease-in-out infinite alternate;
}

.bloom-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(20, 35, 58, 0.25) 0%, rgba(20, 35, 58, 0.55) 42%, rgba(20, 35, 58, 0.88) 100%),
    radial-gradient(600px 320px at 80% 20%, rgba(255, 77, 122, 0.35), transparent 60%);
}

.bloom-hero-copy {
  padding: 5.5rem 0 2.8rem;
}

.bloom-hero-brand {
  font-family: var(--bloom-display);
  font-size: clamp(2.6rem, 9vw, 4.6rem);
  line-height: 1.05;
  margin: 0 0 0.8rem;
  letter-spacing: 0.06em;
  text-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  animation: bloom-rise 0.9s ease both;
}

.bloom-hero h1 {
  font-size: clamp(1.15rem, 3.6vw, 1.7rem);
  font-weight: 700;
  margin: 0 0 0.75rem;
  max-width: 18em;
  animation: bloom-rise 1s ease 0.08s both;
}

.bloom-hero-lead {
  margin: 0;
  max-width: 34em;
  font-size: 0.98rem;
  color: rgba(255, 255, 255, 0.88);
  animation: bloom-rise 1.05s ease 0.16s both;
}

@keyframes bloom-rise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes bloom-drift {
  from {
    transform: scale(1.04) translate3d(0, 0, 0);
  }
  to {
    transform: scale(1.1) translate3d(-2%, -1%, 0);
  }
}

/* Sections */
.bloom-section {
  padding: 2.8rem 0;
}

.bloom-section-alt {
  background: rgba(255, 255, 255, 0.55);
  border-block: 1px solid var(--bloom-line);
}

.bloom-kicker {
  display: inline-block;
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  color: var(--bloom-mint);
  margin-bottom: 0.45rem;
}

.bloom-section h2 {
  font-family: var(--bloom-display);
  font-size: clamp(1.5rem, 4vw, 2.1rem);
  margin: 0 0 0.85rem;
  line-height: 1.25;
}

.bloom-section h3 {
  font-size: 1.15rem;
  margin: 1.4rem 0 0.55rem;
  color: var(--bloom-ink-soft);
}

.bloom-prose p {
  margin: 0 0 1rem;
  font-size: 0.98rem;
  color: #2a3b55;
}

.bloom-prose p:last-child {
  margin-bottom: 0;
}

/* Feature mosaic */
.bloom-mosaic {
  display: grid;
  gap: 1rem;
  margin-top: 1.4rem;
}

.bloom-tile {
  background: var(--bloom-glass);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: var(--bloom-radius);
  box-shadow: var(--bloom-shadow);
  overflow: hidden;
  transition: transform 0.25s ease;
}

.bloom-tile:hover {
  transform: translateY(-4px);
}

.bloom-tile img {
  width: 100%;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  max-height: 420px;
}

.bloom-tile-body {
  padding: 1rem 1.05rem 1.15rem;
}

.bloom-tile-body h3 {
  margin-top: 0;
}

@media (min-width: 720px) {
  .bloom-mosaic {
    grid-template-columns: repeat(2, 1fr);
  }
  .bloom-mosaic-3 {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Split blocks */
.bloom-split {
  display: grid;
  gap: 1.4rem;
  align-items: center;
  margin: 1.5rem 0;
}

.bloom-split img {
  border-radius: calc(var(--bloom-radius) + 4px);
  box-shadow: var(--bloom-shadow);
  width: 100%;
  max-height: 560px;
  object-fit: cover;
  object-position: top;
}

@media (min-width: 860px) {
  .bloom-split {
    grid-template-columns: 0.9fr 1.1fr;
    gap: 2rem;
  }
  .bloom-split.reverse {
    grid-template-columns: 1.1fr 0.9fr;
  }
  .bloom-split.reverse .bloom-split-media {
    order: 2;
  }
}

/* Rank board */
.bloom-rank {
  display: grid;
  gap: 0.7rem;
  margin-top: 1.2rem;
}

.bloom-rank-item {
  display: grid;
  grid-template-columns: 48px 1fr auto;
  gap: 0.8rem;
  align-items: center;
  padding: 0.85rem 1rem;
  border-radius: 16px;
  background: #fff;
  border: 1px solid var(--bloom-line);
  box-shadow: 0 8px 20px rgba(20, 35, 58, 0.05);
}

.bloom-rank-num {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  font-weight: 900;
  color: #fff;
  background: linear-gradient(135deg, var(--bloom-sakura), var(--bloom-sky));
}

.bloom-rank-item strong {
  display: block;
  font-size: 1rem;
}

.bloom-rank-item span {
  font-size: 0.82rem;
  color: #667288;
}

.bloom-rank-tag {
  font-size: 0.75rem;
  color: var(--bloom-mint);
  font-weight: 700;
}

/* CTA band */
.bloom-cta {
  margin: 1.8rem 0;
  padding: 1.4rem 1.2rem;
  border-radius: 24px;
  background:
    linear-gradient(135deg, rgba(255, 77, 122, 0.12), rgba(46, 184, 160, 0.14)),
    #fff;
  border: 1px solid rgba(255, 77, 122, 0.18);
  text-align: center;
}

.bloom-cta p {
  margin: 0 0 0.9rem;
}

.bloom-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-height: 46px;
  padding: 0.65rem 1.35rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--bloom-sakura), var(--bloom-sakura-deep));
  color: #fff !important;
  text-decoration: none !important;
  font-weight: 700;
  box-shadow: 0 12px 28px rgba(214, 50, 92, 0.28);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.bloom-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 32px rgba(214, 50, 92, 0.35);
}

.bloom-btn-ghost {
  background: transparent;
  color: var(--bloom-ink) !important;
  border: 1px solid var(--bloom-line);
  box-shadow: none;
  margin-left: 0.5rem;
}

/* Breadcrumb */
.bloom-crumb {
  padding: 1rem 0 0;
  font-size: 0.86rem;
  color: #667288;
}

.bloom-crumb a {
  color: var(--bloom-ink-soft);
  text-decoration: none;
}

.bloom-crumb a:hover {
  color: var(--bloom-sakura-deep);
}

.bloom-crumb span {
  margin: 0 0.35rem;
  opacity: 0.5;
}

/* Legal / sub pages */
.bloom-page-hero {
  padding: 1.8rem 0 0.5rem;
}

.bloom-page-hero h1 {
  font-family: var(--bloom-display);
  font-size: clamp(1.7rem, 5vw, 2.4rem);
  margin: 0.3rem 0 0.6rem;
}

.bloom-legal {
  padding-bottom: 3rem;
}

.bloom-legal h2 {
  margin-top: 1.8rem;
}

/* Error pages */
.bloom-error {
  min-height: 60vh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 3rem 1rem;
}

.bloom-error-code {
  font-family: var(--bloom-display);
  font-size: clamp(4rem, 16vw, 7rem);
  line-height: 1;
  background: linear-gradient(135deg, var(--bloom-sakura), var(--bloom-sky));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin: 0;
}

/* Footer */
.bloom-footer {
  margin-top: 2rem;
  background: var(--bloom-ink);
  color: rgba(255, 255, 255, 0.82);
  padding: 2.4rem 0 1.6rem;
}

.bloom-footer a {
  color: #fff;
  text-decoration: none;
}

.bloom-footer a:hover {
  color: var(--bloom-sakura);
}

.bloom-footer-grid {
  display: grid;
  gap: 1.4rem;
}

.bloom-footer h3 {
  margin: 0 0 0.6rem;
  font-size: 1rem;
  color: #fff;
}

.bloom-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.bloom-footer li {
  margin-bottom: 0.4rem;
}

.bloom-footer-copy {
  margin-top: 1.6rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.55);
}

@media (min-width: 720px) {
  .bloom-footer-grid {
    grid-template-columns: 1.4fr 1fr 1fr;
  }
}

/* Wave divider */
.bloom-wave {
  height: 48px;
  background:
    radial-gradient(circle at 20% 0, rgba(255, 77, 122, 0.18), transparent 40%),
    radial-gradient(circle at 80% 100%, rgba(46, 184, 160, 0.16), transparent 45%);
}

/* Phone frame accent */
.bloom-phone {
  position: relative;
  border-radius: 28px;
  padding: 0.55rem;
  background: linear-gradient(160deg, #fff, #ffe8f0);
  box-shadow: var(--bloom-shadow);
}

.bloom-phone img {
  border-radius: 22px;
  max-height: 520px;
  width: 100%;
  object-fit: cover;
  object-position: top;
}

.bloom-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 1rem 0;
}

.bloom-chip {
  padding: 0.28rem 0.7rem;
  border-radius: 999px;
  background: rgba(46, 184, 160, 0.12);
  color: #1b7d6d;
  font-size: 0.78rem;
  font-weight: 600;
}

.bloom-quote {
  margin: 1.4rem 0;
  padding: 1.1rem 1.2rem;
  border-left: 4px solid var(--bloom-sakura);
  background: rgba(255, 255, 255, 0.7);
  border-radius: 0 16px 16px 0;
  font-family: var(--bloom-display);
  font-size: 1.15rem;
  color: var(--bloom-ink-soft);
}

.bloom-inline-links a {
  margin-right: 0.8rem;
}
