:root {
  color-scheme: dark;
  --bg: #090001;
  --panel: rgba(36, 4, 8, 0.82);
  --panelBorder: rgba(255, 230, 0, 0.22);
  --text: rgba(255, 248, 232, 0.96);
  --muted: rgba(255, 227, 164, 0.74);
  --accent: #ff1036;
  --accent2: #ffe600;
  --ok: #ffe600;
  --err: #ff6b6b;
  --gold: #ffe600;
  --silver: #d5c1a0;
  --bronze: #b9753c;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.68);
}

* { box-sizing: border-box; }

html, body { height: 100%; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, "Noto Sans", "Helvetica Neue", sans-serif;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(520px 220px at 50% -4%, rgba(255, 230, 0, 0.08), rgba(0, 0, 0, 0) 70%),
    radial-gradient(420px 260px at 15% 12%, rgba(255, 16, 54, 0.08), rgba(0, 0, 0, 0) 72%),
    radial-gradient(460px 280px at 85% 14%, rgba(255, 16, 54, 0.06), rgba(0, 0, 0, 0) 72%);
  z-index: 1;
}

body.nav-open {
  overflow: hidden;
}

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

button,
a,
[data-modal],
[data-close-modal] {
  touch-action: manipulation;
}

.container {
  width: min(1120px, calc(100% - 32px));
  margin-inline: auto;
}

/* ── Topbar ─────────────────────────────────────────────────────────────────── */
.topbar {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 20;
  background: rgba(15, 1, 4, 0.72);
  border-bottom: 1px solid rgba(255, 230, 0, 0.2);
  backdrop-filter: blur(10px);
}

.topbar__inner {
  height: 68px;
  display: flex;
  align-items: center;
  gap: 18px;
  position: relative;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 8px;
}

.brand__mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  letter-spacing: 0.12em;
  font-size: 22px;
  min-width: 62px;
  min-height: 42px;
  padding: 6px 10px;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(255, 16, 54, 0.42), rgba(255, 230, 0, 0.24));
  border: 1px solid rgba(255, 230, 0, 0.28);
  color: #fff9df;
  text-shadow: 0 0 24px rgba(255, 230, 0, 0.24), 0 8px 28px rgba(0, 0, 0, 0.7);
  overflow: hidden;
}

.brand__markText {
  display: inline-block;
}

.brand__markImg {
  display: block;
  width: auto;
  height: 40px;
  max-width: 156px;
  object-fit: contain;
  filter: drop-shadow(0 0 16px rgba(255, 230, 0, 0.22));
}

.brand__mark.has-logo-image {
  min-width: 0;
  min-height: 0;
  padding: 0;
  background: transparent;
  border-color: transparent;
  text-shadow: none;
  box-shadow: none;
}

.brand__mark.has-logo-image .brand__markText {
  display: none !important;
}

.brand__mark.has-logo-image .brand__markImg {
  display: block !important;
}

.nav {
  display: flex;
  gap: 20px;
  margin-left: 12px;
}

.nav__link {
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 10px 6px;
  position: relative;
}
.nav__link:hover { color: rgba(255, 255, 255, 0.88); }
.nav__link.is-active { color: rgba(255, 255, 255, 0.9); }
.nav__link.is-active::after {
  content: "";
  position: absolute;
  left: 6px; right: 6px; bottom: 4px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--accent2), rgba(255, 230, 0, 0));
}
.nav__link--external.is-disabled {
  opacity: 0.42;
  pointer-events: auto;
  cursor: not-allowed;
}

.topbar__right {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 14px;
}

/* ── Chip ───────────────────────────────────────────────────────────────────── */
.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(255, 230, 0, 0.22);
  background: rgba(255, 255, 255, 0.04);
  color: rgba(255, 243, 222, 0.9);
  border-radius: 999px;
  padding: 8px 12px;
  cursor: pointer;
}
.chip:hover { background: rgba(255, 255, 255, 0.075); }
.chip__dot {
  width: 8px; height: 8px;
  border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(255, 16, 54, 0.24), 0 0 18px rgba(255, 16, 54, 0.42);
}
.chip__label { font-weight: 700; font-size: 12px; letter-spacing: 0.1em; }
.chip__icon { width: 18px; height: 18px; opacity: 0.9; }

.menuToggle {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  border: 1px solid rgba(255, 230, 0, 0.22);
  background: rgba(255, 255, 255, 0.05);
  color: rgba(255, 243, 222, 0.95);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 4px;
}
.menuToggle:hover { background: rgba(255, 255, 255, 0.08); }
.menuToggle__line {
  width: 16px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
}
.menuToggle[aria-expanded="true"] .menuToggle__line:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menuToggle[aria-expanded="true"] .menuToggle__line:nth-child(2) { opacity: 0; }
.menuToggle[aria-expanded="true"] .menuToggle__line:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
.menuToggle__line {
  transition: transform 160ms ease, opacity 160ms ease;
}

/* ── Buttons ────────────────────────────────────────────────────────────────── */
.textlink {
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
  padding: 10px 6px;
}
.textlink:hover { color: rgba(255, 255, 255, 0.92); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 42px;
  padding: 0 16px;
  border-radius: 12px;
  border: 1px solid transparent;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.06em;
  cursor: pointer;
  user-select: none;
  transition: transform 120ms ease, background 120ms ease, border-color 120ms ease, filter 120ms ease;
}
.btn:active { transform: translateY(1px); }
.btn:disabled { opacity: 0.55; cursor: not-allowed; }

.btn--ghost {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 230, 0, 0.24);
  color: rgba(255, 244, 224, 0.92);
}
.btn--ghost:hover { background: rgba(255, 255, 255, 0.08); }

.btn--primary {
  background: linear-gradient(135deg, rgba(255, 16, 54, 1), rgba(156, 0, 30, 1));
  border-color: rgba(255, 230, 0, 0.3);
  box-shadow: 0 18px 60px rgba(255, 16, 54, 0.34), 0 0 24px rgba(255, 16, 54, 0.14);
}
.btn--primary:hover { filter: brightness(1.08) saturate(1.08); }

.btn--secondary {
  background: linear-gradient(135deg, rgba(255, 230, 0, 0.32), rgba(121, 75, 0, 0.28));
  border-color: rgba(255, 230, 0, 0.36);
  color: #fff4b3;
  box-shadow: 0 0 24px rgba(255, 230, 0, 0.12);
}
.btn--secondary:hover {
  background: linear-gradient(135deg, rgba(255, 230, 0, 0.44), rgba(121, 75, 0, 0.34));
  filter: brightness(1.06);
}

.btn__icon { width: 18px; height: 18px; }
.btn--small {
  height: 38px;
  padding-inline: 14px;
  font-size: 12px;
}

/* ── User menu (logged-in state) ────────────────────────────────────────────── */
.userMenu {
  display: flex;
  align-items: center;
  gap: 8px;
}
.userMenu__btn {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,230,0,0.24);
  border-radius: 999px;
  padding: 5px 12px 5px 5px;
  cursor: pointer;
  transition: background 120ms;
}
.userMenu__btn:hover { background: rgba(255,255,255,0.09); }
.userMenu__avatar {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  display: flex; align-items: center; justify-content: center;
  font-weight: 900; font-size: 13px; color: #fff;
  flex-shrink: 0;
}
.userMenu__name {
  font-size: 13px;
  font-weight: 700;
  color: rgba(255,255,255,0.9);
  max-width: 100px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.userMenu__logout {
  width: 34px; height: 34px;
  border-radius: 10px;
  border: 1px solid rgba(255,230,0,0.22);
  background: rgba(255,16,54,0.18);
  color: rgba(255,235,120,0.98);
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background 120ms, color 120ms;
}
.userMenu__logout:hover { background: rgba(255,16,54,0.28); color: #ffee3d; }

/* ── Hero ───────────────────────────────────────────────────────────────────── */
.hero {
  min-height: 100svh;
  padding-top: 68px;
  position: relative;
}

.hero__bgMedia {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 0;
  pointer-events: none;
}

.hero__bgImage,
.hero__bgVideo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.03);
  filter: saturate(1.06) contrast(1.02) brightness(0.9);
}

.hero:not(.pageHero) .hero__bgImage,
.hero:not(.pageHero) .hero__bgVideo {
  filter: saturate(1.08) contrast(1.03) brightness(0.97);
}

.hero__bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(840px 520px at 50% 26%, rgba(255, 16, 54, 0.16), rgba(0, 0, 0, 0) 60%),
    radial-gradient(980px 620px at 20% 46%, rgba(130, 0, 26, 0.12), rgba(0, 0, 0, 0) 62%),
    radial-gradient(980px 560px at 78% 42%, rgba(255, 230, 0, 0.08), rgba(0, 0, 0, 0) 62%),
    linear-gradient(180deg, rgba(24, 2, 5, 0.02), rgba(8, 0, 1, 0.56)),
    repeating-linear-gradient(115deg, rgba(255, 241, 102, 0.06) 0 2px, rgba(0, 0, 0, 0) 2px 10px);
  filter: saturate(1.02) contrast(1.02) brightness(0.96);
  transform: scale(1.02);
  pointer-events: none;
}

.hero--with-media .hero__bg {
  background:
    radial-gradient(720px 460px at 50% 24%, rgba(255, 16, 54, 0.1), rgba(0, 0, 0, 0) 60%),
    linear-gradient(180deg, rgba(22, 2, 5, 0.01), rgba(6, 0, 0, 0.42));
}

.hero:not(.pageHero).hero--with-media .hero__bg {
  background:
    radial-gradient(740px 440px at 50% 22%, rgba(255, 230, 0, 0.05), rgba(0, 0, 0, 0) 60%),
    radial-gradient(760px 420px at 50% 28%, rgba(255, 16, 54, 0.08), rgba(0, 0, 0, 0) 62%),
    linear-gradient(180deg, rgba(22, 2, 5, 0.01), rgba(6, 0, 0, 0.26));
}

.hero__shade {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(22, 3, 6, 0.01), rgba(8, 0, 1, 0.6) 82%);
  pointer-events: none;
}

.hero--with-media .hero__shade {
  background:
    linear-gradient(180deg, rgba(10, 0, 2, 0.01), rgba(6, 0, 1, 0.28) 42%, rgba(5, 0, 1, 0.62) 90%),
    radial-gradient(720px 260px at 50% 0%, rgba(255, 230, 0, 0.03), rgba(0, 0, 0, 0) 75%);
}

.hero:not(.pageHero).hero--with-media .hero__shade {
  background:
    linear-gradient(180deg, rgba(10, 0, 2, 0.01), rgba(6, 0, 1, 0.18) 38%, rgba(5, 0, 1, 0.46) 90%),
    radial-gradient(720px 260px at 50% 0%, rgba(255, 230, 0, 0.02), rgba(0, 0, 0, 0) 75%);
}

.hero__inner {
  position: relative; z-index: 2;
  display: grid;
  place-items: center;
  gap: 18px;
  padding: 58px 0 76px;
}

.hero:not(.pageHero) .hero__inner {
  gap: 16px;
  padding: 36px 0 76px;
}

.hero__logo {
  width: min(520px, 92vw);
  display: grid; place-items: center;
  padding: 28px 18px;
}

.hero:not(.pageHero) .hero__logo {
  transform: translateY(-18px);
  padding: 10px 18px 4px;
}

.hero__logo.has-logo-image {
  width: min(680px, 94vw);
  padding-block: 18px 12px;
}

.hero:not(.pageHero) .hero__logo.has-logo-image {
  padding-block: 0 6px;
}

.hero__logoImg {
  display: block;
  width: min(420px, 84vw);
  max-height: 220px;
  object-fit: contain;
  filter:
    drop-shadow(0 0 32px rgba(255, 230, 0, 0.2))
    drop-shadow(0 0 52px rgba(255, 16, 54, 0.14))
    drop-shadow(0 18px 70px rgba(0, 0, 0, 0.54));
}

.hero:not(.pageHero) .hero__logoImg {
  max-height: 236px;
}

.hero__logoText {
  font-size: clamp(58px, 12vw, 140px);
  line-height: 1;
  font-weight: 900;
  letter-spacing: 0.08em;
  background: linear-gradient(180deg, rgba(255, 252, 234, 0.99), rgba(255, 230, 0, 0.92));
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
  text-shadow: 0 0 30px rgba(255, 230, 0, 0.18), 0 28px 90px rgba(0, 0, 0, 0.65);
  position: relative;
}

.hero__logoText::after {
  content: "";
  position: absolute;
  inset: -18px -22px -20px -22px;
  border-radius: 22px;
  background: radial-gradient(240px 120px at 50% 40%, rgba(255, 16, 54, 0.42), rgba(0, 0, 0, 0) 65%);
  filter: blur(10px);
  z-index: 0;
  pointer-events: none;
}

/* ── Stats ──────────────────────────────────────────────────────────────────── */
.stats {
  width: min(920px, 100%);
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px; padding: 12px;
  background: rgba(20, 2, 6, 0.24);
  border: 1px solid rgba(255, 230, 0, 0.14);
  border-radius: 18px;
  backdrop-filter: blur(8px);
  box-shadow: var(--shadow);
}

.hero:not(.pageHero) .stats {
  width: min(830px, 100%);
  gap: 16px;
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  backdrop-filter: none;
  box-shadow: none;
}

.stat {
  background: rgba(32, 4, 8, 0.54);
  border: 1px solid rgba(255, 230, 0, 0.18);
  border-radius: 14px;
  padding: 14px 14px 12px;
  display: grid; align-content: start;
  gap: 8px; min-height: 92px;
  box-shadow: inset 0 0 0 1px rgba(255, 230, 0, 0.04);
}

.hero:not(.pageHero) .stat {
  min-height: 116px;
  padding: 18px 16px 16px;
  gap: 10px;
  justify-items: center;
  text-align: center;
  background:
    radial-gradient(200px 120px at 50% 0%, rgba(255, 230, 120, 0.04), rgba(0, 0, 0, 0)),
    linear-gradient(180deg, rgba(43, 8, 14, 0.74), rgba(18, 4, 8, 0.82));
  border: 1px solid rgba(255, 226, 152, 0.2);
  border-radius: 14px;
  box-shadow: inset 0 0 0 1px rgba(255, 226, 152, 0.03), 0 18px 36px rgba(0, 0, 0, 0.2);
}

.stat__icon {
  width: 34px; height: 34px;
  border-radius: 12px;
  display: grid; place-items: center;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 230, 0, 0.2);
}
.stat__icon svg { width: 18px; height: 18px; color: rgba(255, 231, 192, 0.92); }
.stat__label { font-size: 12px; letter-spacing: 0.08em; color: rgba(255, 255, 255, 0.6); }
.stat__value { font-size: 18px; font-weight: 900; letter-spacing: 0.02em; }
.stat__value--ok { color: var(--ok); text-shadow: 0 0 22px rgba(255, 230, 0, 0.3); }
.stat__value--err { color: var(--err); }

.hero:not(.pageHero) .stat__icon {
  width: 24px;
  height: 24px;
  border: 0;
  background: transparent;
}

.hero:not(.pageHero) .stat__icon svg {
  width: 20px;
  height: 20px;
  color: rgba(255, 236, 198, 0.92);
}

.hero:not(.pageHero) .stat__label {
  color: rgba(255, 229, 185, 0.76);
  letter-spacing: 0.04em;
}

.hero:not(.pageHero) .stat__value {
  font-size: 19px;
  color: rgba(255, 247, 234, 0.98);
}

.hero:not(.pageHero) #playersValue,
.hero:not(.pageHero) .stat__value--ok {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: #43ef9c;
  text-shadow: 0 0 18px rgba(67, 239, 156, 0.18);
}

.hero:not(.pageHero) #playersValue::before,
.hero:not(.pageHero) .stat__value--ok::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #39ec97;
  box-shadow: 0 0 0 3px rgba(57, 236, 151, 0.14), 0 0 12px rgba(57, 236, 151, 0.24);
}

/* ── CTA ────────────────────────────────────────────────────────────────────── */
.cta {
  position: relative;
  z-index: 3;
  display: flex; align-items: center; justify-content: center;
  gap: 14px; flex-wrap: wrap; padding-top: 6px;
}

.hero:not(.pageHero) .cta {
  gap: 16px;
  padding-top: 4px;
}

.hero:not(.pageHero) .cta .btn {
  min-width: 240px;
  height: 54px;
  padding: 0 28px;
  border-radius: 12px;
  font-size: 15px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.18);
}

.hero:not(.pageHero) #downloadBtn {
  background: linear-gradient(180deg, rgba(255, 16, 54, 0.94), rgba(134, 8, 29, 0.92));
  border-color: rgba(255, 226, 152, 0.34);
  color: rgba(255, 246, 228, 0.98);
  box-shadow: 0 18px 36px rgba(130, 8, 32, 0.24);
}

.hero:not(.pageHero) #downloadBtn:hover {
  filter: brightness(1.06);
}

.hero:not(.pageHero) #discordBtn {
  background: linear-gradient(180deg, rgba(44, 10, 16, 0.9), rgba(19, 4, 8, 0.92));
  border-color: rgba(255, 226, 152, 0.24);
  color: rgba(255, 244, 219, 0.96);
}

.hero:not(.pageHero) #discordBtn:hover {
  background: linear-gradient(180deg, rgba(58, 13, 21, 0.94), rgba(26, 5, 10, 0.96));
}

.hero:not(.pageHero) #ctaRegisterBtn {
  min-width: 206px;
  background: linear-gradient(180deg, rgba(34, 12, 16, 0.84), rgba(16, 6, 9, 0.9));
  border-color: rgba(255, 226, 152, 0.24);
  color: rgba(255, 245, 221, 0.94);
}

.portalBlock--activeEvents {
  background:
    linear-gradient(180deg, rgba(52, 10, 16, 0.4), rgba(17, 2, 5, 0.32)),
    rgba(18, 2, 5, 0.28);
}

.portalBlock {
  width: min(1120px, 100%);
  position: relative;
  z-index: 3;
  display: grid;
  gap: 16px;
  padding: 22px;
  margin-top: 6px;
  background: rgba(18, 2, 5, 0.28);
  border: 1px solid rgba(255, 230, 0, 0.14);
  border-radius: 24px;
  backdrop-filter: blur(8px);
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.34);
}

.portalBlock__head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
}

.portalBlock__eyebrow {
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255, 230, 0, 0.72);
  margin-bottom: 8px;
}

.portalBlock__title {
  margin: 0;
  font-size: clamp(26px, 4vw, 38px);
  line-height: 1;
  color: rgba(255, 247, 224, 0.98);
}

.portalBlock__subtitle {
  margin: 0;
  max-width: 360px;
  text-align: right;
  color: rgba(255, 232, 188, 0.72);
  line-height: 1.6;
}

.portalBlock__aside {
  display: grid;
  justify-items: end;
  gap: 14px;
}

.portalBlock__action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 88px;
  min-height: 40px;
  padding: 0 18px;
  border-radius: 12px;
  border: 1px solid rgba(255, 227, 162, 0.2);
  background: linear-gradient(180deg, rgba(42, 8, 14, 0.68), rgba(18, 3, 7, 0.78));
  box-shadow: inset 0 0 0 1px rgba(255, 227, 162, 0.03);
  color: rgba(255, 245, 220, 0.92);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  transition: transform 140ms ease, border-color 140ms ease, background 140ms ease;
}

.portalBlock__action:hover {
  transform: translateY(-1px);
  border-color: rgba(255, 227, 162, 0.34);
  background: linear-gradient(180deg, rgba(56, 11, 18, 0.78), rgba(24, 4, 9, 0.86));
}

.newsGrid {
  display: grid;
  grid-template-columns: minmax(0, 1.75fr) minmax(280px, 0.9fr);
  gap: 18px;
  align-items: stretch;
}

.newsRail {
  display: grid;
  gap: 18px;
}

.activeEventsGrid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.activeEventCard {
  position: relative;
  display: grid;
  gap: 12px;
  padding: 18px;
  min-height: 180px;
  background:
    radial-gradient(220px 140px at 100% 0%, rgba(255, 230, 0, 0.08), rgba(0, 0, 0, 0)),
    linear-gradient(180deg, rgba(50, 9, 14, 0.7), rgba(20, 3, 7, 0.68));
  border: 1px solid rgba(255, 230, 0, 0.2);
  border-radius: 20px;
  box-shadow: inset 0 0 0 1px rgba(255, 230, 0, 0.04), 0 18px 40px rgba(0, 0, 0, 0.22);
  overflow: hidden;
}

.activeEventCard--empty {
  grid-column: 1 / -1;
  min-height: 0;
}

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

.activeEventCard__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 72px;
  height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(255, 16, 54, 0.22);
  border: 1px solid rgba(255, 230, 0, 0.22);
  color: #fff1c8;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.activeEventCard__meta {
  color: rgba(255, 232, 188, 0.76);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-align: right;
}

.activeEventCard__title {
  margin: 0;
  font-size: 20px;
  color: rgba(255, 247, 224, 0.98);
}

.activeEventCard__body {
  margin: 0;
  color: rgba(255, 233, 196, 0.82);
  line-height: 1.7;
  max-width: 34ch;
}

.activeEventCard__index {
  margin-top: auto;
  color: rgba(255, 230, 0, 0.52);
  font-size: 34px;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.newsCard {
  position: relative;
  display: flex;
  min-height: 260px;
  border-radius: 22px;
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(220px 140px at 100% 0%, rgba(255, 230, 0, 0.06), rgba(0, 0, 0, 0)),
    linear-gradient(180deg, rgba(50, 9, 14, 0.64), rgba(20, 3, 7, 0.66));
  border: 1px solid rgba(255, 230, 0, 0.18);
  box-shadow: inset 0 0 0 1px rgba(255, 230, 0, 0.035), 0 24px 44px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(5px);
}

.newsCard--empty {
  grid-column: 1 / -1;
  min-height: 0;
}

.newsGrid > .newsCard--feature:only-child {
  grid-column: 1 / -1;
}

.newsCard__media {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(420px 240px at 50% 0%, rgba(255, 230, 120, 0.06), rgba(0, 0, 0, 0)),
    radial-gradient(360px 220px at 78% 12%, rgba(255, 16, 54, 0.12), rgba(0, 0, 0, 0)),
    linear-gradient(180deg, rgba(54, 10, 16, 0.46), rgba(18, 4, 8, 0.52));
  background-size: cover;
  background-position: center;
  transform: scale(1.02);
  transition: transform 220ms ease;
}

.newsCard__shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(15, 4, 7, 0.12), rgba(10, 5, 8, 0.5) 52%, rgba(8, 4, 7, 0.84)),
    radial-gradient(280px 160px at 18% 22%, rgba(255, 230, 130, 0.05), rgba(0, 0, 0, 0)),
    linear-gradient(135deg, rgba(88, 12, 24, 0.08), rgba(0, 0, 0, 0));
}

.newsCard:hover .newsCard__media {
  transform: scale(1.05);
}

.newsCard__content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 12px;
  width: 100%;
  min-height: 100%;
  padding: 30px 28px;
}

.newsCard--feature .newsCard__content {
  padding: 36px 34px;
}

.newsCard--compact {
  min-height: 310px;
}

.newsCard__metaRow {
  display: flex;
  align-items: center;
  gap: 10px;
}

.newsCard__tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 88px;
  min-height: 32px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(255, 16, 54, 0.16);
  border: 1px solid rgba(255, 230, 0, 0.18);
  color: #fff0bf;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.newsCard__title {
  margin: 0;
  font-size: clamp(22px, 2.8vw, 30px);
  line-height: 1.08;
  color: rgba(255, 247, 224, 0.98);
  text-shadow: 0 8px 24px rgba(0, 0, 0, 0.38);
}

.newsCard--compact .newsCard__title {
  font-size: 18px;
}

.newsCard__date {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 232, 188, 0.76);
  font-size: 13px;
  letter-spacing: 0.04em;
}

.newsCard__icon {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
}

.newsCard__body {
  margin: 0;
  max-width: 58ch;
  color: rgba(255, 233, 196, 0.82);
  line-height: 1.72;
}

.newsCard--compact .newsCard__body {
  max-width: 34ch;
}

.newsCard__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  color: rgba(255, 240, 196, 0.96);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
}

.newsCard__link--muted {
  color: rgba(255, 228, 187, 0.52);
}

.newsCard__arrow {
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
}

.featureGrid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.featureCard {
  display: grid;
  gap: 12px;
  padding: 18px;
  background: linear-gradient(180deg, rgba(35, 6, 10, 0.58), rgba(19, 3, 6, 0.5));
  border: 1px solid rgba(255, 230, 0, 0.16);
  border-radius: 18px;
  box-shadow: inset 0 0 0 1px rgba(255, 230, 0, 0.03);
}

.featureCard--empty {
  grid-column: 1 / -1;
}

.featureCard__top {
  display: flex;
  align-items: center;
  gap: 10px;
}

.featureCard__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(255, 16, 54, 0.18);
  border: 1px solid rgba(255, 230, 0, 0.18);
  color: #fff0bf;
  font-size: 11px;
  letter-spacing: 0.12em;
  font-weight: 800;
}

.featureCard__kind {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 230, 0, 0.72);
}

.featureCard__title {
  margin: 0;
  font-size: 18px;
  color: rgba(255, 247, 224, 0.98);
}

.featureCard__body {
  margin: 0;
  color: rgba(255, 233, 196, 0.8);
  line-height: 1.7;
}

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

.featureCard__linkHint {
  color: rgba(255, 228, 187, 0.64);
  font-size: 12px;
}

.portalRanking {
  border-radius: 26px;
  overflow: hidden;
}

.portalRanking--boards {
  padding: 0;
  background: transparent;
  border: 0;
}

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

.homeRankCard {
  position: relative;
  display: grid;
  gap: 18px;
  min-height: 420px;
  padding: 22px;
  background:
    radial-gradient(280px 180px at 50% 0%, rgba(255, 224, 120, 0.06), rgba(0, 0, 0, 0)),
    radial-gradient(260px 160px at 82% 12%, rgba(155, 14, 42, 0.14), rgba(0, 0, 0, 0)),
    linear-gradient(180deg, rgba(36, 8, 14, 0.66), rgba(12, 3, 7, 0.78));
  border: 1px solid rgba(255, 227, 162, 0.16);
  border-radius: 24px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.025), 0 22px 48px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(5px);
}

.homeRankCard--killers {
  border-color: rgba(255, 105, 124, 0.24);
}

.homeRankCard--general {
  border-color: rgba(255, 210, 84, 0.22);
}

.homeRankCard__head {
  display: flex;
  align-items: center;
  gap: 14px;
}

.homeRankCard__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(255, 170, 36, 0.94), rgba(255, 129, 22, 0.82));
  color: #fff7ea;
  box-shadow: 0 12px 24px rgba(255, 146, 0, 0.18);
}

.homeRankCard--killers .homeRankCard__icon {
  background: linear-gradient(135deg, rgba(255, 83, 91, 0.94), rgba(255, 92, 170, 0.82));
  box-shadow: 0 12px 24px rgba(255, 90, 115, 0.18);
}

.homeRankCard--general .homeRankCard__icon {
  background: linear-gradient(135deg, rgba(255, 214, 90, 0.94), rgba(164, 98, 17, 0.82));
  box-shadow: 0 12px 24px rgba(255, 210, 84, 0.15);
}

.homeRankCard__icon svg {
  width: 22px;
  height: 22px;
}

.homeRankCard__title {
  margin: 0;
  font-size: clamp(24px, 2.2vw, 31px);
  line-height: 1;
  color: rgba(246, 241, 223, 0.98);
  text-shadow: 0 6px 18px rgba(0, 0, 0, 0.34);
}

.homeRankCard__body {
  display: grid;
}

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

.homeRankCard__item {
  display: grid;
  grid-template-columns: 20px 52px minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border-radius: 16px;
  background: rgba(27, 7, 11, 0.56);
  border: 1px solid rgba(255, 227, 162, 0.05);
  box-shadow: inset 0 0 0 1px rgba(255, 227, 162, 0.015);
}

.homeRankCard__item.is-top {
  border-color: rgba(255, 227, 162, 0.26);
  box-shadow: inset 0 0 0 1px rgba(255, 227, 162, 0.05);
}

.homeRankCard__position {
  color: rgba(255, 239, 206, 0.92);
  font-size: 18px;
  font-weight: 800;
}

.homeRankCard__avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 25%, rgba(255, 255, 255, 0.2), rgba(0, 0, 0, 0)), linear-gradient(135deg, rgba(88, 99, 132, 0.95), rgba(26, 34, 57, 0.98));
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(247, 248, 251, 0.96);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.homeRankCard__avatar.is-dw { background: radial-gradient(circle at 30% 25%, rgba(171, 220, 255, 0.24), rgba(0, 0, 0, 0)), linear-gradient(135deg, rgba(73, 127, 255, 0.92), rgba(25, 46, 104, 0.96)); }
.homeRankCard__avatar.is-dk { background: radial-gradient(circle at 30% 25%, rgba(255, 209, 166, 0.24), rgba(0, 0, 0, 0)), linear-gradient(135deg, rgba(255, 129, 74, 0.92), rgba(113, 47, 24, 0.96)); }
.homeRankCard__avatar.is-elf { background: radial-gradient(circle at 30% 25%, rgba(197, 255, 212, 0.24), rgba(0, 0, 0, 0)), linear-gradient(135deg, rgba(61, 195, 104, 0.92), rgba(19, 84, 44, 0.96)); }
.homeRankCard__avatar.is-mg { background: radial-gradient(circle at 30% 25%, rgba(229, 194, 255, 0.24), rgba(0, 0, 0, 0)), linear-gradient(135deg, rgba(174, 98, 255, 0.92), rgba(69, 31, 110, 0.96)); }
.homeRankCard__avatar.is-dl { background: radial-gradient(circle at 30% 25%, rgba(255, 184, 198, 0.24), rgba(0, 0, 0, 0)), linear-gradient(135deg, rgba(214, 77, 113, 0.92), rgba(84, 23, 39, 0.96)); }
.homeRankCard__avatar.is-sum { background: radial-gradient(circle at 30% 25%, rgba(255, 183, 248, 0.24), rgba(0, 0, 0, 0)), linear-gradient(135deg, rgba(223, 89, 255, 0.92), rgba(92, 28, 112, 0.96)); }
.homeRankCard__avatar.is-rf { background: radial-gradient(circle at 30% 25%, rgba(182, 229, 255, 0.24), rgba(0, 0, 0, 0)), linear-gradient(135deg, rgba(59, 167, 255, 0.92), rgba(21, 58, 96, 0.96)); }
.homeRankCard__avatar.is-gl { background: radial-gradient(circle at 30% 25%, rgba(255, 216, 185, 0.24), rgba(0, 0, 0, 0)), linear-gradient(135deg, rgba(228, 156, 88, 0.92), rgba(95, 56, 28, 0.96)); }

.homeRankCard__player {
  display: grid;
  min-width: 0;
}

.homeRankCard__name {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: rgba(247, 248, 251, 0.96);
  font-size: 18px;
}

.homeRankCard__class {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: rgba(255, 226, 178, 0.56);
  font-size: 12px;
  letter-spacing: 0.04em;
}

.homeRankCard__value {
  color: rgba(255, 230, 156, 0.98);
  font-size: 22px;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.homeRankCard--killers .homeRankCard__value {
  color: rgba(255, 156, 165, 0.98);
}

.homeRankCard--general .homeRankCard__value {
  color: rgba(255, 220, 117, 0.98);
}

.homeRankCard__empty {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 220px;
  border-radius: 18px;
  background: rgba(23, 7, 10, 0.54);
  border: 1px dashed rgba(255, 227, 162, 0.08);
  color: rgba(255, 230, 188, 0.58);
  text-align: center;
  line-height: 1.7;
}

/* ── Modal ──────────────────────────────────────────────────────────────────── */
.pageHero .hero__inner {
  align-content: start;
  padding-top: 44px;
}

.pageShell {
  width: 100%;
  display: grid;
  gap: 18px;
}

.pageShell__head {
  display: grid;
  gap: 10px;
  text-align: center;
}

.pageShell__eyebrow {
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 229, 178, 0.82);
}

.pageShell__title {
  margin: 0;
  font-size: clamp(32px, 4vw, 52px);
  color: rgba(255, 245, 214, 0.98);
}

.pageShell__subtitle {
  width: min(760px, 100%);
  margin: 0 auto;
  color: rgba(255, 233, 196, 0.82);
  line-height: 1.7;
}

.pageShell__frame {
  width: min(760px, 100%);
  margin: 0 auto;
  background: rgba(22, 3, 6, 0.96);
  border: 1px solid rgba(255, 230, 0, 0.2);
  border-radius: 22px;
  box-shadow: 0 22px 90px rgba(0, 0, 0, 0.7);
  overflow: hidden;
}

.pageShell__frame--wide {
  width: 100%;
}

.pageShell__body {
  padding: 18px;
  color: rgba(255, 255, 255, 0.78);
  display: grid;
  gap: 14px;
}

.modalOverlay[hidden] { display: none; }

.modalOverlay {
  position: fixed; inset: 0; z-index: 50;
  background: rgba(10, 0, 0, 0.74);
  backdrop-filter: blur(8px);
  display: grid; place-items: center;
  padding: 18px;
}

.modal {
  width: min(720px, 96vw);
  background: rgba(22, 3, 6, 0.96);
  border: 1px solid rgba(255, 230, 0, 0.2);
  border-radius: 18px;
  box-shadow: 0 22px 90px rgba(0, 0, 0, 0.7);
  overflow: hidden;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
}

.modal--wide {
  width: min(1080px, 96vw);
}

.modal__top {
  display: flex; align-items: center; justify-content: space-between;
  gap: 14px; padding: 14px 14px 12px;
  background: rgba(255, 255, 255, 0.04);
  border-bottom: 1px solid rgba(255, 230, 0, 0.2);
  flex-shrink: 0;
}

.modal__title { font-size: 13px; letter-spacing: 0.16em; text-transform: uppercase; font-weight: 900; }

.modal__close {
  width: 38px; height: 38px;
  border-radius: 12px;
  border: 1px solid rgba(255, 230, 0, 0.22);
  background: rgba(255, 255, 255, 0.05);
  color: rgba(255, 255, 255, 0.9);
  cursor: pointer; font-size: 20px; line-height: 1;
}
.modal__close:hover { background: rgba(255, 255, 255, 0.08); }

.modal__body {
  padding: 16px 16px 18px;
  color: rgba(255, 255, 255, 0.78);
  display: grid; gap: 12px;
  overflow-y: auto;
}

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

.modal__card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 230, 0, 0.18);
  border-radius: 16px;
  padding: 14px;
}

.modal__cardTitle { font-weight: 900; color: rgba(255, 255, 255, 0.9); margin-bottom: 8px; }
.modal__actions { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }

/* ── Server info ────────────────────────────────────────────────────────────── */
.serverInfo {
  display: grid;
  gap: 18px;
}

.serverInfo__header {
  display: grid;
  gap: 10px;
  padding: 20px;
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(120, 52, 20, 0.5), rgba(60, 18, 10, 0.42));
  border: 1px solid rgba(255, 230, 0, 0.18);
  box-shadow: inset 0 0 0 1px rgba(255, 230, 0, 0.05);
  text-align: center;
}

.serverInfo__eyebrow {
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 229, 178, 0.82);
}

.serverInfo__title {
  margin: 0;
  font-size: clamp(30px, 4vw, 44px);
  color: #fff3d0;
}

.serverInfo__subtitle {
  margin: 0;
  color: rgba(255, 232, 196, 0.82);
  line-height: 1.7;
}

.serverInfo__meta {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
}

.serverInfo__metaItem {
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(25, 5, 8, 0.5);
  border: 1px solid rgba(255, 230, 0, 0.14);
  color: rgba(255, 236, 203, 0.84);
  font-size: 12px;
}

.serverInfo__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.serverInfo__panel {
  display: grid;
  gap: 12px;
  padding: 18px;
  background: linear-gradient(180deg, rgba(36, 8, 10, 0.72), rgba(22, 4, 7, 0.64));
  border: 1px solid rgba(255, 230, 0, 0.16);
  border-radius: 18px;
  min-height: 100%;
}

.serverInfo__panelTitle {
  font-size: 20px;
  font-weight: 900;
  color: #fff1c4;
}

.serverInfo__list {
  display: grid;
}

.serverInfo__row {
  display: flex;
  justify-content: space-between;
  align-items: start;
  gap: 14px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 230, 0, 0.08);
}

.serverInfo__row:last-child {
  border-bottom: none;
}

.serverInfo__row span {
  color: rgba(255, 228, 187, 0.74);
}

.serverInfo__row strong {
  color: rgba(255, 247, 224, 0.96);
  text-align: right;
}

.serverInfo__table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

.serverInfo__table th,
.serverInfo__table td {
  padding: 9px 10px;
  border-bottom: 1px solid rgba(255, 230, 0, 0.08);
  text-align: left;
}

.serverInfo__table th {
  color: rgba(255, 229, 178, 0.78);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.serverInfo__table td {
  color: rgba(255, 243, 219, 0.88);
}

.serverInfo__table tr:last-child td {
  border-bottom: none;
}

/* ── Info rows ──────────────────────────────────────────────────────────────── */
.infoRow {
  display: flex; justify-content: space-between; align-items: center;
  padding: 6px 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  font-size: 13px;
}
.infoRow:last-child { border-bottom: none; }
.infoRow span { color: var(--muted); }

/* ── Forms ──────────────────────────────────────────────────────────────────── */
.formCard { max-width: 420px; margin: 0 auto; width: 100%; }

.formGroup {
  display: grid;
  gap: 10px;
  margin-bottom: 8px;
}

.formLabel {
  font-size: 13px;
  letter-spacing: 0.11em;
  font-weight: 700;
  color: rgba(255,255,255,0.72);
  text-transform: uppercase;
  padding-left: 2px;
}

.formInput {
  height: 44px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 12px;
  padding: 0 14px;
  color: var(--text);
  font-size: 14px;
  outline: none;
  transition: border-color 150ms;
  width: 100%;
}
.formInput::placeholder { color: rgba(255,255,255,0.28); }
.formInput:focus {
  border-color: rgba(255,230,0,0.68);
  background: rgba(255,255,255,0.08);
  box-shadow: 0 0 0 3px rgba(255,16,54,0.18), 0 0 24px rgba(255,230,0,0.12);
}

.captchaRow {
  display: flex;
  align-items: center;
  gap: 10px;
}

.captchaPrompt {
  flex: 1;
  min-height: 42px;
  display: flex;
  align-items: center;
  padding: 0 14px;
  border-radius: 12px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  color: rgba(255, 244, 224, 0.92);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.captchaRefresh {
  flex: 0 0 auto;
  min-width: 152px;
}

.formMsg {
  padding: 10px 14px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 600;
}
.formMsg--err { background: rgba(255,80,80,0.14); border: 1px solid rgba(255,80,80,0.3); color: #ff8f8f; }
.formMsg--ok { background: rgba(255,230,0,0.14); border: 1px solid rgba(255,230,0,0.3); color: #ffee3d; }

.formFooter {
  text-align: center;
  font-size: 12px;
  color: var(--muted);
  margin: 8px 0 0;
}
.formFooter a { color: var(--accent2); text-decoration: underline; }

.siteFooter {
  position: relative;
  z-index: 3;
  padding: 10px 0 26px;
}

.siteFooter__grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1.1fr 1fr;
  gap: 28px;
  padding: 34px 30px;
  background:
    radial-gradient(560px 240px at 12% 0%, rgba(255, 16, 54, 0.08), rgba(0, 0, 0, 0) 68%),
    radial-gradient(520px 220px at 88% 0%, rgba(255, 230, 0, 0.05), rgba(0, 0, 0, 0) 70%),
    linear-gradient(180deg, rgba(18, 2, 5, 0.58), rgba(12, 1, 4, 0.5));
  border-top: 1px solid rgba(255, 230, 0, 0.12);
  border-bottom: 1px solid rgba(255, 230, 0, 0.08);
  border-radius: 24px;
  backdrop-filter: blur(8px);
  box-shadow: inset 0 0 0 1px rgba(255, 230, 0, 0.03), 0 18px 50px rgba(0, 0, 0, 0.2);
}

.siteFooter__brandCol,
.siteFooter__col {
  display: grid;
  align-content: start;
  gap: 14px;
}

.siteFooter__brandMark {
  min-height: 82px;
  display: flex;
  align-items: center;
}

.siteFooter__brandImg {
  display: block;
  max-width: 138px;
  max-height: 82px;
  object-fit: contain;
  filter:
    drop-shadow(0 0 16px rgba(255, 230, 0, 0.14))
    drop-shadow(0 10px 22px rgba(0, 0, 0, 0.34));
}

.siteFooter__brandTextLogo {
  font-size: 54px;
  line-height: 1;
  font-weight: 900;
  letter-spacing: 0.08em;
  color: rgba(255, 244, 224, 0.9);
  text-shadow: 0 0 24px rgba(255, 230, 0, 0.12);
}

.siteFooter__brandTitle {
  margin: 0;
  font-size: 0;
}

.siteFooter__brandCopy {
  margin: 0;
  color: rgba(255, 232, 188, 0.74);
  line-height: 1.6;
  max-width: 28ch;
}

.siteFooter__statusPill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: fit-content;
  padding: 10px 16px;
  border-radius: 12px;
  border: 1px solid rgba(255, 230, 0, 0.14);
  background: rgba(255, 255, 255, 0.04);
  color: #89ff76;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.siteFooter__statusPill.is-offline {
  color: #ff8f8f;
}

.siteFooter__statusDot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: currentColor;
  box-shadow: 0 0 0 4px rgba(137,255,118,0.12);
}

.siteFooter__statusPill.is-offline .siteFooter__statusDot {
  box-shadow: 0 0 0 4px rgba(255,143,143,0.14);
}

.siteFooter__title {
  margin: 0;
  color: rgba(255, 244, 224, 0.92);
  font-size: 16px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.siteFooter__links {
  display: grid;
  gap: 12px;
}

.siteFooter__link {
  position: relative;
  width: fit-content;
  padding-left: 18px;
  color: rgba(255, 232, 188, 0.82);
}

.siteFooter__link::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: rgba(255, 230, 0, 0.76);
  transform: translateY(-50%);
}

.siteFooter__socialList {
  display: grid;
  gap: 12px;
}

.siteFooter__socialItem {
  display: flex;
  align-items: center;
  min-height: 40px;
  padding: 0 16px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 230, 0, 0.08);
  color: rgba(255, 244, 224, 0.9);
  transition: background 120ms ease, border-color 120ms ease;
}

.siteFooter__socialItem:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 230, 0, 0.18);
}

.siteFooter__socialItem.is-disabled {
  opacity: 0.58;
  pointer-events: none;
}

.siteFooter__socialName {
  font-weight: 700;
}

.siteFooter__infoList {
  display: grid;
  gap: 16px;
}

.siteFooter__infoItem {
  display: grid;
  gap: 4px;
  padding-left: 18px;
  position: relative;
}

.siteFooter__infoItem::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  border: 2px solid rgba(168, 214, 255, 0.88);
}

.siteFooter__infoLabel {
  color: rgba(255, 228, 187, 0.72);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.siteFooter__infoValue {
  color: rgba(255, 244, 224, 0.92);
  font-size: 15px;
  font-weight: 700;
}

.siteFooter__serverCard {
  margin-top: 10px;
  display: grid;
  gap: 10px;
  padding: 18px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 230, 0, 0.12);
}

.siteFooter__serverTitle {
  color: rgba(255, 228, 187, 0.76);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.siteFooter__serverLine {
  color: rgba(255, 244, 224, 0.88);
  font-size: 14px;
  font-weight: 700;
}

.siteFooter__bottom {
  padding: 14px 0 0;
  text-align: center;
  color: rgba(255, 230, 0, 0.52);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

/* ── Rankings ───────────────────────────────────────────────────────────────── */
.rankTabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 4px;
}

.rankTab {
  padding: 8px 14px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.1);
  background: rgba(255,255,255,0.05);
  color: var(--muted);
  cursor: pointer;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  transition: background 120ms, color 120ms;
}
.rankTab:hover { background: rgba(255,255,255,0.08); color: var(--text); }
.rankTab.is-active {
  background: rgba(255,16,54,0.2);
  border-color: rgba(255,230,0,0.38);
  color: var(--accent2);
  box-shadow: 0 0 18px rgba(255,16,54,0.12);
}

.rankTableWrap {
  width: 100%;
  overflow-x: auto;
}

.rankTable {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
  min-width: 980px;
}

.rankTable th {
  text-align: left;
  padding: 8px 10px;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.rankTable td {
  padding: 9px 10px;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  color: rgba(255,255,255,0.8);
}

.rankTable tr:last-child td { border-bottom: none; }
.rankTable tr:hover td { background: rgba(255,255,255,0.03); }

.rankPos { font-weight: 900; color: var(--muted); width: 36px; }
.rankName { font-weight: 700; color: var(--text); }
.rankClass { font-size: 12px; color: var(--muted); }
.rankPts { font-weight: 700; color: var(--accent2); }
.rankCountry {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}
.rankFlag {
  flex: 0 0 auto;
  width: 24px;
  height: 18px;
  border-radius: 4px;
  overflow: hidden;
}
.rankFlag--img {
  display: block;
  object-fit: cover;
  border: 1px solid rgba(255,255,255,0.2);
  box-shadow: 0 4px 10px rgba(0,0,0,0.18);
  background: rgba(255,255,255,0.08);
}
.rankFlag--fallback {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  line-height: 1;
  background: rgba(255,255,255,0.06);
}
.rankCountryText {
  color: rgba(255,255,255,0.86);
  font-size: 12px;
}
.rankStatus {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 78px;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border: 1px solid rgba(255,255,255,0.08);
}
.rankStatus--online {
  background: rgba(78, 255, 141, 0.12);
  color: #8fffb4;
  border-color: rgba(78, 255, 141, 0.18);
}
.rankStatus--offline {
  background: rgba(255, 92, 92, 0.12);
  color: #ff9595;
  border-color: rgba(255, 92, 92, 0.18);
}

.rank-gold td { background: rgba(255,230,0,0.14); }
.rank-gold .rankPos { color: var(--gold); }
.rank-silver td { background: rgba(213,193,160,0.08); }
.rank-silver .rankPos { color: var(--silver); }
.rank-bronze td { background: rgba(185,117,60,0.08); }
.rank-bronze .rankPos { color: var(--bronze); }

/* ── Account ────────────────────────────────────────────────────────────────── */
.accountHeader {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 14px;
}
.accountAvatar {
  width: 46px; height: 46px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  display: flex; align-items: center; justify-content: center;
  font-weight: 900; font-size: 20px; color: #fff;
  flex-shrink: 0;
}
.accountName { font-weight: 900; font-size: 16px; color: var(--text); }
.accountSub { font-size: 12px; color: var(--muted); margin-top: 2px; }
.accountSub strong { color: var(--accent2); }

.charGrid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 10px;
}
.charCard {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  padding: 12px;
}
.charName { font-weight: 900; color: var(--text); margin-bottom: 2px; }
.charClass { font-size: 12px; color: var(--accent2); margin-bottom: 8px; }
.charStats {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  font-size: 12px;
  color: var(--muted);
}
.charStats strong { color: var(--text); }

/* ── Helpers ────────────────────────────────────────────────────────────────── */
.text-ok { color: var(--ok); }
.text-err { color: var(--err); }
.text-muted { color: var(--muted); }
.loadingRow { padding: 24px; text-align: center; color: var(--muted); font-size: 13px; }
.emptyState { padding: 24px; text-align: center; color: var(--muted); font-size: 14px; line-height: 1.6; }

/* ── Responsive ─────────────────────────────────────────────────────────────── */
@media (max-width: 980px) {
  .menuToggle { display: inline-flex; }
  .nav {
    position: absolute;
    top: calc(100% + 12px);
    left: 0;
    right: 0;
    margin-left: 0;
    padding: 12px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 18px;
    background: rgba(17, 2, 4, 0.98);
    backdrop-filter: blur(18px);
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.45);
    display: grid;
    gap: 6px;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity 160ms ease, transform 160ms ease;
  }
  .nav.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }
  .nav__link {
    padding: 12px 14px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.02);
  }
  .nav__link.is-active::after {
    display: none;
  }
  .nav__link.is-active {
    background: rgba(255, 16, 54, 0.18);
    color: rgba(255, 237, 207, 0.98);
  }
  .siteFooter__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding: 28px 22px;
  }
}
@media (max-width: 900px) { .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 900px) {
  .newsGrid { grid-template-columns: 1fr; }
  .newsRail { grid-template-columns: 1fr; }
  .activeEventsGrid { grid-template-columns: 1fr; }
  .featureGrid { grid-template-columns: 1fr; }
  .homeRankBoardGrid { grid-template-columns: 1fr; }
  .serverInfo__grid { grid-template-columns: 1fr; }
  .portalBlock__head { grid-template-columns: 1fr; display: grid; }
  .portalBlock__subtitle { text-align: left; max-width: none; }
  .portalBlock__aside { justify-items: start; }
  .newsCard--compact { min-height: 250px; }
  .homeRankCard { min-height: 0; }
}
@media (max-width: 640px) {
  .modal__grid { grid-template-columns: 1fr; }
  .captchaRow { grid-template-columns: 1fr; display: grid; }
  .captchaRefresh { width: 100%; min-width: 0; }
}
@media (max-width: 520px) {
  .topbar__inner { gap: 10px; }
  .topbar__right { gap: 8px; }
  .textlink { display: none; }
  .stats { padding: 10px; gap: 10px; }
  .portalBlock { padding: 16px; }
  .userMenu__name { display: none; }
  .chip { padding-inline: 10px; }
  .chip__icon { display: none; }
  .cta { width: 100%; }
  .rankTabs { flex-wrap: wrap; }
  .newsCard--feature .newsCard__content,
  .newsCard__content { padding: 24px 20px; }
  .homeRankCard { padding: 18px; }
  .homeRankCard__item { grid-template-columns: 16px 44px minmax(0, 1fr) auto; gap: 10px; padding: 12px; }
  .homeRankCard__avatar { width: 44px; height: 44px; font-size: 11px; }
  .homeRankCard__name { font-size: 15px; }
  .homeRankCard__value { font-size: 18px; }
  .cta .btn,
  .modal__actions .btn { width: 100%; }
  .siteFooter__grid { grid-template-columns: 1fr; gap: 22px; }
  .siteFooter__bottom { letter-spacing: 0.12em; line-height: 1.7; }
}
