:root {
  color-scheme: light;
  --bg: #fff9fc;
  --bg-strong: #ffffff;
  --text: #352936;
  --muted: #756875;
  --rose: #e95f8e;
  --rose-deep: #c93a71;
  --rose-soft: #ffe5ef;
  --cyan: #74cce3;
  --cyan-soft: #e6f8fd;
  --gold: #d8a85f;
  --line: rgba(223, 137, 169, 0.25);
  --shadow: 0 18px 54px rgba(214, 89, 137, 0.16);
  --radius: 8px;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--text);
  background:
    radial-gradient(circle at 16% 12%, rgba(255, 230, 239, 0.84), transparent 28rem),
    radial-gradient(circle at 84% 4%, rgba(216, 247, 255, 0.76), transparent 30rem),
    linear-gradient(180deg, var(--bg-strong) 0%, var(--bg) 45%, #ffffff 100%);
  font-family:
    "PingFang SC",
    "Microsoft YaHei",
    "Noto Sans CJK SC",
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  letter-spacing: 0;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
  background-image:
    linear-gradient(rgba(233, 95, 142, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(116, 204, 227, 0.05) 1px, transparent 1px);
  background-size: 86px 86px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.65), transparent 62%);
}

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

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

.page-shell {
  overflow: hidden;
}

.site-header {
  position: fixed;
  top: 18px;
  left: 50%;
  z-index: 20;
  display: grid;
  width: min(calc(100% - 36px), var(--max));
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 30px;
  padding: 12px 14px 12px 18px;
  border: 1px solid rgba(233, 95, 142, 0.18);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 16px 42px rgba(202, 74, 120, 0.1);
  transform: translateX(-50%);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--rose);
  font-family: Georgia, "Times New Roman", "Songti SC", serif;
  font-size: 25px;
  font-weight: 600;
  line-height: 1;
}

.brand-mark {
  position: relative;
  width: 18px;
  height: 18px;
}

.brand-mark::before,
.brand-mark::after,
.spark::before,
.spark::after {
  position: absolute;
  content: "";
  background: currentColor;
}

.brand-mark::before,
.spark::before {
  top: 50%;
  left: 0;
  width: 100%;
  height: 2px;
  transform: translateY(-50%);
}

.brand-mark::after,
.spark::after {
  top: 0;
  left: 50%;
  width: 2px;
  height: 100%;
  transform: translateX(-50%);
}

.nav-links {
  display: flex;
  justify-content: center;
  gap: 42px;
  color: #4d4150;
  font-size: 15px;
  font-weight: 700;
}

.nav-links a {
  position: relative;
  padding: 6px 0;
}

.nav-links a::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 2px;
  content: "";
  background: linear-gradient(90deg, var(--rose), var(--cyan));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

.nav-links a:hover::after,
.nav-links a:focus-visible::after {
  transform: scaleX(1);
}

.header-action,
.primary-action,
.secondary-action {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius);
  font-size: 15px;
  font-weight: 800;
  line-height: 1;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    background 180ms ease;
}

.header-action,
.primary-action {
  color: #ffffff;
  background: linear-gradient(135deg, #ef6f9d, #f08ead);
  box-shadow: 0 14px 28px rgba(220, 79, 128, 0.28);
}

.header-action {
  padding: 0 22px;
}

.primary-action,
.secondary-action {
  padding: 0 24px;
}

.secondary-action {
  border: 1px solid rgba(233, 95, 142, 0.26);
  color: var(--rose-deep);
  background: rgba(255, 255, 255, 0.72);
}

.header-action:hover,
.primary-action:hover,
.secondary-action:hover {
  transform: translateY(-2px);
}

.section {
  position: relative;
  width: min(calc(100% - 48px), var(--max));
  margin: 0 auto;
}

.hero {
  display: grid;
  min-height: 92svh;
  grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1fr);
  align-items: center;
  gap: 16px;
  padding: 118px 0 38px;
}

.hero-copy {
  position: relative;
  z-index: 3;
  padding-top: 24px;
}

h1,
h2,
h3,
p {
  margin: 0;
}

h1,
h2 {
  color: var(--rose);
  font-family:
    "Songti SC",
    "Noto Serif CJK SC",
    Georgia,
    serif;
  font-weight: 600;
}

h1 {
  font-size: clamp(72px, 7.2vw, 112px);
  line-height: 0.92;
}

.hero-lede {
  width: min(100%, 560px);
  margin-top: 34px;
  padding-top: 28px;
  border-top: 1px solid rgba(233, 95, 142, 0.28);
  color: #4d4050;
  font-size: clamp(22px, 2.2vw, 31px);
  font-weight: 500;
  line-height: 1.55;
}

.hero-body {
  width: min(100%, 520px);
  margin-top: 22px;
  color: var(--muted);
  font-size: 16px;
  line-height: 2;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.hero-art {
  position: relative;
  z-index: 2;
  display: grid;
  min-height: 570px;
  place-items: center;
}

.hero-art img {
  width: min(680px, 52vw);
  min-width: 460px;
  filter: drop-shadow(0 30px 46px rgba(209, 89, 137, 0.19));
  mask-image: radial-gradient(ellipse at center, #000 0 58%, rgba(0, 0, 0, 0.86) 68%, transparent 86%);
  animation: float-main 6.8s ease-in-out infinite;
}

.art-aura {
  position: absolute;
  width: min(560px, 46vw);
  aspect-ratio: 1;
  border: 1px solid rgba(233, 95, 142, 0.15);
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(255, 224, 236, 0.78) 0 32%, transparent 64%),
    conic-gradient(from 40deg, rgba(116, 204, 227, 0.3), rgba(233, 95, 142, 0.16), rgba(216, 168, 95, 0.12), rgba(116, 204, 227, 0.3));
  filter: blur(0.2px);
  opacity: 0.78;
  animation: slow-spin 18s linear infinite;
}

.ribbon {
  position: absolute;
  z-index: 1;
  width: 540px;
  height: 84px;
  border: 1px solid rgba(233, 95, 142, 0.12);
  border-right: 0;
  border-left: 0;
  background:
    linear-gradient(90deg, transparent, rgba(116, 204, 227, 0.32), rgba(255, 169, 199, 0.54), transparent),
    linear-gradient(180deg, transparent 30%, rgba(255, 255, 255, 0.56), transparent 70%);
  filter: blur(0.1px);
  opacity: 0.62;
  transform: skewY(-9deg) rotate(-13deg);
  clip-path: polygon(0 45%, 22% 18%, 48% 58%, 75% 24%, 100% 52%, 100% 75%, 73% 47%, 48% 82%, 21% 42%, 0 72%);
}

.ribbon-one {
  top: 18%;
  right: -180px;
}

.ribbon-two {
  bottom: 4%;
  left: -190px;
  transform: skewY(7deg) rotate(9deg);
}

.spark {
  position: absolute;
  z-index: 4;
  width: 26px;
  height: 26px;
  color: var(--rose);
  opacity: 0.72;
  animation: twinkle 2.6s ease-in-out infinite;
}

.spark-a {
  top: 28%;
  left: 45%;
}

.spark-b {
  right: 6%;
  bottom: 24%;
  color: var(--cyan);
  animation-delay: 1s;
}

.charm-section {
  padding: 46px 0 110px;
}

.section-heading {
  width: min(100%, 680px);
  margin: 0 auto 42px;
  text-align: center;
}

h2 {
  font-size: clamp(38px, 5vw, 62px);
  line-height: 1.08;
}

.section-heading p,
.section-lede {
  margin-top: 18px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.9;
}

.charm-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.feature-card,
.dex-panel,
.closing-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.76);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}

.feature-card {
  min-height: 192px;
  padding: 30px;
}

.feature-icon {
  display: inline-grid;
  width: 52px;
  height: 52px;
  place-items: center;
  border-radius: 50%;
  background: var(--rose-soft);
  color: var(--rose);
}

.feature-icon::before {
  display: block;
  width: 25px;
  height: 25px;
  content: "";
  background: currentColor;
}

.star-icon::before {
  clip-path: polygon(50% 0, 61% 36%, 100% 50%, 61% 64%, 50% 100%, 39% 64%, 0 50%, 39% 36%);
}

.heart-icon::before {
  clip-path: path("M12.5 22 C5 15.5 1 11.5 1 6.8 C1 3.4 3.7 1 6.7 1 C8.7 1 10.7 2.1 12.5 4 C14.3 2.1 16.3 1 18.3 1 C21.3 1 24 3.4 24 6.8 C24 11.5 20 15.5 12.5 22 Z");
}

.moon-icon::before {
  border-radius: 50%;
  background:
    radial-gradient(circle at 70% 36%, var(--rose-soft) 0 29%, transparent 30%),
    currentColor;
}

.feature-card h3 {
  margin-top: 24px;
  color: #453646;
  font-size: 22px;
  line-height: 1.25;
}

.feature-card p,
.dex-copy p,
.ability-block p,
.bond-list p,
.closing-card p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.9;
}

.feature-card p {
  margin-top: 12px;
}

.dex-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(390px, 1fr);
  gap: 64px;
  align-items: center;
  padding: 110px 0;
  border-top: 1px solid rgba(233, 95, 142, 0.12);
}

.dex-copy p:last-child {
  margin-top: 18px;
}

.dex-panel {
  padding: 28px;
}

.stat-row {
  display: grid;
  grid-template-columns: 72px 90px 1fr;
  align-items: center;
  gap: 18px;
  min-height: 72px;
  border-bottom: 1px solid rgba(223, 137, 169, 0.22);
}

.stat-row span {
  color: #6c5d6d;
  font-size: 15px;
  font-weight: 700;
}

.stat-row strong {
  color: #3c303d;
  font-size: 17px;
}

.stat-row i {
  display: block;
  height: 9px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--rose) var(--value), rgba(233, 95, 142, 0.12) var(--value));
}

.stat-row:nth-child(2) i {
  background: linear-gradient(90deg, var(--cyan) var(--value), rgba(116, 204, 227, 0.14) var(--value));
}

.ability-block {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 18px;
  align-items: center;
  padding-top: 28px;
}

.ability-block .feature-icon {
  background: var(--cyan-soft);
  color: #43aec8;
}

.ability-block h3 {
  margin-bottom: 8px;
  font-size: 22px;
}

.bond-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.86fr);
  gap: 52px;
  align-items: center;
  padding: 78px 0;
}

.bond-image {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(255, 236, 244, 0.82), rgba(232, 249, 253, 0.72)),
    #ffffff;
  box-shadow: var(--shadow);
}

.bond-image img {
  position: absolute;
  right: -13%;
  bottom: -23%;
  width: min(860px, 84vw);
  opacity: 0.96;
  filter: drop-shadow(0 22px 36px rgba(206, 89, 132, 0.14));
}

.bond-list {
  display: grid;
  gap: 24px;
  margin-top: 34px;
}

.bond-list article {
  display: grid;
  grid-template-columns: 54px 1fr;
  column-gap: 18px;
  align-items: start;
}

.bond-list h3 {
  grid-column: 2;
  font-size: 22px;
  line-height: 1.35;
}

.bond-list p {
  grid-column: 2;
  margin-top: 6px;
}

.mini-line {
  display: block;
  width: 44px;
  height: 3px;
  margin-top: 14px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--rose), var(--cyan));
}

.closing-section {
  padding: 88px 0 70px;
}

.closing-card {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 30px;
  align-items: center;
  padding: 42px;
}

.closing-card h2 {
  font-size: clamp(34px, 4vw, 54px);
}

.closing-card p {
  max-width: 690px;
  margin-top: 14px;
}

.site-footer {
  display: flex;
  width: min(calc(100% - 48px), var(--max));
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin: 0 auto;
  padding: 30px 0 42px;
  border-top: 1px solid rgba(233, 95, 142, 0.16);
  color: #7a6c7b;
  font-size: 14px;
}

.site-footer a {
  color: var(--rose-deep);
  font-weight: 700;
}

.reveal {
  transition:
    opacity 700ms ease,
    transform 700ms ease;
}

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

@keyframes float-main {
  0%,
  100% {
    transform: translate3d(0, 0, 0) rotate(-1deg);
  }
  50% {
    transform: translate3d(0, -18px, 0) rotate(1.2deg);
  }
}

@keyframes slow-spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes twinkle {
  0%,
  100% {
    opacity: 0.2;
    transform: scale(0.82) rotate(0deg);
  }
  50% {
    opacity: 0.86;
    transform: scale(1.15) rotate(45deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

@media (max-width: 900px) {
  .site-header {
    top: 10px;
    width: min(calc(100% - 20px), var(--max));
    grid-template-columns: 1fr auto;
    gap: 16px;
    padding: 11px 12px;
  }

  .brand {
    font-size: 20px;
  }

  .nav-links {
    display: none;
  }

  .header-action {
    min-height: 40px;
    padding: 0 16px;
    font-size: 13px;
  }

  .section {
    width: min(calc(100% - 28px), var(--max));
  }

  .hero {
    min-height: auto;
    grid-template-columns: 1fr;
    padding-top: 106px;
    text-align: left;
  }

  .hero-copy {
    order: 1;
    padding-top: 0;
  }

  .hero-art {
    order: 2;
    min-height: 365px;
  }

  .hero-art img {
    width: min(620px, 112vw);
    min-width: 0;
  }

  .art-aura {
    width: min(460px, 92vw);
  }

  h1 {
    font-size: clamp(62px, 18vw, 96px);
  }

  .hero-lede {
    margin-top: 24px;
    padding-top: 22px;
    font-size: 22px;
  }

  .hero-body {
    font-size: 15px;
  }

  .charm-section {
    padding-bottom: 70px;
  }

  .section-heading {
    text-align: left;
  }

  .charm-grid,
  .dex-section,
  .bond-section,
  .closing-card {
    grid-template-columns: 1fr;
  }

  .feature-card {
    min-height: 0;
    padding: 24px;
  }

  .dex-section {
    gap: 36px;
    padding: 76px 0;
  }

  .dex-panel {
    padding: 22px;
  }

  .stat-row {
    grid-template-columns: 58px 76px 1fr;
    gap: 12px;
  }

  .bond-section {
    gap: 34px;
    padding: 58px 0;
  }

  .bond-image {
    min-height: 320px;
  }

  .bond-image img {
    right: -34%;
    bottom: -22%;
    width: 760px;
  }

  .closing-card {
    padding: 28px;
  }

  .site-footer {
    width: min(calc(100% - 28px), var(--max));
    flex-direction: column;
    align-items: flex-start;
    padding-bottom: 32px;
  }
}

@media (max-width: 520px) {
  .header-action {
    display: none;
  }

  .site-header {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 92px;
  }

  .hero-art {
    min-height: 300px;
  }

  .hero-actions {
    display: grid;
  }

  .primary-action,
  .secondary-action {
    width: 100%;
  }

  .bond-list article {
    grid-template-columns: 1fr;
  }

  .bond-list h3,
  .bond-list p {
    grid-column: auto;
  }

  .mini-line {
    margin-bottom: 10px;
  }
}
