:root {
  --bg: #09080d;
  --bg-2: #111018;
  --panel: rgba(18, 16, 24, 0.86);
  --panel-solid: #15131c;
  --line: rgba(220, 174, 84, 0.24);
  --gold: #d7aa55;
  --gold-2: #f1d18b;
  --jade: #79c7b0;
  --crimson: #a9443d;
  --ink: #f6efe0;
  --muted: #b7ad98;
  --soft: #ddd1b9;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.44);
  --max: 1100px;
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(115deg, rgba(169, 68, 61, 0.14), transparent 34%),
    linear-gradient(245deg, rgba(121, 199, 176, 0.1), transparent 42%),
    linear-gradient(180deg, #06060a 0%, var(--bg) 42%, #0e0b0f 100%);
  font-family: "Noto Serif SC", "Songti SC", "Microsoft YaHei", "PingFang SC", serif;
  font-size: 15px;
  line-height: 1.75;
  overflow-x: hidden;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  content: "";
  background-image:
    linear-gradient(rgba(215, 170, 85, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(215, 170, 85, 0.04) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,.7), transparent 80%);
}

body::after {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.5), transparent 18%, transparent 82%, rgba(0, 0, 0, 0.5));
}

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

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

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

p {
  margin: 0 0 1rem;
}

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

h1 {
  color: var(--gold-2);
  font-size: clamp(2.15rem, 4.4vw, 3.65rem);
  text-shadow: 0 0 28px rgba(215, 170, 85, 0.22);
}

h2 {
  color: var(--gold-2);
  font-size: clamp(1.42rem, 2.55vw, 2.25rem);
}

h3 {
  font-size: 1.12rem;
}

.skip-link {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 100;
  padding: 0.55rem 0.8rem;
  color: #120d06;
  background: var(--gold-2);
  border-radius: 6px;
  transform: translateY(-160%);
}

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

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

.site-header {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 50;
  border-bottom: 1px solid transparent;
  transition: background 220ms ease, border-color 220ms ease, backdrop-filter 220ms ease;
}

.site-header.is-scrolled {
  background: rgba(7, 7, 11, 0.84);
  border-color: rgba(215, 170, 85, 0.2);
  backdrop-filter: blur(16px);
}

.nav-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(100% - 2rem, 1240px);
  min-height: 64px;
  margin: 0 auto;
  gap: 1.25rem;
}

.brand img {
  width: 104px;
  height: auto;
  transition: transform 180ms ease, filter 180ms ease;
}

.brand:hover img,
.brand:focus-visible img {
  filter: drop-shadow(0 0 22px rgba(241, 209, 139, 0.72)) brightness(1.12);
  transform: translateY(-3px) scale(1.04);
}

.site-menu {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.36rem;
  color: #f0e3c4;
  background: rgba(10, 9, 14, 0.42);
  border: 1px solid rgba(215, 170, 85, 0.22);
  border-radius: 999px;
}

.site-menu a {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0.28rem 0.76rem;
  border-radius: 999px;
  font-size: 0.86rem;
  white-space: nowrap;
  transition: color 180ms ease, background 180ms ease, transform 180ms ease;
}

.site-menu a:hover,
.site-menu a:focus-visible {
  color: #130f08;
  background: var(--gold-2);
  box-shadow: 0 10px 24px rgba(241, 209, 139, 0.24);
  transform: translateY(-3px);
  outline: 0;
}

.nav-toggle {
  display: none;
  position: relative;
  width: 40px;
  height: 40px;
  padding: 0;
  background: rgba(16, 13, 19, 0.8);
  border: 1px solid rgba(215, 170, 85, 0.34);
  border-radius: 8px;
  cursor: pointer;
  transition: border-color 180ms ease, background 180ms ease, transform 180ms ease;
}

.nav-toggle:hover,
.nav-toggle:focus-visible {
  background: rgba(215, 170, 85, 0.2);
  border-color: rgba(241, 209, 139, 0.95);
  box-shadow: 0 12px 28px rgba(241, 209, 139, 0.2);
  transform: translateY(-3px) scale(1.03);
  outline: 0;
}

.nav-toggle span {
  position: absolute;
  left: 50%;
  display: block;
  width: 18px;
  height: 2px;
  background: var(--gold-2);
  transform: translateX(-50%);
  transition: transform 180ms ease, opacity 180ms ease, top 180ms ease;
}

.nav-toggle span:nth-child(1) {
  top: 15px;
}

.nav-toggle span:nth-child(2) {
  top: 21px;
}

.nav-toggle span:nth-child(3) {
  top: 27px;
}

.nav-toggle.is-active span:nth-child(1) {
  top: 21px;
  transform: translateX(-50%) rotate(45deg);
}

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

.nav-toggle.is-active span:nth-child(3) {
  top: 21px;
  transform: translateX(-50%) rotate(-45deg);
}

.hero {
  position: relative;
  display: grid;
  min-height: auto;
  overflow: hidden;
  isolation: isolate;
}

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

.hero-media {
  z-index: -3;
}

.hero-media img {
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 22%;
  filter: saturate(0.88) contrast(1.08) brightness(0.72);
}

.hero-overlay {
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(5, 5, 9, 0.92) 0%, rgba(7, 6, 10, 0.66) 38%, rgba(8, 6, 8, 0.22) 72%, rgba(5, 5, 8, 0.74) 100%),
    linear-gradient(0deg, var(--bg) 0%, transparent 36%);
}

.hero-content {
  align-self: start;
  width: min(100% - 2rem, var(--max));
  margin: 0 auto;
  padding: 5.4rem 0 2.8rem;
}

.eyebrow {
  margin: 0 0 0.95rem;
  color: var(--gold-2);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero-subtitle {
  max-width: 710px;
  margin: 1.1rem 0 0;
  color: #eee2c8;
  font-size: clamp(0.98rem, 1.7vw, 1.22rem);
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.52);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.6rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0.58rem 0.98rem;
  border-radius: 8px;
  border: 1px solid transparent;
  font-weight: 800;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.18);
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, color 180ms ease, box-shadow 180ms ease;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 24px 56px rgba(0, 0, 0, 0.38);
  outline: 0;
}

.btn-primary {
  color: #130d06;
  background: linear-gradient(135deg, var(--gold-2), var(--gold));
  box-shadow: 0 16px 44px rgba(215, 170, 85, 0.22);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background: linear-gradient(135deg, #ffe2a2, #d9a24a);
  box-shadow: 0 24px 62px rgba(215, 170, 85, 0.48);
}

.btn-secondary {
  color: #f5ead2;
  background: rgba(121, 199, 176, 0.12);
  border-color: rgba(121, 199, 176, 0.46);
}

.btn-secondary:hover,
.btn-secondary:focus-visible {
  border-color: rgba(121, 199, 176, 0.82);
  background: rgba(121, 199, 176, 0.28);
  color: #ffffff;
}

.btn-ghost {
  color: #f5ead2;
  background: rgba(10, 9, 14, 0.52);
  border-color: rgba(215, 170, 85, 0.3);
}

.btn-ghost:hover,
.btn-ghost:focus-visible {
  border-color: rgba(215, 170, 85, 0.68);
  background: rgba(215, 170, 85, 0.18);
  color: #ffffff;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  width: min(100%, 680px);
  margin: 1.25rem 0 0;
  padding: 1px;
  background: linear-gradient(135deg, rgba(215, 170, 85, 0.5), rgba(121, 199, 176, 0.2));
  border-radius: var(--radius);
  overflow: hidden;
}

.hero-stats div {
  padding: 0.78rem;
  background: rgba(8, 7, 12, 0.76);
}

.hero-stats dt {
  color: var(--muted);
  font-size: 0.78rem;
}

.hero-stats dd {
  margin: 0.18rem 0 0;
  color: #fff4da;
  font-weight: 800;
}

.notice-band {
  border-block: 1px solid rgba(215, 170, 85, 0.2);
  background: linear-gradient(90deg, rgba(215, 170, 85, 0.12), rgba(121, 199, 176, 0.08));
}

.notice-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 0;
}

.notice-grid p {
  margin: 0;
  color: #eadcc0;
}

.inline-link {
  color: var(--gold-2);
  font-weight: 800;
  white-space: nowrap;
  transition: color 180ms ease, text-shadow 180ms ease;
}

.inline-link:hover,
.inline-link:focus-visible {
  color: #ffe2a2;
  text-shadow: 0 0 24px rgba(241, 209, 139, 0.66);
  outline: 0;
}

.section {
  padding: clamp(3.6rem, 6.5vw, 6.1rem) 0;
}

.intro-section {
  background:
    linear-gradient(135deg, rgba(121, 199, 176, 0.1), transparent 42%),
    linear-gradient(180deg, rgba(9, 8, 13, 0.95), rgba(13, 16, 20, 0.92));
  border-block: 1px solid rgba(121, 199, 176, 0.14);
}

.dark-section {
  background:
    linear-gradient(135deg, rgba(215, 170, 85, 0.1), transparent 42%),
    linear-gradient(180deg, rgba(21, 19, 28, 0.75), rgba(16, 14, 10, 0.76));
  border-block: 1px solid rgba(215, 170, 85, 0.14);
}

.guide-section {
  background:
    linear-gradient(135deg, rgba(169, 68, 61, 0.12), transparent 44%),
    linear-gradient(180deg, rgba(12, 10, 14, 0.96), rgba(18, 12, 16, 0.92));
  border-block: 1px solid rgba(169, 68, 61, 0.16);
}

.characters-section {
  background:
    linear-gradient(135deg, rgba(122, 102, 184, 0.12), transparent 42%),
    linear-gradient(180deg, rgba(9, 8, 13, 0.94), rgba(15, 13, 24, 0.92));
  border-block: 1px solid rgba(122, 102, 184, 0.16);
}

.updates-section {
  background:
    linear-gradient(135deg, rgba(215, 170, 85, 0.1), transparent 42%),
    linear-gradient(180deg, rgba(10, 9, 13, 0.96), rgba(19, 16, 10, 0.92));
  border-block: 1px solid rgba(215, 170, 85, 0.16);
}

.faq-section {
  background:
    linear-gradient(135deg, rgba(78, 126, 176, 0.12), transparent 44%),
    linear-gradient(180deg, rgba(8, 8, 12, 0.96), rgba(10, 14, 20, 0.92));
  border-block: 1px solid rgba(78, 126, 176, 0.16);
}

.split-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(320px, 0.86fr);
  align-items: center;
  gap: clamp(1.5rem, 4vw, 3.5rem);
}

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

.split-layout.reverse .section-copy {
  order: 2;
}

.section-copy > p:not(.eyebrow),
.section-heading p {
  color: var(--soft);
}

.section-copy h2,
.section-heading h2 {
  margin-bottom: 1.2rem;
}

.section-heading {
  max-width: 820px;
  margin-bottom: 1.55rem;
}

.check-list {
  display: grid;
  gap: 0.65rem;
  padding: 0;
  margin: 1.25rem 0 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 1.7rem;
  color: #efe4cc;
}

.check-list li::before {
  position: absolute;
  left: 0;
  top: 0.18rem;
  color: var(--gold-2);
  content: "◆";
  font-size: 0.75rem;
}

.image-panel,
.download-art {
  margin: 0;
  overflow: hidden;
  background: var(--panel-solid);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: border-color 220ms ease, box-shadow 220ms ease, transform 220ms ease;
}

.image-panel:hover,
.download-art:hover {
  border-color: rgba(241, 209, 139, 0.82);
  box-shadow: 0 34px 100px rgba(0, 0, 0, 0.62), 0 0 0 1px rgba(241, 209, 139, 0.2);
  transform: translateY(-6px);
}

.image-panel img,
.download-art img {
  transition: transform 420ms ease, filter 420ms ease;
}

.image-panel:hover img,
.download-art:hover img {
  filter: saturate(1.14) contrast(1.09) brightness(1.06);
  transform: scale(1.055);
}

.image-panel img {
  aspect-ratio: 16 / 9;
  width: 100%;
  object-fit: cover;
}

figcaption {
  padding: 0.78rem 0.95rem;
  color: var(--muted);
  font-size: 0.88rem;
  background: rgba(8, 7, 12, 0.88);
}

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

.feature-card,
.character-card,
.guide-card {
  background: linear-gradient(180deg, rgba(23, 20, 29, 0.94), rgba(12, 11, 17, 0.94));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.25);
}

.feature-card {
  min-height: 220px;
  padding: 1rem;
  position: relative;
  overflow: hidden;
  transition: border-color 220ms ease, transform 220ms ease, box-shadow 220ms ease;
}

.feature-card::before,
.character-card::before,
.timeline-item::before {
  position: absolute;
  inset: 0;
  pointer-events: none;
  content: "";
  background: linear-gradient(135deg, rgba(241, 209, 139, 0.1), transparent 46%);
  opacity: 0;
  transition: opacity 220ms ease;
}

.feature-card:hover,
.character-card:hover,
.timeline-item:hover,
.guide-card:hover {
  border-color: rgba(241, 209, 139, 0.84);
  box-shadow: 0 28px 76px rgba(0, 0, 0, 0.46), 0 0 0 1px rgba(241, 209, 139, 0.16);
  transform: translateY(-6px);
}

.feature-card:hover::before,
.character-card:hover::before,
.timeline-item:hover::before {
  opacity: 1;
}

.feature-card:hover h3,
.character-card:hover h3,
.timeline-item:hover h3,
.guide-card:hover h3 {
  color: #ffe2a2;
}

.feature-mark {
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  margin-bottom: 0.8rem;
  color: #100b05;
  background: var(--gold-2);
  border-radius: 50%;
  font-weight: 900;
}

.feature-card p,
.character-card p,
.guide-card li,
.strategy-list p,
.timeline-item p {
  color: var(--soft);
}

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

.strategy-list article {
  padding-left: 1rem;
  border-left: 3px solid var(--gold);
}

.strategy-list h3 {
  margin-bottom: 0.3rem;
}

.guide-card {
  padding: clamp(1rem, 2.4vw, 1.55rem);
  transition: border-color 220ms ease, transform 220ms ease, box-shadow 220ms ease;
}

.guide-card h3 {
  margin-bottom: 1rem;
  color: var(--gold-2);
}

.guide-card ol {
  display: grid;
  gap: 0.75rem;
  padding-left: 1.2rem;
  margin: 0;
}

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

.character-card {
  min-height: 190px;
  padding: 1rem;
  border-top: 3px solid var(--gold);
  position: relative;
  overflow: hidden;
  transition: border-color 220ms ease, transform 220ms ease, box-shadow 220ms ease;
}

.character-card h3 {
  margin-bottom: 0.7rem;
  color: #fff0d0;
}

.timeline {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.timeline-item {
  position: relative;
  overflow: hidden;
  padding: 0.95rem;
  background: rgba(16, 14, 22, 0.9);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: border-color 220ms ease, transform 220ms ease, box-shadow 220ms ease;
}

.timeline-item time {
  display: inline-flex;
  margin-bottom: 0.55rem;
  color: var(--jade);
  font-size: 0.88rem;
  font-weight: 800;
}

.timeline-item h3 {
  margin-bottom: 0.5rem;
  color: var(--gold-2);
}

.download-section {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(169, 68, 61, 0.2), transparent 44%),
    linear-gradient(90deg, rgba(9, 8, 13, 0.94), rgba(19, 12, 10, 0.8)),
    url("img/tu1.jpg") center / cover no-repeat;
  border-block: 1px solid rgba(215, 170, 85, 0.22);
}

.download-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.78fr);
  gap: clamp(1.2rem, 3.2vw, 2.4rem);
  align-items: center;
}

.download-copy {
  max-width: 680px;
}

.download-cta {
  margin-top: 0.7rem;
}

.download-art img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

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

.faq-item {
  background: rgba(18, 16, 24, 0.88);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.faq-item:hover,
.faq-item[open] {
  background: rgba(28, 24, 34, 0.96);
  border-color: rgba(241, 209, 139, 0.72);
  box-shadow: 0 20px 54px rgba(0, 0, 0, 0.34);
}

.faq-item summary {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 0.95rem;
  color: #fff0d0;
  cursor: pointer;
  font-weight: 800;
  transition: color 180ms ease;
}

.faq-item summary:hover,
.faq-item summary:focus-visible {
  color: var(--gold-2);
  outline: 0;
}

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

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

.faq-item p {
  padding: 0 0.95rem 0.85rem;
  color: var(--soft);
}

.site-footer {
  padding: 2.4rem 0;
  color: var(--muted);
  background: #050507;
  border-top: 1px solid rgba(215, 170, 85, 0.18);
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
}

.footer-grid p {
  max-width: 620px;
  margin: 0.8rem 0 0;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: flex-end;
  gap: 0.9rem;
  min-width: 260px;
}

.footer-links a {
  color: #e9d7b1;
}

.footer-links a:hover,
.footer-links a:focus-visible {
  color: var(--gold-2);
  outline: 0;
}

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

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

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

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

@media (max-width: 980px) {
  .nav-toggle {
    display: block;
  }

  .site-menu {
    position: absolute;
    top: calc(100% + 0.5rem);
    right: 1rem;
    left: 1rem;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 0.65rem;
    border-radius: 8px;
    background: rgba(7, 7, 11, 0.96);
    backdrop-filter: blur(16px);
  }

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

  .site-menu a {
    justify-content: center;
  }

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

  .split-layout.reverse .section-copy {
    order: 0;
  }

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

@media (max-width: 720px) {
  .container,
  .hero-content,
  .nav-shell {
    width: min(100% - 1.2rem, var(--max));
  }

  .brand img {
    width: 96px;
  }

  .hero {
    min-height: auto;
  }

  .hero-overlay {
    background:
      linear-gradient(180deg, rgba(5, 5, 9, 0.58), rgba(5, 5, 9, 0.92) 58%, var(--bg) 100%),
      linear-gradient(90deg, rgba(5, 5, 9, 0.74), transparent);
  }

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

  .hero-content {
    padding-top: 4.8rem;
    padding-bottom: 2rem;
  }

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

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

  .notice-grid,
  .footer-grid {
    align-items: flex-start;
    flex-direction: column;
  }

  .inline-link {
    white-space: normal;
  }

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

  .feature-card,
  .character-card {
    min-height: auto;
  }

  .footer-links {
    justify-content: flex-start;
    min-width: 0;
  }
}

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

  .section {
    padding: 3.2rem 0;
  }
}
