/* ============================================================
   鸢克斯 · 游戏小窝
   featured: 摇曳放置英雄
   ============================================================ */

@font-face {
  font-family: "FusionPixel";
  src: url("fonts/fusion.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: #060a12;
  --bg-deep: #04070d;
  --panel: #0d1628;
  --panel-2: #111c32;
  --ink: #f3ecda;
  --ink-soft: #d8deea;
  --dim: #9aa6bd;
  --faint: #68758c;
  --gold: #f6c945;
  --gold-2: #ffe9a3;
  --blue: #2f8cff;
  --cyan: #8fe2ff;
  --green: #7de08a;
  --line: rgba(246, 201, 69, 0.24);
  --line-soft: rgba(255, 255, 255, 0.09);
  --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: 92px;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background:
    radial-gradient(80% 45% at 50% -10%, rgba(35, 62, 122, 0.18), 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 {
  display: block;
  max-width: 100%;
}

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

button {
  font: inherit;
}

h1,
h2,
h3,
p,
ul,
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;
}

.wrap {
  width: min(1180px, calc(100% - 48px));
  margin-inline: auto;
}

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

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

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

.btn {
  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: 15px;
  line-height: 1;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition:
    transform 0.12s steps(2),
    box-shadow 0.12s steps(2),
    background-color 0.2s,
    border-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-small {
  min-height: 38px;
  padding: 0 16px;
  border-width: 1px;
  font-size: 12px;
}

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

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

.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-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 2px solid rgba(246, 201, 69, 0.62);
  background:
    linear-gradient(135deg, rgba(246, 201, 69, 0.14), transparent 60%),
    #0b1222;
  color: var(--gold-2);
  font-family: var(--display);
  font-size: 25px;
  line-height: 1;
  box-shadow: 3px 3px 0 #000;
}

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

.brand-name strong {
  color: var(--ink);
  font-size: 16px;
  font-weight: 400;
  letter-spacing: 0.05em;
  white-space: nowrap;
}

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

.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 17px;
  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: 26px;
  padding: 108px 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: 17px 4px;
  border-bottom: 1px solid var(--line-soft);
  color: var(--ink);
  font-size: 23px;
}

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

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

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

/* ---------- featured ---------- */

.feature {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 100svh;
  padding: 148px 0 88px;
  overflow: hidden;
  background: var(--bg);
}

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

.feature-shade {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(
      90deg,
      rgba(6, 10, 18, 0.99) 0%,
      rgba(6, 10, 18, 0.97) 23%,
      rgba(6, 10, 18, 0.82) 41%,
      rgba(6, 10, 18, 0.3) 67%,
      rgba(6, 10, 18, 0.46) 100%
    ),
    linear-gradient(
      180deg,
      rgba(6, 10, 18, 0.94) 0%,
      rgba(6, 10, 18, 0.18) 16%,
      rgba(6, 10, 18, 0.04) 58%,
      var(--bg) 100%
    );
}

.feature-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;
}

.feature-inner {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.feature-copy {
  max-width: 670px;
}

.feature-eyebrow {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-bottom: 10px;
}

.ribbon {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  background: linear-gradient(180deg, var(--gold-2), var(--gold));
  color: #2b1a03;
  font-size: 11px;
  letter-spacing: 0.08em;
  box-shadow: 3px 3px 0 #000;
}

.feature-label {
  color: var(--gold-2);
  font-family: var(--display);
  font-size: 10px;
  letter-spacing: 0.17em;
}

.feature-label b {
  color: rgba(255, 233, 163, 0.4);
  font-weight: 400;
}

.feature-en {
  margin-top: 12px;
  color: #d5e5ff;
  font-family: var(--display);
  font-size: 17px;
  letter-spacing: 0.42em;
  text-shadow:
    0 2px 0 #000,
    0 0 22px rgba(105, 181, 255, 0.35);
}

h1 {
  margin-top: 6px;
}

.feature h1 {
  padding-bottom: 6px;
  background: linear-gradient(180deg, #fff9df 0%, #ffe9a3 34%, #f6c945 62%, #c8891b 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-size: clamp(52px, 7.3vw, 90px);
  font-weight: 400;
  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));
}

.feature-tagline {
  margin-top: 15px;
  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);
}

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

.feature-stats {
  display: flex;
  max-width: 560px;
  margin-top: 25px;
  border: 1px solid var(--line);
  background: rgba(5, 9, 18, 0.56);
  -webkit-backdrop-filter: blur(7px);
  backdrop-filter: blur(7px);
}

.feature-stats li {
  flex: 1;
  padding: 10px 13px 9px;
  border-right: 1px solid var(--line-soft);
}

.feature-stats li:last-child {
  border-right: 0;
}

.feature-stats b {
  display: block;
  color: var(--gold-2);
  font-family: var(--display);
  font-weight: 400;
  font-size: 25px;
  line-height: 1.2;
  text-shadow: 0 3px 0 #000;
}

.feature-stats span {
  display: block;
  margin-top: 1px;
  color: #8f9bb3;
  font-size: 10px;
}

.feature-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 13px;
  margin-top: 28px;
}

.feature-meta {
  margin-top: 20px;
  color: #8794ac;
  font-size: 10px;
  letter-spacing: 0.04em;
}

.feature-meta span {
  color: rgba(255, 255, 255, 0.25);
  padding: 0 5px;
}

.feature-meta a {
  color: var(--gold-2);
  border-bottom: 1px solid rgba(246, 201, 69, 0.4);
}

.feature-meta a:hover {
  color: #fff;
}

.feature-side {
  display: flex;
  align-items: center;
  gap: 12px;
  align-self: stretch;
  flex: none;
  padding-top: 30px;
  color: rgba(246, 201, 69, 0.42);
  font-family: var(--display);
  writing-mode: vertical-rl;
  letter-spacing: 0.36em;
}

.feature-side b {
  color: rgba(255, 233, 163, 0.7);
  font-weight: 400;
  font-size: 24px;
}

.feature-side span {
  font-size: 9px;
}

.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: 12px 0;
  animation: ticker 38s linear infinite;
}

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

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

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

/* ---------- sections ---------- */

.section {
  position: relative;
  padding: 108px 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 > .wrap {
  position: relative;
  z-index: 1;
}

.games {
  background:
    radial-gradient(80% 45% at 50% 0, rgba(246, 201, 69, 0.06), transparent 65%),
    linear-gradient(180deg, #060a12 0%, #08101e 100%);
}

.about {
  border-top: 1px solid var(--line-soft);
  background:
    radial-gradient(70% 45% at 90% 20%, rgba(47, 140, 255, 0.06), transparent 60%),
    linear-gradient(180deg, #0a0f1c 0%, #060a12 100%);
}

.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-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 48px;
  margin-bottom: 42px;
}

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

.section-head > p {
  max-width: 360px;
  padding-bottom: 7px;
  color: var(--dim);
  font-size: 13px;
  line-height: 1.85;
}

/* ---------- game library ---------- */

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

.game-card {
  position: relative;
  display: block;
  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;
}

.game-card:hover {
  transform: translateY(-6px);
  border-color: rgba(246, 201, 69, 0.65);
  filter: drop-shadow(9px 10px 0 rgba(0, 0, 0, 0.38));
}

.game-thumb {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #0b1222;
}

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

.game-card:hover .game-thumb img {
  transform: scale(1.055);
}

.game-thumb::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, transparent 45%, rgba(5, 9, 18, 0.55) 88%, rgba(5, 9, 18, 0.9));
  pointer-events: none;
}

.new-text {
  margin-right: 5px;
  color: var(--gold);
  font-family: var(--display);
  font-size: 8px;
  font-weight: 400;
  letter-spacing: 0.08em;
}

.play {
  position: absolute;
  right: 11px;
  bottom: 11px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 9px;
  border: 1px solid rgba(246, 201, 69, 0.7);
  background: rgba(5, 9, 18, 0.78);
  color: var(--gold-2);
  font-family: var(--display);
  font-size: 8px;
  letter-spacing: 0.12em;
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  transition:
    background-color 0.2s,
    color 0.2s;
}

.play i {
  width: 0;
  height: 0;
  border-left: 6px solid var(--gold);
  border-top: 4px solid transparent;
  border-bottom: 4px solid transparent;
}

.game-card:hover .play {
  background: var(--gold);
  color: #2b1a03;
}

.game-card:hover .play i {
  border-left-color: #2b1a03;
}

.game-body {
  padding: 18px 19px 20px;
}

.game-title {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
}

.game-title h3 {
  color: var(--ink);
  font-size: 22px;
  font-weight: 400;
  letter-spacing: 0.03em;
  transition: color 0.2s;
}

.game-card:hover .game-title h3 {
  color: var(--gold-2);
}

.game-title span {
  flex: none;
  color: #77849c;
  font-family: var(--display);
  font-size: 7px;
  letter-spacing: 0.1em;
}

.game-body > p {
  min-height: 47px;
  margin-top: 6px;
  color: var(--dim);
  font-size: 12.5px;
  line-height: 1.8;
}

.game-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 14px;
  padding-top: 10px;
  border-top: 1px dashed rgba(255, 255, 255, 0.09);
  color: #6f7d96;
  font-size: 9px;
}

.game-foot em {
  color: #5d6a82;
  font-family: var(--display);
  font-style: normal;
  font-size: 8px;
  letter-spacing: 0.06em;
}

.game-soon {
  border-style: dashed;
  border-color: rgba(246, 201, 69, 0.22);
  background: rgba(9, 15, 28, 0.55);
  cursor: default;
}

.game-soon:hover {
  transform: none;
  border-color: rgba(246, 201, 69, 0.36);
  filter: drop-shadow(7px 7px 0 rgba(0, 0, 0, 0.32));
}

.soon-visual {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 16 / 10;
  border-bottom: 1px solid rgba(246, 201, 69, 0.12);
  background:
    radial-gradient(60% 60% at 50% 50%, rgba(246, 201, 69, 0.09), transparent 70%),
    repeating-linear-gradient(45deg, rgba(255, 255, 255, 0.025) 0 8px, transparent 8px 16px);
}

.soon-q {
  color: rgba(246, 201, 69, 0.5);
  font-family: var(--display);
  font-size: 64px;
  line-height: 1;
  text-shadow: 4px 4px 0 rgba(0, 0, 0, 0.45);
}

.soon-visual em {
  position: absolute;
  right: 13px;
  bottom: 11px;
  color: #6f7d96;
  font-family: var(--display);
  font-style: normal;
  font-size: 8px;
  letter-spacing: 0.16em;
}

.game-soon .game-title h3 {
  color: #d7dce8;
}

.game-soon .game-body > p {
  color: #7f8ba2;
}

/* ---------- about ---------- */

.about-panel {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.85fr);
  gap: 52px;
  padding: 48px;
  border: 1px solid rgba(246, 201, 69, 0.3);
  background:
    radial-gradient(100% 140% at 100% 0, rgba(246, 201, 69, 0.11), transparent 55%),
    radial-gradient(70% 100% at 0 100%, rgba(47, 140, 255, 0.07), transparent 60%),
    linear-gradient(135deg, #121b2d 0%, #090f1c 100%);
  box-shadow: var(--shadow-panel);
  overflow: hidden;
}

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

.about-copy h2 {
  margin-top: 13px;
  color: #f7f0dd;
  font-size: clamp(32px, 4vw, 46px);
  font-weight: 400;
  line-height: 1.2;
  text-shadow: 0 3px 0 rgba(0, 0, 0, 0.5);
}

.about-copy > p:not(.eyebrow) {
  max-width: 560px;
  margin-top: 16px;
  color: var(--dim);
  font-size: 13.5px;
  line-height: 1.95;
}

.about-links {
  display: flex;
  flex-wrap: wrap;
  gap: 9px 20px;
  margin-top: 23px;
}

.about-links a {
  color: var(--gold-2);
  font-size: 11px;
  border-bottom: 1px solid rgba(246, 201, 69, 0.36);
  transition:
    color 0.2s,
    border-color 0.2s;
}

.about-links a:hover {
  color: #fff;
  border-color: #fff;
}

.about-side {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
}

.about-chest {
  width: 132px;
  height: auto;
  image-rendering: pixelated;
  filter:
    drop-shadow(0 12px 18px rgba(0, 0, 0, 0.55))
    drop-shadow(0 0 22px rgba(246, 201, 69, 0.12));
}

.about-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  width: 100%;
  border: 1px solid var(--line-soft);
  background: var(--line-soft);
}

.about-stats div {
  padding: 15px 16px 13px;
  background: #0a1120;
}

.about-stats b {
  display: block;
  color: var(--gold-2);
  font-family: var(--display);
  font-weight: 400;
  font-size: 30px;
  line-height: 1.15;
  text-shadow: 0 3px 0 #000;
}

.about-stats span {
  display: block;
  margin-top: 2px;
  color: #8b98ad;
  font-size: 10px;
}

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

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

.footer-inner {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 48px;
}

.footer-brand p {
  margin-top: 14px;
  color: #77849c;
  font-size: 11px;
  line-height: 1.9;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px 22px;
  max-width: 520px;
  padding-top: 8px;
}

.footer-links a {
  color: #8b98ad;
  font-size: 11px;
  transition: color 0.2s;
}

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

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

.footer-bottom p:nth-child(2) {
  color: #4b566d;
}

.back-top {
  color: #8b98ad;
  transition: color 0.2s;
}

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

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

.js .reveal {
  opacity: 0;
  transform: translateY(22px);
  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 .feature-copy > * {
  opacity: 0;
  transform: translateY(16px);
  animation: rise 0.75s steps(7) forwards;
}

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

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

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

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

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

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

.js .feature-copy > :nth-child(7) {
  animation-delay: 0.56s;
}

.js .feature-copy > :nth-child(8) {
  animation-delay: 0.64s;
}

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

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

@media (max-width: 1100px) {
  .feature-side {
    display: none;
  }

  .feature-copy {
    max-width: 630px;
  }

  .feature h1 {
    font-size: clamp(50px, 7.4vw, 74px);
  }

  .game-grid {
    gap: 16px;
  }

  .game-title h3 {
    font-size: 20px;
  }

  .about-panel {
    gap: 34px;
    padding: 38px;
  }
}

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

  .menu-toggle {
    display: block;
  }

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

  .feature {
    min-height: 0;
    padding: 126px 0 74px;
  }

  .feature-art {
    object-position: 70% center;
  }

  .feature-shade {
    background:
      linear-gradient(
        90deg,
        rgba(6, 10, 18, 0.99) 0%,
        rgba(6, 10, 18, 0.93) 44%,
        rgba(6, 10, 18, 0.56) 72%,
        rgba(6, 10, 18, 0.72) 100%
      ),
      linear-gradient(180deg, rgba(6, 10, 18, 0.92) 0%, transparent 22%, var(--bg) 100%);
  }

  .feature-stats {
    max-width: 520px;
  }

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

  .game-soon {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 220px minmax(0, 1fr);
  }

  .game-soon .soon-visual {
    aspect-ratio: auto;
    min-height: 170px;
    border-bottom: 0;
    border-right: 1px solid rgba(246, 201, 69, 0.12);
  }

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

  .about-side {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
  }

  .about-chest {
    width: 108px;
    flex: none;
  }

  .about-stats {
    max-width: 430px;
  }

  .footer-inner {
    flex-direction: column;
    gap: 24px;
  }

  .footer-links {
    justify-content: flex-start;
    max-width: none;
    padding-top: 0;
  }
}

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

  .section {
    padding: 80px 0;
  }

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

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

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

  .feature {
    padding: 112px 0 62px;
  }

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

  .feature h1 {
    font-size: clamp(42px, 12.4vw, 60px);
  }

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

  .feature-desc {
    font-size: 13.5px;
  }

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

  .feature-stats li {
    border-right: 1px solid var(--line-soft);
    border-bottom: 1px solid var(--line-soft);
  }

  .feature-stats li:nth-child(2n) {
    border-right: 0;
  }

  .feature-stats li:nth-child(3),
  .feature-stats li:nth-child(4) {
    border-bottom: 0;
  }

  .feature-actions .btn {
    flex: 1 1 100%;
    min-height: 46px;
    padding: 0 16px;
    font-size: 14px;
  }

  .scroll-cue {
    display: none;
  }

  .game-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .game-soon {
    display: block;
  }

  .game-soon .soon-visual {
    aspect-ratio: 16 / 10;
    min-height: 0;
    border-right: 0;
    border-bottom: 1px solid rgba(246, 201, 69, 0.12);
  }

  .game-body > p {
    min-height: 0;
  }

  .about-panel {
    padding: 27px 20px;
  }

  .about-copy h2 {
    font-size: 30px;
  }

  .about-side {
    flex-direction: column;
    align-items: stretch;
  }

  .about-chest {
    align-self: flex-end;
    width: 92px;
  }

  .about-stats {
    max-width: none;
  }

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

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

  .brand-mark {
    width: 38px;
    height: 38px;
    font-size: 22px;
  }

  .feature-eyebrow {
    gap: 9px;
  }

  .feature-label {
    font-size: 8px;
  }

  .ribbon {
    font-size: 10px;
  }

  .feature h1 {
    font-size: 39px;
  }

  .feature-actions {
    gap: 9px;
  }

  .about-stats b {
    font-size: 25px;
  }
}

@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;
  }
}
