/* ==========================================================================
   Legend navigation site styles
   Design language: ink + champagne, editorial grid, glass, product spotlight
   ========================================================================== */

:root {
  --ink: #0a0d11;
  --ink-2: #0d1117;
  --surface: #11161d;
  --surface-2: #161c24;
  --surface-3: #1b232c;
  --line: rgba(236, 227, 212, 0.1);
  --line-strong: rgba(236, 227, 212, 0.18);
  --text: #f6f1e7;
  --muted: #b9b1a3;
  --muted-2: #8a8277;
  --gold: #d4b273;
  --gold-2: #f2d9a4;
  --copper: #b9854b;
  --live: #e06b54;
  --radius: 20px;
  --container: 1320px;
  --header-h: 78px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  background:
    radial-gradient(1100px 720px at 82% -12%, rgba(201, 168, 106, 0.08), transparent 62%),
    radial-gradient(900px 620px at 4% 8%, rgba(110, 124, 152, 0.05), transparent 58%),
    var(--ink);
  font-family: "SF Pro Display", "PingFang SC", "HarmonyOS Sans SC", "Noto Sans SC",
    "Microsoft YaHei", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 14px;
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  opacity: 0.028;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160' viewBox='0 0 160 160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)' opacity='.4'/%3E%3C/svg%3E");
  mix-blend-mode: soft-light;
}

body.nav-open {
  overflow: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
}

::selection {
  background: rgba(201, 168, 106, 0.35);
  color: #fff;
}

::-webkit-scrollbar {
  width: 9px;
  height: 9px;
}

::-webkit-scrollbar-track {
  background: #050608;
}

::-webkit-scrollbar-thumb {
  background: #2a2e37;
  border-radius: 999px;
  border: 2px solid #050608;
}

::-webkit-scrollbar-thumb:hover {
  background: #3b404b;
}

:focus-visible {
  outline: 1px solid var(--gold);
  outline-offset: 4px;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 36px;
}

.skip-link {
  position: fixed;
  top: -80px;
  left: 20px;
  z-index: 999;
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--text);
  color: #0a0b0e;
  font-weight: 600;
  transition: top 0.25s;
}

.skip-link:focus {
  top: 18px;
}

/* ==========================================================================
   Buttons
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 40px;
  padding: 10px 18px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: transparent;
  color: var(--text);
  font-size: 12.5px;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: 0.01em;
  text-align: center;
  white-space: nowrap;
  transition: color 0.25s, background 0.25s, border-color 0.25s, transform 0.25s, box-shadow 0.25s;
}

.btn svg {
  width: 15px;
  height: 15px;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn:active {
  transform: translateY(0) scale(0.99);
}

.btn-light,
.btn-hero {
  min-height: 46px;
  padding: 12px 24px;
  background: var(--text);
  border-color: var(--text);
  color: #090a0d;
}

.btn-light:hover,
.btn-hero:hover {
  background: #ffffff;
  border-color: #ffffff;
  box-shadow: 0 14px 34px rgba(245, 242, 234, 0.12);
}

.btn-line,
.btn-ghost {
  min-height: 46px;
  padding: 12px 22px;
  border-color: var(--line-strong);
  background: rgba(245, 242, 234, 0.02);
  color: var(--text);
}

.btn-line:hover,
.btn-ghost:hover {
  border-color: rgba(201, 168, 106, 0.5);
  background: rgba(201, 168, 106, 0.06);
  color: var(--gold-2);
}

.btn-sm {
  min-height: 34px;
  padding: 7px 13px;
  font-size: 11.5px;
}

.btn-play {
  background: var(--text);
  border-color: var(--text);
  color: #090a0d;
}

.btn-play:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: #090a0d;
}

.btn-soft,
.btn-gold {
  border-color: var(--line);
  background: transparent;
  color: var(--muted);
}

.btn-soft:hover,
.btn-gold:hover {
  border-color: rgba(201, 168, 106, 0.38);
  background: rgba(201, 168, 106, 0.06);
  color: var(--gold-2);
}

/* ==========================================================================
   Header
   ========================================================================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 13, 17, 0.72);
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(22px) saturate(135%);
  -webkit-backdrop-filter: blur(22px) saturate(135%);
  transition: background 0.3s, border-color 0.3s, box-shadow 0.3s;
}

.site-header.is-scrolled {
  background: rgba(10, 13, 17, 0.94);
  border-bottom-color: var(--line);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.28);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 28px;
  height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  flex-shrink: 0;
}

.brand-emblem-wrap {
  display: inline-flex;
}

.brand-emblem {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  filter: drop-shadow(0 0 14px rgba(201, 168, 106, 0.14));
  transition: transform 0.6s var(--ease);
}

.brand:hover .brand-emblem {
  transform: rotate(45deg);
}

.brand-logo {
  display: block;
  width: auto;
  max-height: 42px;
  max-width: 210px;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}

.brand-name {
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--text);
  white-space: nowrap;
}

.brand-sub {
  margin-top: 5px;
  font-size: 8px;
  font-weight: 500;
  letter-spacing: 0.34em;
  color: var(--muted-2);
  text-transform: uppercase;
  white-space: nowrap;
}

.nav {
  display: flex;
  align-items: center;
  gap: 1px;
  margin-left: auto;
}

.nav-link {
  position: relative;
  padding: 10px 13px;
  border-radius: 7px;
  color: var(--muted);
  font-size: 12.5px;
  font-weight: 400;
  white-space: nowrap;
  transition: color 0.2s, background 0.2s;
}

.nav-link::after {
  content: "";
  position: absolute;
  right: 13px;
  bottom: 2px;
  left: 13px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0;
  transform: scaleX(0.5);
  transition: opacity 0.25s, transform 0.25s;
}

.nav-link:hover {
  color: var(--text);
}

.nav-link.is-active {
  color: var(--text);
}

.nav-link.is-active::after {
  opacity: 1;
  transform: scaleX(1);
}

.header-status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding-left: 20px;
  border-left: 1px solid var(--line);
  color: var(--muted-2);
  font-size: 9.5px;
  letter-spacing: 0.14em;
  white-space: nowrap;
}

.status-dot {
  display: inline-block;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--live);
  box-shadow: 0 0 0 4px rgba(217, 92, 69, 0.08);
  animation: status-pulse 2.8s ease-in-out infinite;
}

@keyframes status-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(245, 242, 234, 0.03);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 4px;
}

.nav-toggle span {
  display: block;
  width: 15px;
  height: 1px;
  background: var(--text);
  transition: transform 0.25s, opacity 0.25s;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(5px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-5px) rotate(-45deg);
}

/* ==========================================================================
   Hero
   ========================================================================== */

.hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 680px;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  isolation: isolate;
}

.hero-atmosphere {
  position: absolute;
  inset: 0;
  z-index: -4;
  opacity: 0.36;
  filter: grayscale(0.18) contrast(1.04);
}

.hero-atmosphere img,
.hero-atmosphere video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
  transform: scale(1.04);
}

.hero-veil {
  position: absolute;
  inset: 0;
  z-index: -3;
  background:
    linear-gradient(90deg, var(--ink) 0%, rgba(7, 8, 10, 0.94) 31%, rgba(7, 8, 10, 0.5) 62%, rgba(7, 8, 10, 0.86) 100%),
    linear-gradient(180deg, rgba(7, 8, 10, 0.4) 0%, rgba(7, 8, 10, 0.18) 38%, var(--ink) 98%);
}

.hero-grid-lines {
  position: absolute;
  inset: 0;
  z-index: -2;
  opacity: 0.55;
  background-image:
    linear-gradient(to right, rgba(245, 242, 234, 0.045) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(245, 242, 234, 0.045) 1px, transparent 1px);
  background-size: 88px 88px;
  -webkit-mask-image: radial-gradient(ellipse at 62% 46%, #000 0%, transparent 74%);
  mask-image: radial-gradient(ellipse at 62% 46%, #000 0%, transparent 74%);
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: radial-gradient(560px 420px at 78% 48%, rgba(201, 168, 106, 0.14), transparent 70%);
}

.hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(340px, 0.94fr);
  align-items: center;
  gap: 56px;
  width: 100%;
  padding-top: 64px;
  padding-bottom: 84px;
}

.hero-layout.is-solo {
  grid-template-columns: minmax(0, 760px);
}

.hero-copy {
  max-width: 650px;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 22px;
  color: var(--gold);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.eyebrow-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 4px rgba(201, 168, 106, 0.12);
}

.hero-title {
  margin: 0;
  color: var(--text);
  font-size: clamp(40px, 5.2vw, 72px);
  font-weight: 600;
  letter-spacing: -0.045em;
  line-height: 1.06;
}

.hero-title .line-1 {
  color: var(--text);
}

.hero-title .line-2 {
  color: var(--gold-2);
}

.hero-sub {
  max-width: 520px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.9;
  text-wrap: pretty;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 32px;
}

.hero-stats {
  display: flex;
  max-width: 470px;
  margin-top: 46px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.hero-stat {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}

.hero-stat + .hero-stat {
  padding-left: 22px;
  border-left: 1px solid var(--line);
  margin-left: 22px;
}

.hero-stat strong {
  color: var(--text);
  font-size: 23px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
  line-height: 1;
}

.hero-stat span {
  color: var(--muted-2);
  font-size: 9.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero-showcase {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-self: end;
  width: min(100%, 480px);
  min-width: 0;
  padding-top: 24px;
}

.showcase-eyebrow {
  position: relative;
  z-index: 2;
  align-self: flex-start;
  margin: 0 0 16px;
  padding-left: 4px;
  color: var(--gold);
  font-size: 9.5px;
  letter-spacing: 0.26em;
}

.showcase-orbit {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 560px;
  height: 560px;
  border: 1px solid rgba(201, 168, 106, 0.15);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.showcase-orbit::before {
  content: "";
  position: absolute;
  inset: 52px;
  border: 1px solid rgba(201, 168, 106, 0.08);
  border-radius: 50%;
}

.showcase-orbit::after {
  content: "";
  position: absolute;
  top: 40px;
  left: 50%;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 14px rgba(201, 168, 106, 0.55);
  transform: translateX(-50%);
}

.showcase-card {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 10px;
  border: 1px solid var(--line-strong);
  border-radius: 26px;
  background: rgba(15, 17, 22, 0.66);
  box-shadow: 0 40px 90px rgba(0, 0, 0, 0.48), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(22px);
  transition: transform 0.45s var(--ease), border-color 0.3s;
}

.showcase-card:hover {
  transform: translateY(-6px);
  border-color: rgba(201, 168, 106, 0.42);
}

.showcase-media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-radius: 18px;
  background: #0a0b0e;
}

.showcase-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease);
}

.showcase-card:hover .showcase-media img {
  transform: scale(1.04);
}

.showcase-status {
  position: absolute;
  top: 14px;
  left: 14px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border: 1px solid rgba(245, 242, 234, 0.16);
  border-radius: 999px;
  background: rgba(7, 8, 10, 0.55);
  color: var(--text);
  font-size: 9.5px;
  letter-spacing: 0.1em;
  backdrop-filter: blur(10px);
}

.showcase-status i {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--live);
  box-shadow: 0 0 8px var(--live);
}

.showcase-info {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 17px 10px 9px;
}

.showcase-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.showcase-tag {
  color: var(--gold);
  font-size: 9.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.showcase-name {
  overflow: hidden;
  color: var(--text);
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.3;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.showcase-arrow {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  color: var(--gold);
  transition: color 0.25s, background 0.25s, border-color 0.25s;
}

.showcase-arrow svg {
  width: 16px;
  height: 16px;
}

.showcase-card:hover .showcase-arrow {
  background: var(--gold);
  border-color: var(--gold);
  color: #090a0d;
}

.showcase-foot {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  width: 100%;
  margin-top: 14px;
  color: var(--muted-2);
  font-size: 9px;
  letter-spacing: 0.2em;
}

.hero-rail {
  position: absolute;
  top: 50%;
  right: 26px;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--muted-2);
  font-size: 8.5px;
  letter-spacing: 0.32em;
  writing-mode: vertical-rl;
  transform: translateY(-50%) rotate(180deg);
}

.hero-rail i {
  width: 1px;
  height: 52px;
  background: linear-gradient(180deg, var(--gold), transparent);
}

.hero-fallback {
  width: 100%;
  height: 100%;
  background:
    radial-gradient(600px 300px at 70% 44%, rgba(201, 168, 106, 0.22), transparent 65%),
    linear-gradient(160deg, #12100c, #07080a 72%);
}

/* Large game-box banner (content sourced from cq298) */

.hero.hero-banner {
  display: block;
  min-height: 0;
  padding: 54px 0 66px;
  background:
    radial-gradient(800px 500px at 78% 0%, rgba(201, 168, 106, 0.12), transparent 66%),
    radial-gradient(600px 420px at 6% 30%, rgba(201, 168, 106, 0.05), transparent 62%),
    var(--ink);
}

.hero.hero-banner::after {
  background: radial-gradient(700px 450px at 76% 8%, rgba(201, 168, 106, 0.12), transparent 70%);
}

.hero-banner .hero-grid-lines {
  opacity: 0.38;
}

.banner-card {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.16fr) minmax(320px, 0.84fr);
  align-items: center;
  gap: 40px;
  min-height: 520px;
  padding: 56px 58px;
  overflow: hidden;
  border: 1px solid rgba(120, 88, 42, 0.26);
  border-radius: 30px;
  background:
    radial-gradient(620px 300px at 88% -18%, rgba(180, 146, 92, 0.3), transparent 64%),
    linear-gradient(152deg, #fcf9f1 0%, #f4eddd 58%, #e9ddc6 100%);
  box-shadow: 0 48px 100px rgba(0, 0, 0, 0.42), inset 0 1px 0 rgba(255, 255, 255, 0.72);
  color: #22251f;
}

.banner-card::before {
  content: "";
  position: absolute;
  top: -210px;
  right: -120px;
  width: 540px;
  height: 540px;
  border: 1px solid rgba(120, 88, 42, 0.16);
  border-radius: 50%;
  pointer-events: none;
}

.banner-card::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(120, 88, 42, 0.28), transparent);
}

.banner-copy {
  position: relative;
  z-index: 2;
  max-width: 660px;
}

.banner-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px;
  border-radius: 999px;
  background: #22251f;
  color: #f7e9c8;
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.banner-badge i {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #e8d6a8;
}

.banner-eyebrow {
  margin: 20px 0 0;
  color: #8a744e;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.3em;
}

.banner-title {
  margin: 12px 0 0;
  color: #171a15;
  font-size: clamp(40px, 5.4vw, 68px);
  font-weight: 600;
  letter-spacing: -0.05em;
  line-height: 1.05;
}

.banner-desc {
  max-width: 580px;
  margin: 20px 0 0;
  color: #5f584a;
  font-size: 14px;
  line-height: 1.9;
}

.banner-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  margin-top: 30px;
}

.btn-dark {
  min-height: 46px;
  padding: 12px 24px;
  border-color: #171a15;
  background: #171a15;
  color: #f8edd2;
}

.btn-dark:hover {
  border-color: #2b2b22;
  background: #2b2b22;
  color: #fff9e9;
  box-shadow: 0 14px 30px rgba(23, 26, 21, 0.18);
}

.btn-text {
  min-height: 40px;
  padding: 10px 0;
  border: 0;
  border-radius: 0;
  color: #22251f;
  font-size: 12.5px;
}

.btn-text span {
  color: #8a744e;
  font-size: 14px;
  transition: transform 0.2s;
}

.btn-text:hover {
  color: #6f5126;
  transform: none;
}

.btn-text:hover span {
  transform: translateX(3px);
}

.banner-note {
  margin: 22px 0 0;
  color: #8d805f;
  font-size: 9.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.banner-note a {
  color: #6d542c;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.banner-art {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 360px;
}

.banner-art-mark {
  position: absolute;
  right: -8px;
  bottom: -22px;
  color: transparent;
  font-size: 188px;
  font-weight: 700;
  letter-spacing: -0.08em;
  line-height: 1;
  -webkit-text-stroke: 1px rgba(120, 88, 42, 0.2);
  user-select: none;
}

.banner-art-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 340px;
  height: 340px;
  border: 1px solid rgba(120, 88, 42, 0.24);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.banner-art-ring::before {
  content: "";
  position: absolute;
  inset: 38px;
  border: 1px dashed rgba(120, 88, 42, 0.16);
  border-radius: 50%;
}

.banner-art-ring::after {
  content: "";
  position: absolute;
  top: 10px;
  left: 50%;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #b28a4b;
  box-shadow: 0 0 0 5px rgba(178, 138, 75, 0.12);
  transform: translateX(-50%);
}

.banner-art-frame {
  position: relative;
  z-index: 2;
  width: 156px;
  height: 156px;
  padding: 10px;
  border: 1px solid rgba(120, 88, 42, 0.3);
  border-radius: 36px;
  background: rgba(255, 255, 255, 0.38);
  box-shadow: 0 24px 50px rgba(94, 63, 23, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.8);
  transform: rotate(-5deg);
  backdrop-filter: blur(8px);
}

.banner-art-frame img {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 27px;
  object-fit: cover;
}

.banner-art-caption {
  position: absolute;
  bottom: 14px;
  left: 50%;
  color: #8d805f;
  font-size: 8.5px;
  letter-spacing: 0.24em;
  white-space: nowrap;
  transform: translateX(-50%);
}

/* ==========================================================================
   Library
   ========================================================================== */

.library {
  position: relative;
  padding: 88px 0 30px;
  border-top: 1px solid var(--line);
  scroll-margin-top: calc(var(--header-h) + 20px);
}

.library-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 26px;
}

.library-heading,
.section-heading {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  min-width: 0;
}

.section-index {
  flex-shrink: 0;
  padding-top: 9px;
  color: var(--gold);
  font-size: 10px;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.18em;
}

.section-eyebrow {
  margin: 0 0 8px;
  color: var(--muted-2);
  font-size: 9.5px;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

.section-title {
  margin: 0;
  color: var(--text);
  font-size: clamp(25px, 3vw, 34px);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.library-tools {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 20px;
}

.library-meta {
  margin: 0;
  color: var(--muted-2);
  font-size: 10.5px;
  letter-spacing: 0.06em;
  white-space: nowrap;
}

.library-meta strong {
  color: var(--text);
  font-weight: 600;
}

.dot-sep {
  color: var(--muted-2);
}

/* Search */

.search {
  display: flex;
  align-items: center;
  width: 300px;
  height: 42px;
  padding: 0 4px 0 15px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(245, 242, 234, 0.03);
  transition: border-color 0.25s, background 0.25s;
}

.search:focus-within {
  border-color: rgba(201, 168, 106, 0.5);
  background: rgba(245, 242, 234, 0.05);
}

.search-field {
  position: relative;
  display: flex;
  align-items: center;
  flex: 1;
  min-width: 0;
}

.search-icon {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
  color: var(--muted-2);
}

.search-input {
  width: 100%;
  height: 40px;
  padding: 0 24px 0 9px;
  border: 0;
  background: transparent;
  color: var(--text);
  font-size: 12px;
  outline: none;
}

.search-input::placeholder {
  color: var(--muted-2);
}

.search-input::-webkit-search-cancel-button {
  display: none;
}

.search-clear {
  position: absolute;
  right: 2px;
  top: 50%;
  width: 20px;
  height: 20px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(245, 242, 234, 0.08);
  color: var(--muted);
  font-size: 12px;
  line-height: 1;
  transform: translateY(-50%);
}

.search-clear:hover {
  background: var(--gold);
  color: #090a0d;
}

.search-btn {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--text);
  color: #090a0d;
  transition: background 0.25s, color 0.25s, transform 0.25s;
}

.search-btn svg {
  width: 14px;
  height: 14px;
}

.search-btn:hover {
  background: var(--gold);
  transform: scale(1.04);
}

/* Filter */

.filter-bar {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 56px;
  margin-bottom: 34px;
  padding: 16px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.filter-label {
  flex-shrink: 0;
  color: var(--muted-2);
  font-size: 9.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.filter-tags {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 7px;
  min-width: 0;
}

.tag {
  padding: 6px 13px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  font-size: 11.5px;
  line-height: 1.5;
  transition: color 0.22s, background 0.22s, border-color 0.22s;
}

.tag:hover {
  color: var(--text);
  background: rgba(245, 242, 234, 0.04);
}

.tag.is-active {
  border-color: rgba(201, 168, 106, 0.35);
  background: rgba(201, 168, 106, 0.08);
  color: var(--gold-2);
}

.filter-clear {
  padding: 6px 10px;
  border: 0;
  background: transparent;
  color: var(--muted-2);
  font-size: 10.5px;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.filter-clear:hover {
  color: var(--gold);
}

/* ==========================================================================
   Game cards
   ========================================================================== */

.games-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
  padding-bottom: 20px;
}

.game-card {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(23, 28, 35, 0.94), rgba(14, 18, 23, 0.98));
  transition: transform 0.45s var(--ease), border-color 0.3s, box-shadow 0.35s;
}

.game-card:hover {
  border-color: rgba(201, 168, 106, 0.32);
  box-shadow: 0 26px 54px rgba(0, 0, 0, 0.34);
  transform: translateY(-5px);
}

.game-card.is-hidden {
  display: none;
}

.game-cover {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #0a0b0e;
}

.game-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}

.game-card:hover .game-cover img {
  transform: scale(1.045);
}

.game-cover::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(7, 8, 10, 0.5) 0%, rgba(7, 8, 10, 0.2) 38%, transparent 72%),
    linear-gradient(180deg, transparent 25%, rgba(7, 8, 10, 0.86) 82%);
  pointer-events: none;
}

.game-cover-caption {
  position: absolute;
  right: 16px;
  bottom: 14px;
  left: 16px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 5px;
  pointer-events: none;
}

.game-cover-tag {
  padding: 3px 7px;
  border: 1px solid rgba(201, 168, 106, 0.35);
  border-radius: 4px;
  background: rgba(7, 8, 10, 0.48);
  color: var(--gold-2);
  font-size: 8.5px;
  letter-spacing: 0.05em;
  line-height: 1.4;
  backdrop-filter: blur(6px);
}

.game-cover-name {
  max-width: 100%;
  overflow: hidden;
  color: var(--gold-2);
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.2;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.85);
  white-space: nowrap;
  text-overflow: ellipsis;
}

.game-cover-top {
  position: absolute;
  top: 12px;
  right: 12px;
  left: 12px;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.game-index {
  padding: 3px 6px;
  border: 1px solid rgba(245, 242, 234, 0.12);
  border-radius: 999px;
  background: rgba(7, 8, 10, 0.35);
  color: rgba(245, 242, 234, 0.68);
  font-size: 9px;
  letter-spacing: 0.18em;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(6px);
}

.game-recommend {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 8px;
  border: 1px solid rgba(245, 242, 234, 0.14);
  border-radius: 999px;
  background: rgba(7, 8, 10, 0.48);
  color: var(--text);
  font-size: 9.5px;
  letter-spacing: 0.06em;
  backdrop-filter: blur(8px);
}

.game-recommend i {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: currentColor;
}

.badge-hot {
  color: #ff9c88;
}

.badge-new {
  color: #8fe2b0;
}

.badge-featured {
  color: var(--gold-2);
}

.game-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 17px 18px 18px;
}

.game-title-row {
  display: flex;
  align-items: baseline;
  gap: 9px;
  min-width: 0;
  margin-bottom: 7px;
}

.game-title {
  margin: 0;
  overflow: hidden;
  color: var(--text);
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.35;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.game-tag {
  flex-shrink: 0;
  color: var(--gold);
  font-size: 9.5px;
  letter-spacing: 0.03em;
  white-space: nowrap;
}

.game-tag::before {
  content: "·";
  margin-right: 5px;
  color: var(--muted-2);
}

.game-desc {
  display: -webkit-box;
  min-height: 40px;
  margin: 0 0 17px;
  overflow: hidden;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.65;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.game-actions {
  display: flex;
  gap: 6px;
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.game-actions .btn {
  flex: 1;
  min-width: 0;
  min-height: 33px;
  padding: 7px 5px;
  border-radius: 8px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.02em;
}

.game-actions .btn-play::after {
  content: "↗";
  margin-left: 2px;
  font-size: 9px;
  opacity: 0.65;
}

.cover-fallback {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 68% 32%, rgba(201, 168, 106, 0.16), transparent 58%),
    linear-gradient(145deg, #17140f, #0a0b0e);
}

.cover-fallback span {
  color: rgba(201, 168, 106, 0.18);
  font-size: 90px;
  font-weight: 600;
  line-height: 1;
}

/* Filler panel for an incomplete last row */

.library-cta {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 340px;
  padding: 28px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    radial-gradient(90% 130% at 100% 0%, rgba(201, 168, 106, 0.14), transparent 62%),
    linear-gradient(180deg, rgba(23, 28, 35, 0.92), rgba(10, 14, 18, 0.98));
  transition: border-color 0.3s, transform 0.4s var(--ease);
}

.library-cta::before {
  content: "";
  position: absolute;
  top: -120px;
  right: -90px;
  width: 320px;
  height: 320px;
  border: 1px solid rgba(201, 168, 106, 0.16);
  border-radius: 50%;
  pointer-events: none;
}

.library-cta:hover {
  border-color: rgba(201, 168, 106, 0.35);
  transform: translateY(-4px);
}

.library-cta-eyebrow {
  position: relative;
  z-index: 1;
  margin-bottom: 12px;
  color: var(--gold);
  font-size: 9px;
  letter-spacing: 0.24em;
}

.library-cta-title {
  position: relative;
  z-index: 1;
  max-width: 360px;
  margin-bottom: 9px;
  color: var(--text);
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.35;
}

.library-cta-text {
  position: relative;
  z-index: 1;
  max-width: 340px;
  margin-bottom: 22px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.8;
}

.library-cta-link {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--gold-2);
  font-size: 11px;
  letter-spacing: 0.06em;
}

.library-cta-link svg {
  width: 13px;
  height: 13px;
  transition: transform 0.25s;
}

.library-cta:hover .library-cta-link svg {
  transform: translateX(3px);
}

.library-cta-mark {
  position: absolute;
  right: 16px;
  bottom: -12px;
  color: transparent;
  font-size: 104px;
  font-weight: 700;
  letter-spacing: -0.06em;
  line-height: 1;
  -webkit-text-stroke: 1px rgba(201, 168, 106, 0.1);
  pointer-events: none;
  user-select: none;
}

@media (max-width: 640px) {
  .library-cta {
    display: none !important;
  }
}

/* Empty state */

.empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 280px;
  margin: 10px 0 40px;
  padding: 46px 24px;
  border: 1px dashed var(--line-strong);
  border-radius: 20px;
  background: rgba(245, 242, 234, 0.012);
  text-align: center;
}

.empty-icon {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  margin-bottom: 18px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  color: var(--gold);
}

.empty-icon svg {
  width: 24px;
  height: 24px;
}

.empty-state h3 {
  margin: 0 0 7px;
  font-size: 17px;
  font-weight: 600;
}

.empty-state p {
  margin: 0 0 20px;
  color: var(--muted-2);
  font-size: 12px;
}

.empty-state .btn {
  min-height: 38px;
}

/* ==========================================================================
   Journal / news
   ========================================================================== */

.news-section {
  margin-top: 0;
  padding: 96px 0 80px;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  background: #e9ede7;
  color: #18191d;
}

.news-section .section-index,
.news-section .section-eyebrow {
  color: #94733f;
}

.news-section .section-title {
  color: #18191d;
}

.news-section .section-sub {
  color: #77736b;
}

.news-section .news-cover {
  border-color: rgba(0, 0, 0, 0.08);
}

.news-section .news-meta {
  color: #8b867d;
}

.news-section .news-title {
  color: #18191d;
}

.news-section .news-card:hover .news-title {
  color: #94733f;
}

.news-section .news-desc {
  color: #6b6760;
}

.news-section .news-more {
  color: #94733f;
}

.news-section .news-index {
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(7, 8, 10, 0.55);
  color: #f5f2ea;
}

.home.has-news .news-section {
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.home.has-news .site-footer {
  margin-top: 0;
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 36px;
}

.section-sub {
  margin: 0 0 3px;
  color: var(--muted-2);
  font-size: 11px;
  letter-spacing: 0.04em;
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 30px;
}

.news-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.news-cover {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #0a0b0e;
  transition: border-color 0.3s;
}

.news-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}

.news-card:hover .news-cover {
  border-color: rgba(201, 168, 106, 0.32);
}

.news-card:hover .news-cover img {
  transform: scale(1.04);
}

.news-index {
  position: absolute;
  top: 12px;
  right: 12px;
  padding: 4px 8px;
  border: 1px solid rgba(245, 242, 234, 0.14);
  border-radius: 999px;
  background: rgba(7, 8, 10, 0.48);
  color: rgba(245, 242, 234, 0.7);
  font-size: 9px;
  letter-spacing: 0.14em;
  backdrop-filter: blur(8px);
}

.news-body {
  padding: 17px 2px 0;
}

.news-meta {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: var(--muted-2);
  font-size: 9.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.news-title {
  margin: 11px 0 8px;
  color: var(--text);
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.5;
  transition: color 0.25s;
}

.news-card:hover .news-title {
  color: var(--gold-2);
}

.news-desc {
  display: -webkit-box;
  margin: 0;
  overflow: hidden;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.7;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.news-more {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 16px;
  color: var(--gold);
  font-size: 10.5px;
  letter-spacing: 0.08em;
}

.news-more svg {
  width: 13px;
  height: 13px;
  transition: transform 0.25s;
}

.news-card:hover .news-more svg {
  transform: translateX(3px);
}

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer {
  position: relative;
  overflow: hidden;
  margin-top: 80px;
  padding: 78px 0 30px;
  border-top: 1px solid var(--line);
  background: #080b0f;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 50px;
  align-items: start;
}

.footer-brand .brand {
  margin-bottom: 18px;
}

.footer-brand .brand-name {
  font-size: 17px;
}

.footer-desc {
  max-width: 360px;
  margin: 0;
  color: var(--muted-2);
  font-size: 12px;
  line-height: 1.85;
}

.footer-status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin: 16px 0 0;
  color: var(--muted-2);
  font-size: 9.5px;
  letter-spacing: 0.12em;
}

.footer-heading {
  margin: 5px 0 15px;
  color: var(--muted-2);
  font-size: 9.5px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px 20px;
}

.footer-links a {
  color: var(--muted);
  font-size: 12px;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: var(--gold-2);
}

.footer-contact p {
  margin: 0;
}

.footer-qq {
  margin-bottom: 13px !important;
  color: var(--gold);
  font-size: 22px;
  font-weight: 500;
  letter-spacing: 0.04em;
}

.footer-mark {
  margin: 44px 0 -24px;
  color: transparent;
  font-size: clamp(100px, 15vw, 200px);
  font-weight: 700;
  letter-spacing: -0.05em;
  line-height: 0.78;
  text-align: center;
  -webkit-text-stroke: 1px rgba(201, 168, 106, 0.16);
  user-select: none;
  pointer-events: none;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px 24px;
  margin-top: 36px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  color: var(--muted-2);
  font-size: 11px;
  line-height: 1.8;
}

.footer-legal p {
  margin: 0;
}

.footer-legal p + p {
  margin-top: 4px;
}

.footer-copy {
  color: #55514a;
}

/* ==========================================================================
   Article page
   ========================================================================== */

.page-bar {
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--muted-2);
  font-size: 11.5px;
}

.breadcrumb a {
  color: var(--muted);
  transition: color 0.2s;
}

.breadcrumb a:hover {
  color: var(--gold-2);
}

.breadcrumb .sep {
  color: #3a372f;
}

.breadcrumb .current {
  max-width: 70vw;
  overflow: hidden;
  color: rgba(245, 242, 234, 0.78);
  white-space: nowrap;
  text-overflow: ellipsis;
}

.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  align-items: start;
  gap: 52px;
  padding: 54px 0 80px;
}

.article {
  min-width: 0;
}

.article-kicker {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--gold);
  font-size: 9.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.article-kicker::before {
  content: "";
  width: 18px;
  height: 1px;
  background: var(--gold);
}

.article h1 {
  margin: 18px 0 16px;
  color: var(--text);
  font-size: clamp(30px, 4vw, 46px);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.28;
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
  color: var(--muted-2);
  font-size: 11.5px;
}

.article-meta span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.article-meta svg {
  width: 14px;
  height: 14px;
}

.article-cover {
  overflow: hidden;
  margin: 28px 0 8px;
  border: 1px solid var(--line);
  border-radius: 18px;
}

.article-cover img {
  width: 100%;
  height: auto;
}

.article-content {
  max-width: 760px;
  color: #c9c4ba;
  font-size: 15px;
  line-height: 2;
  overflow-wrap: break-word;
}

.article-content > :first-child {
  margin-top: 30px;
}

.article-content h2 {
  position: relative;
  margin: 42px 0 14px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
  color: var(--text);
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.45;
}

.article-content h2::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  width: 38px;
  height: 1px;
  background: var(--gold);
}

.article-content h3 {
  margin: 28px 0 10px;
  color: var(--text);
  font-size: 17px;
  font-weight: 600;
}

.article-content p {
  margin: 0 0 16px;
}

.article-content a {
  color: var(--gold);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.article-content strong {
  color: var(--text);
  font-weight: 600;
}

.article-content ul,
.article-content ol {
  margin: 0 0 18px;
  padding-left: 1.4em;
}

.article-content li {
  margin: 7px 0;
}

.article-content li::marker {
  color: var(--gold);
}

.article-content blockquote {
  margin: 24px 0;
  padding: 18px 22px;
  border-left: 1px solid var(--gold);
  border-radius: 0 10px 10px 0;
  background: rgba(201, 168, 106, 0.045);
  color: #d8d2c6;
}

.article-content blockquote p:last-child {
  margin-bottom: 0;
}

.article-content img {
  height: auto;
  margin: 8px auto;
  border-radius: 12px;
}

.article-content table {
  width: 100%;
  margin: 20px 0;
  border-collapse: collapse;
  font-size: 14px;
}

.article-content th,
.article-content td {
  padding: 10px 12px;
  border: 1px solid var(--line-strong);
  text-align: left;
}

.article-content th {
  background: rgba(245, 242, 234, 0.04);
  color: var(--text);
}

.article-content code {
  padding: 2px 6px;
  border-radius: 4px;
  background: rgba(245, 242, 234, 0.08);
  font-size: 0.9em;
}

.article-content hr {
  height: 1px;
  margin: 30px 0;
  border: 0;
  background: var(--line);
}

.article-foot {
  margin-top: 38px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.article-foot .btn {
  min-height: 42px;
}

.article-aside {
  position: sticky;
  top: calc(var(--header-h) + 24px);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.aside-card {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(15, 17, 22, 0.6);
}

.aside-card h2 {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 15px;
  color: var(--text);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.aside-card h2::before {
  content: "";
  width: 16px;
  height: 1px;
  background: var(--gold);
}

.aside-list {
  display: flex;
  flex-direction: column;
  gap: 13px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.aside-list a {
  display: flex;
  gap: 9px;
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.55;
  transition: color 0.2s;
}

.aside-list a::before {
  content: "›";
  color: var(--gold);
  font-weight: 600;
}

.aside-list a:hover {
  color: var(--gold-2);
}

.aside-cta p {
  margin: 0 0 14px;
  color: var(--muted-2);
  font-size: 12px;
  line-height: 1.75;
}

.aside-cta .btn {
  width: 100%;
  min-height: 38px;
}

.reading-progress {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 200;
  width: 0;
  height: 1px;
  background: linear-gradient(90deg, var(--gold), var(--gold-2));
  box-shadow: 0 0 10px rgba(201, 168, 106, 0.35);
  transition: width 0.1s linear;
}

/* ==========================================================================
   404
   ========================================================================== */

.error-page {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 64vh;
  padding: 100px 20px;
  text-align: center;
}

.error-page::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 520px;
  height: 520px;
  border: 1px solid rgba(201, 168, 106, 0.12);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.error-page::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 400px;
  height: 400px;
  border: 1px solid rgba(201, 168, 106, 0.06);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.error-emblem {
  position: relative;
  z-index: 1;
  display: inline-flex;
  width: 56px;
  height: 56px;
  margin-bottom: 20px;
}

.error-emblem .brand-emblem {
  width: 56px;
  height: 56px;
}

.error-code {
  position: relative;
  z-index: 1;
  margin: 0;
  color: transparent;
  font-size: clamp(100px, 16vw, 170px);
  font-weight: 600;
  letter-spacing: -0.06em;
  line-height: 1;
  -webkit-text-stroke: 1px rgba(201, 168, 106, 0.55);
}

.error-title {
  position: relative;
  z-index: 1;
  margin: 12px 0 8px;
  font-size: 21px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.error-text {
  position: relative;
  z-index: 1;
  margin: 0 0 26px;
  color: var(--muted-2);
  font-size: 12.5px;
}

.error-actions {
  position: relative;
  z-index: 1;
  display: flex;
  gap: 10px;
}

/* ==========================================================================
   Toast / back to top
   ========================================================================== */

.toast {
  position: fixed;
  bottom: 42px;
  left: 50%;
  z-index: 300;
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: min(90vw, 420px);
  padding: 12px 18px;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  background: rgba(15, 17, 22, 0.96);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.5);
  color: rgba(245, 242, 234, 0.9);
  font-size: 12.5px;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 10px);
  transition: opacity 0.25s, transform 0.25s;
  backdrop-filter: blur(14px);
}

.toast.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

.toast::before {
  content: "";
  display: block;
  flex-shrink: 0;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 4px rgba(201, 168, 106, 0.1);
}

.to-top {
  position: fixed;
  right: 24px;
  bottom: 26px;
  z-index: 90;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background: rgba(15, 17, 22, 0.9);
  color: var(--muted);
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity 0.25s, transform 0.25s, color 0.2s, border-color 0.2s;
  backdrop-filter: blur(10px);
}

.to-top.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: none;
}

.to-top:hover {
  border-color: rgba(201, 168, 106, 0.4);
  color: var(--gold);
}

.to-top svg {
  width: 16px;
  height: 16px;
}

/* ==========================================================================
   Reveal
   ========================================================================== */

.js .reveal {
  opacity: 0;
  transform: translateY(16px);
}

.js .reveal.is-in {
  opacity: 1;
  transform: none;
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 1240px) {
  .container {
    padding: 0 30px;
  }

  .hero-layout {
    gap: 38px;
  }

  .showcase-card,
  .showcase-foot {
    width: 100%;
  }

  .hero-showcase {
    width: min(100%, 430px);
  }

  .showcase-orbit {
    width: 500px;
    height: 500px;
  }

  .games-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .header-status {
    display: none;
  }
}

@media (max-width: 1080px) {
  .banner-card {
    grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
    gap: 28px;
    min-height: 470px;
    padding: 44px 42px;
  }

  .banner-title {
    font-size: 56px;
  }

  .banner-art-ring {
    width: 280px;
    height: 280px;
  }

  .banner-art-frame {
    width: 136px;
    height: 136px;
    border-radius: 32px;
  }

  .banner-art-mark {
    font-size: 150px;
  }

  .nav-link {
    padding: 10px 10px;
    font-size: 12px;
  }

  .hero-layout {
    grid-template-columns: minmax(0, 1.1fr) minmax(300px, 0.9fr);
    gap: 28px;
  }

  .showcase-card,
  .showcase-foot {
    width: 100%;
  }

  .hero-showcase {
    width: min(100%, 390px);
  }

  .showcase-orbit {
    width: 440px;
    height: 440px;
  }

  .hero-rail {
    display: none;
  }

  .library-head {
    align-items: flex-start;
    flex-direction: column;
    gap: 20px;
  }

  .library-tools {
    width: 100%;
    justify-content: space-between;
  }

  .search {
    width: 300px;
  }
}

@media (max-width: 900px) {
  :root {
    --header-h: 68px;
  }

  .hero.hero-banner {
    padding: 34px 0 48px;
  }

  .banner-card {
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
    min-height: 0;
    padding: 38px 32px 40px;
  }

  .banner-title {
    font-size: clamp(36px, 6vw, 52px);
  }

  .banner-desc {
    max-width: 100%;
  }

  .banner-art {
    justify-content: center;
    min-height: 250px;
    margin-top: 4px;
  }

  .banner-art-ring {
    width: 250px;
    height: 250px;
  }

  .banner-art-frame {
    width: 120px;
    height: 120px;
    border-radius: 28px;
  }

  .banner-art-mark {
    right: 8%;
    bottom: 0;
    font-size: 130px;
  }

  .banner-art-caption {
    bottom: 0;
  }

  .container {
    padding: 0 24px;
  }

  .nav-toggle {
    display: flex;
    margin-left: auto;
  }

  .nav {
    position: fixed;
    top: var(--header-h);
    right: 0;
    left: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    max-height: calc(100vh - var(--header-h));
    padding: 14px 24px 22px;
    overflow-y: auto;
    border-bottom: 1px solid var(--line-strong);
    background: #07080a;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
  }

  .nav.is-open {
    display: flex;
    animation: nav-in 0.22s var(--ease);
  }

  @keyframes nav-in {
    from {
      opacity: 0;
      transform: translateY(-6px);
    }
  }

  .nav-link {
    padding: 14px 12px;
    border-radius: 8px;
    font-size: 14px;
  }

  .nav-link::after {
    display: none;
  }

  .nav-link.is-active {
    background: rgba(201, 168, 106, 0.08);
    color: var(--gold-2);
  }

  .brand-name {
    font-size: 15px;
  }

  .hero {
    min-height: 0;
  }

  .hero-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 34px;
    padding-top: 56px;
    padding-bottom: 64px;
  }

  .hero-copy {
    max-width: 640px;
  }

  .hero-title {
    font-size: clamp(36px, 7vw, 54px);
  }

  .hero-showcase {
    align-items: flex-start;
    justify-self: start;
    width: min(100%, 520px);
    padding-top: 10px;
  }

  .showcase-eyebrow {
    align-self: flex-start;
  }

  .showcase-card,
  .showcase-foot {
    width: 100%;
  }

  .showcase-orbit {
    left: 40%;
    width: 470px;
    height: 470px;
  }

  .library {
    padding-top: 64px;
  }

  .library-tools {
    align-items: stretch;
    flex-direction: column;
    gap: 12px;
  }

  .search {
    width: 100%;
  }

  .games-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
  }

  .news-section {
    padding-top: 64px;
  }

  .news-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
  }

  .news-grid .news-card:last-child {
    display: none;
  }

  .section-head {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 34px;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .article-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 34px;
    padding: 34px 0 54px;
  }

  .article-aside {
    position: static;
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .hero.hero-banner {
    padding: 24px 0 36px;
  }

  .banner-card {
    padding: 28px 22px 30px;
    border-radius: 24px;
  }

  .banner-badge {
    padding: 4px 9px;
    font-size: 9px;
  }

  .banner-eyebrow {
    margin-top: 16px;
    font-size: 8.5px;
    letter-spacing: 0.22em;
  }

  .banner-title {
    margin-top: 9px;
    font-size: clamp(32px, 9vw, 40px);
  }

  .banner-desc {
    margin-top: 15px;
    font-size: 12.5px;
    line-height: 1.85;
  }

  .banner-actions {
    gap: 10px;
    margin-top: 22px;
  }

  .banner-actions .btn-dark {
    min-height: 43px;
    padding: 11px 18px;
    font-size: 12px;
  }

  .btn-text {
    font-size: 12px;
  }

  .banner-note {
    margin-top: 16px;
    font-size: 8.5px;
    line-height: 1.7;
    letter-spacing: 0.07em;
  }

  .banner-art {
    min-height: 190px;
    margin-top: 8px;
  }

  .banner-art-ring {
    width: 190px;
    height: 190px;
  }

  .banner-art-frame {
    width: 96px;
    height: 96px;
    padding: 7px;
    border-radius: 24px;
  }

  .banner-art-frame img {
    border-radius: 18px;
  }

  .banner-art-mark {
    right: 0;
    bottom: -4px;
    font-size: 86px;
  }

  .banner-art-caption {
    display: none;
  }

  .container {
    padding: 0 20px;
  }

  .header-inner {
    gap: 14px;
  }

  .brand-emblem {
    width: 28px;
    height: 28px;
  }

  .brand-name {
    font-size: 14px;
    letter-spacing: 0.1em;
  }

  .brand-sub {
    font-size: 7px;
    letter-spacing: 0.28em;
  }

  .hero-layout {
    padding-top: 42px;
    padding-bottom: 54px;
  }

  .hero-eyebrow {
    margin-bottom: 16px;
    font-size: 9px;
    letter-spacing: 0.18em;
  }

  .hero-title {
    font-size: clamp(32px, 10vw, 42px);
  }

  .hero-sub {
    max-width: 100%;
    margin-top: 17px;
    font-size: 12.5px;
    line-height: 1.85;
  }

  .hero-actions {
    margin-top: 24px;
  }

  .btn-light,
  .btn-line,
  .btn-hero,
  .btn-ghost {
    min-height: 43px;
    padding: 11px 19px;
    font-size: 12px;
  }

  .hero-stats {
    margin-top: 32px;
    padding-top: 18px;
  }

  .hero-stat strong {
    font-size: 19px;
  }

  .hero-stat span {
    font-size: 8px;
    letter-spacing: 0.1em;
  }

  .hero-stat + .hero-stat {
    padding-left: 16px;
    margin-left: 16px;
  }

  .hero-showcase {
    padding-top: 4px;
  }

  .showcase-card,
  .showcase-foot {
    width: 100%;
  }

  .showcase-orbit {
    left: 50%;
    width: 360px;
    height: 360px;
  }

  .showcase-info {
    padding: 14px 8px 7px;
  }

  .showcase-name {
    font-size: 17px;
  }

  .showcase-arrow {
    width: 34px;
    height: 34px;
  }

  .showcase-foot {
    font-size: 8px;
    letter-spacing: 0.16em;
  }

  .library {
    padding-top: 52px;
  }

  .library-heading,
  .section-heading {
    gap: 12px;
  }

  .section-index {
    padding-top: 6px;
  }

  .section-title {
    font-size: 24px;
  }

  .library-tools {
    gap: 10px;
  }

  .filter-bar {
    display: block;
    padding: 13px 0;
    margin-bottom: 24px;
    overflow: hidden;
  }

  .filter-label {
    display: block;
    margin-bottom: 8px;
  }

  .filter-tags {
    flex-wrap: nowrap;
    width: 100%;
    overflow-x: auto;
    padding-bottom: 2px;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    -webkit-mask-image: linear-gradient(90deg, #000 0, #000 calc(100% - 24px), transparent 100%);
    mask-image: linear-gradient(90deg, #000 0, #000 calc(100% - 24px), transparent 100%);
  }

  .filter-tags::-webkit-scrollbar {
    display: none;
  }

  .tag,
  .filter-clear {
    flex-shrink: 0;
  }

  .games-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .game-cover {
    aspect-ratio: 16 / 10;
  }

  .game-cover-name {
    font-size: 24px;
  }

  .game-actions .btn {
    min-height: 35px;
    font-size: 11.5px;
  }

  .news-section {
    padding-top: 54px;
  }

  .news-grid {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .news-grid .news-card:last-child {
    display: flex;
  }

  .site-footer {
    margin-top: 56px;
    padding-top: 56px;
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .footer-brand {
    grid-column: auto;
  }

  .footer-links {
    grid-template-columns: 1fr 1fr;
  }

  .footer-mark {
    margin-top: 34px;
    font-size: clamp(80px, 24vw, 120px);
  }

  .footer-bottom {
    flex-direction: column;
  }

  .article {
    padding: 0;
  }

  .article h1 {
    font-size: 28px;
  }

  .article-content {
    font-size: 14.5px;
    line-height: 1.9;
  }

  .article-content h2 {
    font-size: 19px;
    padding-top: 22px;
  }

  .article-meta {
    gap: 6px 14px;
  }

  .article-aside {
    grid-template-columns: 1fr;
  }

  .aside-card {
    padding: 17px;
  }

  .page-bar {
    padding: 14px 0;
  }

  .to-top {
    right: 16px;
    bottom: 18px;
  }

  .toast {
    bottom: 26px;
  }

  .error-page {
    padding: 70px 16px;
  }

  .error-page::before {
    width: 340px;
    height: 340px;
  }

  .error-page::after {
    width: 260px;
    height: 260px;
  }
}

@media (max-width: 380px) {
  .hero-actions .btn {
    width: 100%;
  }

  .hero-stat + .hero-stat {
    padding-left: 12px;
    margin-left: 12px;
  }

  .showcase-orbit {
    width: 300px;
    height: 300px;
  }
}

@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;
  }

  .js .reveal {
    opacity: 1;
    transform: none;
  }
}

/* ==========================================================================
   Theme toggle
   ========================================================================== */

.theme-toggle {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(245, 242, 234, 0.03);
  color: var(--muted);
  transition: color 0.25s, border-color 0.25s, background 0.25s, transform 0.25s;
}

.theme-toggle:hover {
  border-color: rgba(201, 168, 106, 0.45);
  color: var(--gold);
  transform: rotate(8deg);
}

.theme-icon {
  width: 17px;
  height: 17px;
}

html:not([data-theme="light"]) .theme-icon-moon {
  display: none;
}

html[data-theme="light"] .theme-icon-sun {
  display: none;
}

@media (max-width: 1320px) {
  .header-status {
    display: none;
  }
}

/* ==========================================================================
   Server notices
   ========================================================================== */

.notice-section {
  position: relative;
  padding: 86px 0 68px;
  border-top: 1px solid var(--line);
}

.section-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 4px;
  color: var(--gold);
  font-size: 12.5px;
  letter-spacing: 0.04em;
  white-space: nowrap;
  transition: color 0.2s;
}

.section-link svg {
  width: 14px;
  height: 14px;
  transition: transform 0.25s;
}

.section-link:hover {
  color: var(--gold-2);
}

.section-link:hover svg {
  transform: translateX(3px);
}

.notice-list {
  border-top: 1px solid var(--line);
}

.notice-row {
  display: grid;
  grid-template-columns: 74px minmax(0, 1fr) 34px;
  align-items: center;
  gap: 22px;
  padding: 22px 4px;
  border-bottom: 1px solid var(--line);
  color: var(--text);
  transition: background 0.25s, padding 0.25s, border-color 0.25s;
}

.notice-row:hover {
  padding-right: 12px;
  padding-left: 12px;
  border-color: rgba(201, 168, 106, 0.25);
  background: rgba(245, 242, 234, 0.025);
}

.notice-date {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-right: 18px;
  border-right: 1px solid var(--line);
}

.notice-date strong {
  color: var(--text);
  font-size: 27px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.04em;
  line-height: 1;
}

.notice-date span {
  margin-top: 5px;
  color: var(--muted-2);
  font-size: 9.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.notice-main {
  display: flex;
  flex-direction: column;
  gap: 5px;
  min-width: 0;
}

.notice-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 9px;
  color: var(--muted-2);
  font-size: 10.5px;
  letter-spacing: 0.04em;
}

.notice-server {
  color: var(--gold-2);
  font-weight: 600;
  letter-spacing: 0.05em;
}

.notice-type {
  padding: 2px 6px;
  border: 1px solid rgba(201, 168, 106, 0.3);
  border-radius: 4px;
  color: var(--gold);
  font-size: 9.5px;
  line-height: 1.5;
}

.notice-new {
  color: #ff9c88;
  font-size: 9px;
  letter-spacing: 0.12em;
}

.notice-time {
  color: var(--muted-2);
}

.notice-title {
  overflow: hidden;
  color: var(--text);
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.45;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.notice-row.is-latest .notice-title {
  color: var(--gold-2);
}

.notice-desc {
  overflow: hidden;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.notice-arrow {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--gold);
  transition: color 0.25s, border-color 0.25s, background 0.25s;
}

.notice-arrow svg {
  width: 14px;
  height: 14px;
}

.notice-row:hover .notice-arrow {
  border-color: var(--gold);
  background: var(--gold);
  color: #090a0d;
}

/* Notices index page */

.notices-page {
  padding: 58px 0 84px;
}

.notices-head {
  max-width: 780px;
  margin-bottom: 28px;
}

.notices-head h1 {
  margin: 0 0 12px;
  color: var(--text);
  font-size: clamp(34px, 4.5vw, 52px);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1.15;
}

.notices-head p:last-child {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.85;
}

.notice-filters {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  padding: 17px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.notices-page .notice-row {
  grid-template-columns: 80px minmax(0, 1fr) 36px;
}

.aside-empty {
  margin: 0;
  color: var(--muted-2);
  font-size: 13px;
}

.notice-detail .article-kicker a {
  color: var(--gold-2);
  text-decoration: none;
}

.notice-content p {
  margin-bottom: 18px;
}

.notice-content {
  font-size: 16.5px;
  line-height: 2;
}

@media (max-width: 640px) {
  .notice-section {
    padding: 60px 0 44px;
  }

  .notice-row,
  .notices-page .notice-row {
    grid-template-columns: 50px minmax(0, 1fr);
    gap: 14px;
    padding: 18px 0;
  }

  .notice-row:hover {
    padding-right: 0;
    padding-left: 0;
    background: transparent;
  }

  .notice-date {
    padding-right: 11px;
  }

  .notice-date strong {
    font-size: 21px;
  }

  .notice-date span {
    font-size: 8px;
  }

  .notice-title {
    font-size: 17px;
    white-space: normal;
  }

  .notice-desc {
    font-size: 12.5px;
    white-space: normal;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
  }

  .notice-arrow {
    display: none;
  }

  .notice-meta {
    gap: 6px;
    font-size: 10px;
  }

  .notice-time {
    display: none;
  }

  .notices-page {
    padding: 38px 0 56px;
  }

  .notices-head h1 {
    font-size: 32px;
  }

  .notices-head p:last-child {
    font-size: 13.5px;
  }

  .section-link {
    font-size: 12px;
  }
}

/* ==========================================================================
   Readability pass (larger type for older visitors)
   ========================================================================== */

body {
  font-size: 16px;
  line-height: 1.75;
}

.brand-name {
  font-size: 18px;
}

.brand-sub {
  font-size: 9px;
}

.nav-link {
  font-size: 14px;
}

.header-status {
  font-size: 10.5px;
}

.banner-badge {
  font-size: 11px;
}

.banner-eyebrow {
  font-size: 11px;
}

.banner-desc {
  font-size: 16px;
  line-height: 1.9;
}

.banner-note {
  font-size: 10.5px;
  line-height: 1.8;
}

.banner-art-caption {
  font-size: 9.5px;
}

.section-index {
  font-size: 11px;
}

.section-eyebrow {
  font-size: 10.5px;
}

.section-title {
  font-size: clamp(28px, 3vw, 38px);
}

.library-meta {
  font-size: 12px;
}

.search {
  height: 46px;
}

.search-input {
  font-size: 14px;
}

.search-btn {
  width: 38px;
  height: 38px;
}

.filter-label {
  font-size: 10.5px;
}

.tag {
  padding: 7px 14px;
  font-size: 13px;
}

.filter-clear {
  font-size: 12px;
}

.library-cta-title {
  font-size: 24px;
}

.library-cta-text {
  font-size: 14px;
}

.library-cta-link {
  font-size: 12.5px;
}

.game-title {
  font-size: 19px;
}

.game-tag {
  font-size: 11px;
}

.game-desc {
  min-height: 46px;
  font-size: 13.5px;
  line-height: 1.75;
}

.game-actions .btn {
  min-height: 36px;
  font-size: 12.5px;
}

.game-cover-name {
  font-size: 24px;
}

.game-cover-tag {
  font-size: 10px;
}

.news-title {
  font-size: 19px;
}

.news-meta {
  font-size: 10.5px;
}

.news-desc {
  font-size: 13.5px;
  line-height: 1.75;
}

.news-more {
  font-size: 12px;
}

.news-index {
  font-size: 10px;
}

.page-bar .breadcrumb {
  font-size: 13px;
}

.article-meta {
  font-size: 13px;
}

.article-content {
  font-size: 16.5px;
  line-height: 1.95;
}

.article-content h2 {
  font-size: 24px;
}

.article-content h3 {
  font-size: 19px;
}

.article-aside .aside-list a {
  font-size: 14px;
}

.aside-card h2 {
  font-size: 15px;
}

.aside-cta p {
  font-size: 13.5px;
}

.empty-state h3 {
  font-size: 19px;
}

.empty-state p {
  font-size: 14px;
}

.footer-desc {
  font-size: 13.5px;
}

.footer-heading {
  font-size: 10.5px;
}

.footer-links a {
  font-size: 13.5px;
}

.footer-status {
  font-size: 10.5px;
}

.footer-bottom {
  font-size: 12.5px;
}

.footer-qq {
  font-size: 24px;
}

.toast {
  font-size: 14px;
}

.error-text {
  font-size: 14px;
}

.error-title {
  font-size: 23px;
}

@media (max-width: 1080px) {
  .nav-link {
    font-size: 13.5px;
  }
}

@media (max-width: 900px) {
  .nav-link {
    font-size: 16px;
  }

  .brand-name {
    font-size: 17px;
  }

  .section-title {
    font-size: 28px;
  }
}

@media (max-width: 640px) {
  body {
    font-size: 16px;
  }

  .brand-name {
    font-size: 16px;
  }

  .banner-desc {
    font-size: 14px;
  }

  .banner-note {
    font-size: 9.5px;
  }

  .section-title {
    font-size: 27px;
  }

  .tag {
    font-size: 14px;
  }

  .search-input {
    font-size: 14px;
  }

  .game-title {
    font-size: 20px;
  }

  .game-desc {
    font-size: 14px;
  }

  .game-actions .btn {
    font-size: 13px;
  }

  .game-cover-name {
    font-size: 25px;
  }

  .news-title {
    font-size: 20px;
  }

  .news-desc {
    font-size: 14px;
  }

  .article-content {
    font-size: 16px;
  }

  .footer-links a,
  .footer-desc {
    font-size: 14px;
  }
}

/* ==========================================================================
   Light theme
   ========================================================================== */

html[data-theme="light"] {
  --ink: #f2f3ef;
  --ink-2: #eaede7;
  --surface: #fbfbf8;
  --surface-2: #f1f3ee;
  --surface-3: #e7eae4;
  --line: rgba(35, 40, 37, 0.12);
  --line-strong: rgba(35, 40, 37, 0.2);
  --text: #1c211e;
  --muted: #5d645f;
  --muted-2: #858b86;
  --gold: #9b7340;
  --gold-2: #785123;
  --live: #c4553f;
  color-scheme: light;
}

html[data-theme="light"] body {
  background:
    radial-gradient(1100px 720px at 82% -12%, rgba(155, 115, 64, 0.06), transparent 62%),
    radial-gradient(900px 620px at 4% 8%, rgba(100, 125, 118, 0.05), transparent 58%),
    var(--ink);
  color: var(--text);
}

html[data-theme="light"] body::before {
  opacity: 0.018;
  mix-blend-mode: multiply;
}

html[data-theme="light"] .site-header {
  background: rgba(242, 243, 239, 0.82);
  border-bottom-color: transparent;
}

html[data-theme="light"] .site-header.is-scrolled {
  background: rgba(242, 243, 239, 0.96);
  border-bottom-color: var(--line);
  box-shadow: 0 18px 48px rgba(40, 50, 44, 0.08);
}

html[data-theme="light"] .theme-toggle {
  background: rgba(255, 255, 255, 0.45);
}

html[data-theme="light"] .nav-toggle {
  background: rgba(255, 255, 255, 0.35);
}

html[data-theme="light"] .nav-toggle span {
  background: var(--text);
}

html[data-theme="light"] .hero.hero-banner {
  background:
    radial-gradient(800px 500px at 78% 0%, rgba(155, 115, 64, 0.09), transparent 66%),
    radial-gradient(600px 420px at 6% 30%, rgba(155, 115, 64, 0.035), transparent 62%),
    var(--ink);
}

html[data-theme="light"] .hero-grid-lines {
  background-image:
    linear-gradient(to right, rgba(30, 29, 25, 0.055) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(30, 29, 25, 0.055) 1px, transparent 1px);
}

html[data-theme="light"] .banner-card {
  border-color: rgba(120, 88, 42, 0.28);
  box-shadow: 0 40px 80px rgba(80, 60, 30, 0.16), inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

html[data-theme="light"] .search {
  border-color: var(--line);
  background: #fdfdf9;
}

html[data-theme="light"] .search-btn {
  background: #1b1c1a;
  color: #f8edd2;
}

html[data-theme="light"] .tag {
  color: var(--muted);
}

html[data-theme="light"] .tag.is-active {
  border-color: rgba(154, 118, 52, 0.4);
  background: rgba(154, 118, 52, 0.09);
  color: var(--gold-2);
}

html[data-theme="light"] .game-card {
  background: linear-gradient(180deg, #fdfdf9, #f4f6f0);
  box-shadow: 0 10px 30px rgba(40, 50, 44, 0.06);
}

html[data-theme="light"] .game-card:hover {
  border-color: rgba(154, 118, 52, 0.35);
  box-shadow: 0 24px 50px rgba(70, 55, 30, 0.12);
}

html[data-theme="light"] .btn-play {
  border-color: #1b1c1a;
  background: #1b1c1a;
  color: #f8edd2;
}

html[data-theme="light"] .btn-play:hover {
  border-color: var(--gold);
  background: var(--gold);
  color: #fff8e8;
}

html[data-theme="light"] .btn-soft,
html[data-theme="light"] .btn-gold {
  color: var(--muted);
  border-color: var(--line);
}

html[data-theme="light"] .btn-soft:hover,
html[data-theme="light"] .btn-gold:hover {
  color: var(--gold-2);
  border-color: rgba(154, 118, 52, 0.4);
  background: rgba(154, 118, 52, 0.06);
}

html[data-theme="light"] .library-cta {
  background:
    radial-gradient(90% 130% at 100% 0%, rgba(154, 118, 52, 0.12), transparent 62%),
    linear-gradient(180deg, #fdfdf9, #f2ebdf);
}

html[data-theme="light"] .library-cta-mark {
  -webkit-text-stroke-color: rgba(120, 88, 42, 0.16);
}

html[data-theme="light"] .empty-state {
  background: rgba(255, 253, 248, 0.55);
}

html[data-theme="light"] .notice-row:hover {
  background: rgba(154, 118, 52, 0.04);
}

html[data-theme="light"] .news-section {
  background: #e9ede7;
  border-color: rgba(35, 40, 37, 0.1);
}

html[data-theme="light"] .site-footer {
  background: #e4e8e2;
  border-top-color: rgba(35, 40, 37, 0.12);
}

html[data-theme="light"] .footer-bottom {
  border-top-color: rgba(30, 29, 25, 0.12);
}

html[data-theme="light"] .page-bar {
  border-bottom-color: var(--line);
}

html[data-theme="light"] .article-content {
  color: #3f3b34;
}

html[data-theme="light"] .article-content blockquote {
  color: #4a443b;
  background: rgba(154, 118, 52, 0.06);
}

html[data-theme="light"] .article-content th {
  background: rgba(30, 29, 25, 0.05);
}

html[data-theme="light"] .article-content code {
  background: rgba(30, 29, 25, 0.07);
}

html[data-theme="light"] .aside-card {
  background: #fbfbf8;
}

html[data-theme="light"] .toast {
  border-color: var(--line-strong);
  background: #fdfdf9;
  color: #2b2924;
  box-shadow: 0 18px 44px rgba(60, 50, 30, 0.14);
}

html[data-theme="light"] .to-top {
  background: #fdfdf9;
  border-color: var(--line-strong);
}

html[data-theme="light"] .skip-link {
  background: #1b1c1a;
  color: #f8edd2;
}

html[data-theme="light"] ::-webkit-scrollbar-track {
  background: #f0ece3;
}

html[data-theme="light"] ::-webkit-scrollbar-thumb {
  background: #c9c1b2;
  border-color: #f0ece3;
}

/* Notice readability tweaks */
.article-kicker {
  font-size: 11.5px;
}

.notice-meta {
  font-size: 11px;
}

.notice-desc {
  font-size: 13.5px;
}

html[data-theme="light"] .breadcrumb .sep {
  color: #b4a890;
}

html[data-theme="light"] .breadcrumb .current {
  color: #3f3b34;
}

@media (max-width: 900px) {
  .theme-toggle {
    margin-left: auto;
  }

  .nav-toggle {
    margin-left: 0;
  }
}

html {
  color-scheme: dark;
}

@media (max-width: 640px) {
  .notice-title {
    font-size: 18px;
  }

  .notice-desc {
    font-size: 13px;
  }

  .notice-meta {
    font-size: 10.5px;
  }
}

@media (max-width: 900px) {
  html[data-theme="light"] .nav {
    border-bottom-color: rgba(30, 29, 25, 0.14);
    background: #f7f2e8;
    box-shadow: 0 30px 60px rgba(60, 50, 30, 0.14);
  }

  html[data-theme="light"] .nav-link {
    color: var(--muted);
  }

  html[data-theme="light"] .nav-link.is-active {
    background: rgba(154, 118, 52, 0.1);
    color: var(--gold-2);
  }
}


/* Prominent QQ group invite in the banner */
.qq-invite {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  max-width: 100%;
  margin-top: 18px;
  padding: 8px 16px 8px 8px;
  border: 1px solid rgba(212, 178, 115, 0.52);
  border-radius: 14px;
  background: linear-gradient(135deg, #1b2128, #0c1015);
  color: #f8f0df;
  text-decoration: none;
  box-shadow: 0 14px 30px rgba(30, 22, 8, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  transition: transform 0.25s, border-color 0.25s, background 0.25s, box-shadow 0.25s;
}

.qq-invite:hover {
  border-color: rgba(232, 201, 141, 0.86);
  background: linear-gradient(135deg, #252d36, #10151b);
  box-shadow: 0 18px 38px rgba(30, 22, 8, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  transform: translateY(-2px);
}

.qq-invite-icon {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: #fff9ed;
  box-shadow: 0 5px 14px rgba(90, 68, 32, 0.16);
}

.qq-invite-icon svg {
  display: block;
  width: 31px;
  height: 31px;
}

.qq-invite-copy {
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-width: 78px;
  line-height: 1.2;
}

.qq-invite-copy strong {
  color: #e8d4a8;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.qq-invite-copy span {
  color: #fff8e9;
  font-size: 18px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.02em;
}

.qq-invite-cta {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-left: 4px;
  color: #e9c98d;
  font-size: 11.5px;
  font-weight: 600;
  white-space: nowrap;
}

.qq-invite-cta svg {
  width: 13px;
  height: 13px;
}

@media (max-width: 640px) {
  .qq-invite {
    width: 100%;
    gap: 10px;
    padding: 8px 12px 8px 8px;
  }

  .qq-invite-cta {
    margin-left: auto;
    font-size: 11px;
  }

  .qq-invite-copy span {
    font-size: 19px;
  }
}

/* Second readability pass: larger body copy for older visitors */
body {
  font-size: 17px;
  line-height: 1.8;
}

.brand-name {
  font-size: 19px;
}

.brand-sub {
  font-size: 10px;
}

.nav-link {
  font-size: 15px;
}

.header-status {
  font-size: 11px;
}

.banner-badge {
  font-size: 12px;
}

.banner-eyebrow {
  font-size: 11.5px;
}

.banner-desc {
  font-size: 17px;
  line-height: 1.9;
}

.banner-note {
  font-size: 11px;
}

.banner-art-caption {
  font-size: 10.5px;
}

.section-index {
  font-size: 12px;
}

.section-eyebrow {
  font-size: 11.5px;
}

.section-title {
  font-size: clamp(30px, 3.2vw, 40px);
}

.library-meta {
  font-size: 13px;
}

.search {
  height: 48px;
}

.search-input {
  font-size: 15px;
}

.search-btn {
  width: 40px;
  height: 40px;
}

.filter-label {
  font-size: 11px;
}

.tag {
  padding: 8px 15px;
  font-size: 14px;
}

.filter-clear {
  font-size: 13px;
}

.library-cta-title {
  font-size: 26px;
}

.library-cta-text {
  font-size: 15px;
}

.library-cta-link {
  font-size: 13.5px;
}

.game-title {
  font-size: 21px;
}

.game-tag {
  font-size: 11.5px;
}

.game-desc {
  min-height: 52px;
  font-size: 15px;
  line-height: 1.8;
}

.game-actions .btn {
  min-height: 38px;
  font-size: 13.5px;
}

.game-cover-name {
  font-size: 25px;
}

.game-cover-tag {
  font-size: 10.5px;
}

.news-title {
  font-size: 21px;
}

.news-meta {
  font-size: 11.5px;
}

.news-desc {
  font-size: 15px;
  line-height: 1.8;
}

.news-more {
  font-size: 13px;
}

.news-index {
  font-size: 11px;
}

.page-bar .breadcrumb {
  font-size: 14px;
}

.article-kicker {
  font-size: 12px;
}

.article-meta {
  font-size: 14px;
}

.article-content {
  font-size: 18px;
  line-height: 1.95;
}

.article-content h2 {
  font-size: 26px;
}

.article-content h3 {
  font-size: 20px;
}

.article-aside .aside-list a {
  font-size: 15px;
}

.aside-card h2 {
  font-size: 16px;
}

.aside-cta p {
  font-size: 14px;
}

.empty-state h3 {
  font-size: 20px;
}

.empty-state p {
  font-size: 15px;
}

.footer-desc {
  font-size: 14.5px;
}

.footer-heading {
  font-size: 11px;
}

.footer-links a {
  font-size: 14.5px;
}

.footer-status {
  font-size: 11px;
}

.footer-bottom {
  font-size: 13.5px;
}

.footer-qq {
  font-size: 26px;
}

.toast {
  font-size: 15px;
}

.error-text {
  font-size: 15px;
}

.error-title {
  font-size: 24px;
}

.notice-title {
  font-size: 21px;
}

.notice-desc {
  font-size: 14.5px;
}

.notice-meta {
  font-size: 11.5px;
}

.notice-date strong {
  font-size: 29px;
}

.notice-date span {
  font-size: 10px;
}

.notice-type {
  font-size: 10.5px;
}

.notice-new {
  font-size: 9.5px;
}

.section-link {
  font-size: 13.5px;
}

.notices-head h1 {
  font-size: clamp(36px, 4.7vw, 56px);
}

.notices-head p:last-child {
  font-size: 16px;
}

.qq-invite-copy strong {
  font-size: 14px;
}

.qq-invite-copy span {
  font-size: 20px;
}

.qq-invite-cta {
  font-size: 12px;
}

.qq-invite-icon {
  width: 44px;
  height: 44px;
}

.qq-invite-icon svg {
  width: 33px;
  height: 33px;
}

@media (max-width: 1080px) {
  .nav-link {
    font-size: 14px;
  }
}

@media (max-width: 980px) {
  .nav-link {
    padding: 10px 9px;
    font-size: 13.5px;
  }
}

@media (max-width: 900px) {
  .nav-link {
    font-size: 16.5px;
  }

  .brand-name {
    font-size: 18px;
  }

  .section-title {
    font-size: 29px;
  }
}

@media (max-width: 640px) {
  body {
    font-size: 17px;
  }

  .brand-name {
    font-size: 17px;
  }

  .banner-desc {
    font-size: 15.5px;
  }

  .banner-note {
    font-size: 10.5px;
  }

  .section-title {
    font-size: 29px;
  }

  .tag {
    font-size: 14px;
  }

  .search-input {
    font-size: 15px;
  }

  .game-title {
    font-size: 22px;
  }

  .game-desc {
    font-size: 15px;
  }

  .game-actions .btn {
    font-size: 13.5px;
  }

  .game-cover-name {
    font-size: 26px;
  }

  .news-title {
    font-size: 21px;
  }

  .news-desc {
    font-size: 15px;
  }

  .article-content {
    font-size: 17.5px;
  }

  .notice-title {
    font-size: 19px;
  }

  .notice-desc {
    font-size: 14px;
  }

  .notice-meta {
    font-size: 11px;
  }

  .footer-links a,
  .footer-desc {
    font-size: 15px;
  }

  .qq-invite-copy span {
    font-size: 20px;
  }
}

/* Centered white outlined cover title */
.game-cover::after {
  background:
    radial-gradient(62% 62% at 50% 48%, rgba(5, 7, 10, 0.08), rgba(5, 7, 10, 0.38)),
    linear-gradient(180deg, rgba(5, 7, 10, 0.12), rgba(5, 7, 10, 0.34));
}

.game-cover-caption {
  inset: 0;
  right: 0;
  bottom: 0;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 26px 16px;
  text-align: center;
}

.game-cover-tag {
  padding: 3px 9px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 999px;
  background: rgba(6, 9, 13, 0.42);
  color: #ffffff;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
  line-height: 1.4;
  backdrop-filter: blur(6px);
}

.game-cover-name {
  display: block;
  max-width: 100%;
  padding: 8px 12px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.82);
  border-radius: 10px;
  background: rgba(6, 9, 13, 0.32);
  color: #ffffff;
  font-size: 54px;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.05;
  text-align: center;
  text-shadow: 0 4px 16px rgba(0, 0, 0, 0.7);
  white-space: nowrap;
  text-overflow: ellipsis;
  backdrop-filter: blur(4px);
  -webkit-text-stroke: 0.7px rgba(6, 9, 13, 0.48);
}

.game-cover-name.is-short {
  padding: 8px 12px;
  font-size: 62px;
}

.game-cover-name.is-medium {
  font-size: 44px;
}

.game-cover-name.is-long {
  font-size: 32px;
  padding: 7px 10px;
}

.game-cover-name.is-xlong {
  font-size: 25px;
  padding: 6px 10px;
}

@media (max-width: 640px) {
  .game-cover-caption {
    padding: 24px 16px;
  }

  .game-cover-tag {
    font-size: 11px;
  }

  .game-cover-name {
    padding: 9px 12px;
    font-size: 64px;
  }

  .game-cover-name.is-short {
    font-size: 72px;
  }

  .game-cover-name.is-medium {
    font-size: 54px;
  }

  .game-cover-name.is-long {
    font-size: 38px;
    padding: 8px 12px;
  }

  .game-cover-name.is-xlong {
    font-size: 31px;
    padding: 7px 10px;
  }
}

/* Festive primary action on game cards */
.game-actions .btn-play {
  border-color: rgba(242, 197, 120, 0.55);
  background: linear-gradient(135deg, #d44537, #a9241e);
  color: #fff8e8;
  box-shadow: 0 7px 18px rgba(150, 30, 24, 0.2);
}

.game-actions .btn-play:hover {
  border-color: #f0cd8a;
  background: linear-gradient(135deg, #e45646, #bd2d26);
  color: #ffffff;
  box-shadow: 0 9px 22px rgba(170, 38, 30, 0.28);
}

html[data-theme="light"] .game-actions .btn-play {
  border-color: rgba(180, 108, 44, 0.5);
  background: linear-gradient(135deg, #d44537, #a9241e);
  color: #fff8e8;
}

html[data-theme="light"] .game-actions .btn-play:hover {
  border-color: #9e5d25;
  background: linear-gradient(135deg, #e45646, #bd2d26);
  color: #ffffff;
}

/* Compact banner and new right-side showcase */
.banner-card {
  grid-template-columns: minmax(0, 1.12fr) minmax(320px, 0.88fr);
  gap: 26px;
  min-height: 284px;
  padding: 20px 38px;
  border-radius: 24px;
}

.banner-copy {
  max-width: 700px;
}

.banner-badge {
  padding: 4px 9px;
  font-size: 10px;
}

.banner-eyebrow {
  margin: 10px 0 0;
  font-size: 10px;
}

.banner-title {
  margin: 5px 0 0;
  font-size: clamp(36px, 4.1vw, 50px);
  line-height: 1.02;
}

.banner-desc {
  max-width: 610px;
  margin: 8px 0 0;
  font-size: 14.5px;
  line-height: 1.58;
}

.banner-actions {
  align-items: center;
  gap: 9px;
  margin-top: 11px;
}

.banner-actions .btn-dark {
  min-height: 42px;
  padding: 10px 18px;
  font-size: 13px;
}

.banner-actions .btn-text {
  font-size: 13px;
}

.banner-note {
  margin: 8px 0 0;
  font-size: 10.5px;
  line-height: 1.6;
}

/* Compact QQ group inside the action row */
.banner-actions .qq-invite {
  min-height: 42px;
  margin-top: 0;
  padding: 4px 12px 4px 4px;
  gap: 8px;
  border-radius: 10px;
}

.banner-actions .qq-invite-icon {
  width: 34px;
  height: 34px;
  border-radius: 9px;
}

.banner-actions .qq-invite-icon svg {
  width: 26px;
  height: 26px;
}

.banner-actions .qq-invite-copy {
  min-width: 66px;
}

.banner-actions .qq-invite-copy strong {
  font-size: 11.5px;
}

.banner-actions .qq-invite-copy span {
  font-size: 17px;
}

.banner-actions .qq-invite-cta {
  margin-left: 2px;
  font-size: 10.5px;
}

.banner-art {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 0;
  height: 224px;
  margin: 0;
  padding: 0;
}

.banner-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 310px;
  height: 250px;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(203, 160, 95, 0.24), transparent 68%);
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.banner-fan {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.banner-fan-card {
  position: absolute;
  width: 96px;
  height: 122px;
  overflow: hidden;
  border: 1px solid rgba(116, 87, 44, 0.36);
  border-radius: 10px;
  background: #11161d;
  box-shadow: 0 16px 30px rgba(64, 46, 20, 0.2);
  transition: transform 0.35s var(--ease);
}

.banner-fan-card img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.9;
}

.banner-fan-card.fan-1 {
  z-index: 1;
  transform: translate(-58px, 8px) rotate(-14deg);
}

.banner-fan-card.fan-2 {
  z-index: 1;
  transform: translate(58px, 8px) rotate(14deg);
}

.banner-fan-card.fan-3 {
  z-index: 2;
  transform: translate(0, 22px) rotate(-2deg);
}

.banner-art:hover .fan-1 {
  transform: translate(-68px, 4px) rotate(-17deg);
}

.banner-art:hover .fan-2 {
  transform: translate(68px, 4px) rotate(17deg);
}

.banner-art:hover .fan-3 {
  transform: translate(0, 18px) rotate(-2deg);
}

.banner-box {
  position: relative;
  z-index: 4;
  width: 112px;
  height: 112px;
  padding: 5px;
  border: 1px solid rgba(255, 255, 255, 0.68);
  border-radius: 25px;
  background: linear-gradient(145deg, #fffdf8, #d9c8aa);
  box-shadow: 0 20px 44px rgba(55, 40, 20, 0.28), 0 0 0 6px rgba(255, 255, 255, 0.16);
  transform: rotate(-4deg);
}

.banner-box img {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 20px;
  object-fit: cover;
}

.banner-art-caption {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  color: #6f5a35;
  font-size: 9px;
  letter-spacing: 0.18em;
  line-height: 1.4;
  text-align: center;
}

.banner-art-caption span {
  color: #8e7445;
  font-size: 8.5px;
  letter-spacing: 0.24em;
}

.banner-art-caption strong {
  color: #574526;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
}

@media (max-width: 1100px) {
  .banner-card {
    grid-template-columns: minmax(0, 1fr);
    gap: 8px;
    padding: 28px 30px 24px;
  }

  .banner-art {
    height: 190px;
    margin-top: 4px;
  }

  .banner-actions {
    margin-top: 12px;
  }
}

@media (max-width: 640px) {
  .banner-card {
    padding: 24px 20px 22px;
  }

  .banner-badge {
    font-size: 10px;
  }

  .banner-eyebrow {
    margin-top: 8px;
    font-size: 9px;
  }

  .banner-title {
    margin-top: 4px;
    font-size: clamp(32px, 9vw, 40px);
  }

  .banner-desc {
    margin-top: 8px;
    font-size: 14px;
    line-height: 1.6;
  }

  .banner-actions {
    align-items: stretch;
    gap: 8px;
    margin-top: 12px;
  }

  .banner-actions .btn-dark,
  .banner-actions .btn-text {
    width: 100%;
    min-height: 42px;
  }

  .banner-actions .qq-invite {
    width: 100%;
  }

  .banner-note {
    margin-top: 8px;
    font-size: 9.5px;
  }

  .banner-art {
    height: 165px;
    margin-top: 0;
  }

  .banner-fan-card {
    width: 78px;
    height: 100px;
  }

  .banner-fan-card.fan-1 {
    transform: translate(-44px, 6px) rotate(-14deg);
  }

  .banner-fan-card.fan-2 {
    transform: translate(44px, 6px) rotate(14deg);
  }

  .banner-fan-card.fan-3 {
    transform: translate(0, 16px) rotate(-2deg);
  }

  .banner-box {
    width: 88px;
    height: 88px;
    border-radius: 19px;
  }

  .banner-box img {
    border-radius: 14px;
  }

  .banner-art-caption {
    bottom: -2px;
    font-size: 8px;
  }

  .banner-art-caption strong {
    font-size: 9.5px;
  }
}


.banner-desc {
  max-width: 100%;
  text-wrap: balance;
}

.notice-type {
  padding: 3px 8px;
  border-color: rgba(155, 115, 64, 0.5);
  background: rgba(155, 115, 64, 0.1);
  color: var(--gold-2);
  font-size: 11.5px;
  font-weight: 600;
}

@media (max-width: 640px) {
  .banner-art-caption {
    display: none;
  }
}

/* Game card action grid: neutral links, highlighted launcher */
.game-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px;
}

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

.game-actions.is-many {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
}

.game-actions .btn {
  width: 100%;
  min-width: 0;
  min-height: 38px;
  padding: 8px 5px;
  font-size: 13px;
  white-space: nowrap;
}

.game-actions.is-many .btn {
  font-size: 12px;
}

.game-actions .btn-login {
  border-color: rgba(242, 197, 120, 0.58);
  background: linear-gradient(135deg, #d44537, #a9241e);
  color: #fff8e8;
  box-shadow: 0 7px 18px rgba(150, 30, 24, 0.2);
}

.game-actions .btn-login:hover {
  border-color: #f0cd8a;
  background: linear-gradient(135deg, #e45646, #bd2d26);
  color: #ffffff;
  box-shadow: 0 9px 22px rgba(170, 38, 30, 0.28);
}

html[data-theme="light"] .game-actions .btn-login {
  border-color: rgba(180, 108, 44, 0.5);
  background: linear-gradient(135deg, #d44537, #a9241e);
  color: #fff8e8;
}

html[data-theme="light"] .game-actions .btn-login:hover {
  border-color: #9e5d25;
  background: linear-gradient(135deg, #e45646, #bd2d26);
  color: #ffffff;
}

/* Lightweight cover placeholder while lazy images arrive */
.game-cover {
  background:
    linear-gradient(105deg, rgba(255, 255, 255, 0) 24%, rgba(255, 255, 255, 0.055) 44%, rgba(255, 255, 255, 0) 64%),
    linear-gradient(135deg, #1b222c, #0d1117);
  background-size: 220% 100%, 100% 100%;
  animation: cover-shimmer 1.8s linear infinite;
}

@keyframes cover-shimmer {
  0% { background-position: -120% 0, 0 0; }
  100% { background-position: 120% 0, 0 0; }
}

@media (prefers-reduced-motion: reduce) {
  .game-cover {
    animation: none;
  }
}
