:root {
  --bg: #fffaf8;
  --paper: #ffffff;
  --ink: #2c2830;
  --muted: #6f6670;
  --line: rgba(132, 101, 111, .18);
  --pink: #f49eb5;
  --pink-deep: #d85880;
  --peach: #ffd8c8;
  --blue: #cfe9f8;
  --mint: #d9f0e5;
  --cream: #fff3dc;
  --shadow: 0 18px 45px rgba(121, 85, 95, .16);
  --soft-shadow: 0 10px 28px rgba(121, 85, 95, .12);
  --radius: 18px;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--bg);
  font-family: "Microsoft YaHei", "PingFang SC", "Noto Sans SC", Arial, sans-serif;
  line-height: 1.72;
  text-rendering: optimizeLegibility;
}

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

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

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 1000;
  transform: translateY(-160%);
  background: var(--ink);
  color: #fff;
  padding: 10px 14px;
  border-radius: 999px;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 250, 248, .82);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(255, 255, 255, .72);
}

.nav {
  width: min(var(--max), calc(100% - 32px));
  min-height: 64px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  letter-spacing: 0;
}

.brand img {
  width: 36px;
  height: 48px;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: 0 8px 18px rgba(216, 88, 128, .18);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #5e5660;
  font-size: 14px;
}

.nav-links a {
  padding: 7px 11px;
  border-radius: 999px;
  transition: color .2s ease, background .2s ease, transform .2s ease;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  background: #fff;
  color: var(--pink-deep);
  transform: translateY(-1px);
  outline: none;
}

.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 50%;
  background: #fff;
  box-shadow: var(--soft-shadow);
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  border-radius: 2px;
  background: var(--ink);
  transition: transform .2s ease, opacity .2s ease;
}

.nav-toggle.is-open span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.nav-toggle.is-open span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.is-open span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.hero {
  min-height: auto;
  padding: 62px 0 58px;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(75, 50, 61, .72), rgba(216, 88, 128, .62)),
    url("img/tu3.webp") center / cover no-repeat;
}

.hero-shell {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(300px, .78fr);
  gap: 28px;
  align-items: stretch;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.hero-content {
  position: relative;
  overflow: hidden;
  padding: 52px 46px;
  color: var(--ink);
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
}

.hero-content > * {
  position: relative;
  z-index: 1;
}

.hero-visual {
  margin: 0;
  overflow: hidden;
  border-radius: calc(var(--radius) + 8px);
  box-shadow: var(--shadow);
  background: #fff;
}

.hero-visual img {
  width: 100%;
  height: 100%;
  min-height: 280px;
  max-height: 350px;
  object-fit: cover;
  object-position: center;
  transition: transform .5s ease;
}

.hero-visual:hover img {
  transform: scale(1.025);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--pink-deep);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #ffe6ee;
  text-shadow: 0 2px 16px rgba(45, 39, 48, .35);
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  margin: 0;
  max-width: 760px;
  color: var(--pink-deep);
  font-size: clamp(36px, 5.6vw, 68px);
  line-height: .96;
  letter-spacing: 0;
  text-shadow:
    0 2px 0 rgba(255, 255, 255, .58),
    0 4px 22px rgba(45, 39, 48, .26);
}

h2 {
  margin: 0;
  color: var(--pink-deep);
  font-size: clamp(22px, 2.7vw, 32px);
  line-height: 1.16;
  letter-spacing: 0;
}

h3 {
  margin: 0 0 10px;
  font-size: 19px;
  line-height: 1.32;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 660px;
  margin: 18px 0 0;
  font-size: clamp(16px, 1.8vw, 19px);
  color: rgba(255, 255, 255, .9);
  text-shadow: 0 2px 14px rgba(45, 39, 48, .28);
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 999px;
  font-weight: 800;
  box-shadow: var(--soft-shadow);
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 18px 34px rgba(216, 88, 128, .22);
  outline: none;
}

.btn.primary {
  color: #fff;
  background: linear-gradient(135deg, #f08aa8, #d85880);
}

.btn.secondary {
  color: #543a43;
  background: rgba(255, 255, 255, .88);
}

.btn.large {
  min-height: 50px;
  padding: 0 24px;
}

.section {
  padding: 68px 0;
}

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

.section-head {
  max-width: 800px;
  margin-bottom: 26px;
}

.section-head p:not(.eyebrow),
.copy-block p {
  color: var(--muted);
  font-size: 16px;
}

.intro-band {
  background: linear-gradient(180deg, #fffaf8 0%, #fff2ee 100%);
}

.soft-band {
  background:
    linear-gradient(135deg, rgba(207, 233, 248, .58), rgba(255, 243, 220, .72)),
    #fff;
}

.guide-band {
  background: linear-gradient(180deg, #fff 0%, #fff7f8 100%);
}

.faq-band {
  background: #fff;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 520px);
  gap: 34px;
  align-items: center;
}

.split.reverse {
  grid-template-columns: minmax(320px, 520px) minmax(0, 1fr);
}

.feature-figure {
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: var(--shadow);
  transition: transform .22s ease, box-shadow .22s ease;
}

.feature-figure img {
  width: 100%;
  height: clamp(260px, 34vw, 400px);
  object-fit: cover;
  transition: transform .45s ease;
}

.feature-figure:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 44px rgba(121, 85, 95, .18);
}

.feature-figure:hover img {
  transform: scale(1.025);
}

.feature-figure figcaption {
  padding: 16px 18px 18px;
  color: var(--muted);
  font-size: 14px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.info-card,
.character-card,
.guide-panel,
.faq-item {
  background: rgba(255, 255, 255, .9);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--soft-shadow);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

.info-card:hover,
.character-card:hover,
.guide-panel:hover,
.faq-item:hover {
  transform: translateY(-4px);
  border-color: rgba(216, 88, 128, .28);
  box-shadow: 0 18px 38px rgba(121, 85, 95, .18);
}

.info-card {
  min-height: 214px;
  padding: 20px;
}

.card-index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  margin-bottom: 18px;
  border-radius: 50%;
  color: #fff;
  font-weight: 900;
  background: linear-gradient(135deg, var(--pink), var(--pink-deep));
}

.info-card p,
.character-card p,
.guide-panel li,
.faq-item p,
.timeline li {
  color: var(--muted);
}

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

.character-card {
  overflow: hidden;
}

.character-card img {
  width: 100%;
  height: 208px;
  object-fit: cover;
  object-position: center;
  transition: transform .45s ease;
}

.character-card:hover img {
  transform: scale(1.035);
}

.character-card div {
  padding: 18px;
}

.route-note {
  margin-bottom: 0;
  color: #9b5669 !important;
  font-weight: 700;
}

.guide-panel {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  padding: 18px;
  margin-bottom: 22px;
}

.guide-summary {
  padding: 18px;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(255, 216, 200, .48), rgba(207, 233, 248, .48));
}

.guide-summary ol {
  margin: 0;
  padding-left: 22px;
}

.route-table-wrap {
  overflow-x: auto;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  background: #fff;
}

.route-table {
  width: 100%;
  min-width: 800px;
  border-collapse: collapse;
}

.route-table caption {
  padding: 18px;
  text-align: left;
  font-weight: 900;
  color: var(--pink-deep);
}

.route-table th,
.route-table td {
  padding: 14px;
  text-align: left;
  vertical-align: top;
  border-top: 1px solid var(--line);
}

.route-table thead th {
  color: #543a43;
  background: #fff2f5;
}

.route-table tbody th {
  color: var(--pink-deep);
}

.route-table tbody tr {
  transition: background .18s ease;
}

.route-table tbody tr:hover {
  background: #fff8fa;
}

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

.timeline li {
  padding: 16px 18px;
  border-left: 4px solid var(--pink);
  border-radius: 16px;
  background: rgba(255, 255, 255, .72);
}

.timeline span {
  display: block;
  color: var(--ink);
  font-weight: 900;
}

.download-band {
  color: #fff;
  background:
    linear-gradient(135deg, rgba(75, 50, 61, .78), rgba(216, 88, 128, .74)),
    url("img/tu4.webp") center / cover no-repeat;
}

.download-copy .eyebrow,
.download-copy p {
  color: rgba(255, 255, 255, .88);
}

.download-copy p {
  max-width: 700px;
  font-size: 16px;
}

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

.faq-item {
  padding: 0 22px;
}

.faq-item summary {
  cursor: pointer;
  padding: 20px 0;
  font-weight: 900;
  transition: color .18s ease;
}

.faq-item summary:hover {
  color: var(--pink-deep);
}

.faq-item p {
  margin-top: 0;
  padding-bottom: 20px;
}

.site-footer {
  background: #2d2730;
  color: rgba(255, 255, 255, .78);
}

.footer-inner {
  width: min(var(--max), calc(100% - 32px));
  min-height: 92px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.footer-inner p {
  margin: 0;
}

.footer-inner a {
  color: #fff;
  font-weight: 800;
}

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

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

@media (max-width: 980px) {
  .feature-grid,
  .character-layout {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .hero-shell {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .nav {
    min-height: 60px;
  }

  .nav-toggle {
    display: block;
  }

  .nav-links {
    position: absolute;
    top: 60px;
    left: 16px;
    right: 16px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 6px;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 20px;
    background: rgba(255, 255, 255, .96);
    box-shadow: var(--shadow);
    transform: translateY(-8px);
    opacity: 0;
    pointer-events: none;
    transition: opacity .2s ease, transform .2s ease;
  }

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

  .nav-links a {
    text-align: center;
  }

  .hero {
    padding: 36px 0 44px;
  }

  .hero-shell {
    border-radius: 24px;
  }

  .hero-content {
    padding: 34px 24px;
  }

  .hero-visual img {
    height: 240px;
    min-height: 0;
    max-height: none;
  }

  .section {
    padding: 50px 0;
  }

  .feature-grid,
  .character-layout,
  .guide-panel {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    padding: 24px 0;
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 460px) {
  .nav {
    width: min(100% - 22px, var(--max));
  }

  .nav-links {
    left: 11px;
    right: 11px;
    grid-template-columns: repeat(2, 1fr);
  }

  .section-inner,
  .hero-shell,
  .footer-inner {
    width: min(100% - 22px, var(--max));
  }

  .hero-actions {
    display: grid;
  }

  .btn {
    width: 100%;
  }

  .info-card,
  .guide-panel {
    padding: 20px;
  }

  .character-card img {
    height: 210px;
  }
}

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

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

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