:root {
  --bg: #fff8fd;
  --bg-soft: #fff3ea;
  --paper: rgba(255, 255, 255, 0.74);
  --paper-strong: rgba(255, 255, 255, 0.92);
  --ink: #3e2d63;
  --ink-soft: #6d5b91;
  --pink: #ff7ab6;
  --pink-strong: #ff4a9a;
  --blue: #7ad8ff;
  --yellow: #ffe278;
  --mint: #9ef0cb;
  --peach: #ffb38f;
  --lavender: #cbb8ff;
  --shadow: 0 24px 60px rgba(120, 74, 162, 0.16);
  --shadow-strong: 0 28px 90px rgba(255, 90, 163, 0.22);
  --radius-xl: 36px;
  --radius-lg: 28px;
  --radius-md: 20px;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  font-family: "Trebuchet MS", "Avenir Next", "PingFang SC", "Microsoft YaHei",
    sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(255, 122, 182, 0.22), transparent 30%),
    radial-gradient(circle at top right, rgba(122, 216, 255, 0.22), transparent 24%),
    radial-gradient(circle at 50% 20%, rgba(255, 226, 120, 0.14), transparent 20%),
    linear-gradient(180deg, #fffdf7 0%, #fff7fd 38%, #fef5ff 65%, #fff8ef 100%);
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.2) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.2) 1px, transparent 1px);
  background-size: 28px 28px;
  opacity: 0.24;
  mix-blend-mode: soft-light;
}

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

a {
  color: inherit;
  text-decoration: none;
}

.ambient {
  position: fixed;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: -1;
}

.blob,
.spark {
  position: absolute;
}

.blob {
  border-radius: 999px;
  filter: blur(10px);
  opacity: 0.72;
  animation: drift 14s ease-in-out infinite;
}

.blob-a {
  top: 6%;
  left: -4rem;
  width: 16rem;
  height: 16rem;
  background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.95), rgba(255, 122, 182, 0.58));
}

.blob-b {
  top: 34%;
  right: -5rem;
  width: 20rem;
  height: 20rem;
  background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.92), rgba(122, 216, 255, 0.52));
  animation-delay: -5s;
}

.blob-c {
  bottom: 8%;
  left: 12%;
  width: 18rem;
  height: 18rem;
  background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.92), rgba(255, 226, 120, 0.42));
  animation-delay: -9s;
}

.spark {
  width: 16px;
  height: 16px;
  background: white;
  clip-path: polygon(50% 0%, 63% 37%, 100% 50%, 63% 63%, 50% 100%, 37% 63%, 0% 50%, 37% 37%);
  opacity: 0.65;
  animation: twinkle 5s ease-in-out infinite;
}

.spark-a {
  top: 12%;
  left: 14%;
}

.spark-b {
  top: 24%;
  right: 18%;
  animation-delay: -1.2s;
}

.spark-c {
  bottom: 22%;
  left: 8%;
  animation-delay: -2.6s;
}

.spark-d {
  bottom: 12%;
  right: 12%;
  animation-delay: -3.8s;
}

.topbar {
  position: sticky;
  top: 18px;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: min(calc(100% - 28px), var(--max));
  margin: 18px auto 0;
  padding: 12px 18px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 999px;
  backdrop-filter: blur(18px);
  background: rgba(255, 255, 255, 0.68);
  box-shadow: 0 12px 34px rgba(112, 71, 163, 0.12);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 0.95rem;
}

.brand strong {
  font-size: 1rem;
  letter-spacing: 0.02em;
}

.brand-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 12px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--pink), var(--blue));
  color: white;
  font-size: 0.76rem;
  font-weight: 700;
  box-shadow: 0 10px 26px rgba(255, 96, 173, 0.28);
}

.nav {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.nav a {
  padding: 10px 14px;
  border-radius: 999px;
  color: var(--ink-soft);
  transition: background-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.nav a:hover {
  background: rgba(255, 255, 255, 0.86);
  color: var(--ink);
  transform: translateY(-2px);
}

.hero,
.section-shell,
.footer {
  width: min(calc(100% - 28px), var(--max));
  margin-inline: auto;
}

.hero {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 26px;
  align-items: center;
  padding: 52px 0 30px;
}

.hero-copy {
  padding-right: 1rem;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 14px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.8);
  color: var(--pink-strong);
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero h1,
.section-heading h2,
.contact-box h2 {
  margin: 0;
  line-height: 0.98;
  letter-spacing: -0.04em;
  font-weight: 900;
}

.hero h1 {
  font-size: clamp(3.4rem, 8vw, 6.8rem);
}

.hero-text,
.section-heading p,
.story-card p,
.vibe-card p,
.polaroid p,
.bear-card p,
.bubble-note p,
.contact-box p {
  color: var(--ink-soft);
  line-height: 1.75;
}

.hero-text {
  max-width: 38rem;
  margin: 18px 0 0;
  font-size: 1.08rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 20px;
  border-radius: 999px;
  font-weight: 800;
  transition: transform 200ms ease, box-shadow 200ms ease, background-color 200ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  background: linear-gradient(135deg, var(--pink), #ff96a2 45%, var(--yellow));
  color: #fff;
  box-shadow: 0 18px 38px rgba(255, 94, 165, 0.28);
}

.button-secondary {
  border: 1px solid rgba(86, 62, 120, 0.12);
  background: rgba(255, 255, 255, 0.78);
  color: var(--ink);
}

.stat-row {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  padding: 0;
  margin: 28px 0 0;
  list-style: none;
}

.stat-row li {
  min-width: 150px;
  padding: 18px 18px 16px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.68);
  border: 1px solid rgba(255, 255, 255, 0.76);
  box-shadow: var(--shadow);
}

.stat-row strong {
  display: block;
  font-size: 1.7rem;
  margin-bottom: 6px;
}

.stat-row span {
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.hero-stage {
  position: relative;
  min-height: 640px;
  padding: 26px;
  border-radius: 42px;
  background:
    radial-gradient(circle at 10% 10%, rgba(255, 255, 255, 0.95), transparent 26%),
    radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.72), transparent 18%),
    linear-gradient(145deg, rgba(255, 140, 188, 0.92), rgba(126, 210, 255, 0.94) 40%, rgba(255, 232, 124, 0.9) 78%, rgba(168, 248, 206, 0.92));
  box-shadow: var(--shadow-strong);
  overflow: hidden;
  transform: perspective(1200px) rotateX(calc(var(--stage-y, 0) * 1deg))
    rotateY(calc(var(--stage-x, 0) * 1deg));
  transition: transform 200ms ease;
}

.hero-stage::before,
.hero-stage::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  pointer-events: none;
}

.hero-stage::before {
  inset: auto auto -4rem -3rem;
  width: 14rem;
  height: 14rem;
  background: rgba(255, 255, 255, 0.26);
}

.hero-stage::after {
  top: -3.2rem;
  right: -3rem;
  width: 15rem;
  height: 15rem;
  background: rgba(255, 255, 255, 0.2);
}

.stage-panel,
.floating-card,
.sticker,
.bubble-note,
.bear-card,
.story-card,
.vibe-card,
.polaroid,
.feature-band,
.contact-box {
  border: 1px solid rgba(255, 255, 255, 0.78);
  background: var(--paper);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow);
}

.panel-main {
  position: absolute;
  top: 34px;
  left: 30px;
  width: min(74%, 390px);
  padding: 24px;
  border-radius: 30px;
}

.panel-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.pill {
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--pink-strong);
  font-size: 0.82rem;
  font-weight: 800;
}

.mini-dot {
  width: 14px;
  height: 14px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--pink), var(--yellow));
}

.panel-main h2,
.panel-note strong,
.floating-card strong,
.story-card h3,
.vibe-card h3,
.polaroid strong,
.bear-card h3,
.bubble-note strong {
  margin: 0;
}

.panel-main h2 {
  font-size: clamp(1.7rem, 4vw, 2.6rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.panel-main p {
  margin: 12px 0 18px;
  line-height: 1.7;
  color: rgba(62, 45, 99, 0.82);
}

.color-swatches {
  display: flex;
  gap: 10px;
}

.color-swatches span {
  width: 30px;
  height: 30px;
  border-radius: 999px;
  background: var(--swatch);
  border: 3px solid rgba(255, 255, 255, 0.76);
  box-shadow: inset 0 6px 10px rgba(255, 255, 255, 0.3);
}

.panel-note {
  position: absolute;
  right: 34px;
  top: 56px;
  width: min(48%, 270px);
  padding: 20px;
  border-radius: 26px;
}

.panel-note p,
.floating-card small {
  display: block;
  margin: 0 0 8px;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(62, 45, 99, 0.62);
}

.sticker {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 12px;
  width: min(58%, 280px);
  padding: 14px 16px;
  border-radius: 24px;
}

.sticker img {
  width: 76px;
  height: 76px;
  flex: 0 0 auto;
}

.sticker span {
  color: var(--ink);
  font-weight: 700;
  line-height: 1.45;
}

.sticker-left {
  left: 26px;
  bottom: 42px;
  background: rgba(255, 249, 252, 0.78);
  transform: rotate(-4deg);
}

.sticker-right {
  right: 24px;
  bottom: 130px;
  background: rgba(255, 255, 247, 0.76);
  transform: rotate(5deg);
}

.floating-card {
  position: absolute;
  width: 220px;
  padding: 18px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.72);
}

.floating-card-one {
  left: 58px;
  top: 330px;
  transform: rotate(4deg);
}

.floating-card-two {
  right: 52px;
  bottom: 36px;
  transform: rotate(-6deg);
}

.marquee {
  margin-top: 18px;
  padding: 16px 0;
  overflow: hidden;
  border-block: 1px solid rgba(255, 255, 255, 0.8);
  background: rgba(255, 255, 255, 0.55);
}

.marquee-track {
  display: flex;
  gap: 26px;
  width: max-content;
  color: var(--pink-strong);
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  animation: marquee 22s linear infinite;
}

.marquee-track span::before {
  content: "✦";
  margin-right: 14px;
  color: var(--blue);
}

.section-shell {
  margin-top: 28px;
  padding: 38px 0;
}

.section-heading {
  max-width: 780px;
}

.section-heading h2 {
  font-size: clamp(2.4rem, 6vw, 4.4rem);
}

.section-heading p {
  margin-top: 18px;
}

.story-grid,
.vibe-grid,
.showcase-grid,
.bear-stage {
  display: grid;
  gap: 18px;
  margin-top: 26px;
}

.story-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.story-card {
  padding: 24px;
  border-radius: var(--radius-lg);
}

.story-card h3 {
  margin-top: 16px;
  font-size: 1.5rem;
}

.card-tag {
  display: inline-flex;
  align-items: center;
  padding: 7px 11px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.84);
  color: var(--pink-strong);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.card-pink {
  background: linear-gradient(180deg, rgba(255, 233, 244, 0.92), rgba(255, 255, 255, 0.7));
}

.card-blue {
  background: linear-gradient(180deg, rgba(226, 247, 255, 0.92), rgba(255, 255, 255, 0.7));
}

.card-yellow {
  background: linear-gradient(180deg, rgba(255, 249, 223, 0.92), rgba(255, 255, 255, 0.7));
}

.vibe-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.vibe-card {
  padding: 22px;
  border-radius: var(--radius-lg);
}

.vibe-icon {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 18px;
  background: linear-gradient(135deg, var(--pink), var(--yellow));
  color: white;
  font-size: 1.4rem;
  font-weight: 900;
  box-shadow: 0 16px 28px rgba(255, 94, 165, 0.22);
}

.vibe-card h3 {
  margin-top: 18px;
  font-size: 1.35rem;
}

.feature-band {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 22px;
  padding: 20px;
  border-radius: var(--radius-xl);
}

.feature-band span {
  display: block;
  margin-bottom: 8px;
  color: var(--ink-soft);
  font-size: 0.86rem;
}

.feature-band strong {
  font-size: 1.06rem;
  line-height: 1.45;
}

.showcase-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.polaroid {
  padding: 16px;
  border-radius: 26px;
}

.polaroid-art {
  aspect-ratio: 0.84;
  border-radius: 20px;
  margin-bottom: 14px;
}

.art-one {
  background:
    radial-gradient(circle at 22% 24%, rgba(255, 255, 255, 0.8), transparent 18%),
    linear-gradient(135deg, #ff7ab6, #ffafc9 48%, #fff1b9);
}

.art-two {
  background:
    radial-gradient(circle at 65% 24%, rgba(255, 255, 255, 0.84), transparent 16%),
    linear-gradient(135deg, #7ad8ff, #8cf6f0 52%, #daeaff);
}

.art-three {
  background:
    radial-gradient(circle at 34% 28%, rgba(255, 255, 255, 0.86), transparent 18%),
    linear-gradient(135deg, #ffe278, #ffd39f 50%, #fff8d9);
}

.art-four {
  background:
    radial-gradient(circle at 58% 32%, rgba(255, 255, 255, 0.84), transparent 16%),
    linear-gradient(135deg, #9ef0cb, #7ddcff 56%, #edf8ff);
}

.polaroid strong {
  display: block;
  margin-bottom: 8px;
  font-size: 1.2rem;
}

.bear-stage {
  grid-template-columns: 1fr 0.8fr 1fr;
  align-items: center;
}

.bear-card {
  display: grid;
  gap: 18px;
  align-items: center;
  padding: 24px;
  border-radius: 32px;
}

.bear-card img {
  width: min(100%, 240px);
  margin: 0 auto;
}

.bear-card-light {
  background: linear-gradient(180deg, rgba(255, 240, 247, 0.92), rgba(255, 255, 255, 0.72));
}

.bear-card-dark {
  background: linear-gradient(180deg, rgba(255, 245, 225, 0.92), rgba(255, 255, 255, 0.72));
}

.bear-center {
  display: grid;
  place-items: center;
}

.bubble-note {
  padding: 24px;
  border-radius: 32px;
  text-align: left;
}

.bubble-note strong {
  display: block;
  margin-bottom: 10px;
  font-size: 1.2rem;
}

.contact-box {
  padding: 34px;
  border-radius: 36px;
  background:
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.76), transparent 22%),
    linear-gradient(135deg, rgba(255, 246, 251, 0.88), rgba(241, 251, 255, 0.8) 44%, rgba(255, 250, 228, 0.88));
}

.footer {
  padding: 18px 0 34px;
  color: rgba(62, 45, 99, 0.68);
  text-align: center;
}

.footer p {
  margin: 6px 0;
}

.reveal {
  opacity: 0;
  transform: translateY(22px) scale(0.985);
  transition:
    opacity 620ms ease,
    transform 620ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

@keyframes drift {
  0%,
  100% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  50% {
    transform: translate3d(18px, -24px, 0) scale(1.05);
  }
}

@keyframes twinkle {
  0%,
  100% {
    transform: scale(0.85) rotate(0deg);
    opacity: 0.4;
  }
  50% {
    transform: scale(1.25) rotate(18deg);
    opacity: 0.92;
  }
}

@keyframes marquee {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

@media (max-width: 1120px) {
  .hero {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    padding-right: 0;
  }

  .vibe-grid,
  .showcase-grid,
  .story-grid,
  .bear-stage,
  .feature-band {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 820px) {
  .topbar {
    position: static;
    border-radius: 28px;
    margin-top: 14px;
  }

  .nav {
    justify-content: flex-start;
  }

  .hero {
    padding-top: 22px;
  }

  .hero-stage {
    min-height: 760px;
    transform: none;
  }

  .panel-main,
  .panel-note,
  .sticker,
  .floating-card {
    position: static;
    width: 100%;
    transform: none;
    margin-top: 14px;
  }

  .panel-main {
    margin-top: 0;
  }
}

@media (max-width: 640px) {
  .topbar,
  .hero,
  .section-shell,
  .footer {
    width: min(calc(100% - 18px), var(--max));
  }

  .topbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .brand {
    flex-wrap: wrap;
  }

  .hero h1 {
    font-size: 3rem;
  }

  .hero-stage {
    min-height: auto;
    padding: 18px;
    border-radius: 30px;
  }

  .story-grid,
  .vibe-grid,
  .showcase-grid,
  .bear-stage,
  .feature-band {
    grid-template-columns: 1fr;
  }

  .stat-row li {
    width: 100%;
  }

  .marquee-track {
    gap: 18px;
    font-size: 0.88rem;
  }

  .section-heading h2 {
    font-size: 2.4rem;
  }

  .contact-box {
    padding: 24px;
  }
}
