:root {
  color-scheme: light;
  --bg: #f5f7fa;
  --surface: #ffffff;
  --surface-strong: #ffffff;
  --ink: #202327;
  --muted: #64615c;
  --line: rgba(32, 35, 39, 0.12);
  --shadow: 0 20px 60px rgba(20, 21, 24, 0.14);
  --red: #b8273d;
  --red-dark: #831c2d;
  --gold: #c59642;
  --teal: #1c8991;
  --night: #12171b;
  --night-soft: #24303a;
  --radius: 8px;
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Noto Sans SC", "Microsoft YaHei", "PingFang SC", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(245, 247, 250, 0.96)),
    radial-gradient(circle at 18% 18%, rgba(184, 39, 61, 0.08), transparent 28%),
    radial-gradient(circle at 84% 30%, rgba(28, 137, 145, 0.08), transparent 26%),
    var(--bg);
  line-height: 1.75;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

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

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

p {
  margin: 0 0 1rem;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.18;
  letter-spacing: 0;
}

h1 {
  color: #fff;
  font-size: clamp(2.35rem, 6vw, 4.9rem);
  font-weight: 900;
  text-shadow: 0 18px 44px rgba(0, 0, 0, 0.42);
}

h2 {
  color: var(--red);
  background: linear-gradient(100deg, var(--red), var(--night-soft) 58%, var(--teal));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 850;
}

.route-section h2,
.download-band h2 {
  color: #fff;
  background: linear-gradient(100deg, #fff, #f4c268 58%, #cfeff2);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

h3 {
  font-size: 1.18rem;
  font-weight: 800;
}

ul,
ol {
  margin: 0;
  padding-left: 1.25rem;
}

li + li {
  margin-top: 0.42rem;
}

button,
summary,
a {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 3px solid rgba(197, 150, 66, 0.9);
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 999;
  transform: translateY(-160%);
  padding: 0.7rem 1rem;
  color: #fff;
  background: var(--red);
  border-radius: 6px;
  transition: transform 0.2s ease;
}

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

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 72px;
  padding: 0.8rem clamp(1rem, 4vw, 3rem);
  color: #fff;
  background: linear-gradient(180deg, rgba(18, 23, 27, 0.84), rgba(18, 23, 27, 0.34));
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  transition: background 0.22s ease, box-shadow 0.22s ease, min-height 0.22s ease;
}

.site-header.is-scrolled {
  min-height: 64px;
  background: rgba(18, 23, 27, 0.94);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.24);
  backdrop-filter: blur(14px);
}

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

.brand-logo {
  display: block;
  width: 74px;
  height: 42px;
  flex: 0 0 auto;
  overflow: hidden;
  background: #172027;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 8px;
  box-shadow: 0 10px 26px rgba(18, 23, 27, 0.28);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.brand-logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 17% 18%;
  transform: scale(1.8);
  transform-origin: left top;
}

.brand:hover .brand-logo {
  transform: translateY(-1px);
  border-color: rgba(244, 194, 104, 0.58);
  box-shadow: 0 14px 34px rgba(184, 39, 61, 0.22);
}

.brand-text {
  display: grid;
  gap: 0.1rem;
  min-width: 0;
}

.brand-text span {
  font-weight: 850;
  white-space: nowrap;
}

.brand-text small {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.72rem;
  letter-spacing: 0;
  text-transform: uppercase;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 0.18rem;
}

.site-nav a {
  position: relative;
  padding: 0.55rem 0.78rem;
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.94rem;
  border-radius: 6px;
  transition: color 0.2s ease, background 0.2s ease;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0.75rem;
  right: 0.75rem;
  bottom: 0.32rem;
  height: 2px;
  transform: scaleX(0);
  transform-origin: left center;
  background: #f4c268;
  border-radius: 999px;
  transition: transform 0.22s ease;
}

.site-nav a:hover,
.site-nav a.is-active {
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
}

.site-nav a:hover::after,
.site-nav a.is-active::after {
  transform: scaleX(1);
}

.site-nav .nav-download {
  margin-left: 0.35rem;
  color: #fff;
  background: linear-gradient(135deg, var(--red), var(--red-dark));
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 12px 26px rgba(184, 39, 61, 0.28);
}

.site-nav .nav-download::after {
  display: none;
}

.site-nav .nav-download:hover {
  background: linear-gradient(135deg, #c62d45, var(--red-dark));
  box-shadow: 0 16px 34px rgba(184, 39, 61, 0.38);
  transform: translateY(-1px);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 0;
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
}

.nav-toggle span:not(.sr-only) {
  display: block;
  width: 19px;
  height: 2px;
  margin: 4px auto;
  background: currentColor;
  border-radius: 999px;
}

.hero {
  position: relative;
  min-height: 86vh;
  display: grid;
  align-items: end;
  overflow: hidden;
  color: #fff;
  background: var(--night);
}

.hero-media,
.hero-media img,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 58% 42%;
  transform: scale(1.02);
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(18, 23, 27, 0.88) 0%, rgba(18, 23, 27, 0.66) 35%, rgba(18, 23, 27, 0.12) 74%),
    linear-gradient(180deg, rgba(18, 23, 27, 0.34), rgba(18, 23, 27, 0.82) 92%);
}

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

.eyebrow,
.section-kicker {
  margin: 0 0 0.8rem;
  color: var(--red);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #f4c268;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.4);
}

.hero-subtitle {
  width: min(700px, 100%);
  margin-top: 1.1rem;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(1.05rem, 2vw, 1.32rem);
}

.hero-actions,
.download-inner .button {
  margin-top: 1.45rem;
}

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

.button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0.78rem 1.14rem;
  font-weight: 850;
  border: 1px solid transparent;
  border-radius: 8px;
  overflow: hidden;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.button::before {
  content: "";
  position: absolute;
  inset: 0;
  transform: translateX(-120%) skewX(-18deg);
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.26), transparent);
  transition: transform 0.42s ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button:hover::before {
  transform: translateX(120%) skewX(-18deg);
}

.button-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--red), var(--red-dark));
  box-shadow: 0 18px 34px rgba(184, 39, 61, 0.32);
}

.button-primary:hover {
  box-shadow: 0 22px 46px rgba(184, 39, 61, 0.42);
}

.button-secondary {
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.28);
  backdrop-filter: blur(10px);
}

.button-secondary:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.46);
}

.hero-facts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.85rem;
  width: min(900px, 100%);
  margin: 2rem 0 0;
}

.hero-facts div {
  padding: 0.95rem;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  backdrop-filter: blur(12px);
}

.hero-facts dt {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.78rem;
}

.hero-facts dd {
  margin: 0.2rem 0 0;
  font-weight: 800;
  word-break: keep-all;
}

.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 1rem;
  z-index: 4;
  width: 30px;
  height: 44px;
  transform: translateX(-50%);
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 999px;
}

.scroll-cue span {
  position: absolute;
  top: 8px;
  left: 50%;
  width: 4px;
  height: 8px;
  transform: translateX(-50%);
  background: #fff;
  border-radius: 999px;
  animation: cue 1.8s ease-in-out infinite;
}

@keyframes cue {
  0%, 100% {
    opacity: 0.25;
    transform: translate(-50%, 0);
  }
  50% {
    opacity: 1;
    transform: translate(-50%, 12px);
  }
}

.section {
  padding: clamp(4rem, 8vw, 7rem) 0;
}

.section-inner {
  width: min(var(--container), calc(100% - 2rem));
  margin: 0 auto;
}

.narrow {
  width: min(900px, calc(100% - 2rem));
}

.two-column {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 1.05fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.intro-section {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.98), rgba(245, 247, 250, 0.92)),
    repeating-linear-gradient(90deg, rgba(18, 23, 27, 0.045) 0 1px, transparent 1px 64px),
    repeating-linear-gradient(0deg, rgba(18, 23, 27, 0.035) 0 1px, transparent 1px 64px);
}

.intro-section::before {
  content: "DOSSIER";
  position: absolute;
  right: max(1rem, calc((100vw - var(--container)) / 2));
  top: 2.5rem;
  color: rgba(18, 23, 27, 0.045);
  font-size: clamp(4rem, 13vw, 10rem);
  font-weight: 950;
  line-height: 1;
  pointer-events: none;
}

.copy-block p {
  color: var(--muted);
  font-size: 1.02rem;
}

.copy-block p:first-of-type {
  margin-top: 1.1rem;
}

.dossier-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 1.4rem;
}

.dossier-tags span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0.35rem 0.72rem;
  color: var(--night);
  font-size: 0.9rem;
  font-weight: 800;
  background: rgba(255, 255, 255, 0.74);
  border: 1px solid rgba(32, 35, 39, 0.12);
  border-left: 3px solid var(--red);
  border-radius: 6px;
  transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.dossier-tags span:hover {
  transform: translateY(-2px);
  background: #fff;
  border-color: rgba(184, 39, 61, 0.25);
}

.feature-image,
.wide-image,
.story-images figure,
.gallery-item {
  margin: 0;
  overflow: hidden;
  background: var(--surface-strong);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
}

.feature-image img,
.wide-image img,
.story-images img,
.gallery-item img {
  width: 100%;
  object-fit: cover;
  transition: transform 0.36s ease, filter 0.36s ease;
}

.feature-image:hover,
.wide-image:hover,
.story-images figure:hover,
.gallery-item:hover {
  transform: translateY(-4px);
  border-color: rgba(184, 39, 61, 0.2);
  box-shadow: 0 28px 74px rgba(20, 21, 24, 0.18);
}

.feature-image:hover img,
.wide-image:hover img,
.story-images figure:hover img,
.gallery-item:hover img {
  transform: scale(1.035);
  filter: saturate(1.06) contrast(1.03);
}

.feature-image img {
  aspect-ratio: 900 / 622;
}

.feature-image {
  position: relative;
}

.feature-image::before {
  content: "Character File";
  position: absolute;
  top: 0.85rem;
  left: 0.85rem;
  z-index: 2;
  padding: 0.28rem 0.55rem;
  color: #fff;
  font-size: 0.72rem;
  font-weight: 850;
  background: rgba(18, 23, 27, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 5px;
  backdrop-filter: blur(10px);
}

figcaption {
  padding: 0.72rem 0.88rem 0.85rem;
  color: var(--muted);
  font-size: 0.9rem;
  background: rgba(255, 255, 255, 0.82);
}

.stats-band {
  padding: 2.8rem 0;
  color: #fff;
  background:
    linear-gradient(135deg, rgba(18, 23, 27, 0.98), rgba(42, 38, 35, 0.96)),
    var(--night);
}

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

.stat-card {
  padding: 1.35rem;
  background: rgba(255, 255, 255, 0.075);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.stat-card:hover {
  transform: translateY(-3px);
  background: rgba(255, 255, 255, 0.11);
  border-color: rgba(244, 194, 104, 0.34);
}

.stat-number {
  display: inline-flex;
  margin-bottom: 0.72rem;
  color: #f4c268;
  font-size: 1.35rem;
  font-weight: 900;
}

.stat-card h2 {
  font-size: 1.1rem;
}

.stat-card p {
  margin: 0.65rem 0 0;
  color: rgba(255, 255, 255, 0.72);
}

.section-heading {
  width: min(780px, 100%);
  margin-bottom: clamp(1.8rem, 4vw, 3rem);
}

.section-heading p:not(.section-kicker) {
  margin-top: 1rem;
  color: var(--muted);
  font-size: 1.04rem;
}

.systems-section {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(238, 246, 247, 0.9)),
    var(--bg);
}

.system-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  gap: 1.2rem;
  align-items: stretch;
}

.wide-image img {
  height: 100%;
  min-height: 440px;
}

.info-card,
.guide-card,
.route-card,
.faq-item {
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 18px 44px rgba(32, 35, 39, 0.08);
}

.info-card {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  column-gap: 0.9rem;
  row-gap: 0.2rem;
  padding: 1.1rem 0;
  background: transparent;
  border: 0;
  border-bottom: 1px solid rgba(32, 35, 39, 0.12);
  border-radius: 0;
  box-shadow: none;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.info-card:last-child {
  border-bottom: 0;
}

.info-card:hover {
  transform: translateX(4px);
  background: rgba(255, 255, 255, 0.58);
  border-color: rgba(184, 39, 61, 0.22);
}

.system-index {
  grid-row: 1 / span 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  color: #fff;
  font-size: 0.86rem;
  font-weight: 900;
  background: linear-gradient(135deg, var(--red), var(--night-soft));
  border-radius: 8px;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.info-card:hover .system-index {
  transform: rotate(-3deg) scale(1.04);
  box-shadow: 0 12px 28px rgba(184, 39, 61, 0.22);
}

.info-card h3,
.guide-card h3,
.route-card h3,
.faq-item summary {
  color: #1f2428;
}

.info-card p,
.guide-card p,
.route-card p,
.faq-item p,
.route-list {
  color: var(--muted);
}

.guide-section {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(180deg, #ffffff, #f5f7fa),
    var(--bg);
}

.guide-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(184, 39, 61, 0.05) 0 1px, transparent 1px 22%),
    linear-gradient(180deg, rgba(28, 137, 145, 0.04) 0 1px, transparent 1px 120px);
  opacity: 0.8;
  pointer-events: none;
}

.guide-section .section-inner {
  position: relative;
  z-index: 1;
}

.guide-console {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.34fr);
  gap: 1.3rem;
  align-items: start;
}

.guide-flow {
  position: relative;
  display: grid;
  gap: 1rem;
}

.guide-flow::before {
  content: "";
  position: absolute;
  left: 1.45rem;
  top: 1.2rem;
  bottom: 1.2rem;
  width: 2px;
  background: linear-gradient(180deg, var(--red), var(--gold), var(--teal));
  opacity: 0.55;
}

.guide-card {
  position: relative;
  min-height: 100%;
  padding: 1.25rem 1.35rem 1.25rem 4.4rem;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.92);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.guide-card::before {
  content: "";
  position: absolute;
  left: 1.1rem;
  top: 1.1rem;
  width: 0.72rem;
  height: 0.72rem;
  background: var(--red);
  border: 4px solid #fff;
  border-radius: 50%;
  box-shadow: 0 0 0 1px rgba(184, 39, 61, 0.2);
}

.guide-step {
  position: absolute;
  left: 1.3rem;
  top: 2.25rem;
  display: inline-flex;
  color: rgba(18, 23, 27, 0.28);
  font-size: 1.45rem;
  font-weight: 950;
  line-height: 1;
  writing-mode: vertical-rl;
  transition: color 0.22s ease, transform 0.22s ease;
}

.guide-card:hover {
  transform: translateX(4px);
  border-color: rgba(184, 39, 61, 0.22);
  box-shadow: 0 22px 58px rgba(32, 35, 39, 0.12);
}

.guide-card:hover .guide-step {
  color: rgba(184, 39, 61, 0.42);
  transform: translateY(-2px);
}

.guide-card p {
  margin-top: 0.72rem;
}

.guide-card ul {
  margin-top: 1rem;
}

.guide-panel {
  position: sticky;
  top: 88px;
  padding: 1.25rem;
  color: #fff;
  background:
    linear-gradient(160deg, rgba(18, 23, 27, 0.98), rgba(31, 45, 51, 0.96)),
    var(--night);
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: var(--radius);
  box-shadow: 0 24px 60px rgba(18, 23, 27, 0.22);
  transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
}

.guide-panel:hover {
  transform: translateY(-3px);
  border-color: rgba(244, 194, 104, 0.32);
  box-shadow: 0 30px 72px rgba(18, 23, 27, 0.28);
}

.panel-label {
  margin: 0 0 0.4rem;
  color: #f4c268;
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.guide-panel h3 {
  color: #fff;
}

.guide-panel dl {
  display: grid;
  gap: 1rem;
  margin: 1rem 0 0;
}

.guide-panel div {
  padding-top: 0.95rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.guide-panel dt {
  color: #f4c268;
  font-weight: 850;
}

.guide-panel dd {
  margin: 0.25rem 0 0;
  color: rgba(255, 255, 255, 0.76);
}

.route-section {
  color: #fff;
  background:
    linear-gradient(135deg, rgba(18, 23, 27, 0.98), rgba(34, 25, 29, 0.94)),
    url("img/tu3.jpg") center / cover no-repeat,
    var(--night);
}

.route-section .section-kicker,
.route-section .section-heading p:not(.section-kicker) {
  color: rgba(255, 255, 255, 0.72);
}

.route-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1rem, 4vw, 3rem);
}

.route-split {
  width: min(480px, 100%);
  margin: 0 auto 1.4rem;
  padding: 0.9rem 1rem;
  text-align: center;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  backdrop-filter: blur(12px);
  transition: transform 0.22s ease, background 0.22s ease, border-color 0.22s ease;
}

.route-split:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(244, 194, 104, 0.28);
}

.route-split span {
  display: block;
  color: #f4c268;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.route-split strong {
  display: block;
  margin-top: 0.25rem;
  color: #fff;
}

.route-grid::before {
  content: "";
  position: absolute;
  left: 50%;
  top: -1.4rem;
  bottom: 1rem;
  width: 1px;
  background: linear-gradient(180deg, rgba(244, 194, 104, 0.7), rgba(255, 255, 255, 0.12));
}

.route-card {
  position: relative;
  padding: clamp(1.25rem, 3vw, 2rem);
  color: var(--ink);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(246, 248, 251, 0.98));
  border-top: 4px solid var(--red);
  transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
}

.route-card-accent {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(237, 248, 248, 0.98));
  border-top-color: var(--teal);
}

.route-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 30px 78px rgba(0, 0, 0, 0.22);
}

.route-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
  color: var(--muted);
  font-size: 0.86rem;
}

.route-topline span {
  color: var(--red);
  font-weight: 900;
}

.route-card-accent .route-topline span {
  color: var(--teal);
}

.route-topline strong {
  color: var(--night-soft);
}

.route-list {
  margin-top: 1.1rem;
}

.story-section {
  background: var(--bg);
}

.story-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(340px, 1.18fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.story-images {
  display: grid;
  gap: 1rem;
}

.story-images figure:first-child img {
  aspect-ratio: 16 / 9;
}

.story-images figure:last-child {
  width: min(78%, 560px);
  justify-self: end;
  margin-top: -4rem;
}

.story-images figure:last-child img {
  aspect-ratio: 899 / 455;
}

.gallery-section {
  background: #ffffff;
}

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

.gallery-item img {
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.updates-section {
  background:
    linear-gradient(180deg, rgba(245, 247, 250, 0.96), rgba(255, 255, 255, 0.98)),
    var(--bg);
}

.timeline {
  position: relative;
  display: grid;
  gap: 1rem;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 0.6rem;
  top: 0.8rem;
  bottom: 0.8rem;
  width: 2px;
  background: linear-gradient(180deg, var(--red), var(--teal));
}

.timeline-item {
  position: relative;
  padding: 1.25rem 1.25rem 1.25rem 2.6rem;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.timeline-item::before {
  content: "";
  position: absolute;
  left: 0.28rem;
  top: 1.5rem;
  width: 0.72rem;
  height: 0.72rem;
  background: var(--red);
  border: 3px solid #ffffff;
  border-radius: 50%;
  box-shadow: 0 0 0 1px rgba(184, 39, 61, 0.2);
  transition: transform 0.2s ease, background 0.2s ease;
}

.timeline-item:hover {
  transform: translateX(4px);
  border-color: rgba(28, 137, 145, 0.2);
  box-shadow: 0 18px 44px rgba(32, 35, 39, 0.09);
}

.timeline-item:hover::before {
  transform: scale(1.18);
  background: var(--teal);
}

.timeline-item time {
  display: block;
  margin-bottom: 0.35rem;
  color: var(--red);
  font-size: 0.9rem;
  font-weight: 850;
}

.timeline-item p {
  margin-top: 0.65rem;
  color: var(--muted);
}

.faq-section {
  background: #ffffff;
}

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

.faq-item {
  padding: 0;
  overflow: hidden;
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.faq-item:hover {
  transform: translateY(-2px);
  border-color: rgba(184, 39, 61, 0.18);
  box-shadow: 0 18px 44px rgba(32, 35, 39, 0.1);
}

.faq-item summary {
  cursor: pointer;
  padding: 1.05rem 1.2rem;
  font-weight: 850;
  list-style: none;
  transition: color 0.18s ease, background 0.18s ease;
}

.faq-item summary:hover {
  color: var(--red);
  background: rgba(184, 39, 61, 0.04);
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  float: right;
  color: var(--red);
  font-size: 1.3rem;
  line-height: 1;
}

.faq-item[open] summary::after {
  content: "-";
}

.faq-item p {
  padding: 0 1.2rem 1.1rem;
}

.download-band {
  padding: 4rem 1rem;
  color: #fff;
  background:
    linear-gradient(90deg, rgba(18, 23, 27, 0.92), rgba(18, 23, 27, 0.72)),
    url("img/cover.jpg") center / cover no-repeat;
}

.download-inner {
  width: min(920px, 100%);
  margin: 0 auto;
  text-align: center;
}

.download-inner p {
  margin-top: 0.75rem;
  color: rgba(255, 255, 255, 0.78);
}

.site-footer {
  padding: 2.2rem 1rem;
  color: rgba(255, 255, 255, 0.74);
  background: var(--night);
}

.footer-inner {
  width: min(var(--container), 100%);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer-inner p {
  margin: 0;
}

.footer-inner strong {
  color: #fff;
}

.back-top {
  color: #fff;
  font-weight: 850;
  transition: color 0.18s ease;
}

.back-top:hover {
  color: #f4c268;
}

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

.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1020px) {
  .system-layout,
  .guide-console,
  .two-column,
  .story-grid {
    grid-template-columns: 1fr;
  }

  .guide-panel {
    position: static;
  }

  .wide-image img {
    min-height: 0;
    aspect-ratio: 16 / 9;
  }

  .story-images figure:last-child {
    width: 100%;
    margin-top: 0;
  }
}

@media (max-width: 820px) {
  .site-header {
    min-height: 64px;
  }

  .brand-text small {
    display: none;
  }

  .nav-toggle {
    display: inline-block;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 1px);
    left: 1rem;
    right: 1rem;
    display: none;
    padding: 0.6rem;
    background: rgba(18, 23, 27, 0.97);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 8px;
    box-shadow: 0 24px 46px rgba(0, 0, 0, 0.24);
  }

  .site-nav.is-open {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .site-nav .nav-download {
    grid-column: 1 / -1;
    margin-left: 0;
  }

  .hero {
    min-height: 80vh;
  }

  .hero-media img {
    object-position: 66% center;
  }

  .hero-overlay {
    background:
      linear-gradient(90deg, rgba(18, 23, 27, 0.9), rgba(18, 23, 27, 0.56)),
      linear-gradient(180deg, rgba(18, 23, 27, 0.18), rgba(18, 23, 27, 0.88) 92%);
  }

  .hero-content {
    padding: 7rem 0 3.5rem;
  }

  .hero-facts,
  .stat-grid,
  .route-grid,
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .route-grid::before {
    display: none;
  }

  .scroll-cue {
    display: none;
  }
}

@media (max-width: 620px) {
  body {
    line-height: 1.68;
  }

  .brand-logo {
    width: 54px;
    height: 38px;
  }

  .brand-text span {
    max-width: 10.5rem;
    overflow: hidden;
    text-overflow: ellipsis;
  }

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

  .button {
    width: 100%;
  }

  .section {
    padding: 3.4rem 0;
  }

  .hero-facts {
    gap: 0.6rem;
  }

  .hero-facts div,
  .stat-card,
  .route-card,
  .timeline-item {
    padding: 1rem;
  }

  .guide-card {
    padding: 1rem 1rem 1rem 3.5rem;
  }

  .guide-flow::before {
    left: 1.1rem;
  }

  .guide-card::before {
    left: 0.75rem;
  }

  .guide-step {
    left: 0.95rem;
  }

  .info-card {
    grid-template-columns: 1fr;
    gap: 0.55rem;
    padding: 1rem 0;
  }

  .info-card:hover,
  .guide-card:hover,
  .timeline-item:hover {
    transform: none;
  }

  .system-index {
    grid-row: auto;
  }

  .timeline-item {
    padding-left: 2.35rem;
  }
}

@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;
  }
}
