:root {
  --bg: #1A1C1A;
  --bg-deep: #0E100F;
  --surface: #20231F;
  --surface-2: #2A2E29;
  --text: #E5E5E5;
  --muted: #B9BDB7;
  --line: rgba(229, 229, 229, 0.18);
  --red: #7A1F2D;
  --red-bright: #B73146;
  --green: #39FF14;
  --purple: #B026FF;
  --gold: #D8C56D;
  --shadow: 0 18px 60px rgba(0, 0, 0, 0.36);
  --radius: 8px;
}

* {
  box-sizing: border-box;
  letter-spacing: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--bg);
  color: var(--text);
  font-family: "Microsoft YaHei", "PingFang SC", "Noto Sans SC", Arial, sans-serif;
  line-height: 1.75;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(229, 229, 229, 0.025) 1px, transparent 1px),
    linear-gradient(0deg, rgba(229, 229, 229, 0.025) 1px, transparent 1px);
  background-size: 24px 24px;
  opacity: 0.55;
}

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

a {
  color: inherit;
  text-decoration: none;
  overflow-wrap: anywhere;
}

p,
dd,
li {
  color: var(--muted);
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.18;
  font-weight: 800;
  color: var(--text);
}

h1 {
  max-width: 980px;
  font-size: 4rem;
}

h2 {
  font-size: 2.15rem;
}

h3 {
  font-size: 1.08rem;
}

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

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 1000;
  transform: translateY(-150%);
  padding: 10px 14px;
  background: var(--green);
  color: #061006;
  border-radius: var(--radius);
  font-weight: 800;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 72px;
  padding: 0 28px;
  border-bottom: 1px solid rgba(229, 229, 229, 0.12);
  background: rgba(14, 16, 15, 0.88);
  backdrop-filter: blur(14px);
}

.site-header.is-scrolled {
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.28);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  font-weight: 900;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
  color: #061006;
  background: var(--green);
  border: 1px solid rgba(229, 229, 229, 0.35);
  border-radius: 7px;
  box-shadow: 0 0 22px rgba(57, 255, 20, 0.34);
}

.brand-text {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

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

.site-nav a {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 11px;
  border-radius: 7px;
  color: var(--muted);
  transition: color 160ms ease, background 160ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--text);
  background: rgba(229, 229, 229, 0.08);
}

.site-nav .nav-detail {
  color: #071006;
  background: var(--green);
  font-weight: 800;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--line);
  background: rgba(229, 229, 229, 0.06);
  border-radius: 7px;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: var(--text);
}

.hero,
.page-hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.hero-home {
  min-height: 88vh;
  display: flex;
  align-items: flex-end;
  padding: 124px 0 70px;
}

.hero-bg,
.page-hero-bg {
  position: absolute;
  inset: 0;
  z-index: -3;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.9) contrast(1.06);
}

.hero-bg {
  object-position: center;
}

.page-hero-bg {
  object-position: center;
}

.hero-shade,
.page-hero::before {
  position: absolute;
  inset: 0;
  z-index: -2;
  content: "";
  background:
    linear-gradient(90deg, rgba(14, 16, 15, 0.94), rgba(14, 16, 15, 0.72) 42%, rgba(14, 16, 15, 0.58)),
    linear-gradient(0deg, rgba(26, 28, 26, 0.98), rgba(26, 28, 26, 0.18) 54%, rgba(26, 28, 26, 0.72));
}

.hero::after,
.page-hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 10px;
  z-index: -1;
  background:
    linear-gradient(90deg, var(--red) 0 16%, var(--green) 16% 18%, transparent 18% 30%, var(--purple) 30% 33%, transparent 33% 58%, var(--gold) 58% 60%, var(--red) 60% 100%);
  opacity: 0.72;
}

.hero-content,
.page-hero-content {
  position: relative;
  z-index: 1;
}

.hero-content {
  max-width: 840px;
}

.eyebrow,
.section-kicker {
  margin: 0 0 14px;
  color: var(--green);
  font-size: 0.88rem;
  font-weight: 900;
}

.hero-subtitle {
  margin: 18px 0 0;
  max-width: 760px;
  color: var(--text);
  font-size: 1.3rem;
  font-weight: 700;
}

.hero-copy {
  max-width: 760px;
  margin: 18px 0 0;
  font-size: 1.04rem;
}

.hero-actions,
.inline-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-top: 26px;
}

.btn {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font: inherit;
  font-weight: 900;
  cursor: pointer;
  white-space: nowrap;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease, color 160ms ease;
}

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

.btn-primary {
  color: #061006;
  background: var(--green);
  box-shadow: 0 0 26px rgba(57, 255, 20, 0.22);
}

.btn-secondary {
  color: var(--text);
  background: rgba(229, 229, 229, 0.08);
  border-color: rgba(229, 229, 229, 0.2);
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 34px 0 0;
}

.hero-meta div {
  min-width: 138px;
  padding: 12px 14px;
  border: 1px solid rgba(229, 229, 229, 0.2);
  border-radius: var(--radius);
  background: rgba(14, 16, 15, 0.7);
}

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

.hero-meta dd {
  margin: 4px 0 0;
  color: var(--text);
  font-weight: 900;
}

.page-hero {
  min-height: 440px;
  display: flex;
  align-items: flex-end;
  padding: 116px 0 64px;
}

.page-hero-content {
  max-width: 820px;
}

.page-hero p {
  max-width: 760px;
  margin: 18px 0 0;
  font-size: 1.04rem;
}

.section {
  padding: 78px 0;
}

.band-dark {
  background: var(--bg);
}

.band-stone {
  background:
    linear-gradient(180deg, rgba(229, 229, 229, 0.035), transparent 120px),
    var(--bg-deep);
}

.section-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.95fr);
  gap: 38px;
  align-items: start;
}

.section-copy p:last-child,
.section-heading p:last-child {
  margin-bottom: 0;
}

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

.intro-showcase {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.82fr);
  gap: 30px;
  align-items: stretch;
}

.intro-copy {
  position: relative;
  min-width: 0;
  padding: 28px;
  border: 1px solid rgba(229, 229, 229, 0.16);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(122, 31, 45, 0.18), rgba(26, 28, 26, 0.9) 44%, rgba(176, 38, 255, 0.08)),
    rgba(32, 35, 31, 0.8);
  clip-path: polygon(0 0, calc(100% - 18px) 0, 100% 18px, 100% 100%, 18px 100%, 0 calc(100% - 18px));
}

.lead-text {
  color: var(--text);
  font-size: 1.08rem;
}

.intro-chip-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 22px;
}

.intro-chip-grid div,
.intro-mini-facts div {
  min-width: 0;
  padding: 12px 13px;
  border: 1px solid rgba(229, 229, 229, 0.14);
  border-radius: 7px;
  background: rgba(14, 16, 15, 0.58);
}

.intro-chip-grid span,
.intro-mini-facts span {
  display: block;
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 900;
}

.intro-chip-grid strong,
.intro-mini-facts strong {
  display: block;
  margin-top: 4px;
  color: var(--text);
  font-size: 0.94rem;
  line-height: 1.35;
}

.intro-visual {
  display: grid;
  grid-template-rows: minmax(250px, 1fr) auto;
  gap: 12px;
  min-width: 0;
}

.intro-visual figure {
  height: 100%;
}

.intro-visual figure img {
  height: 100%;
  min-height: 260px;
}

.intro-mini-facts {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
}

.fact-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(122, 31, 45, 0.24), rgba(176, 38, 255, 0.08)),
    rgba(32, 35, 31, 0.82);
  box-shadow: var(--shadow);
}

.fact-list {
  margin: 0;
  padding: 18px;
}

.fact-list div {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  gap: 12px;
  padding: 13px 0;
  border-bottom: 1px solid rgba(229, 229, 229, 0.1);
}

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

.fact-list dt {
  color: var(--green);
  font-weight: 900;
}

.fact-list dd {
  margin: 0;
}

.card-grid {
  display: grid;
  gap: 18px;
}

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

.card-grid.four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.info-card,
.qa-card,
.nav-card,
.compact-block {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(32, 35, 31, 0.78);
}

.info-card,
.qa-card,
.compact-block {
  padding: 22px;
}

.info-card {
  position: relative;
  overflow: hidden;
}

.info-card::before {
  content: "";
  display: block;
  width: 38px;
  height: 3px;
  margin-bottom: 18px;
  background: var(--red-bright);
}

.info-card.accent-green::before {
  background: var(--green);
}

.info-card.accent-purple::before {
  background: var(--purple);
}

.info-card p,
.compact-block p,
.qa-card p {
  margin: 12px 0 0;
}

.feature-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 1.05fr);
  gap: 28px;
  align-items: start;
}

.feature-copy {
  display: grid;
  gap: 14px;
}

.feature-media,
.image-row,
.gallery-grid {
  display: grid;
  gap: 18px;
}

.feature-media {
  grid-template-columns: 1fr;
}

.gameplay-board {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 0.82fr);
  grid-template-areas:
    "heading media"
    "flow media";
  gap: 22px 30px;
  align-items: stretch;
}

.gameplay-heading {
  grid-area: heading;
  max-width: 720px;
}

.gameplay-flow {
  grid-area: flow;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  align-content: start;
}

.gameplay-flow article {
  position: relative;
  min-width: 0;
  min-height: 180px;
  padding: 20px 20px 20px 62px;
  border: 1px solid rgba(229, 229, 229, 0.16);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(122, 31, 45, 0.22), rgba(26, 28, 26, 0.88) 46%, rgba(57, 255, 20, 0.06)),
    rgba(32, 35, 31, 0.82);
  clip-path: polygon(0 0, calc(100% - 15px) 0, 100% 15px, 100% 100%, 15px 100%, 0 calc(100% - 15px));
}

.gameplay-flow article::after {
  content: "";
  position: absolute;
  inset: auto 18px 14px 62px;
  height: 2px;
  background: linear-gradient(90deg, rgba(57, 255, 20, 0.72), transparent);
}

.gameplay-flow span {
  position: absolute;
  left: 18px;
  top: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  color: #061006;
  background: var(--green);
  border-radius: 6px;
  font-weight: 900;
  box-shadow: 0 0 18px rgba(57, 255, 20, 0.28);
}

.gameplay-flow h3 {
  margin-bottom: 10px;
}

.gameplay-flow p {
  margin: 0;
}

.gameplay-media {
  grid-area: media;
  display: grid;
  grid-template-rows: minmax(260px, 1fr) auto;
  gap: 14px;
  min-width: 0;
}

.gameplay-main-shot {
  height: 100%;
}

.gameplay-main-shot img {
  height: 100%;
  min-height: 280px;
}

.gameplay-side-note {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  padding: 13px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(14, 16, 15, 0.66);
}

.gameplay-side-note img {
  width: 96px;
  height: 96px;
  object-fit: contain;
  background: rgba(10, 11, 10, 0.82);
  border: 1px solid rgba(229, 229, 229, 0.16);
  border-radius: 7px;
}

.gameplay-side-note p {
  margin: 0;
}

.image-row {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 30px;
}

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

figure {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(14, 16, 15, 0.62);
}

figure img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: contain;
  background:
    radial-gradient(circle at 50% 50%, rgba(122, 31, 45, 0.18), transparent 68%),
    rgba(10, 11, 10, 0.86);
}

figcaption {
  padding: 12px 14px 14px;
  color: var(--muted);
  font-size: 0.92rem;
}

.wide-figure img {
  min-height: 280px;
}

.nav-card-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}

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

.topic-card {
  position: relative;
  min-height: 210px;
  display: block;
  padding: 20px;
  border: 1px solid rgba(229, 229, 229, 0.16);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(122, 31, 45, 0.22), rgba(26, 28, 26, 0.86) 46%, rgba(176, 38, 255, 0.1)),
    rgba(32, 35, 31, 0.86);
  box-shadow: 0 15px 44px rgba(0, 0, 0, 0.24);
  clip-path: polygon(0 0, calc(100% - 15px) 0, 100% 15px, 100% 100%, 15px 100%, 0 calc(100% - 15px));
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.topic-card:hover,
.topic-card:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(57, 255, 20, 0.5);
  background:
    linear-gradient(135deg, rgba(122, 31, 45, 0.25), rgba(26, 28, 26, 0.9) 42%, rgba(57, 255, 20, 0.08)),
    rgba(32, 35, 31, 0.9);
}

.topic-card span {
  display: inline-flex;
  min-width: 44px;
  min-height: 28px;
  align-items: center;
  justify-content: center;
  padding: 0 10px;
  color: #061006;
  background: var(--green);
  border-radius: 6px;
  font-size: 0.82rem;
  font-weight: 900;
}

.topic-card h3 {
  margin-top: 18px;
}

.topic-card p {
  margin: 10px 0 0;
  font-size: 0.94rem;
}

.nav-card {
  display: block;
  min-height: 208px;
  padding: 18px;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.nav-card:hover,
.nav-card:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(57, 255, 20, 0.52);
  background: rgba(57, 255, 20, 0.08);
}

.nav-card span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 30px;
  color: #061006;
  background: var(--green);
  border-radius: 6px;
  font-weight: 900;
}

.nav-card h3 {
  margin-top: 18px;
}

.nav-card p {
  margin: 10px 0 0;
  font-size: 0.94rem;
}

.timeline {
  margin: 0;
  padding: 0;
  list-style: none;
  border-left: 1px solid rgba(57, 255, 20, 0.46);
}

.rich-list {
  display: grid;
  gap: 12px;
  max-width: 900px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.rich-list li {
  position: relative;
  padding: 16px 18px 16px 48px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(32, 35, 31, 0.78);
}

.rich-list li::before {
  content: "";
  position: absolute;
  left: 18px;
  top: 22px;
  width: 12px;
  height: 12px;
  background: var(--green);
  box-shadow: 0 0 14px rgba(57, 255, 20, 0.65);
  clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%);
}

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

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(14, 16, 15, 0.62);
}

.data-table {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
}

.data-table th,
.data-table td {
  padding: 14px 16px;
  border-bottom: 1px solid rgba(229, 229, 229, 0.12);
  text-align: left;
  vertical-align: top;
}

.data-table th {
  color: var(--green);
  background: rgba(122, 31, 45, 0.24);
  font-weight: 900;
}

.data-table td {
  color: var(--muted);
}

.data-table tr:last-child td {
  border-bottom: 0;
}

.timeline.full {
  max-width: 880px;
}

.timeline li {
  position: relative;
  display: grid;
  grid-template-columns: 138px minmax(0, 1fr);
  gap: 14px;
  padding: 0 0 20px 22px;
}

.timeline li::before {
  content: "";
  position: absolute;
  left: -5px;
  top: 8px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 16px rgba(57, 255, 20, 0.8);
}

.timeline time {
  color: var(--text);
  font-weight: 900;
}

.timeline span {
  color: var(--muted);
}

.text-link {
  display: inline-flex;
  margin-top: 18px;
  color: var(--green);
  font-weight: 900;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 5px;
}

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

details {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(32, 35, 31, 0.82);
  overflow: hidden;
}

summary {
  min-height: 54px;
  display: flex;
  align-items: center;
  padding: 14px 18px;
  color: var(--text);
  font-weight: 900;
  cursor: pointer;
}

details p {
  margin: 0;
  padding: 0 18px 18px;
}

.qa-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.guide-flow {
  display: grid;
  gap: 16px;
  max-width: 880px;
}

.guide-flow article {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr);
  gap: 18px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(32, 35, 31, 0.78);
}

.guide-flow h2,
.guide-flow p {
  grid-column: 2;
}

.guide-flow h2 {
  grid-row: 1;
}

.guide-flow p {
  margin: 0;
}

.step-number {
  grid-row: 1 / span 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  color: #061006;
  background: var(--green);
  border-radius: var(--radius);
  font-weight: 900;
}

.site-footer {
  padding: 46px 0;
  border-top: 1px solid rgba(229, 229, 229, 0.14);
  background: #0A0B0A;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.8fr 1fr;
  gap: 28px;
}

.footer-title {
  margin: 0 0 12px;
  color: var(--text);
  font-weight: 900;
}

.site-footer a {
  display: block;
  width: fit-content;
  max-width: 100%;
  margin: 8px 0;
  color: var(--muted);
}

.site-footer a:hover,
.site-footer a:focus-visible {
  color: var(--green);
}

.download-toast {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 200;
  max-width: min(340px, calc(100% - 36px));
  padding: 13px 16px;
  border: 1px solid rgba(57, 255, 20, 0.48);
  border-radius: var(--radius);
  color: var(--text);
  background: rgba(14, 16, 15, 0.96);
  box-shadow: var(--shadow);
}

@media (max-width: 1080px) {
  .card-grid.four,
  .nav-card-grid,
  .topic-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .feature-layout,
  .intro-showcase,
  .gameplay-board,
  .section-grid {
    grid-template-columns: 1fr;
  }

  .gameplay-board {
    grid-template-areas:
      "heading"
      "media"
      "flow";
  }

  .intro-visual {
    grid-template-rows: auto;
  }

  .intro-visual figure img,
  .gameplay-main-shot img {
    min-height: 0;
  }
}

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

  h2 {
    font-size: 1.72rem;
  }

  .site-header {
    padding: 0 18px;
  }

  .brand-text {
    max-width: 220px;
  }

  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: fixed;
    inset: 72px 12px auto;
    display: none;
    grid-template-columns: 1fr;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: rgba(14, 16, 15, 0.98);
    box-shadow: var(--shadow);
  }

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

  .site-nav a {
    justify-content: flex-start;
    min-height: 44px;
  }

  .hero-home {
    min-height: 78vh;
    padding: 104px 0 52px;
  }

  .page-hero {
    min-height: 390px;
    padding: 96px 0 48px;
  }

  .hero-shade,
  .page-hero::before {
    background:
      linear-gradient(90deg, rgba(14, 16, 15, 0.96), rgba(14, 16, 15, 0.78)),
      linear-gradient(0deg, rgba(26, 28, 26, 0.98), rgba(26, 28, 26, 0.36));
  }

  .hero-subtitle {
    font-size: 1.08rem;
  }

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

  .gameplay-flow {
    grid-template-columns: 1fr;
  }

  .gameplay-flow article {
    min-height: 0;
  }

  .section {
    padding: 56px 0;
  }

  .image-row,
  .gallery-grid,
  .qa-grid,
  .card-grid.three,
  .card-grid.four,
  .nav-card-grid,
  .topic-grid {
    grid-template-columns: 1fr;
  }

  .nav-card {
    min-height: 0;
  }

  .topic-card {
    min-height: 0;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }
}

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

  h1 {
    font-size: 2.15rem;
  }

  h2 {
    font-size: 1.45rem;
  }

  .brand-text {
    max-width: 180px;
    font-size: 0.92rem;
  }

  .hero-actions,
  .inline-actions {
    align-items: stretch;
  }

  .btn {
    width: 100%;
    white-space: normal;
    text-align: center;
  }

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

  .fact-list div {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .timeline li {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .guide-flow article {
    grid-template-columns: 1fr;
  }

  .guide-flow h2,
  .guide-flow p {
    grid-column: 1;
  }

  .step-number {
    grid-row: auto;
  }

  .intro-copy {
    padding: 22px;
  }

  .gameplay-side-note {
    grid-template-columns: 1fr;
  }

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

  .gameplay-side-note img {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
  }
}

/* Strict theme pass: high-contrast moss dark, acid gothic, stained glass, reverse tower scroll. */
body.tower-page {
  background:
    radial-gradient(circle at 82% 8%, rgba(176, 38, 255, 0.12), transparent 24rem),
    radial-gradient(circle at 12% 18%, rgba(122, 31, 45, 0.22), transparent 28rem),
    linear-gradient(180deg, #1A1C1A 0%, #171A17 48%, #1A1C1A 100%);
}

body.tower-page::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 250;
  pointer-events: none;
  opacity: 0.16;
  background:
    repeating-linear-gradient(0deg, transparent 0 3px, rgba(229, 229, 229, 0.06) 3px 4px),
    linear-gradient(115deg, transparent 0 36%, rgba(57, 255, 20, 0.07) 36% 37%, transparent 37% 68%, rgba(176, 38, 255, 0.08) 68% 69%, transparent 69%);
  mix-blend-mode: screen;
  animation: retroFlicker 4.8s steps(3, end) infinite;
}

.tower-main {
  position: relative;
  overflow: hidden;
}

.tower-main::before {
  content: "";
  position: fixed;
  inset: 72px 0 0;
  z-index: -1;
  pointer-events: none;
  background:
    linear-gradient(90deg, transparent 0 calc(50% - 2px), rgba(122, 31, 45, 0.42) calc(50% - 2px) calc(50% + 2px), transparent calc(50% + 2px)),
    repeating-linear-gradient(180deg, rgba(229, 229, 229, 0.04) 0 2px, transparent 2px 96px);
  opacity: 0.52;
}

.site-header {
  border-bottom-color: rgba(122, 31, 45, 0.6);
  background:
    linear-gradient(90deg, rgba(26, 28, 26, 0.96), rgba(14, 16, 15, 0.92)),
    repeating-linear-gradient(90deg, transparent 0 18px, rgba(229, 229, 229, 0.04) 18px 19px);
}

.brand-mark,
.site-nav .nav-detail,
.btn-primary,
.nav-card span,
.step-number {
  background:
    linear-gradient(135deg, var(--green), #C6FFBC 52%, var(--purple));
  box-shadow:
    0 0 20px rgba(57, 255, 20, 0.34),
    0 0 34px rgba(176, 38, 255, 0.22);
}

.brand-mark,
.btn,
.nav-card span,
.step-number {
  clip-path: polygon(10% 0, 90% 0, 100% 34%, 90% 100%, 10% 100%, 0 66%);
}

.site-nav a,
.btn-secondary {
  border: 1px solid rgba(229, 229, 229, 0.18);
  background:
    linear-gradient(180deg, rgba(229, 229, 229, 0.08), rgba(122, 31, 45, 0.12));
}

.site-nav a:hover,
.site-nav a:focus-visible,
.btn-secondary:hover,
.btn-secondary:focus-visible {
  border-color: rgba(176, 38, 255, 0.55);
  box-shadow: inset 0 0 0 1px rgba(57, 255, 20, 0.18);
}

.tower-runner {
  position: fixed;
  left: clamp(10px, 3vw, 44px);
  bottom: 28px;
  z-index: 90;
  width: 46px;
  height: 160px;
  pointer-events: none;
}

.tower-rail {
  position: absolute;
  left: 21px;
  bottom: 0;
  width: 4px;
  height: 100%;
  background:
    repeating-linear-gradient(180deg, rgba(229, 229, 229, 0.7) 0 8px, transparent 8px 17px),
    linear-gradient(180deg, rgba(176, 38, 255, 0.5), rgba(57, 255, 20, 0.56));
  box-shadow: 0 0 18px rgba(57, 255, 20, 0.24);
}

.runner-sprite {
  position: absolute;
  left: 8px;
  bottom: 8px;
  --runner-progress: 0px;
  width: 30px;
  height: 42px;
  image-rendering: pixelated;
  background:
    linear-gradient(#E5E5E5 0 0) 10px 0 / 10px 7px,
    linear-gradient(#B9BDB7 0 0) 7px 7px / 16px 8px,
    linear-gradient(#1A1C1A 0 0) 8px 15px / 14px 16px,
    linear-gradient(#7A1F2D 0 0) 5px 18px / 5px 12px,
    linear-gradient(#7A1F2D 0 0) 20px 18px / 5px 12px,
    linear-gradient(#E5E5E5 0 0) 8px 31px / 5px 10px,
    linear-gradient(#E5E5E5 0 0) 17px 31px / 5px 10px;
  background-repeat: no-repeat;
  filter: drop-shadow(0 0 8px rgba(57, 255, 20, 0.62));
  animation: runnerJump 1.2s steps(2, end) infinite;
}

.tower-stage {
  position: relative;
  border-top: 1px solid rgba(122, 31, 45, 0.5);
  box-shadow: inset 0 1px rgba(229, 229, 229, 0.08);
}

.tower-stage::before {
  content: attr(data-stage-label);
  position: absolute;
  top: 22px;
  right: max(18px, calc((100% - 1120px) / 2));
  z-index: 3;
  padding: 5px 11px;
  color: var(--green);
  border: 1px solid rgba(57, 255, 20, 0.38);
  background: rgba(14, 16, 15, 0.82);
  border-radius: 6px;
  font-size: 0.82rem;
  font-weight: 900;
  box-shadow: 0 0 22px rgba(57, 255, 20, 0.14);
}

.tower-stage::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 23px;
  z-index: 2;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(122, 31, 45, 0.7) 0 8%, transparent 8% 14%, rgba(229, 229, 229, 0.22) 14% 16%, transparent 16% 29%, rgba(176, 38, 255, 0.55) 29% 32%, transparent 32% 61%, rgba(57, 255, 20, 0.48) 61% 62%, transparent 62% 100%),
    repeating-linear-gradient(90deg, rgba(229, 229, 229, 0.16) 0 3px, transparent 3px 11px);
  clip-path: polygon(0 0, 6% 0, 6% 50%, 10% 50%, 10% 0, 23% 0, 23% 70%, 27% 70%, 27% 0, 42% 0, 42% 42%, 48% 42%, 48% 0, 71% 0, 71% 58%, 75% 58%, 75% 0, 100% 0, 100% 100%, 0 100%);
}

.stage-gate {
  border-top: 0;
}

.hero-home {
  min-height: 92vh;
  padding: 112px 0 58px;
}

.tower-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.94fr) minmax(360px, 0.72fr);
  gap: 34px;
  align-items: end;
  max-width: min(1120px, calc(100% - 40px));
}

.hero-copy-stack {
  min-width: 0;
}

.hero-content h1,
.page-hero-content h1,
.section-heading h2,
.section-copy h2,
.section-grid h2 {
  text-shadow:
    0 0 16px rgba(176, 38, 255, 0.22),
    0 0 26px rgba(57, 255, 20, 0.12);
}

.hero-content h1::after,
.section-heading h2::after,
.section-copy h2::after,
.section-grid h2::after {
  content: "";
  display: block;
  width: 82px;
  height: 4px;
  margin-top: 14px;
  background:
    linear-gradient(90deg, var(--green), var(--purple), var(--red));
  box-shadow: 0 0 18px rgba(57, 255, 20, 0.42);
  clip-path: polygon(0 0, 92% 0, 100% 50%, 92% 100%, 0 100%, 8% 50%);
}

.stained-window {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 0.85fr 0.9fr;
  grid-template-rows: 150px 128px 128px;
  gap: 8px;
  align-self: center;
  min-height: 430px;
  padding: 13px;
  border: 2px solid rgba(229, 229, 229, 0.28);
  border-bottom-width: 6px;
  border-radius: 8px 8px 3px 3px;
  background:
    linear-gradient(180deg, rgba(229, 229, 229, 0.12), rgba(122, 31, 45, 0.32)),
    rgba(14, 16, 15, 0.86);
  box-shadow:
    var(--shadow),
    inset 0 0 0 1px rgba(57, 255, 20, 0.16),
    0 0 44px rgba(176, 38, 255, 0.18);
  transform: perspective(900px) rotateY(-8deg) rotateX(2deg);
  transform-origin: center;
}

.stained-window::before {
  content: "";
  position: absolute;
  inset: -18px 14% auto;
  height: 42px;
  border: 2px solid rgba(229, 229, 229, 0.25);
  border-bottom: 0;
  border-radius: 80px 80px 0 0;
  background: rgba(14, 16, 15, 0.72);
}

.stained-window::after {
  content: "";
  position: absolute;
  inset: 13px;
  pointer-events: none;
  background:
    linear-gradient(120deg, transparent 0 38%, rgba(57, 255, 20, 0.22) 44%, transparent 52% 100%),
    repeating-linear-gradient(90deg, transparent 0 54px, rgba(229, 229, 229, 0.14) 54px 57px);
  mix-blend-mode: screen;
  animation: glassGlint 5s ease-in-out infinite;
}

.glass-pane {
  position: relative;
  overflow: hidden;
  border: 2px solid rgba(229, 229, 229, 0.22);
  border-radius: 7px;
  background: #0E100F;
}

.glass-pane::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 30% 20%, rgba(57, 255, 20, 0.24), transparent 28%),
    radial-gradient(circle at 75% 72%, rgba(176, 38, 255, 0.28), transparent 28%),
    linear-gradient(180deg, rgba(122, 31, 45, 0.08), rgba(26, 28, 26, 0.42));
  mix-blend-mode: screen;
}

.glass-pane img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: rgba(10, 11, 10, 0.9);
  filter: saturate(1.2) contrast(1.18) brightness(0.82);
  transform: none;
  animation: none;
}

.glass-pane:nth-child(2) img,
.glass-pane:nth-child(4) img {
  animation-delay: -3s;
}

.pane-tall {
  grid-row: 1 / span 3;
}

.pane-wide {
  grid-column: 2 / span 2;
}

.fact-panel,
.info-card,
.qa-card,
.nav-card,
.compact-block,
details,
figure {
  border-color: rgba(229, 229, 229, 0.16);
  background:
    linear-gradient(135deg, rgba(122, 31, 45, 0.22), rgba(26, 28, 26, 0.9) 42%, rgba(176, 38, 255, 0.08)),
    rgba(32, 35, 31, 0.86);
  box-shadow:
    inset 0 0 0 1px rgba(229, 229, 229, 0.04),
    0 15px 44px rgba(0, 0, 0, 0.24);
}

.info-card,
.nav-card,
.compact-block,
.qa-card {
  clip-path: polygon(0 0, calc(100% - 15px) 0, 100% 15px, 100% 100%, 15px 100%, 0 calc(100% - 15px));
}

.info-card::after,
.nav-card::after,
.compact-block::after,
.qa-card::after {
  content: "";
  position: absolute;
  right: 12px;
  top: 12px;
  width: 30px;
  height: 30px;
  border-top: 1px solid rgba(57, 255, 20, 0.42);
  border-right: 1px solid rgba(176, 38, 255, 0.44);
  pointer-events: none;
}

.nav-card,
.compact-block,
.qa-card {
  position: relative;
}

.band-dark,
.band-stone {
  background:
    radial-gradient(circle at 8% 10%, rgba(122, 31, 45, 0.12), transparent 28rem),
    radial-gradient(circle at 86% 78%, rgba(176, 38, 255, 0.08), transparent 26rem),
    linear-gradient(180deg, rgba(26, 28, 26, 0.98), rgba(20, 23, 20, 0.98));
}

.band-stone {
  background:
    radial-gradient(circle at 78% 18%, rgba(57, 255, 20, 0.07), transparent 24rem),
    linear-gradient(180deg, rgba(229, 229, 229, 0.04), transparent 140px),
    #111411;
}

.gallery-grid figure,
.image-row figure,
.feature-media figure {
  transform: rotate(-0.6deg);
}

.gallery-grid figure:nth-child(even),
.image-row figure:nth-child(even),
.feature-media figure:nth-child(even) {
  transform: rotate(0.7deg);
}

.site-footer {
  position: relative;
  background:
    linear-gradient(180deg, rgba(122, 31, 45, 0.24), rgba(10, 11, 10, 0.98)),
    #0A0B0A;
}

.site-footer::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 18px;
  background:
    linear-gradient(90deg, var(--red) 0 20%, transparent 20% 31%, var(--purple) 31% 34%, transparent 34% 64%, var(--green) 64% 65%, transparent 65% 100%);
  opacity: 0.72;
}

@keyframes glassGlint {
  0%,
  100% {
    transform: translateX(-38%);
    opacity: 0.1;
  }
  48%,
  56% {
    transform: translateX(22%);
    opacity: 0.54;
  }
}

@keyframes retroFlicker {
  0%,
  100% {
    opacity: 0.12;
  }
  52% {
    opacity: 0.2;
  }
  54% {
    opacity: 0.08;
  }
}

@keyframes runnerJump {
  0%,
  100% {
    transform: translateY(calc(var(--runner-progress) * -1));
  }
  50% {
    transform: translateY(calc((var(--runner-progress) * -1) - 8px));
  }
}

@media (max-width: 1080px) {
  .tower-hero-grid {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .stained-window {
    width: min(620px, 100%);
    min-height: 360px;
    transform: none;
  }
}

@media (max-width: 860px) {
  .tower-runner {
    display: none;
  }

  .tower-stage::before {
    top: 12px;
    right: 14px;
  }

  .stained-window {
    grid-template-rows: 118px 108px 108px;
    min-height: 350px;
  }
}

@media (max-width: 560px) {
  .tower-hero-grid {
    max-width: min(100% - 28px, 1120px);
  }

  .stained-window {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 132px 132px 132px;
    gap: 6px;
    min-height: 0;
    padding: 9px;
  }

  .pane-tall,
  .pane-wide {
    grid-column: auto;
    grid-row: auto;
  }

  .glass-pane:nth-child(5) {
    grid-column: 1 / span 2;
  }
}
