:root {
  --bg: #07090d;
  --bg-soft: #0b1118;
  --surface: rgba(12, 19, 27, 0.82);
  --surface-strong: rgba(15, 25, 36, 0.96);
  --line: rgba(177, 215, 244, 0.16);
  --line-strong: rgba(117, 203, 255, 0.42);
  --text: #f5f8fb;
  --muted: rgba(229, 240, 249, 0.68);
  --faint: rgba(229, 240, 249, 0.44);
  --cyan: #62c9ff;
  --cyan-strong: #1d9bf0;
  --gold: #d8a42c;
  --green: #4bd66d;
  --danger: #ef695d;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.42);
  --font-display: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  --font-body: "Segoe UI", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  overflow-x: hidden;
  background:
    linear-gradient(180deg, #07090d 0%, #0a0d12 42%, #07090d 100%),
    var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.5;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  content: "";
  background-image:
    linear-gradient(rgba(98, 201, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(98, 201, 255, 0.035) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.7), transparent 75%);
}

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

button {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(8, 10, 14, 0.9);
  backdrop-filter: blur(18px);
}

.nav-shell {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 28px;
  align-items: center;
  width: min(1440px, 100%);
  margin: 0 auto;
  padding: 14px 28px;
}

.brand {
  display: inline-flex;
  gap: 12px;
  align-items: center;
  min-width: max-content;
  color: #fff;
  font-family: var(--font-display);
  font-size: 1.42rem;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.brand-mark {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border-radius: 50%;
  background: transparent;
  box-shadow: 0 0 20px rgba(98, 201, 255, 0.16);
}

.brand-mark svg {
  width: 28px;
  height: 28px;
  fill: rgba(98, 201, 255, 0.28);
  stroke: var(--cyan);
  stroke-linejoin: round;
  stroke-width: 2;
}

.brand-mark img {
  display: block;
  width: 40px;
  height: 40px;
}

.nav-links {
  display: flex;
  justify-content: center;
  gap: clamp(18px, 2.4vw, 38px);
}

.nav-links a {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 40px;
  padding: 10px 0;
  color: var(--muted);
  font-size: 0.83rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: color 180ms ease;
}

.nav-links a::after {
  position: absolute;
  right: 0;
  bottom: 4px;
  left: 0;
  height: 2px;
  content: "";
  background: var(--cyan);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: #fff;
}

.nav-links a:hover::after,
.nav-links a:focus-visible::after {
  transform: scaleX(1);
}

.nav-links a.active {
  color: #fff;
}

.nav-links a.active::after {
  transform: scaleX(1);
}

.server-pill {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  justify-self: end;
  min-width: max-content;
  padding: 10px 14px;
  border: 1px solid rgba(98, 201, 255, 0.28);
  background: rgba(255, 255, 255, 0.04);
  color: #fff;
  transition:
    border-color 180ms ease,
    background 180ms ease;
}

.server-pill.online {
  border-color: rgba(75, 214, 109, 0.34);
}

.server-pill.offline {
  border-color: rgba(239, 105, 93, 0.36);
  background: rgba(239, 105, 93, 0.055);
}

.server-pill.unknown {
  border-color: rgba(216, 164, 44, 0.34);
  background: rgba(216, 164, 44, 0.055);
}

.server-pill.checking {
  border-color: rgba(216, 164, 44, 0.34);
}

.server-pill strong,
.server-pill small {
  display: block;
}

.server-pill strong {
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.server-pill small {
  color: var(--muted);
  font-size: 0.78rem;
}

.status-dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 5px rgba(75, 214, 109, 0.12);
}

.status-dot.online {
  background: var(--green);
  box-shadow: 0 0 0 5px rgba(75, 214, 109, 0.12);
}

.status-dot.offline {
  background: var(--danger);
  box-shadow: 0 0 0 5px rgba(239, 105, 93, 0.12);
}

.status-dot.unknown {
  background: var(--gold);
  box-shadow: 0 0 0 5px rgba(216, 164, 44, 0.12);
}

.status-dot.checking {
  background: var(--gold);
  box-shadow: 0 0 0 5px rgba(216, 164, 44, 0.12);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
  color: #fff;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 3px auto;
  background: currentColor;
}

.hero {
  position: relative;
  min-height: 760px;
  overflow: hidden;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image: url("assets/conquest-hero-map.png");
  background-position: center right;
  background-size: cover;
}

.hero::before,
.hero::after {
  position: absolute;
  inset: 0;
  z-index: -1;
  content: "";
  pointer-events: none;
}

.hero::before {
  background:
    linear-gradient(90deg, #07090d 0%, rgba(7, 9, 13, 0.92) 34%, rgba(7, 9, 13, 0.38) 68%, rgba(7, 9, 13, 0.2) 100%),
    linear-gradient(180deg, rgba(7, 9, 13, 0.12), #07090d 96%);
}

.hero::after {
  background: radial-gradient(circle at 65% 40%, rgba(98, 201, 255, 0.12), transparent 34%);
}

.hero-shell {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(280px, 0.5fr);
  gap: 42px;
  align-items: center;
  width: min(1280px, calc(100% - 48px));
  min-height: 660px;
  margin: 0 auto;
  padding: 76px 0 118px;
}

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

h1,
h2,
h3,
p {
  margin-top: 0;
}

.hero h1 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(5.2rem, 12vw, 10.8rem);
  line-height: 0.78;
  letter-spacing: 0;
  text-transform: uppercase;
  text-shadow: 0 14px 26px rgba(0, 0, 0, 0.48);
}

.hero-title {
  margin: 18px 0 0;
  color: var(--cyan);
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.6vw, 4.25rem);
  line-height: 0.98;
  text-transform: uppercase;
}

.hero-text {
  max-width: 630px;
  margin: 28px 0 0;
  color: rgba(245, 248, 251, 0.78);
  font-size: clamp(1rem, 1.25vw, 1.16rem);
  font-weight: 650;
  line-height: 1.85;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  gap: 12px;
  padding: 0 22px;
  border: 1px solid transparent;
  color: #fff;
  cursor: pointer;
  font-size: 0.88rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background 180ms ease;
}

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

.btn svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.btn-primary {
  border-color: rgba(98, 201, 255, 0.75);
  background: linear-gradient(135deg, #1b9cf0, #126aa6);
  box-shadow: 0 16px 34px rgba(18, 106, 166, 0.34);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background: linear-gradient(135deg, #38b7ff, #1674b6);
}

.btn-secondary {
  border-color: rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.04);
}

.btn-secondary:hover,
.btn-secondary:focus-visible {
  border-color: rgba(98, 201, 255, 0.62);
  background: rgba(98, 201, 255, 0.08);
}

.copy-feedback {
  min-height: 24px;
  margin: 12px 0 0;
  color: var(--cyan);
  font-size: 0.9rem;
  font-weight: 800;
}

.copy-toast {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 40;
  max-width: min(360px, calc(100% - 40px));
  margin: 0;
  padding: 13px 16px;
  border: 1px solid rgba(98, 201, 255, 0.42);
  background: rgba(8, 13, 19, 0.94);
  color: var(--cyan);
  box-shadow: var(--shadow);
  font-size: 0.88rem;
  font-weight: 850;
}

.command-card {
  align-self: end;
  margin-bottom: 38px;
  border: 1px solid rgba(98, 201, 255, 0.22);
  background: linear-gradient(180deg, rgba(9, 15, 23, 0.88), rgba(9, 15, 23, 0.68));
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
}

.card-topline {
  display: flex;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
  padding: 18px;
  border-bottom: 1px solid var(--line);
}

.card-topline span,
.command-grid small {
  color: var(--faint);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.card-topline strong {
  color: var(--cyan);
  font-size: 0.96rem;
}

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

.command-grid div {
  min-height: 100px;
  padding: 18px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.command-grid div:nth-child(2n) {
  border-right: 0;
}

.command-grid div:nth-last-child(-n + 2) {
  border-bottom: 0;
}

.command-grid div:only-child {
  grid-column: 1 / -1;
  border-right: 0;
}

.command-grid strong {
  display: block;
  margin-top: 8px;
  font-family: var(--font-display);
  font-size: 1.46rem;
  line-height: 1;
  text-transform: uppercase;
}

.command-grid .version-value {
  font-family: var(--font-body);
  font-size: 1.34rem;
  font-weight: 950;
  letter-spacing: 0.03em;
  text-transform: none;
}

.feature-rail {
  position: relative;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  width: min(1280px, calc(100% - 48px));
  margin: -76px auto 0;
  border: 1px solid rgba(98, 201, 255, 0.24);
  background: rgba(8, 13, 19, 0.84);
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
}

.feature-rail a {
  display: grid;
  min-height: 112px;
  place-items: center;
  gap: 9px;
  padding: 16px 10px;
  border-right: 1px solid rgba(255, 255, 255, 0.07);
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.78rem;
  font-weight: 950;
  letter-spacing: 0.06em;
  text-align: center;
  text-transform: uppercase;
  transition:
    background 180ms ease,
    color 180ms ease;
}

.feature-rail a:last-child {
  border-right: 0;
}

.feature-rail a:hover,
.feature-rail a:focus-visible {
  background: rgba(98, 201, 255, 0.1);
  color: #fff;
}

.rail-icon {
  position: relative;
  width: 32px;
  height: 32px;
  color: var(--cyan);
}

.rail-icon::before,
.rail-icon::after {
  position: absolute;
  content: "";
}

.flag::before {
  left: 7px;
  width: 3px;
  height: 28px;
  background: currentColor;
}

.flag::after {
  top: 4px;
  left: 10px;
  width: 18px;
  height: 13px;
  background: currentColor;
  clip-path: polygon(0 0, 100% 18%, 70% 50%, 100% 84%, 0 100%);
}

.claim::before {
  inset: 7px;
  border: 2px solid currentColor;
  transform: rotate(45deg);
}

.claim::after {
  inset: 13px;
  background: currentColor;
}

.target::before {
  inset: 2px;
  border: 2px solid currentColor;
  border-radius: 50%;
}

.target::after {
  inset: 10px;
  border: 2px solid currentColor;
  border-radius: 50%;
}

.bank::before {
  top: 8px;
  left: 3px;
  width: 26px;
  height: 4px;
  background: currentColor;
  box-shadow: 0 14px 0 currentColor;
}

.bank::after {
  top: 14px;
  left: 7px;
  width: 4px;
  height: 10px;
  background: currentColor;
  box-shadow: 7px 0 0 currentColor, 14px 0 0 currentColor;
}

.tower::before {
  top: 6px;
  left: 7px;
  width: 18px;
  height: 20px;
  background: currentColor;
  clip-path: polygon(0 0, 22% 0, 22% 20%, 42% 20%, 42% 0, 58% 0, 58% 20%, 78% 20%, 78% 0, 100% 0, 100% 100%, 0 100%);
}

.tower::after {
  bottom: 2px;
  left: 4px;
  width: 24px;
  height: 5px;
  background: currentColor;
}

.missile::before {
  top: 3px;
  left: 13px;
  width: 8px;
  height: 23px;
  background: currentColor;
  border-radius: 50% 50% 2px 2px;
  transform: rotate(38deg);
}

.missile::after {
  right: 4px;
  bottom: 4px;
  width: 10px;
  height: 10px;
  border-left: 8px solid var(--gold);
  border-top: 4px solid transparent;
  border-bottom: 4px solid transparent;
  transform: rotate(38deg);
}

.section {
  width: min(1280px, calc(100% - 48px));
  margin: 0 auto;
  padding: 112px 0;
}

.split-section {
  display: grid;
  grid-template-columns: minmax(260px, 0.54fr) minmax(0, 1fr);
  gap: 56px;
  align-items: start;
}

.section-heading {
  position: sticky;
  top: 112px;
}

.section-heading p {
  margin-bottom: 16px;
  color: var(--cyan);
  font-size: 0.78rem;
  font-weight: 950;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.section-heading h2 {
  margin: 0;
  color: #fff;
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 5vw, 5.4rem);
  line-height: 0.96;
  letter-spacing: 0;
  text-transform: uppercase;
}

.center-heading {
  position: static;
  max-width: 830px;
  margin: 0 auto 48px;
  text-align: center;
}

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

.feature-card,
.system-card,
.status-panel,
.news-panel,
.ranking-panel {
  border: 1px solid rgba(177, 215, 244, 0.14);
  background: linear-gradient(180deg, rgba(13, 22, 31, 0.86), rgba(8, 13, 18, 0.78));
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.26);
}

.feature-card {
  min-height: 258px;
  padding: 28px;
  transition:
    border-color 180ms ease,
    transform 180ms ease;
}

.feature-card:hover {
  border-color: rgba(98, 201, 255, 0.44);
  transform: translateY(-4px);
}

.wide-card {
  grid-column: 1 / -1;
  min-height: 286px;
  background:
    linear-gradient(90deg, rgba(12, 20, 29, 0.94), rgba(12, 20, 29, 0.72), rgba(12, 20, 29, 0.32)),
    url("assets/conquest-hero-map.png") center right / cover;
}

.feature-icon {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  margin-bottom: 32px;
  border: 1px solid rgba(98, 201, 255, 0.34);
  color: var(--cyan);
  background: rgba(98, 201, 255, 0.06);
}

.feature-icon svg {
  width: 26px;
  height: 26px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.feature-card h3,
.system-card h3,
.news-list h3,
.war-flow h3 {
  margin-bottom: 10px;
  color: #fff;
  font-family: var(--font-display);
  font-size: 1.74rem;
  line-height: 1;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.feature-card p,
.system-card p,
.war-flow p,
.news-list p,
.cta-section p,
.site-footer p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.98rem;
  font-weight: 650;
}

.war-section {
  padding-top: 90px;
}

.war-flow {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid rgba(98, 201, 255, 0.2);
  background: rgba(255, 255, 255, 0.025);
}

.war-flow article {
  position: relative;
  min-height: 254px;
  padding: 28px;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
}

.war-flow article:last-child {
  border-right: 0;
}

.war-flow span {
  display: block;
  margin-bottom: 48px;
  color: rgba(98, 201, 255, 0.7);
  font-family: var(--font-display);
  font-size: 2.8rem;
  line-height: 1;
}

.war-flow article::after {
  position: absolute;
  right: 24px;
  bottom: 26px;
  left: 28px;
  height: 2px;
  content: "";
  background: linear-gradient(90deg, var(--cyan), transparent);
}

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

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

.system-card {
  position: relative;
  min-height: 250px;
  overflow: hidden;
  padding: 28px;
}

.accent-card {
  border-color: rgba(216, 164, 44, 0.34);
}

.meter {
  position: absolute;
  right: 28px;
  bottom: 28px;
  left: 28px;
  height: 8px;
  overflow: hidden;
  border: 1px solid rgba(98, 201, 255, 0.3);
  background: rgba(255, 255, 255, 0.05);
}

.meter span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--cyan), var(--gold));
}

.missile-lines {
  position: absolute;
  right: 28px;
  bottom: 34px;
  left: 28px;
  height: 64px;
}

.missile-lines span {
  position: absolute;
  width: 62%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold));
  transform: rotate(-12deg);
}

.missile-lines span:nth-child(1) {
  top: 8px;
  left: 8%;
}

.missile-lines span:nth-child(2) {
  top: 30px;
  left: 24%;
}

.missile-lines span:nth-child(3) {
  top: 52px;
  left: 2%;
}

.level-stack {
  position: absolute;
  right: 28px;
  bottom: 28px;
  left: 28px;
  display: flex;
  gap: 10px;
  align-items: end;
  height: 84px;
}

.level-stack span {
  flex: 1;
  background: linear-gradient(180deg, var(--cyan), rgba(98, 201, 255, 0.16));
}

.level-stack span:nth-child(1) {
  height: 28%;
}

.level-stack span:nth-child(2) {
  height: 48%;
}

.level-stack span:nth-child(3) {
  height: 70%;
}

.level-stack span:nth-child(4) {
  height: 100%;
  background: linear-gradient(180deg, var(--gold), rgba(216, 164, 44, 0.15));
}

.live-section {
  display: grid;
  grid-template-columns: 0.86fr 1.24fr 1fr;
  gap: 18px;
}

.status-panel,
.news-panel,
.ranking-panel {
  min-height: 454px;
  padding: 24px;
}

.panel-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 22px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
}

.panel-heading p {
  margin: 0;
  color: #fff;
  font-family: var(--font-display);
  font-size: 1.45rem;
  line-height: 1;
  text-transform: uppercase;
}

.panel-heading a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  color: var(--cyan);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.server-list {
  display: grid;
  gap: 14px;
  margin: 0 0 24px;
}

.server-list div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.server-list dt {
  color: var(--faint);
  font-size: 0.78rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.server-list dd {
  margin: 0;
  color: #fff;
  font-weight: 800;
  text-align: right;
}

.outline-button {
  width: 100%;
  min-height: 48px;
  border: 1px solid rgba(98, 201, 255, 0.5);
  background: rgba(98, 201, 255, 0.05);
  color: var(--cyan);
  cursor: pointer;
  font-size: 0.82rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.news-list {
  display: grid;
  gap: 18px;
}

.news-list article {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 18px;
  align-items: start;
}

.news-list time {
  color: var(--cyan);
  font-size: 0.76rem;
  font-weight: 950;
}

.news-list h3 {
  margin-bottom: 6px;
  font-size: 1.26rem;
}

.rank-tabs {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.rank-tabs button {
  min-height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  background: rgba(255, 255, 255, 0.04);
  color: var(--muted);
  cursor: pointer;
  font-size: 0.72rem;
  font-weight: 900;
  padding: 8px 10px;
  text-transform: uppercase;
}

.rank-tabs button.active {
  border-color: rgba(98, 201, 255, 0.48);
  color: #fff;
  background: rgba(98, 201, 255, 0.12);
}

.ranking-list {
  display: grid;
  gap: 10px;
  padding: 0;
  margin: 0;
  list-style: none;
  counter-reset: ranks;
}

.ranking-list li {
  display: grid;
  grid-template-columns: 30px 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 13px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  counter-increment: ranks;
}

.ranking-list li::before {
  color: var(--faint);
  content: counter(ranks);
  font-family: var(--font-display);
  font-size: 1.2rem;
}

.ranking-list strong {
  color: #fff;
  font-size: 0.92rem;
  font-weight: 950;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.ranking-list span {
  color: var(--cyan);
  font-size: 0.86rem;
  font-weight: 900;
}

.ranking-list .empty-ranking {
  grid-template-columns: 30px 1fr auto;
}

.ranking-list .empty-ranking span {
  color: var(--faint);
}

.top-country-card {
  display: grid;
  min-height: 310px;
  align-content: center;
  gap: 14px;
  padding: 28px;
  border: 1px solid rgba(98, 201, 255, 0.24);
  background:
    linear-gradient(145deg, rgba(98, 201, 255, 0.14), rgba(216, 164, 44, 0.08)),
    rgba(255, 255, 255, 0.035);
}

.top-country-card span {
  color: var(--cyan);
  font-size: 0.78rem;
  font-weight: 950;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.top-country-card strong {
  color: #fff;
  font-family: var(--font-display);
  font-size: clamp(2.3rem, 4vw, 4.5rem);
  line-height: 0.94;
  text-transform: uppercase;
}

.top-country-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 800;
}

.cta-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  width: min(1280px, calc(100% - 48px));
  margin: 0 auto 92px;
  padding: 34px;
  border: 1px solid rgba(98, 201, 255, 0.24);
  background:
    linear-gradient(90deg, rgba(13, 22, 31, 0.95), rgba(13, 22, 31, 0.82), rgba(8, 13, 18, 0.72)),
    url("assets/conquest-hero-map.png") center right / cover;
  box-shadow: var(--shadow);
}

.cta-section h2 {
  margin-bottom: 8px;
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 1;
  text-transform: uppercase;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: flex-end;
}

.btn-discord {
  background: #1976d2;
}

.btn-gold {
  border-color: rgba(216, 164, 44, 0.72);
  background: linear-gradient(135deg, #c89223, #73520f);
}

.site-footer {
  display: grid;
  grid-template-columns: minmax(260px, 1.1fr) repeat(2, minmax(160px, 0.5fr));
  gap: 42px;
  width: min(1280px, calc(100% - 48px));
  margin: 0 auto;
  padding: 54px 0 42px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand {
  margin-bottom: 18px;
}

.site-footer h3 {
  margin-bottom: 16px;
  color: #fff;
  font-family: var(--font-display);
  font-size: 1.22rem;
  text-transform: uppercase;
}

.site-footer a,
.site-footer span {
  display: block;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 700;
}

.site-footer a {
  display: flex;
  align-items: center;
  min-height: 40px;
}

.page-hero {
  position: relative;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 32px;
  width: min(1280px, calc(100% - 48px));
  min-height: 390px;
  margin: 0 auto;
  padding: 112px 0 58px;
}

.page-hero::before {
  position: absolute;
  inset: 0 calc(50% - 50vw);
  z-index: -2;
  content: "";
  background:
    linear-gradient(90deg, #07090d 0%, rgba(7, 9, 13, 0.88) 42%, rgba(7, 9, 13, 0.36) 100%),
    linear-gradient(180deg, rgba(7, 9, 13, 0.1), #07090d 96%),
    url("assets/conquest-hero-map.png") center right / cover;
}

.page-hero h1 {
  margin: 0 0 16px;
  font-family: var(--font-display);
  font-size: clamp(4rem, 9vw, 9rem);
  line-height: 0.82;
  text-transform: uppercase;
}

.page-hero p {
  max-width: 760px;
  margin: 0;
  color: rgba(245, 248, 251, 0.76);
  font-size: clamp(1rem, 1.4vw, 1.22rem);
  font-weight: 700;
  line-height: 1.75;
}

.link-card {
  display: block;
}

.link-card:hover h3,
.link-card:focus-visible h3 {
  color: var(--cyan);
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  padding-top: 0;
}

.info-card,
.news-article,
.shop-card {
  border: 1px solid rgba(177, 215, 244, 0.14);
  background: linear-gradient(180deg, rgba(13, 22, 31, 0.86), rgba(8, 13, 18, 0.78));
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.26);
}

.info-card {
  min-height: 250px;
  padding: 28px;
}

.info-card span,
.shop-card span,
.news-article time {
  display: block;
  margin-bottom: 26px;
  color: var(--cyan);
  font-size: 0.78rem;
  font-weight: 950;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.info-card h3,
.shop-card h2,
.news-article h2 {
  margin-bottom: 12px;
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.8vw, 3.45rem);
  line-height: 0.95;
  text-transform: uppercase;
}

.info-card p,
.shop-card p,
.news-article p {
  margin: 0;
  color: var(--muted);
  font-weight: 650;
}

.danger-card {
  border-color: rgba(239, 105, 93, 0.3);
}

.danger-card span {
  color: var(--danger);
}

.gold-card,
.featured-shop {
  border-color: rgba(216, 164, 44, 0.4);
}

.gold-card span,
.featured-shop span {
  color: var(--gold);
}

.ranking-page-grid {
  grid-template-columns: 0.72fr 1.28fr;
}

.main-ranking {
  min-height: 560px;
}

.article-page {
  display: grid;
  gap: 18px;
}

.news-article {
  padding: 34px;
}

.news-article h2 {
  max-width: 900px;
}

.news-article p {
  max-width: 820px;
  font-size: 1.05rem;
  line-height: 1.8;
}

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

.shop-card {
  min-height: 420px;
  padding: 30px;
}

.shop-card strong {
  display: block;
  margin: 38px 0 22px;
  color: #fff;
  font-family: var(--font-display);
  font-size: 3rem;
  line-height: 1;
}

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

.shop-category,
.wiki-card {
  border: 1px solid rgba(177, 215, 244, 0.14);
  background: linear-gradient(180deg, rgba(13, 22, 31, 0.86), rgba(8, 13, 18, 0.78));
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.26);
}

.shop-category {
  display: grid;
  min-height: 360px;
  align-content: space-between;
  gap: 24px;
  padding: 30px;
}

.shop-category span,
.wiki-card span {
  display: block;
  margin-bottom: 18px;
  color: var(--cyan);
  font-size: 0.72rem;
  font-weight: 950;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.shop-category h2,
.wiki-card h2 {
  margin: 0 0 12px;
  color: #fff;
  font-family: var(--font-display);
  font-size: clamp(2rem, 3vw, 3.2rem);
  line-height: 0.95;
  text-transform: uppercase;
}

.shop-category p,
.wiki-card p {
  max-width: 620px;
  margin: 0;
  color: var(--muted);
  font-weight: 650;
  line-height: 1.7;
}

.shop-items {
  display: grid;
  gap: 10px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.shop-items li {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.shop-items strong {
  color: #fff;
}

.shop-items span {
  margin: 0;
  color: var(--gold);
  white-space: nowrap;
}

.wiki-shell {
  padding-top: 64px;
}

.wiki-layout {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}

.wiki-toc {
  position: sticky;
  top: 92px;
  display: grid;
  gap: 8px;
  padding: 22px;
  border: 1px solid rgba(177, 215, 244, 0.14);
  background: linear-gradient(180deg, rgba(13, 22, 31, 0.92), rgba(8, 13, 18, 0.82));
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.24);
}

.wiki-toc span {
  margin-bottom: 10px;
  color: var(--cyan);
  font-size: 0.74rem;
  font-weight: 950;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.wiki-toc a {
  display: flex;
  align-items: center;
  min-height: 38px;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.wiki-toc a:hover,
.wiki-toc a:focus-visible {
  color: #fff;
}

.wiki-content {
  display: grid;
  gap: 18px;
}

.wiki-category-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.wiki-card {
  min-height: 300px;
  padding: 30px;
}

.wiki-article {
  scroll-margin-top: 110px;
  padding: 34px;
  border: 1px solid rgba(177, 215, 244, 0.14);
  background: linear-gradient(180deg, rgba(13, 22, 31, 0.86), rgba(8, 13, 18, 0.78));
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.26);
}

.wiki-article span {
  display: block;
  margin-bottom: 18px;
  color: var(--cyan);
  font-size: 0.72rem;
  font-weight: 950;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.wiki-article h2 {
  margin: 0 0 18px;
  color: #fff;
  font-family: var(--font-display);
  font-size: clamp(2.35rem, 4vw, 4.5rem);
  line-height: 0.94;
  text-transform: uppercase;
}

.wiki-article h3 {
  margin: 28px 0 10px;
  color: #fff;
  font-size: 1rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.wiki-article p {
  max-width: 940px;
  margin: 0 0 14px;
  color: var(--muted);
  font-weight: 650;
  line-height: 1.78;
}

.wiki-list {
  display: grid;
  gap: 10px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.wiki-list li {
  position: relative;
  padding-left: 22px;
  color: var(--muted);
  font-weight: 650;
  line-height: 1.68;
}

.wiki-list li::before {
  position: absolute;
  top: 0.68em;
  left: 0;
  width: 7px;
  height: 7px;
  content: "";
  background: var(--cyan);
}

.wiki-columns {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.wiki-note {
  margin-top: 18px !important;
  padding: 16px;
  border-left: 3px solid var(--gold);
  background: rgba(216, 164, 44, 0.08);
}

.rules-table-wrap {
  overflow-x: auto;
  margin: 18px 0;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.rules-table {
  width: 100%;
  min-width: 860px;
  border-collapse: collapse;
}

.rules-table th,
.rules-table td {
  padding: 13px 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  color: var(--muted);
  font-size: 0.86rem;
  text-align: left;
  vertical-align: top;
}

.rules-table th {
  color: #fff;
  background: rgba(98, 201, 255, 0.08);
  font-size: 0.75rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.rules-table td:first-child {
  color: #fff;
  font-weight: 850;
}

.wiki-empty {
  min-height: 360px;
  padding: 38px;
  border: 1px solid rgba(177, 215, 244, 0.14);
  background:
    linear-gradient(90deg, rgba(13, 22, 31, 0.94), rgba(13, 22, 31, 0.74), rgba(8, 13, 18, 0.62)),
    url("assets/conquest-hero-map.png") center right / cover;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.26);
}

.wiki-empty h2 {
  max-width: 760px;
  margin-bottom: 14px;
  font-family: var(--font-display);
  font-size: clamp(3rem, 6vw, 6.4rem);
  line-height: 0.9;
  text-transform: uppercase;
}

.wiki-empty p {
  max-width: 620px;
  margin: 0;
  color: var(--muted);
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.75;
}

@media (max-width: 1100px) {
  .nav-shell {
    grid-template-columns: auto auto auto;
  }

  .nav-toggle {
    display: inline-block;
    justify-self: end;
  }

  .nav-links {
    position: absolute;
    top: 69px;
    right: 18px;
    left: 18px;
    display: none;
    flex-direction: column;
    gap: 0;
    padding: 10px;
    border: 1px solid var(--line);
    background: rgba(8, 10, 14, 0.98);
    box-shadow: var(--shadow);
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a {
    padding: 14px 10px;
  }

  .hero-shell {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 104px;
  }

  .command-card {
    width: min(520px, 100%);
    margin-bottom: 48px;
  }

  .feature-rail {
    grid-template-columns: repeat(3, 1fr);
    margin-top: -34px;
  }

  .split-section,
  .live-section,
  .ranking-page-grid,
  .info-grid,
  .shop-grid,
  .shop-categories,
  .wiki-layout,
  .wiki-columns,
  .wiki-category-grid {
    grid-template-columns: 1fr;
  }

  .wiki-toc {
    position: static;
  }

  .page-hero {
    display: block;
  }

  .page-hero .btn {
    width: fit-content;
    margin-top: 26px;
  }

  .section-heading {
    position: static;
  }

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

  .war-flow article:nth-child(2) {
    border-right: 0;
  }

  .war-flow article:nth-child(-n + 2) {
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }
}

@media (max-width: 720px) {
  .nav-shell {
    grid-template-columns: auto auto;
    padding: 12px 16px;
  }

  .server-pill {
    display: none;
  }

  .hero {
    min-height: auto;
  }

  .hero-shell,
  .section,
  .feature-rail,
  .page-hero,
  .cta-section,
  .site-footer {
    width: min(100% - 32px, 1280px);
  }

  .page-hero {
    min-height: 330px;
    padding: 82px 0 44px;
  }

  .page-hero .btn {
    width: 100%;
  }

  .hero-shell {
    padding: 82px 0 78px;
  }

  .hero-bg {
    background-position: 64% top;
  }

  .hero::before {
    background:
      linear-gradient(180deg, rgba(7, 9, 13, 0.66), #07090d 90%),
      linear-gradient(90deg, rgba(7, 9, 13, 0.92), rgba(7, 9, 13, 0.34));
  }

  .hero h1 {
    font-size: clamp(3.55rem, 20vw, 5.3rem);
  }

  .hero-title {
    font-size: clamp(1.55rem, 7.6vw, 2.45rem);
  }

  .hero-actions,
  .cta-actions {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

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

  .command-grid div,
  .command-grid div:nth-child(2n),
  .command-grid div:nth-last-child(-n + 2) {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .command-grid div:last-child {
    border-bottom: 0;
  }

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

  .feature-rail a {
    min-height: 104px;
  }

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

  .wide-card {
    min-height: 320px;
  }

  .war-flow article,
  .war-flow article:nth-child(2) {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .war-flow article:last-child {
    border-bottom: 0;
  }

  .news-list article {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .panel-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .wiki-article {
    padding: 24px;
  }

  .rules-table th,
  .rules-table td {
    padding: 11px 12px;
  }

  .rank-tabs {
    width: 100%;
  }

  .rank-tabs button {
    flex: 1;
  }

  .cta-section {
    display: block;
    padding: 26px;
  }

  .cta-actions {
    margin-top: 24px;
  }

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

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