/* ============================================================
   摇曳放置英雄 · 官方网站
   pixel-fantasy / dark navy / gold
   ============================================================ */

@font-face {
  font-family: "FusionPixel";
  src: url("../fonts/fusion-pixel-subset.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "BoldPixels";
  src: url("../fonts/BoldPixels.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #070b14;
  --bg-deep: #04070d;
  --panel: #0d1628;
  --panel-2: #111c32;
  --ink: #f2eddd;
  --ink-soft: #d7dce8;
  --dim: #9ba7be;
  --faint: #65718a;
  --gold: #f6c945;
  --gold-2: #ffe9a3;
  --gold-deep: #8a5a12;
  --blue: #69b5ff;
  --cyan: #7ce7ff;
  --green: #7de08a;
  --purple: #b98cff;
  --red: #ff756b;
  --line: rgba(246, 201, 69, 0.24);
  --line-soft: rgba(255, 255, 255, 0.09);
  --max: 1180px;
  --pixel: "FusionPixel", "Microsoft YaHei", "PingFang SC", sans-serif;
  --display: "BoldPixels", "FusionPixel", monospace;
  --shadow-panel: 10px 10px 0 rgba(0, 0, 0, 0.38);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  background: var(--bg);
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background:
    radial-gradient(90% 46% at 50% -10%, rgba(35, 62, 122, 0.22), transparent 70%),
    var(--bg);
  color: var(--ink);
  font-family: var(--pixel);
  font-size: 16px;
  line-height: 1.85;
  -webkit-font-smoothing: none;
  text-rendering: optimizeSpeed;
}

body.is-locked {
  overflow: hidden;
}

::selection {
  background: var(--gold);
  color: #1b1002;
}

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

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

button {
  font: inherit;
}

h1,
h2,
h3,
h4,
p,
ul,
dl,
dd,
figure {
  margin: 0;
}

ul {
  padding: 0;
  list-style: none;
}

svg {
  display: block;
}

:focus-visible {
  outline: 2px dashed var(--gold);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 200;
  padding: 10px 16px;
  background: var(--gold);
  color: #1b1002;
  transform: translateY(-160%);
  transition: transform 0.2s;
}

.skip-link:focus {
  transform: none;
}

.container {
  width: min(var(--max), calc(100% - 48px));
  margin-inline: auto;
}

.starfield {
  position: fixed;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: 0.75;
}

main,
.site-footer {
  position: relative;
  z-index: 1;
}

/* ---------- buttons ---------- */

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 0 24px;
  border: 2px solid transparent;
  border-radius: 0;
  background: none;
  color: var(--ink);
  font-family: var(--pixel);
  font-size: 16px;
  line-height: 1;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition:
    transform 0.12s steps(2),
    box-shadow 0.12s steps(2),
    border-color 0.2s,
    background-color 0.2s;
}

.btn svg {
  width: 16px;
  height: 16px;
  flex: none;
}

.btn-gold {
  border-color: #ffe9a3;
  background: linear-gradient(180deg, #fff0b0 0%, #f6c945 52%, #dfa52a 100%);
  color: #2b1a03;
  box-shadow:
    inset 0 -4px 0 rgba(116, 70, 4, 0.35),
    4px 4px 0 #000;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.32);
}

.btn-gold:hover {
  transform: translate(-2px, -2px);
  box-shadow:
    inset 0 -4px 0 rgba(116, 70, 4, 0.35),
    6px 6px 0 #000,
    0 0 34px rgba(246, 201, 69, 0.22);
}

.btn-gold:active {
  transform: translate(2px, 2px);
  box-shadow:
    inset 0 -4px 0 rgba(116, 70, 4, 0.35),
    1px 1px 0 #000;
}

.btn-blue {
  border-color: #c6ecff;
  background: linear-gradient(180deg, #8fe2ff 0%, #2f8cff 52%, #0f5bcc 100%);
  color: #061a33;
  box-shadow:
    inset 0 -4px 0 rgba(3, 36, 92, 0.4),
    4px 4px 0 #000;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.28);
}

.btn-blue:hover {
  transform: translate(-2px, -2px);
  box-shadow:
    inset 0 -4px 0 rgba(3, 36, 92, 0.4),
    6px 6px 0 #000,
    0 0 34px rgba(47, 140, 255, 0.4);
}

.btn-blue:active {
  transform: translate(2px, 2px);
  box-shadow:
    inset 0 -4px 0 rgba(3, 36, 92, 0.4),
    1px 1px 0 #000;
}

.btn-ghost {
  border-color: rgba(246, 201, 69, 0.42);
  background: rgba(8, 13, 26, 0.52);
  color: var(--ink-soft);
  box-shadow: 4px 4px 0 rgba(0, 0, 0, 0.55);
}

.btn-ghost:hover {
  border-color: var(--gold);
  background: rgba(246, 201, 69, 0.09);
  color: var(--gold-2);
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0 rgba(0, 0, 0, 0.55);
}

.btn-ghost:active {
  transform: translate(1px, 1px);
  box-shadow: 2px 2px 0 rgba(0, 0, 0, 0.55);
}

.btn-small {
  min-height: 38px;
  padding: 0 16px;
  border-width: 1px;
  font-size: 12px;
}

.btn-wide {
  width: 100%;
}

/* ---------- header ---------- */

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

.site-header.is-scrolled {
  padding: 9px 0;
  border-bottom-color: var(--line-soft);
  background: rgba(5, 9, 17, 0.88);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex: none;
}

.brand-icon {
  display: block;
  width: 40px;
  height: 40px;
  border: 2px solid rgba(246, 201, 69, 0.55);
  background: #0b1222;
  box-shadow: 3px 3px 0 #000;
  overflow: hidden;
}

.brand-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  image-rendering: pixelated;
}

.brand-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  line-height: 1.2;
}

.brand-text strong {
  font-size: 16px;
  font-weight: 400;
  letter-spacing: 0.06em;
  color: var(--ink);
}

.brand-text em {
  font-family: var(--display);
  font-style: normal;
  font-size: 9px;
  letter-spacing: 0.2em;
  color: var(--gold);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
  margin-left: auto;
}

.nav-links a {
  position: relative;
  padding: 6px 0;
  color: var(--dim);
  font-size: 13px;
  letter-spacing: 0.08em;
  transition: color 0.2s;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: width 0.2s steps(3);
}

.nav-links a:hover,
.nav-links a.is-active {
  color: var(--gold-2);
}

.nav-links a:hover::after,
.nav-links a.is-active::after {
  width: 100%;
}

.nav-cta {
  flex: none;
  min-height: 38px;
  padding: 0 18px;
  font-size: 12px;
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  margin-left: auto;
  padding: 10px;
  border: 1px solid var(--line);
  background: rgba(8, 13, 26, 0.6);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  margin: 4px 0;
  background: var(--gold-2);
  transition: transform 0.2s, opacity 0.2s;
}

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

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

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

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: flex;
  flex-direction: column;
  gap: 28px;
  padding: 110px 24px 40px;
  background:
    radial-gradient(80% 50% at 50% 0, rgba(246, 201, 69, 0.12), transparent 60%),
    #050911;
  visibility: hidden;
  opacity: 0;
  transform: translateY(-12px);
  transition:
    opacity 0.22s,
    transform 0.22s,
    visibility 0.22s;
}

.mobile-menu.is-open {
  visibility: visible;
  opacity: 1;
  transform: none;
}

.mobile-menu nav {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--line-soft);
}

.mobile-menu nav a {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 4px;
  border-bottom: 1px solid var(--line-soft);
  font-size: 24px;
  color: var(--ink);
}

.mobile-menu nav a span {
  font-family: var(--display);
  font-size: 10px;
  letter-spacing: 0.1em;
  color: var(--gold);
}

.mobile-menu > .btn {
  width: 100%;
}

.mobile-menu > p {
  color: var(--faint);
  font-size: 11px;
  text-align: center;
}

/* ---------- hero ---------- */

.hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 100svh;
  padding: 148px 0 92px;
  overflow: hidden;
  background: #070b14;
}

.hero-art {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 66% center;
  transform: scale(1.02);
  filter: saturate(1.04);
}

.hero-shade {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(
      90deg,
      rgba(7, 11, 20, 0.99) 0%,
      rgba(7, 11, 20, 0.97) 23%,
      rgba(7, 11, 20, 0.82) 41%,
      rgba(7, 11, 20, 0.3) 67%,
      rgba(7, 11, 20, 0.44) 100%
    ),
    linear-gradient(
      180deg,
      rgba(7, 11, 20, 0.92) 0%,
      rgba(7, 11, 20, 0.18) 16%,
      rgba(7, 11, 20, 0.05) 58%,
      #070b14 100%
    );
}

.hero-scanlines {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: repeating-linear-gradient(
    0deg,
    rgba(0, 0, 0, 0.16) 0,
    rgba(0, 0, 0, 0.16) 1px,
    transparent 1px,
    transparent 3px
  );
  opacity: 0.22;
  mix-blend-mode: multiply;
}

.hero-inner {
  position: relative;
  z-index: 3;
  width: min(var(--max), calc(100% - 48px));
  margin-inline: auto;
}

.hero-copy {
  max-width: 650px;
}

.kicker {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--gold-2);
  font-family: var(--display);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-shadow: 0 1px 0 #000;
}

.kicker-line {
  display: block;
  width: 28px;
  height: 2px;
  background: var(--gold);
  box-shadow: 4px 0 0 rgba(246, 201, 69, 0.35);
}

.slash {
  color: rgba(255, 233, 163, 0.4);
}

h1 {
  margin: 16px 0 0;
}

.title-en {
  display: block;
  margin-bottom: 8px;
  color: #d5e5ff;
  font-family: var(--display);
  font-size: 18px;
  letter-spacing: 0.42em;
  text-shadow:
    0 2px 0 #000,
    0 0 22px rgba(105, 181, 255, 0.42);
}

.title-cn {
  display: block;
  padding-bottom: 8px;
  background: linear-gradient(180deg, #fff9df 0%, #ffe9a3 34%, #f6c945 62%, #c8891b 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-size: clamp(48px, 7.2vw, 88px);
  line-height: 1.08;
  letter-spacing: 0.015em;
  filter:
    drop-shadow(0 4px 0 rgba(61, 33, 0, 0.9))
    drop-shadow(0 8px 0 rgba(0, 0, 0, 0.55))
    drop-shadow(0 0 26px rgba(246, 201, 69, 0.18));
}

.hero-tagline {
  margin-top: 18px;
  color: var(--gold-2);
  font-size: clamp(20px, 2vw, 24px);
  letter-spacing: 0.06em;
  text-shadow: 0 2px 0 rgba(0, 0, 0, 0.65);
}

.hero-desc {
  max-width: 510px;
  margin-top: 12px;
  color: #b8c3d7;
  font-size: 15px;
  line-height: 1.9;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.7);
}

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

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  margin-top: 26px;
  color: #8f9cb5;
  font-size: 11px;
  letter-spacing: 0.04em;
}

.hero-meta span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.dot {
  width: 6px;
  height: 6px;
  display: inline-block;
}

.dot-gold {
  background: var(--gold);
  box-shadow: 0 0 8px rgba(246, 201, 69, 0.7);
}

.dot-blue {
  background: var(--blue);
  box-shadow: 0 0 8px rgba(105, 181, 255, 0.7);
}

.dot-green {
  background: var(--green);
  box-shadow: 0 0 8px rgba(125, 224, 138, 0.7);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  margin-top: 54px;
  border: 1px solid var(--line);
  background: rgba(5, 9, 18, 0.58);
  box-shadow: 6px 6px 0 rgba(0, 0, 0, 0.35);
  -webkit-backdrop-filter: blur(7px);
  backdrop-filter: blur(7px);
}

.stat {
  padding: 16px 20px 15px;
  border-right: 1px solid var(--line-soft);
}

.stat:last-child {
  border-right: 0;
}

.stat b {
  display: flex;
  align-items: baseline;
  gap: 2px;
  color: var(--gold-2);
  font-family: var(--display);
  font-weight: 400;
  font-size: 30px;
  line-height: 1.2;
  text-shadow: 0 3px 0 #000;
}

.stat b em {
  font-style: normal;
  font-size: 14px;
  color: var(--gold);
}

.stat > span {
  display: block;
  margin-top: 3px;
  color: #8e9bb4;
  font-size: 11px;
  letter-spacing: 0.05em;
}

.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 22px;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  color: rgba(215, 220, 232, 0.55);
  font-family: var(--display);
  font-size: 8px;
  letter-spacing: 0.3em;
  transform: translateX(-50%);
}

.scroll-cue i {
  width: 12px;
  height: 12px;
  border-right: 2px solid rgba(246, 201, 69, 0.7);
  border-bottom: 2px solid rgba(246, 201, 69, 0.7);
  transform: rotate(45deg);
  animation: cue 1.6s steps(4) infinite;
}

@keyframes cue {
  0%,
  100% {
    transform: translateY(0) rotate(45deg);
    opacity: 0.45;
  }
  50% {
    transform: translateY(5px) rotate(45deg);
    opacity: 1;
  }
}

/* ---------- ticker ---------- */

.ticker {
  position: relative;
  z-index: 2;
  overflow: hidden;
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
  background: #0a1020;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
}

.ticker-track {
  display: flex;
  align-items: center;
  width: max-content;
  padding: 13px 0;
  animation: ticker 38s linear infinite;
}

.ticker-track span {
  padding: 0 28px;
  color: #b9c6dd;
  font-family: var(--display);
  font-size: 10px;
  letter-spacing: 0.22em;
  white-space: nowrap;
}

.ticker-track i {
  width: 6px;
  height: 6px;
  flex: none;
  background: var(--gold);
  transform: rotate(45deg);
}

@keyframes ticker {
  to {
    transform: translateX(-50%);
  }
}

/* ---------- section shell ---------- */

.section {
  position: relative;
  padding: 118px 0;
  overflow: hidden;
}

.section::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.022) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.022) 1px, transparent 1px);
  background-size: 48px 48px;
  -webkit-mask-image: radial-gradient(80% 70% at 50% 40%, #000, transparent 82%);
  mask-image: radial-gradient(80% 70% at 50% 40%, #000, transparent 82%);
}

.section > .container {
  position: relative;
  z-index: 1;
}

#gameplay {
  background:
    radial-gradient(70% 45% at 10% 20%, rgba(105, 181, 255, 0.07), transparent 68%),
    linear-gradient(180deg, #070b14 0%, #091020 100%);
}

.section-heroes {
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
  background:
    radial-gradient(75% 48% at 50% 0%, rgba(246, 201, 69, 0.08), transparent 66%),
    radial-gradient(60% 40% at 100% 70%, rgba(185, 140, 255, 0.05), transparent 60%),
    linear-gradient(180deg, #0a1120 0%, #070b14 100%);
}

.section-world {
  background:
    radial-gradient(60% 40% at 50% 0%, rgba(105, 181, 255, 0.06), transparent 62%),
    linear-gradient(180deg, #070b14 0%, #080e1b 100%);
}

.section-gallery {
  background: #070b14;
}

.section-journal {
  border-top: 1px solid var(--line-soft);
  background:
    radial-gradient(50% 40% at 80% 10%, rgba(246, 201, 69, 0.06), transparent 60%),
    linear-gradient(180deg, #0a0f1c 0%, #070b14 100%);
}

.section-download {
  padding-top: 80px;
  padding-bottom: 110px;
  background:
    radial-gradient(60% 55% at 50% 50%, rgba(246, 201, 69, 0.08), transparent 70%),
    #070b14;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--gold);
  font-family: var(--display);
  font-size: 10px;
  letter-spacing: 0.2em;
}

.eyebrow::before {
  content: "";
  display: block;
  width: 18px;
  height: 2px;
  background: var(--gold);
  box-shadow: 3px 0 0 rgba(246, 201, 69, 0.3);
}

.section-title {
  margin-top: 14px;
  color: #f7f0dd;
  font-size: clamp(36px, 4.4vw, 60px);
  font-weight: 400;
  line-height: 1.18;
  letter-spacing: 0.01em;
  text-shadow:
    0 3px 0 rgba(0, 0, 0, 0.55),
    0 0 30px rgba(0, 0, 0, 0.4);
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 48px;
  margin-bottom: 56px;
}

.section-head-side {
  max-width: 400px;
  padding-bottom: 7px;
}

.section-head-side > p {
  color: var(--dim);
  font-size: 14px;
  line-height: 1.85;
}

.soon-badge {
  display: inline-flex;
  align-items: center;
  margin-top: 12px;
  padding: 4px 9px;
  border: 1px dashed rgba(246, 201, 69, 0.4);
  color: var(--gold-2);
  font-size: 10px;
  letter-spacing: 0.05em;
}

.lead {
  color: var(--ink-soft);
  font-size: 17px;
  line-height: 1.95;
}

.body-text {
  margin-top: 16px;
  color: var(--dim);
  font-size: 14px;
  line-height: 1.95;
}

.visual-note {
  margin-top: 10px;
  color: var(--faint);
  font-size: 10px;
  letter-spacing: 0.04em;
  text-align: right;
}

/* ---------- gameplay intro ---------- */

.intro-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  align-items: center;
  gap: 64px;
}

.intro-copy .section-title {
  margin-top: 12px;
}

.intro-copy .lead {
  margin-top: 22px;
}

.check-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 18px;
  margin-top: 28px;
}

.check-list li {
  display: flex;
  align-items: center;
  gap: 9px;
  color: #c8d2e3;
  font-size: 12px;
}

.check {
  position: relative;
  width: 14px;
  height: 14px;
  flex: none;
  border: 1px solid rgba(246, 201, 69, 0.5);
  background: rgba(246, 201, 69, 0.07);
}

.check::after {
  content: "";
  position: absolute;
  left: 4px;
  top: 1px;
  width: 4px;
  height: 7px;
  border-right: 1px solid var(--gold-2);
  border-bottom: 1px solid var(--gold-2);
  transform: rotate(42deg);
}

.game-window {
  position: relative;
  border: 1px solid rgba(246, 201, 69, 0.36);
  background: #0a1020;
  box-shadow:
    9px 9px 0 rgba(0, 0, 0, 0.45),
    0 30px 60px -24px #000;
}

.game-window::after {
  content: "";
  position: absolute;
  inset: 7px;
  z-index: 3;
  border: 1px solid rgba(255, 255, 255, 0.08);
  pointer-events: none;
}

.window-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  border-bottom: 1px solid rgba(246, 201, 69, 0.2);
  background: #111a2e;
  color: #8d9db9;
  font-family: var(--display);
  font-size: 8px;
  letter-spacing: 0.14em;
}

.window-dots {
  display: flex;
  gap: 4px;
}

.window-dots i {
  width: 6px;
  height: 6px;
  background: #c95b4e;
}

.window-dots i:nth-child(2) {
  background: #d5a33a;
}

.window-dots i:nth-child(3) {
  background: #5f9f66;
}

.window-title {
  flex: 1;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.window-live {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--green);
  white-space: nowrap;
}

.window-live i {
  width: 5px;
  height: 5px;
  background: var(--green);
  animation: pulse 1.8s steps(2) infinite;
}

.window-body {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #0b1222;
}

.window-body > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.window-body::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(4, 8, 16, 0.18), transparent 30%, transparent 60%, rgba(4, 8, 16, 0.55)),
    repeating-linear-gradient(0deg, rgba(0, 0, 0, 0.12) 0 1px, transparent 1px 3px);
  pointer-events: none;
}

.hud-card {
  position: absolute;
  left: 16px;
  top: 16px;
  z-index: 2;
  min-width: 176px;
  padding: 11px 14px 10px;
  border: 1px solid rgba(246, 201, 69, 0.55);
  background: rgba(5, 9, 18, 0.82);
  box-shadow: 4px 4px 0 rgba(0, 0, 0, 0.45);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
}

.hud-status {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--green);
  font-size: 10px;
  letter-spacing: 0.08em;
}

.hud-status i {
  width: 5px;
  height: 5px;
  background: var(--green);
  animation: pulse 1.6s steps(2) infinite;
}

.hud-timer {
  margin-top: 3px;
  color: #fff8e2;
  font-family: var(--display);
  font-size: 23px;
  letter-spacing: 0.06em;
  line-height: 1.3;
}

.hud-sub {
  color: #8e9bb4;
  font-size: 9px;
}

.hud-loot {
  position: absolute;
  right: 16px;
  bottom: 15px;
  z-index: 2;
  display: flex;
  align-items: baseline;
  gap: 5px;
  padding: 6px 10px;
  border-right: 2px solid var(--gold);
  background: rgba(5, 9, 18, 0.72);
  text-align: right;
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
}

.hud-loot span {
  color: #a6b1c4;
  font-size: 9px;
}

.hud-loot strong {
  color: var(--gold-2);
  font-family: var(--display);
  font-weight: 400;
  font-size: 24px;
  text-shadow: 0 2px 0 #000;
}

.hud-loot em {
  color: #a6b1c4;
  font-style: normal;
  font-size: 9px;
}

.hud-drop {
  position: absolute;
  left: 16px;
  bottom: 15px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 8px;
  border: 1px solid rgba(124, 231, 255, 0.3);
  background: rgba(5, 9, 18, 0.7);
  color: #b7e9ff;
  font-size: 9px;
}

.loot-gem {
  width: 8px;
  height: 8px;
  background: var(--cyan);
  transform: rotate(45deg);
  box-shadow: 0 0 8px rgba(124, 231, 255, 0.8);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 64px;
}

.feature-card {
  position: relative;
  padding: 26px 24px 27px;
  border: 1px solid var(--line-soft);
  background: linear-gradient(180deg, rgba(18, 29, 52, 0.82), rgba(9, 15, 29, 0.9));
  overflow: hidden;
  transition:
    transform 0.2s steps(3),
    border-color 0.2s,
    background-color 0.2s;
}

.feature-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: width 0.25s steps(4);
}

.feature-card:hover {
  transform: translateY(-4px);
  border-color: rgba(246, 201, 69, 0.4);
}

.feature-card:hover::before {
  width: 100%;
}

.feature-index {
  position: absolute;
  right: 18px;
  top: 17px;
  color: rgba(246, 201, 69, 0.4);
  font-family: var(--display);
  font-size: 11px;
  letter-spacing: 0.12em;
}

.feature-icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(246, 201, 69, 0.3);
  background: rgba(246, 201, 69, 0.07);
  color: var(--gold-2);
  box-shadow: 3px 3px 0 rgba(0, 0, 0, 0.3);
}

.feature-icon svg {
  width: 22px;
  height: 22px;
}

.feature-card h3 {
  margin-top: 18px;
  color: var(--ink);
  font-size: 20px;
  font-weight: 400;
  letter-spacing: 0.02em;
}

.feature-card p {
  margin-top: 8px;
  color: var(--dim);
  font-size: 13px;
  line-height: 1.8;
}

/* ---------- heroes ---------- */

.hero-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.hero-card {
  --accent: var(--gold);
  position: relative;
  background: linear-gradient(180deg, #111c33 0%, #0a1120 100%);
  border: 1px solid rgba(255, 255, 255, 0.09);
  clip-path: polygon(12px 0, 100% 0, 100% calc(100% - 12px), calc(100% - 12px) 100%, 0 100%, 0 12px);
  filter: drop-shadow(7px 7px 0 rgba(0, 0, 0, 0.32));
  transition:
    transform 0.22s steps(3),
    filter 0.22s,
    border-color 0.22s;
}

.hero-card:hover {
  transform: translateY(-6px);
  border-color: var(--accent);
  filter: drop-shadow(9px 10px 0 rgba(0, 0, 0, 0.38)) drop-shadow(0 0 18px rgba(0, 0, 0, 0.3));
}

.portrait {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: #0b1222;
}

.portrait::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    linear-gradient(180deg, rgba(5, 9, 18, 0.05) 0%, transparent 35%, rgba(5, 9, 18, 0.2) 68%, #0a1120 100%),
    linear-gradient(0deg, rgba(5, 9, 18, 0.24), transparent 40%);
  pointer-events: none;
}

.portrait::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 3;
  border: 1px solid rgba(255, 255, 255, 0.06);
  pointer-events: none;
}

.portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 36%;
  image-rendering: pixelated;
  filter: saturate(1.08) contrast(1.03);
  transition: transform 0.65s steps(6);
}

.hero-card:hover .portrait img {
  transform: scale(1.055);
}

.role-chip {
  position: absolute;
  left: 12px;
  top: 12px;
  z-index: 4;
  padding: 3px 8px;
  border: 1px solid currentColor;
  background: rgba(5, 9, 18, 0.72);
  color: var(--accent);
  font-size: 10px;
  letter-spacing: 0.06em;
  -webkit-backdrop-filter: blur(3px);
  backdrop-filter: blur(3px);
}

.job-en {
  position: absolute;
  right: 12px;
  bottom: 10px;
  z-index: 4;
  color: rgba(255, 255, 255, 0.5);
  font-family: var(--display);
  font-size: 9px;
  letter-spacing: 0.2em;
}

.hero-body {
  padding: 18px 20px 21px;
}

.hero-title-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}

.hero-title-row h3 {
  color: var(--ink);
  font-size: 24px;
  font-weight: 400;
  letter-spacing: 0.04em;
  transition: color 0.2s;
}

.hero-card:hover .hero-title-row h3 {
  color: var(--accent);
}

.hero-title-row span {
  color: var(--gold-2);
  font-size: 10px;
  letter-spacing: 0.03em;
}

.hero-desc {
  min-height: 62px;
  margin-top: 8px;
  color: var(--dim);
  font-size: 12.5px;
  line-height: 1.8;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 12px;
}

.tags span {
  padding: 2px 7px;
  border: 1px solid rgba(255, 255, 255, 0.11);
  background: rgba(255, 255, 255, 0.025);
  color: #aeb9cd;
  font-size: 9px;
  letter-spacing: 0.04em;
}

.stat-lines {
  display: grid;
  gap: 6px;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px dashed rgba(255, 255, 255, 0.09);
}

.stat-line {
  display: grid;
  grid-template-columns: 34px 1fr;
  align-items: center;
  gap: 8px;
}

.stat-line > span {
  color: var(--faint);
  font-size: 9px;
}

.stat-line > i {
  display: block;
  height: 5px;
  background: #182238;
  overflow: hidden;
}

.stat-line b {
  display: block;
  height: 100%;
  background: var(--accent);
  box-shadow: 1px 0 0 rgba(255, 255, 255, 0.25);
}

/* ---------- world ---------- */

.world-panel {
  --diff: #7de08a;
  position: relative;
  display: flex;
  align-items: center;
  min-height: 610px;
  border: 1px solid rgba(246, 201, 69, 0.25);
  background: #0a1020;
  overflow: hidden;
  box-shadow: var(--shadow-panel);
}

.world-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.92;
}

.world-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      90deg,
      rgba(5, 9, 18, 0.92) 0%,
      rgba(5, 9, 18, 0.8) 32%,
      rgba(5, 9, 18, 0.35) 62%,
      rgba(5, 9, 18, 0.84) 100%
    ),
    linear-gradient(180deg, rgba(5, 9, 18, 0.45), transparent 30%, rgba(5, 9, 18, 0.7));
}

.world-content {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 408px;
  align-items: center;
  gap: 48px;
  width: 100%;
  padding: 48px;
}

.world-copy {
  max-width: 520px;
  padding-left: 20px;
  border-left: 2px solid var(--diff);
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.75);
}

.world-panel.is-switching .world-copy,
.world-panel.is-switching .world-select {
  animation: diff-in 0.32s steps(4);
}

@keyframes diff-in {
  0% {
    opacity: 0.35;
    transform: translateX(-4px);
  }
  100% {
    opacity: 1;
    transform: none;
  }
}

.world-big {
  display: flex;
  align-items: baseline;
  gap: 13px;
}

.world-big span {
  color: var(--diff);
  font-family: var(--display);
  font-size: clamp(48px, 5vw, 68px);
  line-height: 1;
  letter-spacing: 0.02em;
  text-shadow:
    0 4px 0 rgba(0, 0, 0, 0.65),
    0 0 26px rgba(0, 0, 0, 0.35);
}

.world-big em {
  color: #b6c1d5;
  font-style: normal;
  font-size: 10px;
  letter-spacing: 0.08em;
}

.world-copy h3 {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-top: 8px;
  color: #f7f0dd;
  font-size: 38px;
  font-weight: 400;
  line-height: 1.2;
}

.world-copy h3 span {
  color: var(--diff);
  font-family: var(--display);
  font-size: 11px;
  letter-spacing: 0.18em;
}

.world-copy > p {
  max-width: 460px;
  margin-top: 12px;
  color: #c3cde0;
  font-size: 13.5px;
  line-height: 1.9;
}

.world-meta {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 26px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.13);
}

.world-meta dt {
  color: #7e8ca6;
  font-size: 9px;
  letter-spacing: 0.08em;
}

.world-meta dd {
  margin-top: 3px;
  color: #eef2fa;
  font-size: 11px;
}

.world-select {
  padding: 16px;
  border: 1px solid rgba(246, 201, 69, 0.24);
  background: rgba(5, 9, 18, 0.84);
  box-shadow: 6px 6px 0 rgba(0, 0, 0, 0.35);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.diff-tabs {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.diff-tab {
  position: relative;
  display: grid;
  grid-template-columns: 24px 1fr auto;
  align-items: center;
  gap: 9px;
  width: 100%;
  padding: 11px 12px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  background: rgba(255, 255, 255, 0.02);
  color: #a6b2c8;
  font-family: var(--pixel);
  text-align: left;
  cursor: pointer;
  transition:
    border-color 0.18s,
    background-color 0.18s,
    color 0.18s;
}

.diff-tab > span {
  color: #5f6c84;
  font-family: var(--display);
  font-size: 9px;
  letter-spacing: 0.08em;
}

.diff-tab > b {
  font-size: 15px;
  font-weight: 400;
  letter-spacing: 0.06em;
}

.diff-tab > em {
  color: #5f6c84;
  font-family: var(--display);
  font-style: normal;
  font-size: 7px;
  letter-spacing: 0.12em;
}

.diff-tab:hover {
  border-color: rgba(255, 255, 255, 0.2);
  color: var(--ink);
}

.diff-tab.is-active {
  border-color: var(--diff);
  background: rgba(255, 255, 255, 0.055);
  box-shadow: inset 3px 0 0 var(--diff);
  color: #fff;
}

.diff-tab.is-active > span,
.diff-tab.is-active > em {
  color: var(--diff);
}

.diff-tab.is-active > b {
  color: var(--diff);
}

.mechanic-box {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px dashed rgba(255, 255, 255, 0.12);
}

.mechanic-box > span {
  color: #6f7d96;
  font-size: 9px;
  letter-spacing: 0.12em;
}

.mechanic-box p {
  margin-top: 4px;
  color: var(--gold-2);
  font-size: 11px;
  line-height: 1.6;
}

.level-track {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 28px;
}

.act {
  padding: 14px 15px 17px;
  border: 1px solid var(--line-soft);
  background: linear-gradient(180deg, rgba(16, 26, 46, 0.8), rgba(8, 13, 26, 0.9));
}

.act-head {
  display: flex;
  align-items: baseline;
  gap: 9px;
}

.act-head > span {
  color: var(--gold);
  font-family: var(--display);
  font-size: 8px;
  letter-spacing: 0.12em;
}

.act-head > strong {
  color: var(--ink);
  font-size: 13px;
  font-weight: 400;
}

.act-head > em {
  margin-left: auto;
  color: var(--faint);
  font-family: var(--display);
  font-style: normal;
  font-size: 8px;
  letter-spacing: 0.08em;
}

.nodes {
  display: grid;
  grid-template-columns: repeat(9, 1fr);
  gap: 4px;
  margin-top: 11px;
}

.node {
  position: relative;
  display: grid;
  place-items: center;
  height: 30px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(6, 11, 22, 0.8);
  color: #8492ac;
  font-family: var(--display);
  font-size: 9px;
  line-height: 1;
  transition:
    border-color 0.2s,
    color 0.2s,
    background-color 0.2s;
}

.node.boss {
  border-color: var(--diff);
  color: var(--diff);
  background: rgba(255, 255, 255, 0.06);
  box-shadow: inset 0 0 0 2px rgba(0, 0, 0, 0.3);
}

.node.boss::after {
  content: "";
  position: absolute;
  inset: 3px;
  border: 1px solid currentColor;
  opacity: 0.34;
}

.node:hover {
  border-color: rgba(246, 201, 69, 0.7);
  color: var(--gold-2);
}

.track-note {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  color: var(--faint);
  font-size: 10px;
  letter-spacing: 0.04em;
}

.track-note::before {
  content: "";
  width: 5px;
  height: 5px;
  background: var(--gold);
  transform: rotate(45deg);
}

/* ---------- gallery ---------- */

.gallery {
  display: grid;
  grid-template-columns: 1.24fr 0.76fr;
  grid-template-rows: repeat(2, 248px);
  gap: 18px;
}

.shot {
  position: relative;
  margin: 0;
  border: 1px solid var(--line-soft);
  background: #0a1020;
  overflow: hidden;
  cursor: zoom-in;
}

.shot-main {
  grid-row: span 2;
}

.shot::before {
  content: "";
  position: absolute;
  inset: 8px;
  z-index: 2;
  border: 1px solid rgba(255, 255, 255, 0.09);
  pointer-events: none;
  transition: border-color 0.2s;
}

.shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s steps(6);
}

.shot:hover img {
  transform: scale(1.045);
}

.shot:hover::before {
  border-color: rgba(246, 201, 69, 0.5);
}

.shot::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, transparent 35%, rgba(4, 7, 14, 0.82) 100%),
    repeating-linear-gradient(0deg, rgba(0, 0, 0, 0.12) 0 1px, transparent 1px 3px);
  pointer-events: none;
}

.shot figcaption {
  position: absolute;
  left: 18px;
  bottom: 16px;
  z-index: 3;
  display: flex;
  flex-direction: column;
  gap: 1px;
  text-shadow: 0 2px 6px #000;
}

.shot figcaption span {
  color: var(--gold);
  font-family: var(--display);
  font-size: 9px;
  letter-spacing: 0.12em;
}

.shot figcaption strong {
  color: #fff8e6;
  font-size: 18px;
  font-weight: 400;
  letter-spacing: 0.03em;
}

.shot figcaption em {
  color: #a4b0c5;
  font-style: normal;
  font-size: 9px;
  letter-spacing: 0.05em;
}

.zoom-hint {
  position: absolute;
  right: 15px;
  top: 15px;
  z-index: 3;
  padding: 3px 7px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(5, 9, 18, 0.6);
  color: #cbd4e4;
  font-size: 8px;
  letter-spacing: 0.06em;
  opacity: 0;
  transition: opacity 0.2s;
}

.shot:hover .zoom-hint {
  opacity: 1;
}

/* ---------- journal ---------- */

.journal-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(300px, 0.75fr);
  gap: 54px;
  align-items: start;
}

.timeline {
  position: relative;
  padding-left: 30px;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 8px;
  bottom: 14px;
  width: 1px;
  background: linear-gradient(180deg, var(--gold), rgba(246, 201, 69, 0.12));
}

.log-entry {
  position: relative;
  padding-bottom: 26px;
}

.log-entry:last-child {
  padding-bottom: 0;
}

.log-entry::before {
  content: "";
  position: absolute;
  left: -30px;
  top: 9px;
  width: 9px;
  height: 9px;
  background: var(--gold);
  border: 2px solid #070b14;
  box-shadow: 0 0 0 1px rgba(246, 201, 69, 0.5);
}

.log-entry:first-child::before {
  background: var(--gold-2);
  box-shadow:
    0 0 0 1px var(--gold),
    0 0 12px rgba(246, 201, 69, 0.6);
}

.log-date {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 7px;
}

.log-date b {
  color: var(--gold);
  font-family: var(--display);
  font-weight: 400;
  font-size: 12px;
  letter-spacing: 0.1em;
}

.log-date span {
  padding: 1px 5px;
  border: 1px solid rgba(255, 117, 107, 0.5);
  color: var(--red);
  font-size: 8px;
  letter-spacing: 0.08em;
}

.log-body {
  padding: 17px 20px 18px;
  border: 1px solid var(--line-soft);
  background: linear-gradient(180deg, rgba(15, 25, 44, 0.72), rgba(8, 13, 26, 0.9));
  transition:
    border-color 0.2s,
    transform 0.2s steps(3);
}

.log-body:hover {
  border-color: rgba(246, 201, 69, 0.32);
  transform: translateX(3px);
}

.log-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.log-title-row h3 {
  color: var(--ink);
  font-size: 19px;
  font-weight: 400;
  letter-spacing: 0.02em;
}

.version {
  flex: none;
  padding: 2px 7px;
  border: 1px solid var(--line);
  color: var(--gold-2);
  font-family: var(--display);
  font-size: 8px;
  letter-spacing: 0.1em;
}

.log-body p {
  margin-top: 7px;
  color: var(--dim);
  font-size: 12.5px;
  line-height: 1.8;
}

.log-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 9px;
}

.log-tags span {
  color: #77859e;
  font-size: 9px;
}

.log-tags span::before {
  content: "#";
  color: rgba(246, 201, 69, 0.6);
}

.status-card {
  position: sticky;
  top: 96px;
  padding: 22px;
  border: 1px solid rgba(246, 201, 69, 0.3);
  background:
    radial-gradient(100% 80% at 100% 0, rgba(246, 201, 69, 0.1), transparent 60%),
    linear-gradient(180deg, #101a2e, #0a1020);
  box-shadow: 8px 8px 0 rgba(0, 0, 0, 0.32);
}

.status-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(246, 201, 69, 0.18);
}

.status-head span {
  color: var(--dim);
  font-size: 11px;
  letter-spacing: 0.06em;
}

.status-head b {
  color: var(--gold-2);
  font-family: var(--display);
  font-weight: 400;
  font-size: 20px;
  letter-spacing: 0.06em;
}

.status-platform {
  margin-top: 10px;
  color: var(--green);
  font-size: 10px;
  letter-spacing: 0.04em;
}

.status-list {
  margin-top: 12px;
}

.status-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 0;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.07);
}

.status-list li:last-child {
  border-bottom: 0;
}

.status-list span {
  color: #c2ccdd;
  font-size: 11.5px;
}

.status-list b {
  flex: none;
  font-size: 9px;
  font-weight: 400;
  letter-spacing: 0.04em;
}

.status-list .done {
  color: var(--green);
}

.status-list .done::before {
  content: "";
  display: inline-block;
  width: 4px;
  height: 7px;
  margin-right: 4px;
  border-right: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
  transform: rotate(42deg);
  vertical-align: 1px;
}

.status-list .wip {
  color: var(--gold);
}

.status-list .plan {
  color: #77859e;
}

.status-note {
  margin-top: 12px;
  padding-top: 11px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: #6f7d96;
  font-size: 9px;
  line-height: 1.7;
}

/* ---------- download ---------- */

.download-panel {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) 236px;
  align-items: center;
  gap: 38px;
  padding: 46px 48px;
  border: 1px solid rgba(246, 201, 69, 0.4);
  background:
    radial-gradient(100% 140% at 100% 0, rgba(246, 201, 69, 0.16), transparent 55%),
    radial-gradient(60% 100% at 0 100%, rgba(105, 181, 255, 0.08), transparent 60%),
    linear-gradient(135deg, #151e32 0%, #0a1020 100%);
  box-shadow:
    12px 12px 0 rgba(0, 0, 0, 0.4),
    inset 0 0 0 1px rgba(255, 255, 255, 0.04);
  overflow: hidden;
}

.download-panel::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.download-bg-text {
  position: absolute;
  right: -10px;
  top: -32px;
  color: rgba(246, 201, 69, 0.035);
  font-family: var(--display);
  font-size: 176px;
  line-height: 1;
  letter-spacing: 0.06em;
  pointer-events: none;
  user-select: none;
}

.download-icon {
  position: relative;
  z-index: 1;
  width: 104px;
  height: 104px;
  border: 2px solid var(--gold);
  box-shadow:
    6px 6px 0 rgba(0, 0, 0, 0.55),
    0 0 30px rgba(246, 201, 69, 0.12);
  overflow: hidden;
}

.download-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  image-rendering: pixelated;
}

.download-copy {
  position: relative;
  z-index: 1;
}

.download-copy h2 {
  margin-top: 8px;
  color: #f7f0dd;
  font-size: clamp(30px, 3.5vw, 42px);
  font-weight: 400;
  line-height: 1.18;
  letter-spacing: 0.02em;
  text-shadow: 0 3px 0 rgba(0, 0, 0, 0.5);
}

.download-copy > p:not(.eyebrow) {
  max-width: 480px;
  margin-top: 10px;
  color: var(--dim);
  font-size: 12.5px;
  line-height: 1.85;
}

.platform-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 14px;
}

.platform-chips span {
  padding: 2px 8px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  color: #aab5c9;
  font-size: 9px;
}

.platform-chips .chip-wip {
  border-color: rgba(246, 201, 69, 0.4);
  color: var(--gold-2);
}

.download-actions {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.download-actions .btn {
  min-height: 44px;
  font-size: 13px;
}

.download-actions > p {
  color: #6f7d96;
  font-size: 9px;
  text-align: center;
}

/* ---------- footer ---------- */

.site-footer {
  position: relative;
  z-index: 1;
  padding: 68px 0 26px;
  border-top: 1px solid var(--line-soft);
  background:
    radial-gradient(60% 90% at 50% 0, rgba(246, 201, 69, 0.045), transparent 60%),
    #05080f;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.45fr 0.6fr 0.6fr 1fr;
  gap: 48px;
}

.footer-brand p {
  margin-top: 16px;
  color: #7c89a1;
  font-size: 11px;
  line-height: 1.9;
}

.footer-col h4 {
  margin-bottom: 14px;
  color: var(--gold);
  font-family: var(--display);
  font-size: 9px;
  font-weight: 400;
  letter-spacing: 0.18em;
}

.footer-col a {
  display: block;
  width: fit-content;
  margin: 7px 0;
  color: #8b98ad;
  font-size: 11px;
  transition: color 0.2s;
}

.footer-col a:hover {
  color: var(--gold-2);
}

.footer-about p {
  color: #7c89a1;
  font-size: 10.5px;
  line-height: 1.9;
}

.footer-small {
  margin-top: 12px;
  color: #536078 !important;
  font-family: var(--display);
  font-size: 8px !important;
  letter-spacing: 0.08em;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  margin-top: 42px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  color: #5f6c84;
  font-size: 9px;
}

.credits {
  color: #4d5970;
  text-align: center;
}

.back-top {
  color: #8b98ad;
  font-size: 9px;
  transition: color 0.2s;
}

.back-top:hover {
  color: var(--gold-2);
}

.footer-disclaimer {
  margin-top: 12px;
  color: #465168;
  font-size: 9px;
  line-height: 1.7;
}

/* ---------- modal / lightbox ---------- */

.modal {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: grid;
  place-items: center;
  padding: 20px;
  visibility: hidden;
  opacity: 0;
  transition:
    opacity 0.2s,
    visibility 0.2s;
}

.modal.is-open {
  visibility: visible;
  opacity: 1;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(3, 6, 12, 0.86);
  -webkit-backdrop-filter: blur(7px);
  backdrop-filter: blur(7px);
}

.modal-panel {
  position: relative;
  z-index: 1;
  width: min(520px, 100%);
  padding: 32px;
  border: 2px solid var(--gold);
  background:
    radial-gradient(90% 60% at 100% 0, rgba(246, 201, 69, 0.1), transparent 60%),
    #0d1628;
  box-shadow:
    10px 10px 0 rgba(0, 0, 0, 0.6),
    0 0 60px rgba(0, 0, 0, 0.5);
  transform: translateY(14px);
  transition: transform 0.22s steps(3);
}

.modal.is-open .modal-panel {
  transform: none;
}

.modal-panel .eyebrow {
  margin-bottom: 8px;
}

.modal-panel h3 {
  color: #f7f0dd;
  font-size: 28px;
  font-weight: 400;
  letter-spacing: 0.02em;
}

.modal-panel > p:not(.eyebrow) {
  margin-top: 12px;
  color: var(--dim);
  font-size: 13px;
  line-height: 1.9;
}

.modal-close,
.lightbox-close {
  position: absolute;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(5, 9, 18, 0.6);
  color: #bcc6d8;
  cursor: pointer;
  transition:
    color 0.2s,
    border-color 0.2s;
}

.modal-close {
  right: 14px;
  top: 14px;
}

.modal-close:hover,
.lightbox-close:hover {
  color: var(--gold-2);
  border-color: var(--gold);
}

.modal-close svg,
.lightbox-close svg {
  width: 14px;
  height: 14px;
}

.modal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.modal-actions .btn {
  min-height: 44px;
  font-size: 13px;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 130;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  padding: 54px 24px 44px;
  background: rgba(2, 4, 9, 0.95);
  visibility: hidden;
  opacity: 0;
  transition:
    opacity 0.2s,
    visibility 0.2s;
}

.lightbox.is-open {
  visibility: visible;
  opacity: 1;
}

.lightbox figure {
  position: relative;
  max-width: min(1400px, 90vw);
}

.lightbox img {
  max-width: 100%;
  max-height: 78vh;
  border: 2px solid rgba(246, 201, 69, 0.5);
  box-shadow: 12px 12px 0 rgba(0, 0, 0, 0.5);
  object-fit: contain;
}

.lightbox figcaption {
  margin-top: 12px;
  color: var(--gold-2);
  font-size: 12px;
  letter-spacing: 0.05em;
  text-align: center;
}

.lightbox-close {
  right: 20px;
  top: 20px;
}

.lightbox-nav {
  flex: none;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(246, 201, 69, 0.3);
  background: rgba(8, 13, 26, 0.7);
  color: var(--gold-2);
  font-family: var(--display);
  font-size: 16px;
  cursor: pointer;
}

.lightbox-nav:hover {
  border-color: var(--gold);
  background: rgba(246, 201, 69, 0.1);
}

/* ---------- reveal / entrance ---------- */

.js .reveal {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.7s steps(6),
    transform 0.7s steps(6);
  transition-delay: var(--d, 0s);
}

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

.js .hero-copy > * {
  opacity: 0;
  transform: translateY(18px);
  animation: rise 0.75s steps(7) forwards;
}

.js .hero-copy > :nth-child(1) {
  animation-delay: 0.08s;
}

.js .hero-copy > :nth-child(2) {
  animation-delay: 0.16s;
}

.js .hero-copy > :nth-child(3) {
  animation-delay: 0.28s;
}

.js .hero-copy > :nth-child(4) {
  animation-delay: 0.36s;
}

.js .hero-copy > :nth-child(5) {
  animation-delay: 0.44s;
}

.js .hero-copy > :nth-child(6) {
  animation-delay: 0.52s;
}

@keyframes rise {
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes pulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.3;
  }
}

/* ---------- responsive ---------- */

@media (max-width: 1120px) {
  .intro-grid {
    gap: 42px;
  }

  .world-content {
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 32px;
    padding: 38px;
  }

  .world-copy h3 {
    font-size: 32px;
  }

  .journal-grid {
    gap: 38px;
  }

  .download-panel {
    grid-template-columns: auto minmax(0, 1fr) 220px;
    gap: 28px;
    padding: 38px;
  }
}

@media (max-width: 960px) {
  .nav-links,
  .nav-cta {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

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

  .hero {
    padding-top: 126px;
    padding-bottom: 78px;
  }

  .hero-art {
    object-position: 64% center;
  }

  .hero-shade {
    background:
      linear-gradient(
        90deg,
        rgba(7, 11, 20, 0.99) 0%,
        rgba(7, 11, 20, 0.94) 42%,
        rgba(7, 11, 20, 0.55) 72%,
        rgba(7, 11, 20, 0.7) 100%
      ),
      linear-gradient(180deg, rgba(7, 11, 20, 0.9) 0%, transparent 22%, #070b14 100%);
  }

  .hero-stats {
    grid-template-columns: repeat(3, 1fr);
    margin-top: 40px;
  }

  .stat:nth-child(3) {
    border-right: 0;
  }

  .stat:nth-child(4),
  .stat:nth-child(5) {
    border-top: 1px solid var(--line-soft);
  }

  .stat:nth-child(5) {
    grid-column: span 2;
    border-right: 0;
  }

  .scroll-cue {
    display: none;
  }

  .intro-grid {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .intro-visual {
    max-width: 720px;
  }

  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
    margin-top: 48px;
  }

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

  .world-panel {
    min-height: 0;
  }

  .world-content {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 34px 28px;
  }

  .world-copy {
    max-width: 620px;
  }

  .world-select {
    max-width: 560px;
  }

  .world-bg {
    object-position: 62% center;
  }

  .gallery {
    grid-template-columns: 1fr;
    grid-template-rows: 300px 220px 220px;
  }

  .shot-main {
    grid-row: auto;
  }

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

  .status-card {
    position: static;
    max-width: 520px;
  }

  .download-panel {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .download-actions {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  .download-actions > p {
    grid-column: 1 / -1;
  }

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

  .footer-about {
    grid-column: 1 / -1;
    display: flex;
    align-items: baseline;
    gap: 24px;
  }

  .footer-about h4 {
    margin-bottom: 0;
  }

  .footer-small {
    margin-top: 0;
  }
}

@media (max-width: 720px) {
  .container {
    width: calc(100% - 32px);
  }

  .section {
    padding: 82px 0;
  }

  .section-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
    margin-bottom: 38px;
  }

  .section-head-side {
    max-width: 100%;
    padding-bottom: 0;
  }

  .section-title {
    font-size: clamp(32px, 9vw, 44px);
  }

  .hero {
    min-height: auto;
    padding-top: 116px;
    padding-bottom: 64px;
  }

  .title-en {
    font-size: 14px;
    letter-spacing: 0.34em;
  }

  .title-cn {
    font-size: clamp(42px, 12.5vw, 62px);
  }

  .hero-tagline {
    font-size: 19px;
  }

  .hero-desc {
    font-size: 14px;
  }

  .hero-actions .btn {
    min-height: 46px;
    padding: 0 18px;
    font-size: 14px;
  }

  .hero-meta {
    gap: 14px;
  }

  .hero-stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .stat {
    padding: 13px 14px;
  }

  .stat:nth-child(2n) {
    border-right: 0;
  }

  .stat:nth-child(3) {
    border-right: 1px solid var(--line-soft);
  }

  .stat:nth-child(3),
  .stat:nth-child(4),
  .stat:nth-child(5) {
    border-top: 1px solid var(--line-soft);
  }

  .stat:last-child {
    grid-column: 1 / -1;
  }

  .stat b {
    font-size: 25px;
  }

  .stat > span {
    font-size: 10px;
  }

  .scroll-cue {
    display: none;
  }

  .check-list {
    grid-template-columns: 1fr;
    gap: 9px;
  }

  .lead {
    font-size: 15px;
  }

  .feature-grid {
    grid-template-columns: 1fr;
    gap: 12px;
    margin-top: 38px;
  }

  .feature-card {
    padding: 22px 20px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .hero-desc {
    min-height: 0;
  }

  .hero-title-row h3 {
    font-size: 22px;
  }

  .world-content {
    padding: 26px 20px;
  }

  .world-copy {
    padding-left: 14px;
  }

  .world-big span {
    font-size: 48px;
  }

  .world-copy h3 {
    font-size: 28px;
  }

  .world-meta {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

  .world-select {
    padding: 12px;
  }

  .diff-tab {
    padding: 10px;
  }

  .level-track {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .gallery {
    grid-template-rows: 260px 190px 190px;
    gap: 12px;
  }

  .log-body {
    padding: 15px 16px;
  }

  .log-title-row h3 {
    font-size: 17px;
  }

  .journal-grid {
    gap: 28px;
  }

  .status-card {
    padding: 18px;
  }

  .download-panel {
    grid-template-columns: 1fr;
    gap: 22px;
    padding: 28px 22px;
  }

  .download-icon {
    width: 82px;
    height: 82px;
  }

  .download-copy h2 {
    font-size: 32px;
  }

  .download-bg-text {
    font-size: 120px;
  }

  .download-actions {
    display: flex;
    flex-direction: column;
  }

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

  .footer-brand {
    grid-column: 1 / -1;
  }

  .footer-about {
    grid-column: 1 / -1;
    display: block;
  }

  .footer-about h4 {
    margin-bottom: 10px;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .credits {
    text-align: left;
  }

  .lightbox {
    padding: 60px 12px 34px;
  }

  .lightbox-nav {
    position: absolute;
    bottom: 14px;
    z-index: 2;
  }

  .lightbox-nav.prev {
    left: calc(50% - 56px);
  }

  .lightbox-nav.next {
    right: calc(50% - 56px);
  }

  .lightbox img {
    max-height: 72vh;
  }
}

@media (max-width: 460px) {
  .brand-text strong {
    font-size: 14px;
  }

  .kicker {
    font-size: 9px;
    letter-spacing: 0.12em;
  }

  .title-cn {
    font-size: 40px;
  }

  .hero-actions {
    gap: 10px;
  }

  .hero-actions .btn {
    flex: 1 1 100%;
  }

  .hero-stats {
    margin-top: 32px;
  }

  .window-bar {
    gap: 6px;
    padding: 8px;
    font-size: 7px;
  }

  .window-live {
    display: none;
  }

  .hud-card {
    left: 10px;
    top: 10px;
    min-width: 128px;
    padding: 6px 8px;
  }

  .hud-timer {
    font-size: 16px;
  }

  .hud-sub {
    display: none;
  }

  .hud-loot {
    right: 10px;
    bottom: 10px;
    padding: 3px 6px;
  }

  .hud-loot span,
  .hud-loot em {
    display: none;
  }

  .hud-loot strong {
    font-size: 16px;
  }

  .hud-drop {
    display: none;
  }

  .nodes {
    gap: 3px;
  }

  .node {
    height: 24px;
    font-size: 7px;
  }

  .modal-panel {
    padding: 26px 20px;
  }

  .modal-panel h3 {
    font-size: 23px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}
