:root {
  --ink: #16191b;
  --teal: #273641;
  --teal-deep: #0b1117;
  --gold: #a97945;
  --gold-light: #dfc18d;
  --paper: #ddd5c7;
  --paper-deep: #aaa092;
  --red: #7f3527;
  --steel: #344a5b;
  --ember: #9b492d;
  --line: rgba(201, 160, 102, .36);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: #e9dfc6;
  background: #0a0e12;
  font-family: "Noto Serif SC", "Source Han Serif SC", "Songti SC", "Microsoft YaHei", serif;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; }
.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;
}
.page-noise {
  position: fixed;
  inset: 0;
  z-index: 50;
  pointer-events: none;
  opacity: .12;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 160 160' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitchTiles'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.22'/%3E%3C/svg%3E");
  mix-blend-mode: soft-light;
}

.topbar {
  position: absolute;
  inset: 0 0 auto;
  z-index: 20;
  min-height: 96px;
  padding: 18px clamp(20px, 5vw, 86px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  background: linear-gradient(180deg, rgba(5, 7, 10, .92), rgba(7, 9, 12, .35), transparent);
}
.brand { display: flex; }
.brand img {
  display: block;
  width: clamp(175px, 15vw, 274px);
  height: auto;
  filter: drop-shadow(0 4px 7px rgba(0, 0, 0, .6));
}
.top-actions { display: flex; gap: 12px; }
.top-actions a {
  min-width: 116px;
  padding: 12px 18px;
  text-align: center;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 3px;
  border: 1px solid rgba(241, 212, 139, .58);
  transition: transform .25s ease, filter .25s ease, background .25s ease;
}
.outline-button { color: #e7d7b6; background: rgba(21, 27, 32, .68); }
.gold-button {
  color: #241815;
  background: linear-gradient(135deg, #e5c68e, #b77a42 62%, #713624);
  box-shadow: 0 8px 24px rgba(0, 0, 0, .22);
}
.top-actions a:hover { transform: translateY(-2px); filter: brightness(1.12); }

.hero {
  position: relative;
  min-height: 700px;
  height: min(100svh, 64vw);
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(5, 7, 10, .03) 46%, rgba(5, 8, 11, .2) 66%, #090d12 100%),
    url("https://img.fxegames.com/fxegames/sgm/txwjyjj/hero-kv-92sggzb.jpg") center 44% / cover no-repeat;
}
.hero::before {
  content: "";
  position: absolute;
  z-index: 4;
  inset: 15px;
  border: 1px solid rgba(238, 202, 128, .25);
  box-shadow: inset 0 0 0 4px rgba(238, 202, 128, .04);
  pointer-events: none;
}
.hero::after {
  content: "";
  position: absolute;
  z-index: 1;
  left: 10%;
  top: 42%;
  width: 80%;
  height: 58%;
  background: radial-gradient(ellipse, rgba(176, 99, 50, .14), transparent 64%);
  pointer-events: none;
}
.hero-clouds {
  position: absolute;
  inset: -8% -18%;
  z-index: 1;
  overflow: hidden;
  pointer-events: none;
  filter: blur(10px);
  opacity: .42;
  mix-blend-mode: screen;
}
.hero-clouds span {
  position: absolute;
  width: 58vw;
  height: 18vw;
  min-width: 520px;
  min-height: 150px;
  border-radius: 999px;
  background:
    radial-gradient(ellipse at 18% 48%, rgba(255, 238, 200, .16), transparent 56%),
    radial-gradient(ellipse at 48% 52%, rgba(172, 202, 226, .14), transparent 60%),
    radial-gradient(ellipse at 78% 45%, rgba(255, 185, 108, .12), transparent 58%);
  transform: translate3d(-18%, 0, 0);
  animation: cloudDrift 24s linear infinite;
}
.hero-clouds span:nth-child(1) {
  top: 18%;
  left: -16%;
}
.hero-clouds span:nth-child(2) {
  top: 42%;
  left: 26%;
  width: 70vw;
  height: 20vw;
  opacity: .62;
  animation-duration: 32s;
  animation-delay: -10s;
}
.hero-clouds span:nth-child(3) {
  top: 63%;
  left: -24%;
  width: 78vw;
  height: 22vw;
  opacity: .5;
  animation-duration: 38s;
  animation-delay: -18s;
}
.hero-particles {
  position: absolute;
  inset: 0;
  z-index: 2;
  overflow: hidden;
  pointer-events: none;
  mix-blend-mode: screen;
}
.hero-particles span {
  position: absolute;
  left: var(--x);
  top: var(--y);
  width: var(--s);
  height: var(--s);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 237, 178, .95) 0 18%, rgba(236, 144, 61, .5) 42%, transparent 72%);
  box-shadow:
    0 0 8px rgba(255, 210, 118, .8),
    0 0 22px rgba(221, 112, 46, .34);
  opacity: 0;
  transform: translate3d(0, 0, 0) scale(.7);
  animation: particleFloat var(--d) linear infinite;
  animation-delay: var(--delay);
}
.hero-particles span::after {
  content: "";
  position: absolute;
  top: 45%;
  right: 55%;
  width: calc(var(--s) * 8);
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 194, 102, .45), transparent);
  transform: rotate(var(--r));
  transform-origin: right center;
}
.hero-particles span:nth-child(1) { --x: 8%; --y: 72%; --s: 5px; --d: 9s; --delay: -1s; --r: -24deg; }
.hero-particles span:nth-child(2) { --x: 18%; --y: 58%; --s: 3px; --d: 12s; --delay: -8s; --r: -18deg; }
.hero-particles span:nth-child(3) { --x: 29%; --y: 82%; --s: 4px; --d: 11s; --delay: -4s; --r: -30deg; }
.hero-particles span:nth-child(4) { --x: 42%; --y: 66%; --s: 6px; --d: 13s; --delay: -10s; --r: -20deg; }
.hero-particles span:nth-child(5) { --x: 55%; --y: 76%; --s: 3px; --d: 10s; --delay: -5s; --r: -28deg; }
.hero-particles span:nth-child(6) { --x: 68%; --y: 62%; --s: 5px; --d: 14s; --delay: -12s; --r: -16deg; }
.hero-particles span:nth-child(7) { --x: 82%; --y: 70%; --s: 4px; --d: 12s; --delay: -2s; --r: -32deg; }
.hero-particles span:nth-child(8) { --x: 92%; --y: 52%; --s: 3px; --d: 15s; --delay: -9s; --r: -18deg; }
.hero-particles span:nth-child(9) { --x: 14%; --y: 36%; --s: 3px; --d: 16s; --delay: -7s; --r: -22deg; }
.hero-particles span:nth-child(10) { --x: 37%; --y: 44%; --s: 4px; --d: 13s; --delay: -3s; --r: -27deg; }
.hero-particles span:nth-child(11) { --x: 73%; --y: 40%; --s: 3px; --d: 17s; --delay: -14s; --r: -15deg; }
.hero-particles span:nth-child(12) { --x: 88%; --y: 86%; --s: 5px; --d: 12s; --delay: -6s; --r: -34deg; }
.hero-copy {
  position: absolute;
  z-index: 3;
  right: auto;
  top: 34%;
  bottom: auto;
  left: 50%;
  width: min(820px, 68vw);
  display: grid;
  justify-items: center;
  transform: translateX(-50%);
  text-align: center;
  animation: heroReveal .95s both cubic-bezier(.2, .78, .2, 1);
}
.hero-title-art {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  margin: 0 auto -28px;
  justify-self: center;
  filter: drop-shadow(0 12px 22px rgba(0, 0, 0, .48));
  transform: translateX(-31px);
}
.hero-kicker {
  margin: 0 0 18px;
  color: var(--gold-light);
  font: 700 11px/1.4 Georgia, serif;
  letter-spacing: 8px;
}
.hero-line {
  margin: 0 auto 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: #d6b36c;
  font-size: clamp(15px, 1.5vw, 23px);
  font-weight: 900;
  letter-spacing: 9px;
}
.hero-line::before, .hero-line::after {
  content: "";
  width: 58px;
  height: 1px;
  background: linear-gradient(90deg, transparent, #d6b36c);
}
.hero-line::after { transform: scaleX(-1); }
.hero h1 {
  margin: 0;
  color: #f7e4ae;
  font-size: clamp(58px, 7.3vw, 116px);
  line-height: .94;
  letter-spacing: .05em;
  text-shadow: 0 3px 0 #63421f, 0 8px 24px rgba(0, 0, 0, .58), 0 0 36px rgba(226, 181, 88, .18);
}
.hero h1 span { display: block; }
.hero h1 span:last-child {
  margin-top: 8px;
  font-size: .75em;
  letter-spacing: .22em;
  transform: translateX(.1em);
}
.hero-subtitle {
  margin: 23px 0 27px;
  color: #e8dcc2;
  font-size: clamp(16px, 1.3vw, 21px);
  letter-spacing: 7px;
}
.hero-subtitle b { color: #f0c863; font-size: 1.17em; }
.enter-button {
  position: relative;
  width: 228px;
  height: 70px;
  margin: -25px auto 0;
  justify-self: center;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #f2dfbd;
  background: linear-gradient(135deg, #93452e, #57271f 70%, #27181a);
  border: 1px solid #c89458;
  clip-path: polygon(9% 0, 91% 0, 100% 50%, 91% 100%, 9% 100%, 0 50%);
  filter: drop-shadow(0 12px 20px rgba(0, 0, 0, .35));
  transition: transform .25s ease, filter .25s ease;
}
.enter-button::before {
  content: "";
  position: absolute;
  top: -80%;
  left: -45%;
  width: 44%;
  height: 250%;
  background: linear-gradient(90deg, transparent, rgba(255, 237, 191, .5), transparent);
  transform: rotate(20deg);
  animation: buttonShine 3.2s infinite;
}
.enter-button span { position: relative; font-size: 20px; font-weight: 900; letter-spacing: 7px; }
.enter-button small { position: relative; margin-top: 3px; font: 700 8px/1 Georgia, serif; letter-spacing: 3px; opacity: .66; }
.enter-button:hover { transform: translateY(-4px) scale(1.025); filter: brightness(1.1) drop-shadow(0 15px 24px rgba(0, 0, 0, .42)); }
.hero-scroll {
  position: absolute;
  z-index: 3;
  left: 50%;
  bottom: 17px;
  display: grid;
  justify-items: center;
  gap: 6px;
  color: rgba(234, 213, 168, .66);
  font-size: 10px;
  letter-spacing: 4px;
  transform: translateX(-50%);
}
.mouse-icon {
  position: relative;
  width: 18px;
  height: 30px;
  border: 1px solid rgba(230, 197, 126, .74);
  border-radius: 12px;
  box-shadow: 0 0 12px rgba(223, 193, 141, .12);
  transform: translateY(-42px);
}
.mouse-icon::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -28px;
  width: 1px;
  height: 25px;
  background: linear-gradient(var(--gold-light), transparent);
  transform: translateX(-50%);
}
.mouse-icon i {
  position: absolute;
  left: 50%;
  top: 6px;
  width: 2px;
  height: 5px;
  border-radius: 999px;
  background: var(--gold-light);
  transform: translateX(-50%);
  animation: mouseWheel 1.5s infinite;
}
.scroll-arrow {
  position: relative;
  width: 8px;
  height: 8px;
  margin-top: -4px;
  border-right: 1px solid rgba(230, 197, 126, .8);
  border-bottom: 1px solid rgba(230, 197, 126, .8);
  transform: translateY(-24px) rotate(45deg);
  animation: arrowDrop 1.5s infinite;
}

.chapter-nav {
  position: sticky;
  top: 0;
  z-index: 18;
  min-height: 82px;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  background: linear-gradient(90deg, rgba(44, 24, 20, .97), rgba(13, 18, 24, .98) 48%, rgba(28, 40, 50, .98));
  border-block: 1px solid var(--line);
  box-shadow: 0 14px 34px rgba(0, 0, 0, .28);
  backdrop-filter: blur(10px);
}
.chapter-nav a {
  position: relative;
  min-width: 0;
  padding: 13px 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-right: 1px solid rgba(219, 182, 108, .15);
  transition: background .25s, color .25s;
}
.chapter-nav a::after {
  content: "";
  position: absolute;
  inset: auto 22% 0;
  height: 2px;
  background: var(--gold-light);
  transform: scaleX(0);
  transition: transform .25s;
}
.chapter-nav a:hover, .chapter-nav a.active { color: #fff1d1; background: linear-gradient(135deg, rgba(143, 60, 40, .24), rgba(70, 94, 111, .25)); }
.chapter-nav a:hover::after, .chapter-nav a.active::after { transform: scaleX(1); }
.chapter-nav em { color: var(--gold-light); font-size: 26px; font-style: normal; font-weight: 900; }
.chapter-nav span { font-size: 14px; font-weight: 800; letter-spacing: 2px; line-height: 1.2; }
.chapter-nav small { display: block; margin-top: 5px; color: #bcae90; font-size: 11px; letter-spacing: 3px; }
.home-link { background: rgba(187, 138, 61, .08); }

.chapters {
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(188, 149, 75, .035) 1px, transparent 1px),
    linear-gradient(rgba(188, 149, 75, .03) 1px, transparent 1px),
    radial-gradient(circle at 8% 18%, rgba(130, 57, 39, .18), transparent 30%),
    radial-gradient(circle at 92% 44%, rgba(65, 91, 110, .2), transparent 32%),
    #10161c;
  background-size: 82px 82px, 82px 82px, auto, auto;
}
.chapter {
  position: relative;
  scroll-margin-top: 82px;
  min-height: 810px;
  padding: 100px max(24px, calc((100vw - 1180px) / 2)) 88px;
  border-bottom: 1px solid rgba(214, 177, 102, .22);
}
.chapter:nth-child(even) { background: linear-gradient(125deg, rgba(51, 25, 21, .46), rgba(14, 20, 26, .82) 48%, rgba(41, 57, 69, .5)); }
.chapter-number {
  position: absolute;
  top: 42px;
  left: max(10px, calc((100vw - 1320px) / 2));
  color: rgba(218, 181, 106, .07);
  font: 900 clamp(130px, 18vw, 280px)/.8 Georgia, serif;
  letter-spacing: -20px;
  user-select: none;
}
.chapter-heading {
  position: relative;
  z-index: 2;
  margin-bottom: 42px;
  text-align: center;
}
.chapter-heading p {
  margin: 0 0 9px;
  color: #c5a767;
  font: 700 10px/1.4 Georgia, serif;
  letter-spacing: 7px;
}
.chapter-heading h2 {
  margin: 0;
  color: #f0db9f;
  font-size: clamp(38px, 4vw, 62px);
  line-height: 1.2;
  letter-spacing: 10px;
  text-shadow: 0 4px 20px rgba(0, 0, 0, .34);
}
.chapter-heading span {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 10px;
  color: #b6aa91;
  font-size: 14px;
  letter-spacing: 5px;
}
.chapter-heading span::before, .chapter-heading span::after { content: "◆"; color: #9c7540; font-size: 7px; }

.ink-panel, .map-panel, .benefit-card, .final-card {
  position: relative;
  z-index: 2;
  border: 1px solid rgba(224, 192, 126, .46);
  box-shadow: 0 25px 70px rgba(0, 0, 0, .3);
}
.ink-panel {
  padding: clamp(28px, 4vw, 54px);
  color: #2b352e;
  background:
    linear-gradient(115deg, rgba(255,255,255,.3), transparent 38%),
    repeating-linear-gradient(135deg, rgba(51, 60, 68, .04) 0 1px, transparent 1px 13px),
    var(--paper);
}
.ink-panel::before, .map-panel::before, .final-card::before {
  content: "";
  position: absolute;
  inset: 10px;
  pointer-events: none;
  border: 1px solid rgba(108, 78, 38, .2);
}
.intro {
  margin: 0 0 34px;
  padding: 5px 0 5px 22px;
  color: #3c4137;
  font-size: 16px;
  line-height: 2;
  letter-spacing: .07em;
  border-left: 3px solid #a07435;
}
.skill-table { border: 1px solid rgba(67, 78, 86, .28); }
.skill-row {
  display: grid;
  grid-template-columns: 1.05fr .55fr 1.4fr 2.7fr;
  background: rgba(255, 249, 233, .4);
  border-bottom: 1px solid rgba(67, 78, 86, .18);
}
.skill-row:last-child { border-bottom: 0; }
.skill-row > * {
  min-width: 0;
  padding: 17px 16px;
  display: flex;
  align-items: center;
  border-right: 1px solid rgba(67, 78, 86, .18);
  font-size: 14px;
  line-height: 1.75;
}
.skill-row > *:last-child { border-right: 0; }
.skill-row b { color: #662a22; font-size: 16px; }
.skill-name {
  gap: 12px;
  flex-wrap: wrap;
  align-content: center;
}
.skill-name img {
  width: 48px;
  height: 48px;
  flex: 0 0 auto;
  object-fit: cover;
  border: 1px solid rgba(112, 79, 35, .34);
  box-shadow: 0 5px 12px rgba(30, 38, 30, .18);
}
.skill-head { color: #f1dfb0; background: linear-gradient(100deg, #5b2b23, #253743 54%, #3b5365); }
.skill-head span { justify-content: center; font-weight: 900; letter-spacing: 2px; }
.version-note {
  position: relative;
  z-index: 2;
  margin: 18px 0 0;
  color: #9f9a87;
  font-size: 12px;
  text-align: right;
  letter-spacing: 1px;
}

.split-panel { padding-bottom: 42px; }
.soldier-carousel {
  position: relative;
  padding-bottom: 40px;
  overflow: hidden;
}
.soldier-carousel .swiper-wrapper { display: flex; }
.soldier-card {
  position: relative;
  flex: 0 0 100%;
  margin: 0;
  overflow: hidden;
  color: #efe0bd;
  background: #171d23;
  border: 1px solid rgba(168, 129, 61, .55);
  box-shadow: 0 14px 30px rgba(23, 36, 30, .2);
}
.soldier-card img {
  display: block;
  width: 100%;
  aspect-ratio: 1138 / 640;
  object-fit: cover;
  background: #111820;
  transition: transform .35s ease, filter .35s ease;
}
.soldier-card:hover img { transform: scale(1.02); filter: saturate(1.08) contrast(1.03); }
.soldier-card figcaption {
  position: absolute;
  inset: auto 0 0;
  padding: 32px 22px 18px;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  background: linear-gradient(transparent, rgba(5, 22, 20, .94));
}
.soldier-card b { font-size: 20px; letter-spacing: 4px; text-shadow: 0 2px 8px #000; }
.soldier-card span { color: #c1b596; font-size: 11px; letter-spacing: 2px; }
.soldier-arrow {
  position: absolute;
  z-index: 4;
  top: calc(50% - 20px);
  width: 52px;
  height: 72px;
  display: grid;
  place-items: center;
  color: #f3dc9d;
  background: rgba(17, 25, 32, .9);
  border: 1px solid rgba(224, 185, 106, .6);
  cursor: pointer;
  transform: translateY(-50%);
  transition: background .2s ease, opacity .2s ease, transform .2s ease;
  font-size: 47px;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}
.soldier-arrow span {
  position: absolute;
  margin-top: -15px;
}
.soldier-prev { left: 1px; }
.soldier-next { right: 1px; }
.soldier-arrow:hover { background: rgba(116, 43, 36, .92); transform: translateY(-50%) scale(1.04); }
.soldier-arrow.swiper-button-disabled { opacity: .3; cursor: default; }
.soldier-pagination {
  position: absolute;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: baseline;
  gap: 7px;
  color: #756c59;
  font: 700 12px/1 Georgia, serif;
  letter-spacing: 2px;
}
.soldier-pagination b { color: #783329; font-size: 22px; }

.map-panel {
  min-height: 480px;
  display: grid;
  grid-template-columns: .86fr 1.45fr;
  overflow: hidden;
  color: #e9dec4;
  background: #18232c;
}
.map-copy {
  position: relative;
  z-index: 3;
  padding: clamp(34px, 5vw, 64px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: linear-gradient(90deg, #18232c 72%, transparent);
}
.map-copy p { margin: 0 0 18px; font-size: 15px; line-height: 2; letter-spacing: .07em; }
.map-copy p:first-child { color: var(--gold-light); font-size: 18px; font-weight: 900; }
.map-gallery {
  position: relative;
  min-width: 0;
  padding: 22px 22px 18px 0;
  display: grid;
  align-content: center;
  gap: 12px;
}
.map-stage {
  position: relative;
  margin: 0;
  overflow: hidden;
  background: #0b1117;
  border: 1px solid rgba(217, 178, 101, .5);
  box-shadow: 0 18px 38px rgba(0, 0, 0, .3);
}
.map-stage img {
  display: block;
  width: 100%;
  aspect-ratio: 2.42 / 1;
  object-fit: cover;
  transition: opacity .18s ease;
}
.map-thumbs {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
}
.map-thumbs button {
  min-width: 0;
  padding: 0;
  overflow: hidden;
  cursor: pointer;
  background: #111a22;
  border: 1px solid rgba(217, 178, 101, .32);
  opacity: .62;
  transition: opacity .2s ease, transform .2s ease, border-color .2s ease;
}
.map-thumbs button:hover, .map-thumbs button.active {
  opacity: 1;
  transform: translateY(-2px);
  border-color: #e0bd71;
}
.map-thumbs img {
  display: block;
  width: 100%;
  aspect-ratio: 2.1 / 1;
  object-fit: cover;
}

.benefit-grid { position: relative; z-index: 2; display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.benefit-grid-single {
  grid-template-columns: minmax(320px, 520px);
  justify-content: center;
}
.benefit-visual {
  position: relative;
  z-index: 2;
  overflow: hidden;
  width: min(1120px, 100%);
  margin: 0 auto 28px;
  border: 1px solid rgba(224, 192, 126, .46);
  box-shadow: 0 24px 58px rgba(0, 0, 0, .28);
  background: #101820;
}
.benefit-visual::after {
  content: "";
  position: absolute;
  inset: 10px;
  border: 1px solid rgba(224, 192, 126, .2);
  pointer-events: none;
}
.benefit-visual img {
  display: block;
  width: 100%;
  aspect-ratio: 1920 / 915;
  object-fit: cover;
}
.benefit-card {
  min-height: 390px;
  padding: 38px 30px 30px;
  display: grid;
  grid-template-rows: auto 78px 1fr;
  color: #2c352e;
  background:
    linear-gradient(145deg, rgba(255,255,255,.32), transparent 40%),
    repeating-linear-gradient(135deg, rgba(56, 80, 65, .04) 0 1px, transparent 1px 12px),
    var(--paper);
}
.benefit-card.featured { border-color: #d6ac5f; }
.benefit-card::after {
  content: "";
  position: absolute;
  inset: 9px;
  border: 1px solid rgba(112, 79, 35, .2);
  pointer-events: none;
}
.benefit-index {
  color: #956e33;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 5px;
}
.benefit-card h3 { margin: 12px 0 18px; align-self: start; color: #5d2923; font-size: 27px; letter-spacing: 3px; }
.benefit-card dl {
  margin: 0;
  display: grid;
  grid-template-rows: 22px 76px 22px minmax(80px, 1fr);
}
.benefit-card dt { margin: 0; align-self: end; color: #9b7031; font-size: 12px; font-weight: 900; letter-spacing: 3px; }
.benefit-card dd { margin: 8px 0 0; padding-top: 10px; color: #404a40; border-top: 1px solid rgba(75, 89, 72, .2); font-size: 14px; line-height: 1.8; }

.benefit-showcase {
  position: relative;
  z-index: 2;
  min-height: 650px;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  align-items: center;
  padding: clamp(46px, 5vw, 76px) clamp(34px, 5vw, 78px);
  border: 1px solid rgba(224, 192, 126, .42);
  background: #110d0a;
  box-shadow: 0 28px 78px rgba(0, 0, 0, .34);
}
.benefit-showcase::after {
  content: "";
  position: absolute;
  inset: 12px;
  z-index: 4;
  border: 1px solid rgba(224, 192, 126, .2);
  pointer-events: none;
}
.benefit-showcase .benefit-visual {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  border: 0;
  box-shadow: none;
  background: #110d0a;
}
.benefit-showcase .benefit-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 0;
  background:
    linear-gradient(90deg, rgba(17, 13, 10, .02) 0%, rgba(17, 13, 10, .2) 42%, rgba(17, 13, 10, .88) 62%, #110d0a 100%),
    linear-gradient(180deg, rgba(17, 13, 10, .16), rgba(17, 13, 10, .08) 46%, rgba(17, 13, 10, .5));
  pointer-events: none;
}
.benefit-showcase .benefit-visual img {
  width: 68%;
  height: 100%;
  aspect-ratio: auto;
  object-fit: cover;
  object-position: center;
}
.benefit-panel {
  position: relative;
  z-index: 2;
  grid-column: 2;
  min-width: 0;
}
.benefit-heading {
  margin: 0 0 34px;
  text-align: left;
}
.benefit-heading h2 {
  font-size: clamp(40px, 4vw, 64px);
  letter-spacing: 8px;
}
.benefit-heading span {
  color: #d34831;
  font-weight: 900;
}
.benefit-heading span::before,
.benefit-heading span::after {
  display: none;
}
.benefit-showcase .benefit-grid-single {
  grid-template-columns: 1fr;
}
.benefit-showcase .benefit-card {
  min-height: 260px;
  padding: 30px 34px;
  color: #ead9b7;
  border-color: rgba(224, 192, 126, .24);
  background: rgba(24, 18, 13, .72);
  box-shadow: none;
}
.benefit-showcase .benefit-card::after {
  border-color: rgba(224, 192, 126, .16);
}
.benefit-showcase .benefit-card h3 {
  color: #f0db9f;
}
.benefit-showcase .benefit-card dt {
  color: #d4ad5d;
}
.benefit-showcase .benefit-card dd {
  color: #e8d7b6;
  border-top-color: rgba(224, 192, 126, .22);
}

.final-event { min-height: 720px; background: linear-gradient(110deg, rgba(41, 20, 17, .86), rgba(8, 12, 17, .9) 48%, rgba(24, 36, 46, .9)), url("https://img.fxegames.com/fxegames/sgm/txwjyjj/hero-kv-92sggzb.jpg") center / cover fixed; }
.final-card {
  width: min(860px, 100%);
  margin: auto;
  padding: 48px 57px;
  color: #28372f;
  background:
    repeating-linear-gradient(135deg, rgba(64, 81, 65, .04) 0 1px, transparent 1px 14px),
    var(--paper);
}
.final-card .seal {
  position: absolute;
  top: -28px;
  left: 50%;
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  color: #eed996;
  background: #762e25;
  border: 2px solid #c99a48;
  border-radius: 50%;
  transform: translateX(-50%);
  box-shadow: 0 9px 22px rgba(0,0,0,.24);
  font-size: 25px;
  font-weight: 900;
}
.final-card > div:not(.seal) { padding: 22px 0; border-bottom: 1px dashed rgba(69, 83, 68, .25); }
.final-card h1 { margin: 0; margin-bottom: 8px; color: #987036; font-size: 18px; font-weight: 900; letter-spacing: 4px; }
.final-card p { margin: 0;font-size: 16px; line-height: 1.8; word-break: break-word; }
.final-card p.tip { color: #7b7666; font-size: 14px; }

.site-footer {
  padding: 48px 20px 58px;
  text-align: center;
  color: #a89e87;
  background: #07090c;
  border-top: 1px solid rgba(204, 166, 91, .24);
}
.site-footer p { margin: 0 0 10px; color: #dac17e; font-size: 19px; letter-spacing: 7px; }
.site-footer small { letter-spacing: 2px; }
.to-top {
  position: fixed;
  right: 22px;
  bottom: 24px;
  z-index: 30;
  width: 46px;
  height: 46px;
  color: #eed996;
  background: rgba(12, 40, 37, .92);
  border: 1px solid rgba(223, 184, 106, .56);
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
  transition: .25s ease;
}
.to-top.show { opacity: 1; transform: none; pointer-events: auto; cursor: pointer; }

@keyframes heroReveal { from { opacity: 0; transform: translate(-50%, 18px); } to { opacity: 1; transform: translate(-50%, 0); } }
@keyframes buttonShine { 0%, 38% { transform: translateX(-120%) rotate(20deg); } 62%, 100% { transform: translateX(430%) rotate(20deg); } }
@keyframes scrollCue { 0% { transform: scaleY(.15); transform-origin: top; opacity: 0; } 40% { opacity: 1; } 100% { transform: scaleY(1); transform-origin: top; opacity: 0; } }
@keyframes mouseWheel { 0% { opacity: 0; transform: translate(-50%, 0); } 35% { opacity: 1; } 100% { opacity: 0; transform: translate(-50%, 13px); } }
@keyframes arrowDrop {
  0%, 100% { opacity: .35; transform: translateY(-30px) rotate(45deg); }
  45% { opacity: .95; transform: translateY(-18px) rotate(45deg); }
}
@keyframes soldierBreathe { from { filter: drop-shadow(0 0 12px rgba(216,168,76,.1)); } to { filter: drop-shadow(0 0 28px rgba(216,168,76,.32)); transform: translateY(-5px) scale(1.015); } }
@keyframes scan { from { transform: translateX(-240px); } to { transform: translateX(240px); } }
@keyframes cloudDrift { from { transform: translate3d(-18%, 0, 0); } to { transform: translate3d(42%, -7%, 0); } }
@keyframes particleFloat {
  0% { opacity: 0; transform: translate3d(0, 28px, 0) scale(.55); }
  12% { opacity: .95; }
  58% { opacity: .82; }
  100% { opacity: 0; transform: translate3d(-74px, -128px, 0) scale(1.05); }
}

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

@media (max-width: 980px) {
  .hero { min-height: 650px; height: 86svh; background-position: 40% center; }
  .hero-copy { right: 24px; width: 55vw; }
  .hero h1 { font-size: clamp(52px, 9vw, 82px); }
  .chapter-nav { display: flex; min-height: 74px; overflow-x: auto; scrollbar-width: none; }
  .chapter-nav::-webkit-scrollbar { display: none; }
  .chapter-nav a { flex: 0 0 154px; }
  .chapter { padding-top: 84px; min-height: auto; }
  .skill-table { overflow-x: auto; }
  .skill-row { min-width: 850px; }
  .map-panel { grid-template-columns: 1fr; }
  .benefit-showcase {
    grid-template-columns: 1fr;
    min-height: auto;
    padding: 340px 28px 34px;
  }
  .benefit-showcase .benefit-visual img {
    width: 100%;
    height: 380px;
  }
  .benefit-showcase .benefit-visual::after {
    background:
      linear-gradient(180deg, rgba(17, 13, 10, .02) 0%, rgba(17, 13, 10, .12) 35%, rgba(17, 13, 10, .82) 64%, #110d0a 100%),
      linear-gradient(90deg, rgba(17, 13, 10, .18), rgba(17, 13, 10, .04) 48%, rgba(17, 13, 10, .28));
  }
  .benefit-panel { grid-column: 1; }
  .benefit-heading { text-align: center; }
  .map-copy { padding-bottom: 26px; background: none; }
  .map-gallery { padding: 0 24px 24px; }
  .benefit-grid { grid-template-columns: 1fr; }
  .benefit-card, .benefit-card.featured { min-height: 0; transform: none; grid-template-rows: auto auto auto; }
  .benefit-card h3 { min-height: 0; }
  .benefit-card dl { display: block; }
  .benefit-card dt { margin-top: 22px; }
}

@media (max-width: 700px) {
  .topbar { min-height: 76px; padding: 13px 14px; align-items: flex-start; }
  .brand img { width: 145px; }
  .top-actions { gap: 6px; }
  .top-actions a { min-width: 78px; padding: 8px 7px; font-size: 11px; letter-spacing: 1px; }
  .hero {
    min-height: 100svh;
    height: 100svh;
    background-position: center top;
    background-size: cover;
    background-image:
      linear-gradient(180deg, rgba(7,9,12,.02) 34%, rgba(7,10,14,.7) 78%, #090d12 100%),
      url("https://img.fxegames.com/fxegames/sgm/txwjyjj/kv-mobile.png");
  }
  .hero-clouds {
    inset: -5% -28%;
    opacity: .3;
    filter: blur(12px);
  }
  .hero-clouds span {
    width: 110vw;
    height: 30vw;
    min-width: 420px;
    min-height: 120px;
  }
  .hero-clouds span:nth-child(1) { top: 22%; left: -45%; }
  .hero-clouds span:nth-child(2) { top: 48%; left: -8%; }
  .hero-clouds span:nth-child(3) { top: 66%; left: -38%; }
  .hero-particles { opacity: .72; }
  .hero-particles span:nth-child(n+9) { display: none; }
  .hero-particles span::after { width: calc(var(--s) * 5); }
  .hero::after { display: none; }
  .hero-copy {
    top: 47%;
    right: auto;
    bottom: auto;
    left: 50%;
    width: min(680px, 92vw);
    transform: translate(-50%, -8%);
    animation: none;
  }
  .hero-title-art { margin-bottom: -8px; transform: translateX(-12px); }
  .hero-kicker { margin-bottom: 10px; letter-spacing: 4px; }
  .hero-line { font-size: 14px; letter-spacing: 5px; }
  .hero-line::before, .hero-line::after { width: 28px; }
  .hero h1 { font-size: clamp(48px, 14vw, 66px); }
  .hero-subtitle { margin: 16px 0 19px; font-size: 14px; letter-spacing: 4px; }
  .enter-button { width: 178px; height: 56px; margin-top: 12px; }
  .hero-scroll { display: none; }
  .chapter-nav a { flex-basis: 136px; padding: 10px 7px; }
  .chapter-nav em { font-size: 23px; }
  .chapter-nav span { font-size: 13px; }
  .chapter { scroll-margin-top: 74px; padding: 68px 14px 64px; }
  .chapter-number { top: 35px; left: -5px; font-size: 118px; letter-spacing: -12px; }
  .chapter-heading { margin-bottom: 30px; }
  .chapter-heading p { letter-spacing: 4px; }
  .chapter-heading h2 { font-size: 34px; letter-spacing: 5px; }
  .chapter-heading span { font-size: 12px; letter-spacing: 3px; }
  .ink-panel { padding: 28px 18px; }
  .intro { padding-left: 15px; font-size: 14px; line-height: 1.9; }
  .soldier-card figcaption { padding: 28px 15px 13px; }
  .soldier-card b { font-size: 16px; letter-spacing: 2px; }
  .soldier-card span { font-size: 10px; letter-spacing: 1px; }
  .soldier-arrow { top: calc(50% - 20px); width: 38px; height: 54px; font-size: 34px; }
  .soldier-arrow span { margin-top: -11px; }
  .map-panel { display: flex; flex-direction: column; min-height: 0; }
  .map-copy { padding: 34px 24px 18px; background: none; }
  .map-gallery { padding: 0 14px 18px; }
  .map-stage img { aspect-ratio: 1.7 / 1; }
  .map-thumbs { gap: 5px; }
  .benefit-showcase {
    padding: 230px 18px 26px;
  }
  .benefit-showcase .benefit-visual img {
    height: 270px;
  }
  .benefit-heading h2 {
    font-size: 31px;
    letter-spacing: 4px;
  }
  .benefit-showcase .benefit-card {
    padding: 30px 22px 26px;
  }
  .benefit-grid { gap: 14px; }
  .benefit-card { padding: 34px 24px 27px; }
  .benefit-card h3 { font-size: 24px; }
  .final-event { background-attachment: scroll; }
  .final-card { padding: 42px 22px 28px; }
  .final-card p { text-align: left; }
  .version-note { font-size: 11px; line-height: 1.7; }
  .to-top { display: none; }
  .site-footer p { font-size: 16px; letter-spacing: 4px; }
  .site-footer small { font-size: 11px; line-height: 1.7; }
}

.benefits .benefit-showcase {
  position: relative;
  z-index: 2;
  min-height: 0;
  overflow: hidden;
  display: grid;
  grid-template-columns: .78fr 1.22fr;
  gap: clamp(28px, 4vw, 56px);
  align-items: center;
  padding: clamp(34px, 4vw, 58px);
  border: 1px solid rgba(224, 192, 126, .46);
  background:
    linear-gradient(90deg, rgba(19, 31, 39, .96), rgba(14, 22, 29, .88)),
    #101820;
  box-shadow: 0 28px 78px rgba(0, 0, 0, .34);
}
.benefits .benefit-showcase::after {
  content: "";
  position: absolute;
  inset: 10px;
  z-index: 4;
  border: 1px solid rgba(224, 192, 126, .18);
  pointer-events: none;
}
.benefits .benefit-panel {
  position: relative;
  z-index: 2;
  grid-column: 1;
  min-width: 0;
}
.benefits .benefit-grid-single {
  grid-template-columns: 1fr;
  justify-content: stretch;
}
.benefits .benefit-card {
  min-height: 330px;
  padding: 34px 32px;
  grid-template-rows: auto 1fr;
  color: #ead9b7;
  border-color: rgba(224, 192, 126, .26);
  background: rgba(11, 17, 23, .66);
  box-shadow: none;
}
.benefits .benefit-card::after {
  border-color: rgba(224, 192, 126, .16);
}
.benefits .benefit-card h3 {
  margin-top: 0;
  color: #f0db9f;
}
.benefits .benefit-card dt {
  color: #d4ad5d;
}
.benefits .benefit-card dd {
  color: #e8d7b6;
  border-top-color: rgba(224, 192, 126, .22);
}
.benefits .benefit-visual {
  position: relative;
  inset: auto;
  z-index: 2;
  grid-column: 2;
  overflow: hidden;
  width: 100%;
  height: auto;
  margin: 0;
  border: 1px solid rgba(224, 192, 126, .44);
  box-shadow: 0 18px 40px rgba(0, 0, 0, .28);
  background: #101820;
}
.benefits .benefit-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 0;
  background: linear-gradient(180deg, rgba(8, 12, 17, .02), rgba(8, 12, 17, .16));
  pointer-events: none;
}
.benefits .benefit-visual img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1920 / 915;
  object-fit: cover;
  object-position: center;
}

@media (max-width: 980px) {
  .benefits .benefit-showcase {
    grid-template-columns: 1fr;
    padding: 28px;
  }
  .benefits .benefit-panel,
  .benefits .benefit-visual {
    grid-column: 1;
  }
}

@media (max-width: 700px) {
  .benefits .benefit-showcase {
    padding: 18px;
    gap: 18px;
  }
  .benefits .benefit-card {
    min-height: 0;
    padding: 30px 22px 26px;
  }
}

.benefits .benefit-showcase {
  grid-template-columns: 1fr minmax(330px, 430px);
  gap: 0;
  align-items: stretch;
  padding: clamp(38px, 4vw, 58px);
}
.benefits .benefit-panel {
  align-self: center;
  grid-column: 2;
  justify-self: end;
  position: relative;
  z-index: 4;
}
.benefits .benefit-visual {
  position: absolute;
  top: 10px;
  right: 10px;
  bottom: 10px;
  left: 10px;
  z-index: 1;
  grid-column: auto;
  width: auto;
  height: auto;
  border: 0;
  box-shadow: none;
}
.benefits .benefit-visual::before {
  content: "";
  position: absolute;
  inset: -2px 0 -2px auto;
  z-index: 2;
  width: min(720px, 58%);
  background:
    linear-gradient(90deg,
      rgba(18, 30, 38, 0) 0%,
      rgba(18, 30, 38, .12) 18%,
      rgba(18, 30, 38, .38) 38%,
      rgba(18, 30, 38, .68) 58%,
      rgba(18, 30, 38, .9) 78%,
      rgba(18, 30, 38, .98) 100%);
  pointer-events: none;
}
.benefits .benefit-visual::after {
  z-index: 3;
  background:
    linear-gradient(180deg, rgba(8, 12, 17, .08), rgba(8, 12, 17, .02) 45%, rgba(8, 12, 17, .16));
}
.benefits .benefit-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

@media (max-width: 980px) {
  .benefits .benefit-showcase {
    grid-template-columns: 1fr;
    padding: 320px 28px 34px;
  }
  .benefits .benefit-panel {
    grid-column: 1;
    justify-self: stretch;
  }
  .benefits .benefit-visual {
    top: 10px;
    right: 10px;
    bottom: auto;
    left: 10px;
    height: 360px;
  }
  .benefits .benefit-visual::before {
    display: none;
  }
  .benefits .benefit-visual::after {
    background: linear-gradient(180deg, rgba(8, 12, 17, .02), rgba(8, 12, 17, .24) 48%, #101820 100%);
  }
}

@media (max-width: 700px) {
  .benefits .benefit-showcase {
    padding: 230px 18px 26px;
  }
  .benefits .benefit-visual {
    height: 270px;
  }
}

@media (max-width: 700px) {
  .chapter-nav a:hover { color: inherit; background: none; }
  .chapter-nav a:hover::after { transform: scaleX(0); }
  .chapter-nav a.active { color: #fff1d1; background: linear-gradient(135deg, rgba(143, 60, 40, .24), rgba(70, 94, 111, .25)); }
  .chapter-nav a.active::after { transform: scaleX(1); }
}
