:root {
  --ink: #25364a;
  --muted: #66788a;
  --soft: #f8fcfb;
  --white: #ffffff;
  --sea: #70d4dd;
  --sea-deep: #33aebc;
  --mint: #cbf4e4;
  --peach: #ffd5c9;
  --rose: #ff8fad;
  --sun: #fff3bf;
  --line: rgba(78, 139, 154, 0.18);
  --shadow: 0 18px 48px rgba(53, 122, 141, 0.16);
  --soft-shadow: 0 10px 28px rgba(53, 122, 141, 0.12);
  --radius: 24px;
  --radius-sm: 16px;
  --page: min(1080px, calc(100vw - 36px));
  --heading-font: "Microsoft YaHei", "PingFang SC", "Noto Sans SC", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 10% 0%, rgba(255, 213, 201, 0.42), transparent 28rem),
    radial-gradient(circle at 88% 5%, rgba(112, 212, 221, 0.28), transparent 30rem),
    linear-gradient(180deg, #f9fffd 0%, #eefbfb 47%, #fff8f5 100%);
  font-family: "Microsoft YaHei", "PingFang SC", "Noto Sans SC", Arial, sans-serif;
  font-size: 15px;
  line-height: 1.72;
  overflow-x: hidden;
}

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

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

p {
  margin: 0 0 1rem;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: -60px;
  z-index: 1000;
  padding: 10px 14px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--white);
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 14px;
}

.page-shell {
  width: var(--page);
  margin: 0 auto;
}

.section-pad {
  padding: 76px 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(249, 255, 253, 0.78);
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(18px);
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.site-header.is-elevated {
  border-color: var(--line);
  box-shadow: 0 10px 28px rgba(58, 126, 145, 0.1);
}

.nav-shell {
  width: var(--page);
  min-height: 68px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

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

.brand img {
  width: 38px;
  height: 50px;
  object-fit: cover;
  border-radius: 14px;
  box-shadow: var(--soft-shadow);
}

.brand strong,
.brand small {
  display: block;
}

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

.brand small {
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.2;
}

.site-menu {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #40576b;
  font-family: var(--heading-font);
  font-size: 0.95rem;
}

.site-menu a {
  padding: 9px 12px;
  border-radius: 999px;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.site-menu a:hover,
.site-menu a:focus-visible {
  color: #1e7f8c;
  background: rgba(112, 212, 221, 0.16);
  transform: translateY(-1px);
}

.nav-toggle {
  display: none;
  min-width: 58px;
  height: 38px;
  padding: 0 14px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  color: #256f80;
  font-family: var(--heading-font);
  font-weight: 800;
  box-shadow: var(--soft-shadow);
  cursor: pointer;
}

.nav-toggle-text {
  display: inline-block;
  line-height: 38px;
}

.hero {
  position: relative;
  min-height: auto;
  padding-top: 24px;
  padding-bottom: 42px;
  display: flex;
  align-items: center;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 76%;
  background:
    linear-gradient(115deg, rgba(255, 255, 255, 0.78), rgba(255, 255, 255, 0.16)),
    radial-gradient(circle at 72% 22%, rgba(255, 243, 191, 0.72), transparent 20rem);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(390px, 1.05fr);
  gap: 42px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 14px;
  color: #238b99;
  font-size: 0.88rem;
  font-weight: 700;
}

.eyebrow::before {
  content: "";
  width: 26px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--sea-deep), var(--rose));
}

h1,
h2,
h3 {
  margin: 0;
  font-family: var(--heading-font);
  line-height: 1.22;
  letter-spacing: 0;
}

h1,
h2 {
  color: #238b99;
  background: linear-gradient(135deg, #1f91a0 0%, #3dbfc8 42%, #ff8fad 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

h1 {
  max-width: 760px;
  font-size: 3.75rem;
}

h2 {
  font-size: 2.15rem;
}

h3 {
  font-size: 1.18rem;
}

.hero-lead {
  max-width: 660px;
  margin-top: 14px;
  color: #4c6173;
  font-size: 1rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 20px 0;
}

.btn {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  border-radius: 999px;
  font-weight: 800;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-2px);
}

.btn.primary {
  color: var(--white);
  background: linear-gradient(135deg, #2db8c6, #ff8fad);
  box-shadow: 0 14px 26px rgba(45, 184, 198, 0.24);
}

.btn.ghost {
  color: #256f80;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(45, 184, 198, 0.24);
}

.btn.large {
  min-width: 170px;
}

.quick-facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 0;
}

.quick-facts div {
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.72);
}

.quick-facts dt {
  color: var(--muted);
  font-size: 0.8rem;
}

.quick-facts dd {
  margin: 2px 0 0;
  font-weight: 800;
}

.hero-media {
  position: relative;
  min-height: 540px;
}

.hero-main-card,
.cover-card,
.mini-card,
.image-panel,
.wide-image,
.mosaic-gallery figure {
  position: relative;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.74);
  box-shadow: var(--shadow);
  transition: transform 0.28s ease, border-color 0.28s ease, box-shadow 0.28s ease;
}

.hero-main-card::after,
.cover-card::after,
.mini-card::after,
.image-panel::after,
.wide-image::after,
.mosaic-gallery figure::after {
  content: "";
  position: absolute;
  inset: -40% -80%;
  z-index: 1;
  background: linear-gradient(115deg, transparent 38%, rgba(255, 255, 255, 0.58) 50%, transparent 62%);
  opacity: 0;
  transform: translateX(-38%) rotate(8deg);
  transition: opacity 0.25s ease, transform 0.7s ease;
  pointer-events: none;
}

.hero-main-card {
  position: absolute;
  right: 0;
  top: 48px;
  width: 92%;
  aspect-ratio: 16 / 9;
  transform: rotate(1.8deg);
}

.hero-main-card img,
.image-panel img,
.wide-image img,
.mosaic-gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease, filter 0.45s ease;
}

.hero-main-card:hover,
.cover-card:hover,
.mini-card:hover,
.image-panel:hover,
.wide-image:hover,
.mosaic-gallery figure:hover {
  border-color: rgba(45, 184, 198, 0.42);
  box-shadow: 0 22px 54px rgba(53, 122, 141, 0.22);
}

.hero-main-card:hover::after,
.cover-card:hover::after,
.mini-card:hover::after,
.image-panel:hover::after,
.wide-image:hover::after,
.mosaic-gallery figure:hover::after {
  opacity: 1;
  transform: translateX(38%) rotate(8deg);
}

.hero-main-card:hover img,
.cover-card:hover img,
.mini-card:hover img,
.image-panel:hover img,
.wide-image:hover img,
.mosaic-gallery figure:hover img {
  transform: scale(1.035);
  filter: brightness(1.07) saturate(1.05);
}

.cover-card {
  position: absolute;
  left: 0;
  top: 0;
  width: 32%;
  transform: rotate(-5deg);
}

.cover-card img {
  width: 100%;
  height: auto;
}

.mini-card {
  position: absolute;
  left: 10%;
  bottom: 42px;
  width: 42%;
  aspect-ratio: 16 / 9;
  transform: rotate(-2deg);
}

.mini-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.float {
  position: absolute;
  z-index: 0;
  border-radius: 999px;
  filter: blur(0.2px);
  opacity: 0.72;
  animation: floaty 8s ease-in-out infinite;
}

.float-a {
  right: 9vw;
  top: 18vh;
  width: 76px;
  height: 76px;
  background: rgba(255, 213, 201, 0.68);
}

.float-b {
  left: 8vw;
  bottom: 11vh;
  width: 46px;
  height: 46px;
  background: rgba(112, 212, 221, 0.45);
  animation-delay: -3s;
}

.split-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(360px, 1.08fr);
  gap: 36px;
  align-items: center;
}

.split-layout.reverse {
  grid-template-columns: minmax(360px, 1.05fr) minmax(0, 0.95fr);
}

.section-copy p,
.section-head p {
  color: #516779;
  font-size: 0.97rem;
}

.feature-card,
.character-card,
.guide-card,
.download-panel,
.faq-list details,
.soft-list li,
.timeline article,
.update-strip span {
  outline: 1px solid transparent;
  outline-offset: 0;
  transition: transform 0.24s ease, outline-color 0.24s ease, box-shadow 0.24s ease, background-color 0.24s ease;
}

.feature-card:hover,
.character-card:hover,
.guide-card:hover,
.download-panel:hover,
.faq-list details:hover,
.soft-list li:hover,
.timeline article:hover,
.update-strip span:hover {
  transform: translateY(-5px);
  outline-color: rgba(45, 184, 198, 0.34);
  box-shadow: 0 16px 38px rgba(53, 122, 141, 0.12);
}

.soft-list {
  display: grid;
  gap: 10px;
  padding: 0;
  margin: 22px 0 0;
  list-style: none;
}

.soft-list li {
  position: relative;
  padding: 12px 14px 12px 38px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.7);
}

.soft-list li::before {
  content: "";
  position: absolute;
  left: 15px;
  top: 21px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--sea), var(--rose));
}

.image-panel {
  aspect-ratio: 16 / 10;
}

figcaption {
  padding: 12px 16px 15px;
  color: #637a8d;
  font-size: 0.9rem;
  background: rgba(255, 255, 255, 0.82);
}

.breeze-band {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.52), rgba(222, 250, 252, 0.66)),
    repeating-linear-gradient(135deg, rgba(112, 212, 221, 0.08) 0 1px, transparent 1px 18px);
}

.section-head {
  max-width: 760px;
  margin-bottom: 28px;
}

.feature-grid,
.character-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.feature-card,
.character-card,
.guide-card,
.download-panel,
.faq-list details {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.78);
  box-shadow: var(--soft-shadow);
}

.feature-card,
.character-card {
  padding: 20px;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.feature-card:hover,
.character-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}

.feature-card p,
.character-card p,
.guide-card p,
.guide-card li {
  color: #556b7d;
}

.card-icon {
  display: inline-grid;
  width: 46px;
  height: 46px;
  margin-bottom: 18px;
  place-items: center;
  border-radius: 16px;
  color: #197b8b;
  background: linear-gradient(135deg, rgba(203, 244, 228, 0.92), rgba(255, 213, 201, 0.78));
  font-weight: 900;
}

.route-meter {
  position: relative;
  overflow: hidden;
  margin-bottom: 18px;
  padding: 8px 10px;
  border-radius: 999px;
  color: #205b69;
  background: rgba(112, 212, 221, 0.14);
  font-size: 0.84rem;
  font-weight: 800;
}

.route-meter::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: var(--meter);
  background: linear-gradient(90deg, rgba(112, 212, 221, 0.45), rgba(255, 143, 173, 0.36));
}

.route-meter span {
  position: relative;
}

.tagline {
  margin: 18px 0 0;
  padding-top: 16px;
  border-top: 1px dashed rgba(78, 139, 154, 0.28);
  font-size: 0.94rem;
}

.wide-image {
  margin-top: 24px;
  aspect-ratio: 21 / 8;
}

.guide-section {
  background: linear-gradient(180deg, rgba(255, 248, 245, 0.55), rgba(255, 255, 255, 0.34));
}

.guide-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 28px;
  align-items: start;
}

.timeline {
  display: grid;
  gap: 14px;
  margin-top: 26px;
}

.timeline article {
  position: relative;
  padding: 18px 18px 18px 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.72);
}

.timeline article::before {
  content: "";
  position: absolute;
  left: 12px;
  top: 24px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--rose);
  box-shadow: 0 0 0 6px rgba(255, 143, 173, 0.12);
}

.timeline time {
  display: block;
  color: #238b99;
  font-weight: 800;
  font-size: 0.9rem;
}

.timeline h3 {
  margin-top: 4px;
}

.timeline p {
  margin-bottom: 0;
}

.guide-card {
  position: sticky;
  top: 100px;
  padding: 20px;
}

.guide-card ol {
  display: grid;
  gap: 12px;
  padding-left: 20px;
}

.update-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.update-strip span {
  padding: 8px 12px;
  border: 1px solid rgba(45, 184, 198, 0.22);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  color: #3b6778;
  font-size: 0.9rem;
}

.download-section {
  padding-top: 40px;
}

.download-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 26px;
  align-items: center;
  padding: 28px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.86), rgba(223, 248, 251, 0.78)),
    radial-gradient(circle at 96% 0%, rgba(255, 143, 173, 0.18), transparent 16rem);
}

.download-panel p {
  max-width: 740px;
  color: #516779;
}

.gallery-section {
  padding-top: 54px;
}

.mosaic-gallery {
  display: grid;
  grid-template-columns: 0.75fr 1.15fr 0.85fr;
  gap: 16px;
}

.mosaic-gallery figure {
  aspect-ratio: 4 / 3;
}

.mosaic-gallery figure:nth-child(2) {
  aspect-ratio: 16 / 9;
}

.faq-section {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.18), rgba(223, 248, 251, 0.52));
}

.narrow {
  max-width: 860px;
}

.faq-list {
  display: grid;
  gap: 14px;
}

.faq-list details {
  padding: 18px 22px;
}

.faq-list summary {
  cursor: pointer;
  font-size: 1.05rem;
  font-weight: 900;
}

.faq-list p {
  margin: 12px 0 0;
  color: #52697b;
}

.site-footer {
  padding: 34px 0;
  color: #486173;
  background: rgba(255, 255, 255, 0.78);
  border-top: 1px solid var(--line);
}

.footer-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.footer-grid p {
  max-width: 620px;
  margin: 6px 0 0;
  font-size: 0.92rem;
}

.footer-grid nav {
  display: flex;
  gap: 12px;
}

.footer-grid a {
  color: #247d8c;
  font-weight: 800;
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

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

@keyframes floaty {
  0%,
  100% {
    transform: translate3d(0, 0, 0);
  }
  50% {
    transform: translate3d(0, -18px, 0);
  }
}

@media (max-width: 980px) {
  .section-pad {
    padding: 60px 0;
  }

  .hero {
    min-height: auto;
    padding-bottom: 36px;
  }

  .hero-grid,
  .split-layout,
  .split-layout.reverse,
  .guide-layout {
    grid-template-columns: 1fr;
  }

  .hero-media {
    min-height: 470px;
  }

  .feature-grid,
  .character-grid,
  .mosaic-gallery {
    grid-template-columns: 1fr 1fr;
  }

  .guide-card {
    position: static;
  }

  .wide-image {
    aspect-ratio: 16 / 9;
  }
}

@media (max-width: 760px) {
  :root {
    --page: min(100vw - 28px, 560px);
  }

  .nav-shell {
    min-height: 62px;
  }

  .nav-toggle {
    display: block;
  }

  .site-menu {
    position: absolute;
    left: 14px;
    right: 14px;
    top: 70px;
    display: grid;
    gap: 4px;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: var(--shadow);
    transform: translateY(-8px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
  }

  .site-menu.is-open {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }

  .site-menu a {
    padding: 11px 12px;
  }

  .hero {
    padding-top: 22px;
  }

  h1 {
    font-size: 2.45rem;
  }

  .hero-lead {
    font-size: 1rem;
  }

  .hero-actions,
  .footer-grid {
    align-items: stretch;
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

  .quick-facts,
  .feature-grid,
  .character-grid,
  .mosaic-gallery,
  .download-panel {
    grid-template-columns: 1fr;
  }

  .hero-media {
    min-height: 380px;
  }

  .hero-main-card {
    top: 54px;
    width: 100%;
  }

  .cover-card {
    width: 34%;
  }

  .mini-card {
    left: auto;
    right: 0;
    bottom: 26px;
    width: 48%;
  }

  .image-panel,
  .mosaic-gallery figure,
  .mosaic-gallery figure:nth-child(2) {
    aspect-ratio: 16 / 10;
  }

  .download-panel {
    padding: 22px;
  }

  .footer-grid nav {
    flex-wrap: wrap;
  }
}

@media (max-width: 430px) {
  h1 {
    font-size: 2.05rem;
  }

  h2 {
    font-size: 1.68rem;
  }

  .hero-media {
    min-height: 330px;
  }

  .cover-card {
    width: 38%;
  }

  .mini-card {
    width: 54%;
  }

  .feature-card,
  .character-card,
  .guide-card,
  .faq-list details {
    padding: 16px;
  }
}

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

  .reveal {
    opacity: 1;
    transform: none;
  }
}
