:root {
  color-scheme: dark;
  --bg: #08090d;
  --bg-2: #11141a;
  --surface: rgba(17, 20, 26, 0.84);
  --surface-strong: rgba(23, 27, 35, 0.94);
  --line: rgba(219, 182, 111, 0.22);
  --line-cool: rgba(139, 171, 189, 0.2);
  --text: #f5efe4;
  --muted: #b8c0c6;
  --subtle: #78828b;
  --gold: #d1a85f;
  --red: #b54c43;
  --blue: #82a8bc;
  --ok: #65c89a;
  --shadow: 0 28px 90px rgba(0, 0, 0, 0.48);
  --max: 1240px;
  font-family: "Satoshi", "Geist", "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; min-width: 0; }
html { background: var(--bg); scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  color: var(--text);
  background:
    linear-gradient(90deg, rgba(209, 168, 95, 0.04) 1px, transparent 1px),
    linear-gradient(0deg, rgba(209, 168, 95, 0.03) 1px, transparent 1px),
    radial-gradient(circle at 18% 8%, rgba(181, 76, 67, 0.16), transparent 30rem),
    radial-gradient(circle at 86% 10%, rgba(130, 168, 188, 0.12), transparent 28rem),
    linear-gradient(180deg, #08090d 0%, #11141a 44%, #07080b 100%);
  background-size: 68px 68px, 68px 68px, auto, auto, auto;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 100% 3px;
  opacity: 0.25;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, input { font: inherit; }

.wrapper { min-height: 100dvh; }
.topPanel {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  background: rgba(8, 9, 13, 0.88);
  backdrop-filter: blur(18px);
}

.topPanel-wrapper {
  width: min(var(--max), calc(100% - 32px));
  min-height: 72px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 24px;
}

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

.brand img { width: 52px; height: 52px; object-fit: contain; filter: drop-shadow(0 10px 22px rgba(0,0,0,0.7)); }
.brand strong, .brand small { display: block; }
.brand strong { font-size: 15px; letter-spacing: 0; }
.brand small { color: var(--muted); font-size: 12px; margin-top: 2px; }

.site-nav {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 18px;
}

.menu {
  list-style: none;
  display: flex;
  gap: 6px;
  margin: 0;
  padding: 0;
}

.menu > li, .account-nav { position: relative; }
.menu a, .menu-link, .signIn, .state-toggle {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 40px;
  padding: 9px 13px;
  border: 1px solid transparent;
  border-radius: 8px;
  color: var(--muted);
  background: transparent;
  font-size: 13px;
  font-weight: 750;
  cursor: pointer;
  overflow: visible;
}

.nav-icon {
  display: inline-block;
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  filter: drop-shadow(0 3px 8px rgba(0,0,0,.8));
  transition: transform .18s ease, filter .18s ease;
}

.nav-icon-ranking {
  width: 34px;
  height: 34px;
  margin-left: 0;
  background-size: 34px 34px;
  background-position: center;
}

.nav-icon-general { background-image: url("../images/icon-general-nav.png"); }
.nav-icon-game-info { background-image: url("../images/icon-game-info-nav.png"); }
.nav-icon-shop { background-image: url("../images/icon-shop-nav.png"); }
.nav-icon-ranking { background-image: url("../images/icon-ranking-nav.png?v=5"); }
.nav-icon-support { background-image: url("../images/icon-support-nav.png"); }

.menu a:hover .nav-icon,
.menu-link:hover .nav-icon,
.menu .is-active .nav-icon {
  transform: translateY(-1px) scale(1.08);
  filter: drop-shadow(0 5px 12px rgba(209,168,95,.32));
}

.menu a:hover, .menu-link:hover, .menu .is-active > a, .menu .is-active > .menu-link, .signIn {
  color: var(--text);
  border-color: var(--line);
  background: rgba(209, 168, 95, 0.09);
}

.state-toggle { color: var(--gold); font-size: 12px; }
.account-nav { display: flex; align-items: center; gap: 8px; }

.dropDown-menu {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  min-width: 190px;
  list-style: none;
  margin: 0;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(12, 14, 20, 0.96);
  box-shadow: var(--shadow);
  opacity: 0;
  transform: translateY(-8px);
  pointer-events: none;
  transition: opacity .2s ease, transform .2s ease;
}

.menu > li:hover .dropDown-menu,
.menu > li.is-open .dropDown-menu,
.account-nav:hover .dropDown-menu,
.account-nav.is-open .dropDown-menu {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.menuButton {
  display: none;
  justify-self: end;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(209, 168, 95, 0.08);
}

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

.site-hero {
  position: relative;
  min-height: clamp(620px, 82dvh, 860px);
  overflow: hidden;
  isolation: isolate;
}

.site-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(8,9,13,0.84), rgba(8,9,13,0.18) 48%, rgba(8,9,13,0.82)),
    linear-gradient(180deg, rgba(8,9,13,0.12), #08090d 92%),
    url("../images/page-art-home.png") center / cover no-repeat;
  z-index: -2;
  transform: scale(1.02);
  animation: slow-drift 18s ease-in-out infinite alternate;
}

.site-hero::after, .page-hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 42%;
  background: linear-gradient(180deg, transparent, var(--bg));
  pointer-events: none;
}

.hero-content {
  position: relative;
  width: min(var(--max), calc(100% - 32px));
  min-height: clamp(620px, 82dvh, 860px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(260px, 0.72fr) minmax(320px, 1.05fr) minmax(280px, 0.72fr);
  gap: clamp(22px, 4vw, 54px);
  align-items: center;
  z-index: 1;
}

.hero-logo img {
  width: min(360px, 70vw);
  filter: drop-shadow(0 22px 42px rgba(0,0,0,0.82));
}

.hero-copy {
  align-self: end;
  padding-bottom: clamp(54px, 10vh, 116px);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

h1, h2, h3, p { margin-top: 0; }
h1 {
  margin-bottom: 18px;
  font-size: clamp(42px, 6vw, 82px);
  line-height: .95;
  letter-spacing: 0;
}

h2 { font-size: clamp(24px, 3vw, 42px); line-height: 1.02; letter-spacing: 0; }
h3 { font-size: 17px; }
p { color: var(--muted); line-height: 1.7; }

.hero-copy p:not(.eyebrow) { max-width: 58ch; font-size: 17px; }
.hero-actions, .tab-controls, .filters { display: flex; flex-wrap: wrap; gap: 10px; }
.button, .tab-controls button, .filters button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 11px 16px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: rgba(209,168,95,.08);
  color: var(--text);
  font-weight: 800;
  transition: transform .18s ease, background .18s ease, border-color .18s ease;
}

.button:hover, .tab-controls button:hover, .filters button:hover { transform: translateY(-1px); border-color: rgba(209,168,95,.52); }
.button:active, .tab-controls button:active, .filters button:active { transform: translateY(1px) scale(.99); }
.primary, .tab-controls .is-active, .filters .is-selected { background: linear-gradient(135deg, #d1a85f, #8e5735); color: #130f0a; }
.secondary { background: rgba(130,168,188,.1); border-color: var(--line-cool); }

.war-room, .panel, .feature-card, .drop-card, .board-row, .ranking-list article {
  border: 1px solid rgba(255,255,255,.08);
  border-top-color: var(--line);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(24,28,37,.9), rgba(10,12,17,.82));
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
}

.war-room { padding: 22px; align-self: end; margin-bottom: clamp(34px, 9vh, 94px); }
.status-pill {
  width: max-content;
  padding: 8px 11px;
  border-radius: 999px;
  background: rgba(101,200,154,.13);
  color: var(--ok);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.metric, .stat-line {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 0;
  border-bottom: 1px solid rgba(255,255,255,.08);
}

.metric span, .stat-line span, .faction-balance span { color: var(--subtle); font-size: 12px; text-transform: uppercase; font-weight: 800; }
.metric strong, .stat-line strong { font-size: 26px; }
.balance-bar { display: flex; height: 12px; margin: 12px 0; overflow: hidden; border-radius: 999px; background: rgba(255,255,255,.08); }
.balance-bar i { background: linear-gradient(90deg, #85b4d2, #f3efe7); }
.balance-bar b { background: linear-gradient(90deg, #915049, #d1a85f); }

.home-page, .page-shell { width: min(var(--max), calc(100% - 32px)); margin: 0 auto; padding: 54px 0 90px; }
.home-grid { display: grid; grid-template-columns: 1.35fr .85fr; gap: 18px; align-items: start; }
.panel { padding: clamp(18px, 2.3vw, 30px); }
.news-panel { min-height: 100%; }
.panel-title { display: flex; justify-content: space-between; gap: 18px; align-items: end; }
.tab-panel { display: none; }
.tab-panel.is-active { display: grid; gap: 12px; margin-top: 18px; }
.news-row { padding: 16px 0; border-top: 1px solid rgba(255,255,255,.08); }
.news-row time { color: var(--gold); font-size: 12px; font-weight: 800; }

.feature-strip, .boss-preview { grid-column: span 1; }
.feature-strip__items { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 18px; }
.feature-strip__items a { position: relative; min-height: 170px; overflow: hidden; border-radius: 8px; border: 1px solid rgba(255,255,255,.08); }
.feature-strip__items img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.9) contrast(1.08); }
.feature-strip__items span { position: absolute; left: 12px; right: 12px; bottom: 12px; font-weight: 900; text-shadow: 0 2px 14px #000; }
.boss-row, .board-row {
  display: grid;
  grid-template-columns: 1.1fr 1fr auto auto;
  gap: 12px;
  align-items: center;
  padding: 13px 0;
  border-bottom: 1px solid rgba(255,255,255,.08);
}

.boss-row strong, .board-row strong { color: var(--ok); }
.page-hero {
  position: relative;
  min-height: 360px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 220px;
  gap: 26px;
  align-items: end;
  margin-bottom: 26px;
  padding: clamp(28px, 5vw, 64px);
  overflow: hidden;
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(8,9,13,.9), rgba(8,9,13,.28), rgba(8,9,13,.86)),
    var(--page-art) center / cover no-repeat;
  box-shadow: var(--shadow);
}

.page-hero__copy, .page-hero__sigil { position: relative; z-index: 1; }
.page-hero__copy p:not(.eyebrow) { max-width: 62ch; font-size: 17px; }
.page-hero__sigil img { width: 160px; margin-left: auto; filter: drop-shadow(0 20px 36px rgba(0,0,0,.8)); }

.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 18px; }
.stat-grid div { padding: 18px; border: 1px solid rgba(255,255,255,.08); border-radius: 8px; background: rgba(255,255,255,.04); }
.stat-grid span { display: block; color: var(--subtle); font-size: 12px; text-transform: uppercase; font-weight: 800; }
.stat-grid strong { display: block; margin-top: 8px; font-size: 28px; }

.feature-grid, .drop-grid, .card-grid, .account-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.feature-card { overflow: hidden; }
.feature-card img { width: 100%; height: 180px; object-fit: cover; }
.feature-card div { padding: 20px; }
.feature-card ul { margin: 0; padding-left: 18px; color: var(--muted); line-height: 1.8; }

.tool-row { display: grid; grid-template-columns: minmax(220px, 1fr) auto; gap: 14px; margin-bottom: 18px; }
input {
  min-height: 48px;
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(5,7,10,.74);
  color: var(--text);
  padding: 0 14px;
}

.drop-card { padding: 22px; }
.drop-card span { color: var(--gold); text-transform: uppercase; font-size: 12px; font-weight: 900; }
.drop-card div { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.drop-card b { padding: 7px 9px; border: 1px solid rgba(255,255,255,.1); border-radius: 8px; color: var(--muted); font-size: 12px; }
.drop-card.is-hidden { display: none; }

.board { display: grid; gap: 10px; }
.board-row { padding: 18px; grid-template-columns: 1.1fr 1fr auto auto; }
.ranking-list { display: grid; gap: 12px; }
.ranking-list article { display: grid; grid-template-columns: 70px 1fr 1fr auto; align-items: center; gap: 16px; padding: 18px; }
.ranking-list span { color: var(--gold); font-weight: 900; font-size: 20px; }
.ranking-list p { margin: 0; }
.account-grid { grid-template-columns: 1fr 1fr; }
label { display: grid; gap: 7px; color: var(--muted); margin-bottom: 12px; }

.site-footer {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
  padding: 34px 0 46px;
  display: flex;
  justify-content: space-between;
  gap: 22px;
  border-top: 1px solid rgba(255,255,255,.08);
}
.site-footer img { width: 48px; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 14px; color: var(--muted); }

@keyframes slow-drift {
  from { transform: scale(1.02) translate3d(-8px, 0, 0); }
  to { transform: scale(1.06) translate3d(10px, -8px, 0); }
}

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

@media (max-width: 1060px) {
  .menuButton { display: block; }
  .topPanel-wrapper { grid-template-columns: auto auto; }
  .site-nav {
    position: fixed;
    inset: 72px 12px auto;
    display: none;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(8,9,13,.97);
    box-shadow: var(--shadow);
  }
  .topPanel.is-open .site-nav { display: block; }
  .menu, .account-nav { display: grid; gap: 6px; }
  .dropDown-menu { position: static; opacity: 1; transform: none; pointer-events: auto; display: none; margin: 6px 0 10px; }
  .menu > li.is-open .dropDown-menu, .account-nav.is-open .dropDown-menu { display: block; }
  .hero-content { grid-template-columns: 1fr; align-content: end; padding: 70px 0 36px; }
  .hero-copy, .war-room { align-self: auto; margin: 0; padding-bottom: 0; }
  .hero-logo img { width: 280px; }
  .home-grid, .feature-grid, .drop-grid, .card-grid { grid-template-columns: 1fr 1fr; }
  .feature-strip__items { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 700px) {
  .site-hero, .hero-content { min-height: auto; }
  .topPanel-wrapper { width: min(358px, calc(100% - 24px)); }
  .hero-content { display: block; width: min(358px, calc(100vw - 32px)); padding: 42px 0 30px; overflow: hidden; }
  .hero-copy { width: 100%; overflow: hidden; }
  h1 { max-width: 11ch; font-size: clamp(32px, 9.4vw, 40px); line-height: 1.04; overflow-wrap: break-word; }
  .hero-copy p:not(.eyebrow) { max-width: 32ch; font-size: 16px; }
  .war-room { width: 100%; margin-top: 20px; overflow: hidden; }
  .metric, .stat-line { display: grid; gap: 8px; }
  .metric strong, .stat-line strong { font-size: 22px; }
  .home-page, .page-shell { width: min(358px, calc(100% - 24px)); padding-top: 28px; }
  .home-grid, .feature-grid, .drop-grid, .card-grid, .account-grid, .stat-grid, .tool-row { grid-template-columns: 1fr; }
  .feature-strip__items { grid-template-columns: 1fr; }
  .page-hero { grid-template-columns: 1fr; min-height: 310px; padding: 24px; }
  .page-hero__copy p:not(.eyebrow) { max-width: 28ch; }
  .page-hero__sigil { display: none; }
  .boss-row, .board-row, .ranking-list article { grid-template-columns: 1fr; gap: 6px; }
  .site-footer { display: grid; }
}

/* Cinematic polish pass */
body {
  background:
    radial-gradient(ellipse at 50% -18%, rgba(209, 168, 95, 0.2), transparent 34rem),
    radial-gradient(circle at 10% 18%, rgba(117, 38, 35, 0.28), transparent 28rem),
    radial-gradient(circle at 90% 18%, rgba(60, 93, 112, 0.2), transparent 30rem),
    linear-gradient(90deg, rgba(209, 168, 95, 0.035) 1px, transparent 1px),
    linear-gradient(0deg, rgba(209, 168, 95, 0.028) 1px, transparent 1px),
    linear-gradient(180deg, #050609 0%, #111117 48%, #07080b 100%);
  background-size: auto, auto, auto, 72px 72px, 72px 72px, auto;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(115deg, transparent 0 42%, rgba(209, 168, 95, 0.035) 42% 43%, transparent 43% 100%),
    radial-gradient(ellipse at center, transparent 42%, rgba(0, 0, 0, 0.46) 100%);
  mix-blend-mode: screen;
  opacity: .72;
}

.topPanel {
  background:
    linear-gradient(90deg, rgba(5, 6, 9, 0.98), rgba(18, 14, 12, 0.92), rgba(5, 6, 9, 0.98));
  box-shadow: 0 16px 42px rgba(0, 0, 0, .36);
}

.topPanel::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(209, 168, 95, .7), transparent);
}

.brand img {
  width: 58px;
  height: 58px;
}

.brand strong {
  font-size: 17px;
  text-transform: uppercase;
}

.brand small {
  color: #d7c5a4;
}

.menu a,
.menu-link,
.signIn,
.state-toggle {
  text-transform: uppercase;
  letter-spacing: .04em;
}

.site-hero {
  min-height: clamp(680px, 88dvh, 940px);
}

.site-hero::before {
  background:
    linear-gradient(90deg, rgba(4, 5, 8, .94) 0%, rgba(4, 5, 8, .58) 26%, rgba(4, 5, 8, .18) 53%, rgba(4, 5, 8, .86) 100%),
    linear-gradient(180deg, rgba(4, 5, 8, .06), rgba(5, 6, 9, .92) 90%, var(--bg) 100%),
    url("../images/page-art-home.png") center 38% / cover no-repeat;
  filter: saturate(.9) contrast(1.12);
}

.site-hero::after {
  height: 48%;
  background:
    linear-gradient(180deg, transparent, rgba(8, 9, 13, .88) 54%, var(--bg)),
    linear-gradient(90deg, transparent, rgba(209, 168, 95, .08), transparent);
}

.hero-content {
  grid-template-columns: 1fr;
  grid-template-rows: auto auto auto;
  justify-items: center;
  align-content: center;
  gap: 22px;
  padding: clamp(46px, 7vh, 82px) 0 clamp(62px, 10vh, 120px);
}

.hero-logo {
  position: relative;
  align-self: end;
}

.hero-logo::before,
.hero-logo::after {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: min(440px, 74vw);
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(209, 168, 95, .78), transparent);
}

.hero-logo::before { top: -28px; }
.hero-logo::after { bottom: -28px; }

.hero-logo img {
  width: min(500px, 72vw);
}

.hero-copy {
  position: relative;
  width: min(850px, 100%);
  padding: 0;
  text-align: center;
  border-left: 0;
  background: transparent;
}

.hero-copy::before {
  display: none;
}

.hero-copy h1 {
  max-width: 15ch;
  margin-left: auto;
  margin-right: auto;
  font-size: clamp(46px, 4.8vw, 78px);
  text-shadow: 0 14px 36px rgba(0, 0, 0, .82);
}

.hero-copy p:not(.eyebrow) {
  margin-left: auto;
  margin-right: auto;
}

.hero-actions {
  justify-content: center;
}

.war-room {
  position: relative;
  width: min(920px, 100%);
  display: grid;
  grid-template-columns: auto 1fr 1fr 1.4fr;
  align-items: center;
  gap: 18px;
  margin: 0;
  padding: 16px 18px;
  background:
    linear-gradient(90deg, rgba(27, 31, 40, .92), rgba(8, 9, 13, .86)),
    radial-gradient(circle at 20% 0%, rgba(209, 168, 95, .18), transparent 18rem);
}

.war-room::before,
.panel::before,
.feature-card::before,
.drop-card::before,
.ranking-list article::before {
  content: "";
  position: absolute;
  inset: 9px;
  border: 1px solid rgba(209, 168, 95, .1);
  border-radius: 6px;
  pointer-events: none;
}

.panel,
.feature-card,
.drop-card,
.ranking-list article,
.board-row {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(26, 30, 39, .94), rgba(9, 11, 16, .86)),
    radial-gradient(circle at 90% 0%, rgba(209, 168, 95, .13), transparent 16rem);
}

.panel:hover,
.feature-card:hover,
.drop-card:hover,
.ranking-list article:hover,
.board-row:hover {
  border-color: rgba(209, 168, 95, .42);
  transform: translateY(-2px);
}

.home-page {
  margin-top: -46px;
  position: relative;
  z-index: 2;
  scroll-margin-top: 92px;
}

.home-grid {
  grid-template-columns: minmax(0, 1.2fr) minmax(330px, .8fr);
}

.news-panel {
  min-height: 460px;
  background:
    linear-gradient(90deg, rgba(15, 17, 23, .94), rgba(15, 17, 23, .78)),
    url("../images/page-art-support.png") center / cover no-repeat;
}

.grb-panel {
  min-height: 460px;
  background:
    linear-gradient(180deg, rgba(20, 17, 15, .88), rgba(8, 9, 13, .9)),
    url("../images/page-art-ranking.png") center / cover no-repeat;
}

.feature-strip {
  grid-column: 1 / -1;
  padding: clamp(20px, 3vw, 34px);
}

.feature-strip__items {
  grid-template-columns: 1.35fr .85fr .85fr 1.1fr;
  min-height: 270px;
}

.feature-strip__items a {
  min-height: 260px;
  box-shadow: inset 0 -100px 90px rgba(0, 0, 0, .72);
}

.feature-strip__items a:nth-child(2) {
  margin-top: 34px;
}

.feature-strip__items a:nth-child(3) {
  margin-top: -16px;
}

.feature-strip__items img {
  transition: transform .5s ease, filter .5s ease;
}

.feature-strip__items a:hover img {
  transform: scale(1.08);
  filter: saturate(1.08) contrast(1.15);
}

.feature-strip__items span {
  font-size: 22px;
}

.realm-ribbon {
  width: min(var(--max), calc(100% - 32px));
  margin: 18px auto 48px;
  display: grid;
  grid-template-columns: 1fr 1.2fr 1fr;
  gap: 14px;
}

.realm-card {
  position: relative;
  min-height: 210px;
  display: grid;
  align-content: end;
  padding: 24px;
  overflow: hidden;
  border: 1px solid rgba(209, 168, 95, .28);
  border-radius: 8px;
  background:
    linear-gradient(180deg, transparent 0%, rgba(4, 5, 8, .84) 68%),
    var(--realm-art) center / cover no-repeat;
  box-shadow: var(--shadow);
}

.realm-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(209, 168, 95, .16), transparent 42%);
  pointer-events: none;
}

.realm-card--join { --realm-art: url("../images/page-art-account.png"); }
.realm-card--farm { --realm-art: url("../images/page-art-droplist.png"); }
.realm-card--fight { --realm-art: url("../images/page-art-ranking.png"); }

.realm-card > * {
  position: relative;
}

.realm-card span {
  color: var(--gold);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.realm-card strong {
  display: block;
  margin: 7px 0 8px;
  font-size: clamp(24px, 3vw, 38px);
}

.realm-card p {
  max-width: 28ch;
  margin: 0;
}

.page-hero {
  min-height: 430px;
  border: 1px solid rgba(209, 168, 95, .22);
  background:
    linear-gradient(90deg, rgba(4, 5, 8, .92), rgba(4, 5, 8, .34), rgba(4, 5, 8, .84)),
    var(--page-art) center / cover no-repeat;
}

.page-hero h1 {
  max-width: 12ch;
}

.stat-grid div {
  background:
    linear-gradient(180deg, rgba(28, 32, 41, .9), rgba(9, 11, 16, .82));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.06);
}

.feature-card img {
  height: 220px;
}

.drop-card {
  min-height: 240px;
  background:
    linear-gradient(180deg, rgba(8, 9, 13, .28), rgba(8, 9, 13, .94)),
    url("../images/page-art-droplist.png") center / cover no-repeat;
}

.drop-card:nth-child(2n) {
  background:
    linear-gradient(180deg, rgba(8, 9, 13, .2), rgba(8, 9, 13, .94)),
    url("../images/page-art-shop.png") center / cover no-repeat;
}

.drop-card:nth-child(3n) {
  background:
    linear-gradient(180deg, rgba(8, 9, 13, .2), rgba(8, 9, 13, .94)),
    url("../images/page-art-bosses.png") center / cover no-repeat;
}

.board-row {
  background:
    linear-gradient(90deg, rgba(26, 30, 39, .94), rgba(9, 11, 16, .74)),
    url("../images/page-art-bosses.png") center / cover no-repeat;
}

@media (max-width: 1060px) {
  .feature-strip__items {
    grid-template-columns: 1fr 1fr;
  }
  .feature-strip__items a:nth-child(2),
  .feature-strip__items a:nth-child(3) {
    margin-top: 0;
  }
  .realm-ribbon {
    grid-template-columns: 1fr;
  }
  .war-room {
    grid-template-columns: 1fr 1fr;
  }
  .status-pill {
    grid-column: 1 / -1;
  }
}

@media (max-width: 700px) {
  .site-hero::before {
    background:
      linear-gradient(180deg, rgba(4, 5, 8, .22), rgba(4, 5, 8, .88) 76%),
      url("../images/page-art-home.png") center top / cover no-repeat;
  }
  .hero-copy {
    text-align: center;
    width: min(100%, 334px);
    margin-left: auto;
    margin-right: auto;
  }
  .hero-copy p:not(.eyebrow) {
    margin-left: auto;
    margin-right: auto;
  }
  .hero-copy h1 {
    max-width: 10ch;
    font-size: clamp(32px, 9.4vw, 40px);
    line-height: 1.04;
  }
  .hero-actions {
    justify-content: center;
  }
  .hero-logo img {
    width: min(330px, 86vw);
  }
  .war-room {
    display: grid;
    grid-template-columns: 1fr;
    padding: 18px;
  }
  .realm-ribbon {
    width: min(358px, calc(100% - 24px));
  }
  .realm-card {
    min-height: 180px;
  }
  .feature-strip__items a {
    min-height: 210px;
  }
}

/* Review cleanup: player-facing hero and fitted activity layout */
.hero-tagline {
  position: relative;
  display: block;
  width: min(680px, 100%);
  max-width: 100%;
  margin: 0 auto 18px;
  padding: 14px 20px;
  border: 1px solid rgba(255,255,255,.08);
  border-top-color: var(--line);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(24,28,37,.9), rgba(10,12,17,.82)),
    radial-gradient(circle at 90% 0%, rgba(209, 168, 95, .12), transparent 14rem);
  color: #e7d7bd;
  font-size: 15px;
  font-weight: 900;
  letter-spacing: .08em;
  line-height: 1.45;
  text-transform: uppercase;
  box-shadow: var(--shadow);
}

.hero-tagline::before {
  content: "";
  position: absolute;
  inset: 7px;
  border: 1px solid rgba(209, 168, 95, .1);
  border-radius: 6px;
  pointer-events: none;
}

.home-grid {
  grid-template-columns: minmax(0, 1.38fr) minmax(350px, .72fr);
  grid-auto-flow: dense;
  gap: 20px;
}

.home-side-stack {
  display: grid;
  gap: 20px;
}

.news-panel {
  min-height: 590px;
  padding: clamp(24px, 3vw, 42px);
  background:
    linear-gradient(110deg, rgba(9, 11, 16, .96) 0%, rgba(14, 18, 25, .9) 48%, rgba(8, 9, 13, .68) 100%),
    url("../images/page-art-support.png") center / cover no-repeat;
}

.news-panel .panel-title {
  align-items: start;
}

.news-panel .panel-title h2 {
  max-width: 14ch;
  font-family: "Copperplate Gothic Bold", "Satoshi", "Geist", "Segoe UI", sans-serif;
  font-size: clamp(38px, 3.8vw, 58px);
  letter-spacing: .02em;
}

.news-panel .tab-controls {
  justify-content: flex-end;
}

.news-panel .tab-panel.is-active {
  gap: 0;
  margin-top: 28px;
}

.news-panel .news-row {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  gap: 8px 18px;
  padding: 20px 0;
}

.news-panel .news-row time {
  padding-top: 4px;
  color: #d9b36c;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.news-panel .news-row h3 {
  margin: 0;
  font-size: clamp(21px, 2.1vw, 30px);
  line-height: 1.02;
}

.news-panel .news-row p {
  grid-column: 2;
  max-width: 46ch;
  margin: 0;
}

.grb-panel {
  min-height: 252px;
  background:
    linear-gradient(180deg, rgba(22, 17, 13, .9), rgba(8, 9, 13, .88)),
    url("../images/page-art-ranking.png") center / cover no-repeat;
}

.boss-preview {
  min-height: 318px;
  background:
    linear-gradient(180deg, rgba(13, 16, 22, .82), rgba(8, 9, 13, .9)),
    url("../images/page-art-bosses.png") center / cover no-repeat;
}

.boss-preview h2 {
  margin-bottom: 6px;
}

.boss-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 16px;
}

.boss-tile {
  position: relative;
  min-height: 126px;
  display: grid;
  align-content: end;
  gap: 5px;
  padding: 14px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.09);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(8, 9, 13, .08), rgba(8, 9, 13, .94)),
    url("../images/page-art-bosses.png") center / cover no-repeat;
}

.boss-tile::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 80% 0%, rgba(209, 168, 95, .18), transparent 52%);
  pointer-events: none;
}

.boss-tile > * {
  position: relative;
}

.boss-tile span,
.boss-tile time {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.boss-tile strong {
  color: var(--text);
  font-size: 16px;
  line-height: 1.1;
}

.boss-tile b {
  width: max-content;
  padding: 4px 7px;
  border-radius: 999px;
  background: rgba(101, 200, 154, .13);
  color: var(--ok);
  font-size: 11px;
  text-transform: uppercase;
}

.feature-strip {
  background:
    linear-gradient(180deg, rgba(18, 21, 28, .92), rgba(8, 9, 13, .86)),
    url("../images/page-art-home.png") center 35% / cover no-repeat;
  scroll-margin-top: 92px;
}

.feature-strip h2 {
  max-width: none;
  font-family: "Copperplate Gothic Bold", "Satoshi", "Geist", "Segoe UI", sans-serif;
  font-size: clamp(30px, 3.1vw, 46px);
  line-height: 1.04;
  letter-spacing: .01em;
  margin-bottom: 24px;
}

@media (max-width: 1060px) {
  .home-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 700px) {
  .topPanel-wrapper {
    grid-template-columns: minmax(0, 1fr) 44px;
  }

  .brand {
    gap: 8px;
  }

  .brand img {
    width: 46px;
    height: 46px;
  }

  .hero-tagline {
    display: block;
    width: min(318px, 100%);
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
    border-radius: 8px;
    font-size: 12px;
    letter-spacing: .04em;
  }

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

  .news-panel {
    min-height: auto;
  }

  .news-panel .panel-title {
    display: block;
  }

  .news-panel .panel-title h2 {
    max-width: 100%;
    font-size: clamp(34px, 11vw, 46px);
  }

  .news-panel .tab-controls {
    justify-content: flex-start;
  }

  .news-panel .news-row {
    grid-template-columns: 1fr;
  }

  .news-panel .news-row p {
    grid-column: auto;
  }

  .war-room {
    width: min(292px, calc(100vw - 48px));
    max-width: calc(100vw - 32px);
    margin: 20px auto 0;
  }
}

/* Centered closed-test status panel */
@media (max-width: 1060px) {
  .war-room {
    width: min(640px, calc(100vw - 40px));
    max-width: calc(100vw - 32px);
    margin: 22px auto 0;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    padding: 18px;
    justify-self: center;
  }

  .war-room .status-pill {
    grid-column: 1 / -1;
    justify-self: center;
  }

  .war-room .metric {
    display: grid;
    justify-items: center;
    text-align: center;
    gap: 8px;
    padding: 14px 0;
  }

  .war-room .faction-balance {
    grid-column: 1 / -1;
    width: min(520px, 100%);
    margin: 0 auto;
    text-align: center;
  }
}

@media (max-width: 700px) {
  .war-room {
    width: min(360px, calc(100vw - 32px));
    grid-template-columns: 1fr;
  }

  .war-room .metric,
  .war-room .faction-balance {
    grid-column: 1;
  }
}
