:root {
  --bg: #17131d;
  --bg-soft: #211b28;
  --panel: #f7f4ed;
  --panel-2: #ebe4d8;
  --text: #24202a;
  --muted: #665f6f;
  --light: #fffaf0;
  --line: rgba(255, 255, 255, 0.18);
  --line-dark: rgba(36, 32, 42, 0.12);
  --accent: #d84f7f;
  --accent-2: #42b8aa;
  --accent-3: #d6a04c;
  --shadow: 0 22px 60px rgba(20, 14, 28, 0.22);
  --radius: 8px;
  --max: 1180px;
  --header-h: 76px;
  font-family: "Microsoft YaHei", "PingFang SC", "Noto Sans SC", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background: linear-gradient(180deg, #17131d 0%, #221a25 28%, #f7f4ed 28%, #f7f4ed 100%);
  line-height: 1.7;
  overflow-x: hidden;
}

body.nav-open {
  overflow: hidden;
}

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 {
  max-width: 900px;
  color: #fffaf0;
  font-size: clamp(2rem, 5.2vw, 4.4rem);
  font-weight: 900;
  text-wrap: balance;
  text-shadow: 0 3px 22px rgba(216, 79, 127, 0.28);
}

h2 {
  color: #b73768;
  font-size: clamp(1.45rem, 3.2vw, 2.45rem);
  font-weight: 850;
  text-wrap: balance;
}

h3 {
  font-size: clamp(1.15rem, 2.4vw, 1.55rem);
  font-weight: 820;
}

button,
input,
textarea,
select {
  font: inherit;
}

.container {
  width: min(100% - 40px, var(--max));
  margin: 0 auto;
}

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

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

.site-header {
  position: fixed;
  z-index: 900;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-h);
  border-bottom: 1px solid transparent;
  color: #fff;
  transition: background 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.site-header.is-scrolled,
.site-header.is-open {
  background: rgba(23, 19, 29, 0.92);
  border-color: rgba(255, 255, 255, 0.1);
  box-shadow: 0 16px 44px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(16px);
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  transition: transform 0.22s ease, opacity 0.22s ease;
}

.brand:hover,
.brand:focus-visible {
  transform: translateY(-1px);
  opacity: 0.94;
  outline: none;
}

.brand img,
.brand-mark {
  width: 48px;
  height: 48px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.25);
}

.brand-mark {
  display: grid;
  place-items: center;
  color: #1d1219;
  background: linear-gradient(135deg, #ffd36d, #f77aa0 64%, #6fd0c5);
  font-weight: 900;
}

.brand span {
  display: grid;
  line-height: 1.1;
}

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

.brand em {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.78rem;
  font-style: normal;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.site-nav a {
  position: relative;
  padding: 9px 12px;
  border-radius: var(--radius);
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.95rem;
  transition: color 0.2s ease, background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.site-nav a:hover,
.site-nav a:focus-visible,
.site-nav a.is-active {
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
  transform: translateY(-1px);
  outline: none;
}

.site-nav .nav-download {
  margin-left: 6px;
  color: #1d1219;
  background: linear-gradient(135deg, #ffd36d, #f77aa0 64%, #6fd0c5);
  font-weight: 900;
  box-shadow: 0 10px 24px rgba(216, 79, 127, 0.22);
}

.site-nav .nav-download:hover,
.site-nav .nav-download:focus-visible,
.site-nav .nav-download.is-active {
  color: #1d1219;
  background: linear-gradient(135deg, #ffe08e, #ff8daf 64%, #83ded3);
  box-shadow: 0 14px 30px rgba(216, 79, 127, 0.3);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius);
  cursor: pointer;
}

.nav-toggle span {
  width: 18px;
  height: 2px;
  background: currentColor;
  border-radius: 10px;
  transition: transform 0.2s ease, opacity 0.2s ease;
  transform-origin: center;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: end;
  padding: calc(var(--header-h) + 72px) 0 54px;
  color: var(--light);
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 110px;
  background: linear-gradient(180deg, rgba(247, 244, 237, 0) 0%, #f7f4ed 86%);
  pointer-events: none;
}

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

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-shade {
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(16, 12, 21, 0.86) 0%, rgba(16, 12, 21, 0.56) 46%, rgba(16, 12, 21, 0.22) 100%),
    linear-gradient(180deg, rgba(16, 12, 21, 0.58) 0%, rgba(16, 12, 21, 0.05) 45%, rgba(16, 12, 21, 0.76) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  padding-bottom: 56px;
}

.hero-spotlight {
  position: relative;
  z-index: 2;
  align-self: start;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
}

.hero-quick-card {
  min-height: 132px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius);
  color: #fffaf0;
  background: rgba(19, 13, 24, 0.48);
  backdrop-filter: blur(12px);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.18);
  transition: transform 0.24s ease, border-color 0.24s ease, background 0.24s ease, box-shadow 0.24s ease;
}

.hero-quick-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 211, 109, 0.54);
  background: rgba(19, 13, 24, 0.62);
  box-shadow: 0 24px 58px rgba(0, 0, 0, 0.28);
}

.hero-quick-card span {
  display: block;
  margin-bottom: 8px;
  color: #6fd0c5;
  font-size: 0.82rem;
  font-weight: 900;
}

.hero-quick-card strong {
  display: block;
  color: #fffaf0;
  font-size: clamp(1rem, 1.6vw, 1.18rem);
  line-height: 1.3;
}

.hero-quick-card p {
  margin: 10px 0 0;
  color: rgba(255, 250, 240, 0.78);
  font-size: 0.94rem;
}

.eyebrow,
.section-kicker {
  margin: 0 0 12px;
  color: var(--accent-2);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0;
}

.key {
  color: #b73768;
  font-weight: 900;
}

.key-cool {
  color: #087c74;
  font-weight: 900;
}

.key-gold {
  color: #9a6416;
  font-weight: 900;
}

.hero-lead {
  max-width: 760px;
  margin-top: 18px;
  color: rgba(255, 250, 240, 0.86);
  font-size: clamp(1rem, 2vw, 1.22rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

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

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

.btn:active {
  transform: translateY(0);
}

.btn-primary {
  color: #1d1219;
  background: linear-gradient(135deg, #ffd36d, #f77aa0 64%, #6fd0c5);
  box-shadow: 0 16px 36px rgba(216, 79, 127, 0.26);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  box-shadow: 0 22px 48px rgba(216, 79, 127, 0.36);
  filter: saturate(1.08);
}

.btn-secondary {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.34);
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
}

.btn-secondary:hover,
.btn-secondary:focus-visible {
  border-color: rgba(255, 255, 255, 0.58);
  background: rgba(255, 255, 255, 0.17);
}

.hero-facts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  width: min(100%, 980px);
  margin: 42px 0 0;
  padding: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.17);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(14px);
}

.hero-facts div {
  padding: 15px 16px;
  background: rgba(23, 19, 29, 0.42);
}

.hero-facts dt {
  color: rgba(255, 250, 240, 0.62);
  font-size: 0.8rem;
}

.hero-facts dd {
  margin: 3px 0 0;
  color: #fff;
  font-weight: 800;
}

.section {
  padding: 92px 0;
  background: var(--panel);
}

.section:nth-of-type(even) {
  background: #f0eae0;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 38px;
}

.section-heading p:last-child {
  margin-top: 14px;
  color: var(--muted);
  font-size: 1.06rem;
}

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

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

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

.check-list li {
  position: relative;
  padding-left: 28px;
  color: var(--text);
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.7em;
  width: 12px;
  height: 12px;
  border: 3px solid var(--accent-2);
  border-top: 0;
  border-left: 0;
  transform: translateY(-50%) rotate(45deg);
}

.check-list.compact {
  gap: 8px;
  margin-top: 16px;
}

.feature-image,
.wide-shot,
.gallery-grid figure,
.media-text figure,
.character-panel figure,
.inline-shot {
  margin: 0;
}

.feature-image,
.wide-shot,
.gallery-grid figure,
.media-text figure,
.character-panel {
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: transform 0.26s ease, box-shadow 0.26s ease, border-color 0.26s ease;
}

.feature-image:hover,
.wide-shot:hover,
.gallery-grid figure:hover,
.media-text figure:hover,
.character-panel:hover {
  transform: translateY(-5px);
  border-color: rgba(183, 55, 104, 0.26);
  box-shadow: 0 28px 70px rgba(36, 32, 42, 0.18);
}

.feature-image img,
.wide-shot img,
.gallery-grid img,
.media-text img,
.character-panel img,
.inline-shot img {
  width: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.feature-image:hover img,
.wide-shot:hover img,
.gallery-grid figure:hover img,
.media-text figure:hover img,
.character-panel:hover img,
.inline-shot:hover img {
  transform: scale(1.025);
}

.feature-image figcaption,
.wide-shot figcaption,
.gallery-grid figcaption {
  padding: 12px 14px;
  color: var(--muted);
  font-size: 0.9rem;
}

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

.info-card {
  min-height: 235px;
  padding: 24px;
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.76);
  box-shadow: 0 12px 34px rgba(36, 32, 42, 0.08);
  transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease, background 0.24s ease;
}

.info-card:hover {
  transform: translateY(-5px);
  border-color: rgba(183, 55, 104, 0.24);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 22px 54px rgba(36, 32, 42, 0.14);
}

.card-index {
  display: inline-grid;
  width: 42px;
  height: 42px;
  place-items: center;
  margin-bottom: 22px;
  border-radius: var(--radius);
  color: #1f161d;
  background: #f0c669;
  font-weight: 900;
  transition: transform 0.24s ease, background 0.24s ease;
}

.info-card:hover .card-index {
  transform: rotate(-3deg) scale(1.05);
  background: #ffd36d;
}

.info-card h3 {
  margin-bottom: 12px;
}

.info-card p {
  color: var(--muted);
}

.character-panel {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 0;
  align-items: stretch;
  margin-top: 34px;
}

.character-panel figure {
  min-height: 100%;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.character-panel img {
  height: 100%;
  min-height: 320px;
}

.character-panel > div {
  padding: clamp(26px, 5vw, 52px);
  background: #fff;
}

.character-panel p {
  color: var(--muted);
}

.mini-grid {
  display: grid;
  gap: 10px;
  margin-top: 22px;
}

.mini-grid span {
  padding: 12px 14px;
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  background: #f8f5ef;
  font-weight: 700;
  transition: transform 0.22s ease, border-color 0.22s ease, background 0.22s ease;
}

.mini-grid span:hover {
  transform: translateX(4px);
  border-color: rgba(183, 55, 104, 0.26);
  background: #fff;
}

.wide-shot {
  margin-top: 34px;
}

.wide-shot img {
  max-height: 520px;
}

.guide-section {
  color: #17131d;
  background:
    linear-gradient(180deg, rgba(247, 244, 237, 0.98), rgba(236, 228, 216, 0.98)),
    #f1eadf;
}

.guide-section .section-kicker,
.guide-section .section-heading p:last-child,
.guide-block p,
.guide-block li {
  color: #17131d;
}

.guide-section h2,
.guide-section h3 {
  color: #b73768;
}

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

.guide-toc {
  position: sticky;
  top: calc(var(--header-h) + 20px);
  display: grid;
  gap: 8px;
  padding: 12px;
  border: 1px solid rgba(23, 19, 29, 0.16);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(10px);
}

.guide-toc a {
  padding: 10px 12px;
  border-radius: var(--radius);
  color: #17131d;
  font-weight: 700;
}

.guide-toc a:hover,
.guide-toc a:focus-visible {
  color: #17131d;
  background: rgba(216, 79, 127, 0.14);
  transform: translateX(2px);
  outline: none;
}

.guide-body {
  display: grid;
  gap: 18px;
}

.guide-block {
  padding: clamp(22px, 4vw, 34px);
  border: 1px solid rgba(23, 19, 29, 0.14);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.84);
  backdrop-filter: blur(10px);
  box-shadow: 0 18px 48px rgba(36, 32, 42, 0.1);
  transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease, background 0.24s ease;
}

.guide-block:hover {
  transform: translateY(-4px);
  border-color: rgba(183, 55, 104, 0.22);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 26px 62px rgba(36, 32, 42, 0.14);
}

.guide-block h3 {
  margin-bottom: 18px;
}

.step-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding-left: 22px;
}

.step-list li::marker {
  color: var(--accent-3);
  font-weight: 900;
}

.media-text {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1fr);
  gap: 24px;
  align-items: center;
}

.media-text figure {
  background: #100d16;
  box-shadow: none;
}

.media-text figure.interface-crop {
  aspect-ratio: 1 / 1;
}

.media-text img {
  aspect-ratio: 16 / 9;
  max-height: 320px;
  object-fit: cover;
  object-position: center;
}

.media-text .interface-crop img {
  width: 100%;
  height: 100%;
  max-height: none;
  aspect-ratio: auto;
  object-position: right center;
}

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

.route-grid div {
  padding: 18px;
  border: 1px solid rgba(23, 19, 29, 0.12);
  border-radius: var(--radius);
  background: rgba(247, 244, 237, 0.9);
  transition: transform 0.22s ease, border-color 0.22s ease, background 0.22s ease;
}

.route-grid div:hover {
  transform: translateY(-3px);
  border-color: rgba(183, 55, 104, 0.24);
  background: #fff;
}

.route-grid span {
  display: block;
  margin-bottom: 8px;
  color: #17131d;
  font-size: 0.82rem;
  font-weight: 900;
}

.route-grid strong {
  display: block;
  margin-bottom: 8px;
  font-size: 1.04rem;
}

.route-grid p {
  margin-bottom: 0;
  font-size: 0.94rem;
}

.inline-shot {
  margin-top: 18px;
  border: 1px solid rgba(23, 19, 29, 0.14);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.24s ease, box-shadow 0.24s ease;
}

.inline-shot:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 44px rgba(36, 32, 42, 0.14);
}

.inline-shot img {
  max-height: 390px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.7fr 0.9fr;
  gap: 16px;
  align-items: stretch;
}

.gallery-grid figure {
  display: grid;
  grid-template-rows: 1fr auto;
  min-height: 280px;
}

.gallery-grid img {
  height: 100%;
  min-height: 240px;
}

.updates-section {
  background: #f3eee5;
  color: #17131d;
}

.updates-section .section-kicker,
.updates-section .section-heading p:last-child {
  color: #17131d;
}

.updates-section h2,
.updates-section h3,
.updates-section p,
.updates-section time {
  color: #17131d;
}

.updates-section h2 {
  color: #b73768;
}

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

.timeline-item {
  position: relative;
  padding: 22px;
  border: 1px solid rgba(23, 19, 29, 0.14);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 14px 38px rgba(36, 32, 42, 0.08);
  transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease, background 0.24s ease;
}

.timeline-item:hover {
  transform: translateY(-5px);
  border-color: rgba(183, 55, 104, 0.24);
  background: #fff;
  box-shadow: 0 24px 58px rgba(36, 32, 42, 0.14);
}

.timeline-item::before {
  content: "";
  position: absolute;
  top: 22px;
  right: 22px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent-3);
  box-shadow: 0 0 0 6px rgba(214, 160, 76, 0.16);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.timeline-item:hover::before {
  transform: scale(1.2);
  box-shadow: 0 0 0 8px rgba(216, 79, 127, 0.16);
}

.timeline-item time {
  color: #17131d;
  font-size: 0.86rem;
  font-weight: 900;
}

.timeline-item h3 {
  margin: 10px 26px 10px 0;
  font-size: 1.18rem;
}

.timeline-item p {
  color: #17131d;
}

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

.faq-item {
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 12px 34px rgba(36, 32, 42, 0.06);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.faq-item:hover {
  transform: translateY(-3px);
  border-color: rgba(183, 55, 104, 0.22);
  box-shadow: 0 20px 48px rgba(36, 32, 42, 0.1);
}

.faq-item summary {
  position: relative;
  padding: 18px 54px 18px 20px;
  cursor: pointer;
  font-weight: 850;
  list-style: none;
  transition: color 0.2s ease;
}

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

.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 20px;
  top: 50%;
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  transform: translateY(-50%);
  border-radius: 50%;
  color: #fff;
  background: var(--accent);
  font-weight: 900;
  line-height: 1;
  transition: transform 0.2s ease, background 0.2s ease;
}

.faq-item[open] summary::after {
  content: "-";
  transform: translateY(-50%) rotate(180deg);
}

.faq-item:hover summary {
  color: #b73768;
}

.faq-item p {
  margin: 0;
  padding: 0 20px 20px;
  color: var(--muted);
}

.cta-section {
  padding: 76px 0;
  color: var(--light);
  background:
    linear-gradient(120deg, rgba(23, 19, 29, 0.96), rgba(69, 39, 59, 0.94)),
    url("img/tu4.jpg") center / cover;
}

.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.cta-inner h2 {
  max-width: 760px;
}

.cta-inner p:last-child {
  max-width: 720px;
  margin-top: 12px;
  color: rgba(255, 250, 240, 0.76);
}

.site-footer {
  padding: 34px 0;
  color: rgba(255, 250, 240, 0.76);
  background: #141019;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 28px;
}

.footer-inner strong {
  display: block;
  color: #fff;
  margin-bottom: 6px;
}

.footer-inner p {
  max-width: 720px;
  margin-bottom: 0;
  font-size: 0.92rem;
}

.footer-inner nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
  min-width: 220px;
}

.footer-inner a {
  color: rgba(255, 250, 240, 0.8);
}

.footer-inner a:hover,
.footer-inner a:focus-visible {
  color: #fff;
  outline: none;
}

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

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

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

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

@media (max-width: 980px) {
  :root {
    --header-h: 68px;
  }

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

  .site-nav {
    position: fixed;
    left: 20px;
    right: 20px;
    top: calc(var(--header-h) + 12px);
    display: none;
    grid-template-columns: 1fr;
    padding: 10px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: var(--radius);
    background: rgba(23, 19, 29, 0.96);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.32);
  }

  .site-nav.is-open {
    display: grid;
  }

  .site-nav a {
    padding: 13px 14px;
  }

  .hero {
    min-height: 92svh;
  }

  .hero-spotlight {
    grid-template-columns: 1fr;
    max-width: 520px;
  }

  .hero-facts,
  .content-grid,
  .timeline {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .split,
  .character-panel,
  .guide-layout,
  .media-text,
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .guide-toc {
    position: static;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    overflow-x: auto;
  }

  .guide-toc a {
    white-space: nowrap;
    text-align: center;
  }

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

  .cta-inner,
  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-inner nav {
    justify-content: flex-start;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(100% - 28px, var(--max));
  }

  .brand img,
  .brand-mark {
    width: 42px;
    height: 42px;
  }

  .brand strong {
    font-size: 0.95rem;
  }

  .brand em {
    display: none;
  }

  .hero {
    min-height: 88svh;
    padding-bottom: 30px;
  }

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

  .hero-shade {
    background:
      linear-gradient(90deg, rgba(16, 12, 21, 0.88) 0%, rgba(16, 12, 21, 0.62) 66%, rgba(16, 12, 21, 0.42) 100%),
      linear-gradient(180deg, rgba(16, 12, 21, 0.52) 0%, rgba(16, 12, 21, 0.12) 45%, rgba(16, 12, 21, 0.84) 100%);
  }

  .hero-content {
    padding-bottom: 28px;
  }

  .hero-spotlight {
    display: none;
  }

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

  .hero-facts,
  .content-grid,
  .timeline,
  .route-grid,
  .guide-toc {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 68px 0;
  }

  .info-card {
    min-height: auto;
  }

  .character-panel img,
  .gallery-grid img,
  .wide-shot img,
  .inline-shot img {
    min-height: 0;
    max-height: none;
  }

  .gallery-grid figure {
    min-height: auto;
  }
}
