:root {
  --sky-blue: #82CFFF;
  --soft-pink: #FFB6C1;
  --creamy-white: #FFFDD0;
  --golden-glow: #FFD700;
  --ink: #4c3f59;
  --ink-soft: #6e6282;
  --card: rgba(255, 253, 208, 0.75);
  --card-strong: rgba(255, 255, 255, 0.82);
  --shadow-soft: 0 14px 34px rgba(130, 207, 255, 0.24);
  --shadow-pink: 0 16px 40px rgba(255, 182, 193, 0.24);
  --radius-cloud: 50px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Quicksand", "PingFang SC", "Microsoft YaHei", sans-serif;
  color: var(--ink);
  background: linear-gradient(180deg, #ffd6ec 0%, #d8efff 48%, #c7e7ff 100%);
  overflow-x: hidden;
  position: relative;
}

body::before,
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -2;
}

body::before {
  background:
    radial-gradient(circle at 12% 18%, rgba(255, 255, 255, 0.7), transparent 32%),
    radial-gradient(circle at 82% 16%, rgba(255, 214, 236, 0.75), transparent 36%),
    radial-gradient(circle at 28% 76%, rgba(255, 215, 0, 0.18), transparent 38%);
  filter: blur(6px);
}

body::after {
  background:
    radial-gradient(circle at 20% 22%, rgba(255, 255, 255, 0.7) 0 22px, transparent 23px),
    radial-gradient(circle at 34% 19%, rgba(255, 255, 255, 0.65) 0 18px, transparent 19px),
    radial-gradient(circle at 80% 26%, rgba(255, 255, 255, 0.75) 0 20px, transparent 21px),
    radial-gradient(circle at 70% 22%, rgba(255, 255, 255, 0.55) 0 15px, transparent 16px);
  background-repeat: no-repeat;
  opacity: 0.45;
  animation: cloudDrift 24s linear infinite;
}

@keyframes cloudDrift {
  0% { transform: translateX(0); }
  50% { transform: translateX(-10px) translateY(4px); }
  100% { transform: translateX(-20px); }
}

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

#bg-canvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  opacity: 0.95;
}

.shell {
  width: min(1120px, calc(100% - 1.4rem));
  margin-inline: auto;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  padding-top: 0.65rem;
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-cloud);
  background: rgba(255, 253, 208, 0.78);
  border: 2px solid rgba(255, 255, 255, 0.78);
  box-shadow: var(--shadow-soft), var(--shadow-pink);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  min-width: 0;
}

.brand-bubble {
  width: 2.4rem;
  height: 2.4rem;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: radial-gradient(circle at 32% 30%, #fff, var(--soft-pink));
  box-shadow: 0 6px 14px rgba(255, 182, 193, 0.35);
  font-size: 1.1rem;
  animation: bubbleFloat 3.2s ease-in-out infinite;
}

.brand-text {
  font-family: "ZCOOL KuaiLe", cursive;
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: #59406d;
  letter-spacing: 0.02em;
}

.nav-links {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.nav-links a {
  padding: 0.55rem 0.9rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.65);
  border: 2px solid rgba(255, 255, 255, 0.85);
  box-shadow: 0 4px 12px rgba(130, 207, 255, 0.18);
  transition: transform 0.22s ease, box-shadow 0.22s ease, background-color 0.22s ease;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  transform: translateY(-3px) scale(1.03);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 8px 18px rgba(255, 182, 193, 0.25);
  outline: none;
}

.audio-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.55rem 0.9rem;
  border-radius: 999px;
  border: 2px solid rgba(255, 255, 255, 0.88);
  background:
    radial-gradient(circle at 25% 20%, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.65) 42%, transparent 45%),
    linear-gradient(135deg, rgba(255, 215, 0, 0.45), rgba(255, 182, 193, 0.5), rgba(130, 207, 255, 0.45));
  color: #5a456f;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 6px 14px rgba(255, 182, 193, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.7);
  transition: transform 0.22s ease, box-shadow 0.22s ease, filter 0.22s ease;
}

.audio-toggle:hover,
.audio-toggle:focus-visible {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 10px 20px rgba(255, 182, 193, 0.28), 0 5px 12px rgba(130, 207, 255, 0.18);
  filter: saturate(1.06);
  outline: none;
}

.audio-toggle.is-playing {
  background:
    radial-gradient(circle at 25% 20%, rgba(255, 255, 255, 0.96), rgba(255, 255, 255, 0.75) 45%, transparent 48%),
    linear-gradient(135deg, rgba(255, 215, 0, 0.65), rgba(255, 182, 193, 0.55), rgba(130, 207, 255, 0.58));
  box-shadow: 0 12px 24px rgba(255, 215, 0, 0.2), 0 10px 20px rgba(255, 182, 193, 0.2);
}

.hero {
  display: grid;
  grid-template-columns: 1.06fr 0.94fr;
  gap: 1rem;
  align-items: center;
  padding: 2rem 0 1rem;
}

.hero-copy,
.hero-card,
.feature-card,
.contact-card {
  border-radius: var(--radius-cloud);
}

.hero-copy {
  padding: 1.4rem 1.2rem 1.2rem;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.72), rgba(255, 253, 208, 0.72));
  border: 2px solid rgba(255, 255, 255, 0.88);
  box-shadow: var(--shadow-soft), var(--shadow-pink);
}

.tag {
  margin: 0 0 0.65rem;
  color: #715c87;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.bouncy-headline {
  margin: 0;
  font-family: "ZCOOL KuaiLe", cursive;
  font-size: clamp(2rem, 5vw, 3.4rem);
  line-height: 1.06;
  color: #4a3864;
  text-shadow: 0 3px 0 rgba(255, 255, 255, 0.7), 0 10px 16px rgba(130, 207, 255, 0.2);
  animation: headlineBounce 3.8s ease-in-out infinite;
  transform-origin: center bottom;
}

@keyframes headlineBounce {
  0%, 100% { transform: translateY(0) scale(1); }
  12% { transform: translateY(-6px) scale(1.01); }
  20% { transform: translateY(0) scale(0.995); }
  28% { transform: translateY(-3px) scale(1.005); }
  36% { transform: translateY(0); }
}

.hero-text {
  margin: 0.9rem 0 1.1rem;
  color: var(--ink-soft);
  font-size: 1.03rem;
}

.hero-actions {
  display: flex;
  gap: 0.7rem;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  font: inherit;
  min-height: 48px;
  padding: 0.75rem 1.05rem;
  border-radius: 999px;
  border: 2px solid rgba(255, 255, 255, 0.88);
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
  box-shadow: 0 8px 18px rgba(130, 207, 255, 0.2);
}

.btn:hover,
.btn:focus-visible {
  animation: buttonBounce 0.38s ease;
  box-shadow: 0 12px 22px rgba(255, 182, 193, 0.24);
  filter: saturate(1.05);
  outline: none;
}

@keyframes buttonBounce {
  0% { transform: translateY(0) scale(1); }
  45% { transform: translateY(-5px) scale(1.03); }
  75% { transform: translateY(1px) scale(0.995); }
  100% { transform: translateY(0) scale(1); }
}

.btn-primary {
  background: linear-gradient(135deg, var(--soft-pink), var(--sky-blue));
  color: #3d3157;
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.78);
  color: #594873;
}

.btn-wide {
  width: 100%;
}

.hero-card {
  padding: 1.05rem;
  background: linear-gradient(180deg, rgba(255, 253, 208, 0.88), rgba(255, 255, 255, 0.72));
  border: 2px solid rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow-soft), var(--shadow-pink);
  position: relative;
  overflow: hidden;
}

.hero-card::before {
  content: "";
  position: absolute;
  inset: -15% auto auto -10%;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background: rgba(255, 215, 0, 0.18);
  filter: blur(10px);
}

.hero-card-top {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 0.9rem;
  color: #6b597b;
  font-weight: 700;
}

.spark {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.4), 0 0 12px rgba(255, 215, 0, 0.35);
  animation: twinkle 2.4s ease-in-out infinite;
}

.spark-b { animation-delay: -0.7s; background: var(--golden-glow); }
.spark-c { animation-delay: -1.1s; background: var(--sky-blue); }

@keyframes twinkle {
  0%, 100% { transform: scale(0.9); opacity: 0.7; }
  50% { transform: scale(1.25); opacity: 1; }
}

.pig-orb {
  margin: 0 auto 0.9rem;
  width: min(280px, 100%);
  aspect-ratio: 1;
  border-radius: 45%;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 35% 28%, rgba(255, 255, 255, 0.96), rgba(255, 255, 255, 0.45) 34%, transparent 35%),
    radial-gradient(circle at 70% 25%, rgba(255, 215, 0, 0.3), transparent 50%),
    linear-gradient(180deg, rgba(130, 207, 255, 0.55), rgba(255, 182, 193, 0.62));
  border: 2px solid rgba(255, 255, 255, 0.92);
  box-shadow: inset 0 0 0 8px rgba(255, 255, 255, 0.2), 0 18px 35px rgba(130, 207, 255, 0.2);
  animation: bubbleFloat 4s ease-in-out infinite;
}

@keyframes bubbleFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.pig-face {
  width: 72%;
  aspect-ratio: 1;
  border-radius: 42%;
  position: relative;
  background: linear-gradient(180deg, #ffd4de, #ffc0cd);
  border: 3px solid rgba(255, 255, 255, 0.8);
  box-shadow: inset 0 -8px 14px rgba(255, 182, 193, 0.35);
}

.pig-face .ear {
  position: absolute;
  top: -8%;
  width: 25%;
  aspect-ratio: 1;
  border-radius: 40% 70% 40% 60%;
  background: #ffbfd0;
  border: 3px solid rgba(255, 255, 255, 0.7);
}

.pig-face .ear.left { left: 10%; transform: rotate(-22deg); }
.pig-face .ear.right { right: 10%; transform: rotate(22deg) scaleX(-1); }

.pig-face .eye {
  position: absolute;
  top: 38%;
  width: 7%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: #5a466e;
}

.pig-face .eye.left { left: 32%; }
.pig-face .eye.right { right: 32%; }

.pig-face .nose {
  position: absolute;
  left: 50%;
  top: 49%;
  transform: translateX(-50%);
  width: 28%;
  height: 18%;
  border-radius: 999px;
  background: #ff9eb7;
  border: 2px solid rgba(255, 255, 255, 0.72);
  box-shadow: inset 0 2px 6px rgba(255, 255, 255, 0.35);
}

.pig-face .nose::before,
.pig-face .nose::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 10%;
  height: 42%;
  transform: translateY(-50%);
  border-radius: 999px;
  background: rgba(90, 70, 110, 0.7);
}

.pig-face .nose::before { left: 28%; }
.pig-face .nose::after { right: 28%; }

.pig-face .blush {
  position: absolute;
  top: 56%;
  width: 14%;
  height: 8%;
  border-radius: 999px;
  background: rgba(255, 126, 156, 0.45);
  filter: blur(1px);
}

.pig-face .blush.left { left: 18%; }
.pig-face .blush.right { right: 18%; }

.hero-notes {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.5rem;
}

.hero-notes li {
  border-radius: 999px;
  padding: 0.65rem 0.9rem;
  background: rgba(255, 255, 255, 0.66);
  border: 2px solid rgba(255, 255, 255, 0.86);
  color: #65577d;
  font-weight: 600;
}

.section {
  padding: 1.2rem 0 0.8rem;
}

.section-head {
  margin-bottom: 0.9rem;
  padding: 1rem 1.1rem;
  border-radius: var(--radius-cloud);
  background: rgba(255, 255, 255, 0.64);
  border: 2px solid rgba(255, 255, 255, 0.84);
  box-shadow: var(--shadow-soft);
}

.section-head h2 {
  margin: 0;
  font-family: "ZCOOL KuaiLe", cursive;
  font-size: clamp(1.4rem, 3vw, 2rem);
  color: #4d3d66;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.9rem;
}

.feature-card {
  padding: 1rem;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.78), rgba(255, 253, 208, 0.72));
  border: 2px solid rgba(255, 255, 255, 0.86);
  box-shadow: var(--shadow-soft), 0 10px 20px rgba(255, 215, 0, 0.08);
  transition: transform 0.24s ease, box-shadow 0.24s ease;
}

.feature-card:hover,
.feature-card:focus-within {
  transform: translateY(-6px) rotate(-0.4deg);
  box-shadow: var(--shadow-pink), 0 14px 26px rgba(130, 207, 255, 0.22);
}

.feature-icon {
  width: 3rem;
  height: 3rem;
  display: grid;
  place-items: center;
  margin-bottom: 0.55rem;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(255, 182, 193, 0.85), rgba(130, 207, 255, 0.85));
  border: 2px solid rgba(255, 255, 255, 0.86);
  box-shadow: 0 8px 14px rgba(255, 182, 193, 0.18);
  font-size: 1.2rem;
}

.feature-card h3 {
  margin: 0 0 0.45rem;
  font-family: "ZCOOL KuaiLe", cursive;
  color: #56446d;
  line-height: 1.2;
  font-size: 1.15rem;
}

.feature-card p {
  margin: 0;
  color: var(--ink-soft);
}

.contact-card {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 0.9rem;
  padding: 1rem;
  background: linear-gradient(180deg, rgba(255, 253, 208, 0.8), rgba(255, 255, 255, 0.78));
  border: 2px solid rgba(255, 255, 255, 0.88);
  box-shadow: var(--shadow-soft), var(--shadow-pink);
  align-items: start;
}

.catalog-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
}

.product-card {
  display: grid;
  grid-template-rows: auto 1fr;
  border-radius: 36px;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.82), rgba(255, 253, 208, 0.78));
  border: 2px solid rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow-soft), 0 14px 28px rgba(255, 182, 193, 0.12);
  transition: transform 0.26s ease, box-shadow 0.26s ease;
}

.product-card:hover,
.product-card:focus-within {
  transform: translateY(-8px) rotate(-0.35deg);
  box-shadow: var(--shadow-pink), 0 18px 34px rgba(130, 207, 255, 0.2);
}

.product-media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background:
    radial-gradient(circle at 22% 20%, rgba(255, 255, 255, 0.8), transparent 36%),
    linear-gradient(180deg, rgba(130, 207, 255, 0.28), rgba(255, 182, 193, 0.2));
}

.product-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.01);
  transition: transform 0.35s ease, filter 0.35s ease;
}

.product-card:hover .product-media img,
.product-card:focus-within .product-media img {
  transform: scale(1.05);
  filter: saturate(1.05) contrast(1.02);
}

.product-body {
  display: grid;
  gap: 0.55rem;
  padding: 0.95rem;
}

.product-body h3 {
  margin: 0;
  font-family: "ZCOOL KuaiLe", cursive;
  color: #56446d;
  line-height: 1.15;
  font-size: 1.15rem;
}

.product-body p {
  margin: 0;
  color: var(--ink-soft);
}

.product-meta {
  margin-top: auto;
  display: grid;
  gap: 0.55rem;
}

.order-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2rem;
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  border: 2px solid rgba(255, 255, 255, 0.88);
  color: #695b7d;
  font-weight: 700;
  font-size: 0.92rem;
}

.contact-card h2 {
  margin: 0;
  font-family: "ZCOOL KuaiLe", cursive;
  line-height: 1.12;
  color: #4d3f67;
  font-size: clamp(1.45rem, 3vw, 2rem);
}

.contact-text {
  color: var(--ink-soft);
  margin: 0.75rem 0 0;
}

.contact-panel {
  padding: 0.8rem;
  border-radius: 34px;
  background: rgba(255, 255, 255, 0.68);
  border: 2px solid rgba(255, 255, 255, 0.84);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.wechat-pill {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.7rem;
  align-items: center;
  padding: 0.75rem;
  border-radius: 28px;
  background: linear-gradient(135deg, rgba(130, 207, 255, 0.24), rgba(255, 182, 193, 0.26));
  border: 2px solid rgba(255, 255, 255, 0.86);
  box-shadow: 0 8px 16px rgba(130, 207, 255, 0.14);
}

.wechat-icon {
  width: 2.7rem;
  height: 2.7rem;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: radial-gradient(circle at 35% 30%, #ffffff, #d0f2ff);
  border: 2px solid rgba(255, 255, 255, 0.88);
  box-shadow: 0 8px 14px rgba(130, 207, 255, 0.2);
  font-size: 1.15rem;
  animation: bubbleFloat 2.8s ease-in-out infinite;
}

.wechat-pill p {
  margin: 0;
  color: #6a5a7d;
  font-size: 0.9rem;
}

.wechat-pill strong {
  font-size: 1.25rem;
  color: #4c3a63;
}

.contact-panel .btn {
  margin-top: 0.8rem;
}

.contact-tip {
  margin: 0.65rem 0 0;
  color: #786b8a;
  font-size: 0.9rem;
}

.site-footer {
  padding: 1rem 0 1.6rem;
  color: #6f6584;
  text-align: center;
  font-weight: 600;
}

.reveal {
  opacity: 0;
  transform: translateY(22px) scale(0.96);
}

.reveal.is-visible {
  opacity: 1;
  animation: revealBounceIn 0.9s cubic-bezier(0.2, 1.2, 0.3, 1) both;
}

@keyframes revealBounceIn {
  0% { opacity: 0; transform: translateY(22px) scale(0.95); }
  55% { opacity: 1; transform: translateY(-8px) scale(1.015); }
  75% { transform: translateY(3px) scale(0.997); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}

@media (max-width: 960px) {
  .hero,
  .contact-card {
    grid-template-columns: 1fr;
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }

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

  .catalog-grid .product-card:last-child {
    grid-column: 1 / -1;
    max-width: 520px;
    width: 100%;
    justify-self: center;
  }

  .hero {
    padding-top: 1.4rem;
  }
}

@media (max-width: 640px) {
  .nav {
    flex-direction: column;
    align-items: stretch;
    padding: 0.8rem;
  }

  .brand {
    justify-content: center;
  }

  .nav-links {
    justify-content: center;
  }

  .audio-toggle {
    justify-content: center;
  }

  .hero-copy,
  .hero-card,
  .section-head,
  .contact-card,
  .product-card {
    border-radius: 32px;
  }

  .contact-panel {
    border-radius: 24px;
  }

  .catalog-grid {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .reveal,
  .reveal.is-visible {
    opacity: 1;
    transform: none;
    animation: none;
  }
}
