:root {
  color-scheme: dark;
  --bg: #0d0d0d;
  --panel: #22060a;
  --panel-soft: #170306;
  --ink: #f6b0bc;
  --text: #d8c3c7;
  --muted: #a8a8a8;
  --quiet: #665557;
  --accent: #d31027;
  --green: #1d3d1d;
  --line: rgba(246, 176, 188, 0.18);
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.42);
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 18% 10%, rgba(211, 16, 39, 0.16), transparent 28rem),
    linear-gradient(180deg, #0d0d0d 0%, #130205 46%, #080808 100%);
  color: var(--text);
  font-family: "Noto Sans SC", "Microsoft YaHei", "PingFang SC", "Hiragino Sans GB", Arial, sans-serif;
  line-height: 1.75;
  letter-spacing: 0;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

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

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

p,
h1,
h2,
h3,
dl,
dd,
ol {
  margin-top: 0;
}

.skip-link {
  position: fixed;
  left: 1rem;
  top: -4rem;
  z-index: 1000;
  padding: 0.7rem 1rem;
  border-radius: 6px;
  background: var(--ink);
  color: #170306;
  font-weight: 500;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 1rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: clamp(1rem, 3vw, 2rem);
  min-height: 72px;
  padding: 0.75rem max(1rem, calc((100vw - var(--max)) / 2));
  border-bottom: 1px solid rgba(246, 176, 188, 0.12);
  background: rgba(13, 13, 13, 0.86);
  color: var(--ink);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 0;
  color: var(--ink);
  font-weight: 900;
}

.brand img {
  width: 46px;
  height: 46px;
  object-fit: cover;
  border: 1px solid rgba(246, 176, 188, 0.22);
  border-radius: 11px;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.28);
}

.brand span {
  font-size: 1.05rem;
  white-space: nowrap;
}

.nav {
  display: flex;
  justify-content: flex-end;
  gap: clamp(0.35rem, 1vw, 0.7rem);
  min-width: 0;
}

.nav a {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  min-height: 42px;
  padding: 0.48rem 0.78rem;
  border: 1px solid transparent;
  border-radius: 999px;
  color: #d7c6ca;
  font-size: 0.95rem;
  font-weight: 400;
  white-space: nowrap;
  transition: color 0.18s ease, background 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}

.nav a span {
  font-weight: inherit;
}

.nav svg,
.header-cta svg,
.btn svg,
.gallery-control svg {
  width: 1rem;
  height: 1rem;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.1;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.nav a:not(.nav-download) svg {
  color: #e2d4d7;
}

.nav a:not(.nav-download):hover,
.nav a:not(.nav-download):focus-visible,
.nav a:not(.nav-download).is-current {
  background: rgba(246, 176, 188, 0.1);
  border-color: rgba(246, 176, 188, 0.22);
  color: var(--ink);
  transform: translateY(-1px);
}

.nav-download {
  background: var(--accent);
  border-color: rgba(211, 16, 39, 0.45);
  color: #fff;
  box-shadow: 0 12px 26px rgba(211, 16, 39, 0.24);
}

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

.header-cta,
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 44px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 800;
  line-height: 1.1;
  transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease, color 0.18s ease;
}

.header-cta {
  gap: 0.4rem;
  min-height: 46px;
  padding: 0.58rem 1.15rem;
  border-radius: 999px;
  background: var(--accent);
  border-color: rgba(211, 16, 39, 0.45);
  color: #fff;
  box-shadow: 0 12px 26px rgba(211, 16, 39, 0.24);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(246, 176, 188, 0.2);
  border-radius: 999px;
  background: rgba(34, 6, 10, 0.8);
  color: var(--ink);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  border-radius: 999px;
  background: currentColor;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

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

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

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

.btn {
  padding: 0.8rem 1.1rem;
}

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

.btn-primary {
  background: var(--accent);
  color: #fff4f6;
  box-shadow: 0 12px 34px rgba(211, 16, 39, 0.28);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  box-shadow: 0 18px 42px rgba(211, 16, 39, 0.42);
}

.btn-secondary {
  border-color: rgba(246, 176, 188, 0.28);
  background: rgba(34, 6, 10, 0.74);
  color: var(--ink);
}

.btn-secondary:hover,
.btn-secondary:focus-visible {
  border-color: rgba(246, 176, 188, 0.46);
  background: rgba(34, 6, 10, 0.92);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.28);
}

.hero {
  position: relative;
  min-height: 92vh;
  display: grid;
  align-items: end;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.hero-media,
.hero-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-media img {
  object-fit: cover;
  filter: saturate(0.92) contrast(1.05);
}

.hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(13, 13, 13, 0.9) 0%, rgba(13, 13, 13, 0.7) 42%, rgba(13, 13, 13, 0.28) 100%),
    linear-gradient(180deg, rgba(13, 13, 13, 0.18) 0%, rgba(13, 13, 13, 0.82) 100%);
}

.hero-inner {
  position: relative;
  width: min(var(--max), calc(100% - 2rem));
  margin: 0 auto;
  padding: 8rem 0 4rem;
}

.eyebrow,
.section-kicker {
  margin-bottom: 0.75rem;
  color: var(--ink);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero h1 {
  margin-bottom: 1rem;
  color: var(--ink);
  font-size: clamp(3.25rem, 10vw, 7rem);
  line-height: 0.9;
  letter-spacing: 0;
  text-shadow: 0 2px 0 var(--accent), 0 18px 48px rgba(0, 0, 0, 0.58);
}

.hero-subtitle {
  max-width: 720px;
  margin-bottom: 1.35rem;
  color: #ead3d8;
  font-size: clamp(1rem, 2vw, 1.18rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-bottom: 2.2rem;
}

.hero-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  max-width: 980px;
  margin-bottom: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: var(--line);
  box-shadow: var(--shadow);
}

.hero-facts div {
  min-width: 0;
  padding: 1rem;
  background: rgba(13, 13, 13, 0.72);
  transition: background 0.2s ease, transform 0.2s ease;
}

.hero-facts div:hover {
  background: rgba(34, 6, 10, 0.9);
  transform: translateY(-2px);
}

.hero-facts dt {
  color: var(--quiet);
  font-size: 0.82rem;
  font-weight: 800;
}

.hero-facts dd {
  margin-bottom: 0;
  color: var(--text);
  font-weight: 800;
}

.section {
  width: min(var(--max), calc(100% - 2rem));
  margin: 0 auto;
  padding: clamp(4rem, 8vw, 7rem) 0;
}

.section-head {
  max-width: 820px;
  margin-bottom: 2rem;
}

.section-head h2,
.section-copy h2,
.cta-section h2 {
  margin-bottom: 0.8rem;
  color: var(--ink);
  font-size: clamp(1.65rem, 4vw, 2.65rem);
  line-height: 1.1;
  letter-spacing: 0;
}

.section-head h2::after,
.section-copy h2::after,
.cta-section h2::after {
  content: "";
  display: block;
  width: 3rem;
  height: 3px;
  margin-top: 0.65rem;
  border-radius: 999px;
  background: var(--accent);
}

.section-head p,
.section-copy > p,
.cta-section p {
  color: var(--muted);
}

.intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(280px, 0.55fr);
  gap: 1rem;
  align-items: stretch;
}

.intro-grid-single {
  grid-template-columns: minmax(0, 1fr);
}

.text-panel,
.spec-list,
.step-card,
.feature-grid article,
.timeline article,
.faq-list details,
.save-route {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(34, 6, 10, 0.86), rgba(18, 3, 6, 0.86));
  box-shadow: 0 14px 42px rgba(0, 0, 0, 0.22);
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease, background 0.22s ease;
}

.text-panel:hover,
.step-card:hover,
.feature-grid article:hover,
.timeline article:hover,
.faq-list details:hover,
.save-route:hover {
  border-color: rgba(246, 176, 188, 0.34);
  box-shadow: 0 22px 58px rgba(0, 0, 0, 0.34), 0 0 0 1px rgba(211, 16, 39, 0.12);
  transform: translateY(-4px);
}

.text-panel {
  padding: clamp(1.2rem, 3vw, 2rem);
}

.text-panel h3,
.point-list h3,
.step-card h3,
.save-route h3,
.feature-grid h3,
.timeline h3 {
  margin-bottom: 0.55rem;
  color: var(--ink);
  line-height: 1.25;
}

.text-panel p:last-child,
.point-list p:last-child,
.step-card p:last-child,
.feature-grid p:last-child,
.timeline p:last-child,
.faq-list p:last-child {
  margin-bottom: 0;
}

.spec-list {
  display: grid;
  align-content: stretch;
  overflow: hidden;
}

.spec-list div {
  display: grid;
  gap: 0.2rem;
  padding: 1rem;
  border-bottom: 1px solid var(--line);
}

.spec-list div:last-child {
  border-bottom: 0;
}

.spec-list span {
  color: var(--quiet);
  font-size: 0.82rem;
  font-weight: 800;
}

.spec-list strong {
  color: var(--text);
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.75fr);
  gap: clamp(1rem, 4vw, 2.5rem);
  align-items: center;
}

.point-list {
  display: grid;
  gap: 1rem;
  margin-top: 1.4rem;
}

.point-list article {
  padding-left: 1rem;
  border-left: 3px solid rgba(211, 16, 39, 0.72);
}

.feature-figure {
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: var(--panel);
  box-shadow: var(--shadow);
  transition: transform 0.24s ease, border-color 0.24s ease, box-shadow 0.24s ease;
}

.feature-figure:hover {
  border-color: rgba(246, 176, 188, 0.34);
  box-shadow: 0 28px 76px rgba(0, 0, 0, 0.42);
  transform: translateY(-4px);
}

.feature-figure img {
  aspect-ratio: 750 / 422;
  width: 100%;
  object-fit: cover;
  transition: transform 0.5s ease, filter 0.3s ease;
}

.feature-figure:hover img {
  filter: saturate(1.08) contrast(1.04);
  transform: scale(1.035);
}

.feature-figure figcaption,
.gallery-item figcaption {
  padding: 0.9rem 1rem;
  color: var(--muted);
  font-size: 0.92rem;
}

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

.step-card,
.feature-grid article {
  padding: 1.1rem;
}

.step-card span {
  display: inline-flex;
  margin-bottom: 0.9rem;
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 900;
}

.save-route {
  margin-top: 1rem;
  padding: 1.25rem;
}

.save-route ol {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.7rem;
  margin-bottom: 0;
  padding-left: 1.2rem;
}

.save-route li {
  color: var(--muted);
}

.feature-band {
  width: 100%;
  max-width: none;
  padding-inline: max(1rem, calc((100vw - var(--max)) / 2));
  background:
    linear-gradient(180deg, rgba(34, 6, 10, 0.48), rgba(13, 13, 13, 0.82)),
    linear-gradient(90deg, rgba(211, 16, 39, 0.12), rgba(29, 61, 29, 0.12));
  border-block: 1px solid var(--line);
}

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

.gallery {
  position: relative;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: var(--panel-soft);
  box-shadow: var(--shadow);
  transition: border-color 0.24s ease, box-shadow 0.24s ease;
}

.gallery:hover {
  border-color: rgba(246, 176, 188, 0.34);
  box-shadow: 0 28px 76px rgba(0, 0, 0, 0.42);
}

.gallery-track {
  display: grid;
}

.gallery-item {
  grid-area: 1 / 1;
  margin: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.32s ease;
}

.gallery-item.is-active {
  opacity: 1;
  pointer-events: auto;
}

.gallery-item img {
  width: 100%;
  height: min(62vw, 620px);
  object-fit: cover;
  transition: transform 0.7s ease, filter 0.35s ease;
}

.gallery:hover .gallery-item.is-active img {
  filter: saturate(1.08) contrast(1.04);
  transform: scale(1.025);
}

.gallery-control {
  position: absolute;
  top: 45%;
  z-index: 2;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(246, 176, 188, 0.28);
  border-radius: 8px;
  background: rgba(13, 13, 13, 0.72);
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.gallery-control svg {
  width: 1.35rem;
  height: 1.35rem;
}

.gallery-control:hover,
.gallery-control:focus-visible {
  background: rgba(211, 16, 39, 0.82);
  color: #fff;
}

.gallery-control.prev {
  left: 1rem;
}

.gallery-control.next {
  right: 1rem;
}

.timeline {
  display: grid;
  gap: 1rem;
  border-left: 1px solid var(--line);
  padding-left: 1rem;
}

.timeline article {
  position: relative;
  padding: 1.2rem;
}

.timeline article::before {
  content: "";
  position: absolute;
  left: calc(-1rem - 5px);
  top: 1.45rem;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 5px rgba(211, 16, 39, 0.16);
}

.timeline time {
  display: block;
  margin-bottom: 0.45rem;
  color: var(--quiet);
  font-weight: 900;
}

.faq-list {
  display: grid;
  gap: 0.8rem;
}

.faq-list details {
  padding: 1rem 1.15rem;
}

.faq-list summary {
  color: var(--ink);
  font-weight: 900;
  cursor: pointer;
  transition: color 0.18s ease;
}

.faq-list details:hover summary {
  color: #ffd6de;
}

.faq-list summary::marker {
  color: var(--accent);
}

.faq-list p {
  margin: 0.8rem 0 0;
  color: var(--muted);
}

.cta-section {
  width: min(var(--max), calc(100% - 2rem));
  margin: 0 auto clamp(4rem, 8vw, 7rem);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1.2rem;
  align-items: center;
  padding: clamp(1.4rem, 4vw, 2.4rem);
  border: 1px solid rgba(211, 16, 39, 0.4);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(34, 6, 10, 0.96), rgba(13, 13, 13, 0.96)),
    radial-gradient(circle at 85% 20%, rgba(246, 176, 188, 0.16), transparent 18rem);
  box-shadow: var(--shadow);
  transition: transform 0.24s ease, border-color 0.24s ease, box-shadow 0.24s ease;
}

.cta-section:hover {
  border-color: rgba(246, 176, 188, 0.36);
  box-shadow: 0 28px 76px rgba(0, 0, 0, 0.42);
  transform: translateY(-3px);
}

.cta-section p {
  margin-bottom: 0;
}

.site-footer {
  padding: clamp(3rem, 6vw, 5rem) clamp(1rem, 4vw, 3rem);
  border-top: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(34, 6, 10, 0.94), rgba(13, 13, 13, 0.98)),
    radial-gradient(circle at 50% 0%, rgba(211, 16, 39, 0.22), transparent 24rem);
  color: #c9b8bc;
  font-size: 1rem;
  line-height: 1.9;
}

.friend-links {
  max-width: var(--max);
  margin-inline: auto;
  text-align: center;
}

.friend-links h2 {
  margin-bottom: 1.35rem;
  color: var(--ink);
  font-size: clamp(1.7rem, 4vw, 2.25rem);
  line-height: 1.15;
  letter-spacing: 0;
}

.friend-link-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.85rem;
}

.friend-link-list a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  max-width: 100%;
  padding: 0.55rem 1.35rem;
  border: 1px solid rgba(246, 176, 188, 0.2);
  border-radius: 999px;
  background: rgba(246, 176, 188, 0.95);
  color: #170306;
  font-weight: 900;
  line-height: 1.25;
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.28);
  transition: transform 0.18s ease, background 0.18s ease, color 0.18s ease, box-shadow 0.18s ease;
}

.friend-link-list a:hover,
.friend-link-list a:focus-visible {
  background: var(--accent);
  color: #fff4f6;
  box-shadow: 0 18px 38px rgba(211, 16, 39, 0.32);
  transform: translateY(-2px);
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: 1fr auto;
    background: rgba(13, 13, 13, 0.9);
  }

  .menu-toggle {
    display: block;
  }

  .nav {
    position: absolute;
    left: 1rem;
    right: 1rem;
    top: calc(100% + 0.5rem);
    grid-column: 1 / -1;
    display: none;
    flex-direction: column;
    justify-content: flex-start;
    gap: 0.45rem;
    padding: 0.75rem;
    border: 1px solid rgba(246, 176, 188, 0.16);
    border-radius: 12px;
    background: rgba(13, 13, 13, 0.96);
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.42);
    overflow: visible;
  }

  .site-header.is-menu-open .nav {
    display: flex;
  }

  .nav a {
    width: 100%;
    justify-content: flex-start;
    padding-inline: 1rem;
  }

  .hero {
    min-height: 860px;
  }

  .hero-facts,
  .intro-grid,
  .split-section,
  .guide-grid,
  .feature-grid,
  .save-route ol,
  .cta-section {
    grid-template-columns: 1fr 1fr;
  }

  .split-section .section-copy,
  .cta-section > div {
    grid-column: 1 / -1;
  }
}

@media (max-width: 640px) {
  .site-header {
    min-height: 66px;
    gap: 0.7rem;
  }

  .brand img {
    width: 42px;
    height: 42px;
  }

  .header-cta {
    padding-inline: 0.8rem;
  }

  .nav a {
    font-size: 0.88rem;
  }

  .hero {
    min-height: 790px;
  }

  .hero-inner {
    width: min(100% - 1rem, var(--max));
    padding-bottom: 2.2rem;
  }

  .hero-actions,
  .btn {
    width: 100%;
  }

  .hero-facts,
  .intro-grid,
  .split-section,
  .guide-grid,
  .feature-grid,
  .save-route ol,
  .cta-section {
    grid-template-columns: 1fr;
  }

  .section {
    width: min(100% - 1rem, var(--max));
    padding: 3.4rem 0;
  }

  .feature-band {
    padding-inline: 0.5rem;
  }

  .gallery-item img {
    height: 58vw;
    min-height: 240px;
  }

  .gallery-control {
    width: 38px;
    height: 38px;
  }

  .gallery-control.prev {
    left: 0.5rem;
  }

  .gallery-control.next {
    right: 0.5rem;
  }

  .site-footer {
    padding-inline: 1rem;
  }

  .friend-link-list {
    gap: 0.65rem;
  }

  .friend-link-list a {
    width: min(100%, 220px);
  }
}

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