/* ==========================================================================
   ZemeRustu.cz - production static styling
   ========================================================================== */

:root {
  --bg: #050505;
  --bg-2: #0a0a0b;
  --panel: rgba(11, 12, 13, 0.93);
  --panel-2: rgba(17, 18, 19, 0.9);
  --line: rgba(255, 40, 20, 0.78);
  --line-dim: rgba(255, 40, 20, 0.32);
  --red: #ff2a17;
  --red-hot: #ff3b22;
  --red-dark: #820c08;
  --orange: #ff871f;
  --text: #f4f1ec;
  --muted: #a8a5a1;
  --dim: #6d6a66;
  --green: #73e337;
  --discord: #5a5ff0;
  --font-display: "Bebas Neue", "Oswald", Impact, "Arial Black", "Arial Narrow", sans-serif;
  --font-ui: "Rajdhani", "Oswald", "Arial Narrow", Arial, sans-serif;
  --shadow-red: 0 0 18px rgba(255, 35, 18, 0.42);
  --inset: inset 0 0 28px rgba(255, 33, 18, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.04);
  --max: 1576px;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-ui);
  scroll-behavior: smooth;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  margin: 0;
  background:
    radial-gradient(circle at 86% 5%, rgba(255, 36, 14, 0.22), transparent 27rem),
    radial-gradient(circle at 4% 16%, rgba(255, 36, 14, 0.12), transparent 22rem),
    linear-gradient(135deg, transparent 0 46%, rgba(255, 30, 12, 0.04) 46% 47%, transparent 47% 100%),
    repeating-linear-gradient(126deg, rgba(255, 255, 255, 0.025) 0 1px, transparent 1px 14px),
    #050505;
  color: var(--text);
  overflow-x: hidden;
}

main {
  flex: 1 0 auto;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(255, 36, 14, 0.18), transparent 15%, transparent 84%, rgba(255, 36, 14, 0.2));
  mix-blend-mode: screen;
  opacity: 0.42;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
  pointer-events: none;
  opacity: 0.5;
}

body.debug-overlay::after {
  display: block;
  background: url("../img/reference.png") top center / min(100vw, 1672px) auto no-repeat;
}

.icon-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  font: inherit;
}

.shell {
  width: min(var(--max), calc(100% - 96px));
  margin-inline: auto;
}

/* Header ------------------------------------------------------------------ */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: 64px;
  background:
    linear-gradient(90deg, rgba(8, 8, 8, 0.98), rgba(10, 10, 10, 0.96)),
    repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.04) 0 1px, transparent 1px 10px);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.65), 0 0 26px rgba(255, 22, 10, 0.22);
}

.site-header::before,
.site-header::after {
  content: "";
  position: absolute;
  bottom: -1px;
  width: 240px;
  height: 64px;
  pointer-events: none;
  border-bottom: 1px solid var(--red);
}

.site-header::before {
  left: 305px;
  clip-path: polygon(16% 0, 100% 0, 84% 100%, 0 100%);
  background: linear-gradient(115deg, transparent, rgba(255, 26, 10, 0.12), transparent);
}

.site-header::after {
  right: 0;
  clip-path: polygon(14% 0, 100% 0, 86% 100%, 0 100%);
  background: linear-gradient(115deg, rgba(255, 31, 14, 0.08), rgba(255, 31, 14, 0.22));
}

.header-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 335px 1fr 310px;
  align-items: center;
  height: 64px;
  width: min(1600px, calc(100% - 76px));
  margin-inline: auto;
  gap: 18px;
}

.brand {
  display: inline-flex;
  align-items: center;
  min-width: 0;
  gap: 13px;
}

.brand picture {
  display: block;
  max-width: 100%;
}

.brand-logo {
  display: block;
  width: 330px;
  max-width: 100%;
  height: 62px;
  object-fit: contain;
  object-position: left center;
  filter: drop-shadow(0 0 12px rgba(255, 35, 18, 0.24));
}

.footer-logo {
  width: 220px;
  height: 42px;
}

.logo-mark {
  display: grid;
  width: 54px;
  height: 54px;
  place-items: center;
  color: #fff;
  font-family: var(--font-display);
  font-size: 24px;
  letter-spacing: 0.5px;
  background: linear-gradient(145deg, #111, #050505);
  border: 2px solid var(--red);
  box-shadow: var(--shadow-red);
  clip-path: polygon(50% 0, 95% 24%, 95% 76%, 50% 100%, 5% 76%, 5% 24%);
  text-shadow: 2px 2px 0 #000;
}

.logo-mark.small {
  width: 46px;
  height: 46px;
  font-size: 20px;
}

.brand-text {
  display: inline-flex;
  gap: 0;
  align-items: baseline;
  font-family: var(--font-display);
  font-size: 31px;
  line-height: 1;
  letter-spacing: 1px;
  font-style: italic;
  white-space: nowrap;
  text-shadow: 0 2px 0 #000;
}

.brand-text strong {
  color: #d8d8d8;
}

.brand-text em {
  color: var(--red);
  font-style: italic;
}

.main-nav {
  display: flex;
  justify-content: center;
  align-items: stretch;
  height: 64px;
  gap: 2px;
}

.main-nav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 13px;
  color: #bfbab5;
  font-family: var(--font-display);
  font-size: 18px;
  letter-spacing: 1px;
  transition: color 160ms ease, text-shadow 160ms ease;
}

.nav-icon {
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
  color: currentColor;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: .78;
  filter: drop-shadow(0 0 5px rgba(255, 42, 23, 0));
  transition: opacity 160ms ease, filter 160ms ease;
}

.main-nav a:hover .nav-icon,
.main-nav a.active .nav-icon {
  opacity: 1;
  filter: drop-shadow(0 0 7px rgba(255, 42, 23, .75));
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: -1px;
  height: 3px;
  background: var(--red);
  box-shadow: var(--shadow-red);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 160ms ease;
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--red);
  text-shadow: 0 0 12px rgba(255, 42, 23, 0.65);
}

.main-nav a.active::after,
.main-nav a:hover::after {
  transform: scaleX(1);
}

.steam-login {
  display: block;
  justify-self: end;
  width: 300px;
  height: 50px;
  filter: drop-shadow(0 0 16px rgba(255, 42, 23, 0.34));
  transition: transform 160ms ease, filter 160ms ease;
}

.steam-login:hover,
.steam-login:focus-visible {
  transform: translateY(-2px);
  filter: brightness(1.08) drop-shadow(0 0 22px rgba(255, 42, 23, 0.58));
}

.steam-login img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  pointer-events: none;
}

.steam-login picture,
.hero-image-button picture {
  display: block;
  width: 100%;
  height: 100%;
}

.steam-login.is-authenticated {
  width: 250px;
  text-decoration: none;
}

.steam-account-chip {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  align-items: center;
  width: 100%;
  height: 50px;
  padding: 6px 12px 6px 9px;
  color: #f4f1ec;
  border: 1px solid rgba(255, 42, 23, 0.64);
  background:
    linear-gradient(90deg, rgba(133, 8, 5, 0.72), rgba(16, 16, 17, 0.94)),
    repeating-linear-gradient(135deg, rgba(255,255,255,.08) 0 1px, transparent 1px 10px);
  box-shadow: var(--inset), 0 0 18px rgba(255, 42, 23, 0.24);
  clip-path: polygon(7% 0, 100% 0, 93% 100%, 0 100%);
}

.steam-account-chip img,
.steam-account-chip i {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  overflow: hidden;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 42, 23, 0.18);
  font-family: var(--font-display);
  font-size: 16px;
  font-style: normal;
  object-fit: cover;
  clip-path: polygon(15% 0, 100% 0, 85% 100%, 0 100%);
}

.steam-account-chip span {
  min-width: 0;
}

.steam-account-chip small,
.steam-account-chip strong {
  display: block;
  overflow: hidden;
  font-family: var(--font-display);
  line-height: 1;
  letter-spacing: 1px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.steam-account-chip small {
  color: #ffc3bb;
  font-size: 12px;
}

.steam-account-chip strong {
  margin-top: 4px;
  color: #fff;
  font-size: 18px;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 38px;
  padding: 0;
  border: 1px solid var(--line);
  background: rgba(10, 10, 10, 0.9);
  clip-path: polygon(12% 0, 100% 0, 88% 100%, 0 100%);
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  margin: 5px auto;
  background: var(--red);
}

/* Hero -------------------------------------------------------------------- */

.hero {
  position: relative;
  min-height: 365px;
  overflow: hidden;
  border-bottom: 1px solid rgba(255, 36, 14, 0.18);
  background: #080808;
}

.hero-art {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(3, 3, 4, 0.92) 0%, rgba(3, 3, 4, 0.52) 35%, rgba(3, 3, 4, 0.18) 58%, rgba(3, 3, 4, 0.88) 100%),
    linear-gradient(0deg, rgba(0, 0, 0, 0.86), transparent 42%),
    url("../img/hero-bg-custom-1920.jpg?v=1") center center / cover no-repeat;
  background:
    linear-gradient(90deg, rgba(3, 3, 4, 0.92) 0%, rgba(3, 3, 4, 0.52) 35%, rgba(3, 3, 4, 0.18) 58%, rgba(3, 3, 4, 0.88) 100%),
    linear-gradient(0deg, rgba(0, 0, 0, 0.86), transparent 42%),
    image-set(
      url("../img/hero-bg-custom-1920.webp?v=1") type("image/webp"),
      url("../img/hero-bg-custom-1920.jpg?v=1") type("image/jpeg")
    ) center center / cover no-repeat;
}

.hero-art::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 62%, rgba(255, 27, 10, 0.2), transparent 76%);
  opacity: 0.45;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(650px, 1fr) 382px;
  align-items: start;
  min-height: 365px;
  padding-top: 28px;
  padding-bottom: 38px;
  gap: 34px;
}

.hero-copy h1 {
  position: relative;
  max-width: 720px;
  margin: 0;
  color: #e8e5de;
  font-family: var(--font-display);
  font-size: 78px;
  line-height: 0.94;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  text-shadow: 3px 3px 0 #050505, 0 0 18px rgba(255, 255, 255, 0.08);
}

.hero-copy h1 span {
  display: block;
}

.hero-copy h1 strong {
  color: var(--red);
  font-weight: 400;
  text-shadow: 3px 3px 0 #220000, 0 0 18px rgba(255, 37, 18, 0.55);
}

.hero-subtitle {
  margin: 8px 0 7px 6px;
  color: #b7b0aa;
  font-family: var(--font-display);
  font-size: 27px;
  letter-spacing: 4px;
  text-shadow: 2px 2px 0 #000;
}

.quick-info {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  width: 560px;
  height: 50px;
  border: 1px solid var(--line);
  background: rgba(11, 11, 12, 0.78);
  box-shadow: var(--inset);
  clip-path: polygon(2% 0, 100% 0, 98% 100%, 0 100%);
}

.quick-info div {
  display: grid;
  grid-template-columns: 42px 1fr;
  grid-template-rows: 22px 18px;
  align-items: center;
  padding: 7px 16px;
  border-right: 1px solid rgba(255, 42, 23, 0.22);
}

.quick-info div:last-child {
  border-right: 0;
}

.info-icon {
  grid-row: 1 / 3;
  width: 27px;
  height: 27px;
  align-self: center;
  color: var(--red);
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: drop-shadow(0 0 8px rgba(255, 42, 23, 0.7));
}

.quick-info b {
  color: var(--red);
  font-family: var(--font-display);
  font-size: 20px;
  letter-spacing: 1px;
}

.quick-info small {
  color: #c6c0ba;
  font-family: var(--font-display);
  font-size: 16px;
  letter-spacing: 1px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 11px;
}

.hero-image-button {
  display: block;
  height: 50px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  filter: drop-shadow(0 0 14px rgba(255, 42, 23, 0.3));
  transition: transform 160ms ease, filter 160ms ease;
}

.hero-image-button.connect {
  width: 300px;
}

.hero-image-button.vote {
  width: 306px;
}

.hero-image-button:hover,
.hero-image-button:focus-visible {
  transform: translateY(-2px);
  filter: brightness(1.08) drop-shadow(0 0 20px rgba(255, 42, 23, 0.5));
}

.hero-image-button img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  pointer-events: none;
}

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 280px;
  height: 40px;
  padding: 0 28px;
  color: #fff;
  border: 1px solid var(--line);
  background: rgba(15, 15, 16, 0.86);
  font-family: var(--font-display);
  font-size: 21px;
  letter-spacing: 1.3px;
  cursor: pointer;
  clip-path: polygon(4% 0, 100% 0, 96% 100%, 0 100%);
  box-shadow: var(--inset);
  transition: transform 160ms ease, filter 160ms ease, box-shadow 160ms ease;
}

.btn span {
  display: inline-grid;
  width: 18px;
  height: 18px;
  place-items: center;
  margin-left: 18px;
}

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

.btn-primary {
  background:
    linear-gradient(90deg, rgba(136, 8, 4, 0.95), rgba(255, 38, 18, 0.93), rgba(122, 7, 4, 0.92)),
    repeating-linear-gradient(135deg, rgba(255,255,255,.10) 0 1px, transparent 1px 10px);
  box-shadow: var(--shadow-red), inset 0 0 24px rgba(255, 255, 255, 0.08);
}

.btn-secondary {
  color: #d7d1cc;
  background: rgba(15, 15, 16, 0.9);
  border-color: rgba(255, 255, 255, 0.22);
}

.btn:hover {
  transform: translateY(-2px);
  filter: brightness(1.12);
  box-shadow: var(--shadow-red), inset 0 0 26px rgba(255, 255, 255, 0.1);
}

.panel-cut {
  clip-path: polygon(4% 0, 100% 0, 100% 94%, 96% 100%, 0 100%, 0 7%);
}

.status-card {
  margin-top: 4px;
  min-height: 266px;
  padding: 13px 12px 14px;
  border: 1px solid var(--line);
  background: rgba(8, 9, 10, 0.91);
  box-shadow: var(--inset), 0 0 30px rgba(0, 0, 0, 0.5);
}

.panel-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 30px;
  padding-inline: 5px;
  border-bottom: 1px solid var(--line-dim);
}

.panel-title h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 23px;
  letter-spacing: 1.4px;
}

.online {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--green);
  font-family: var(--font-display);
  font-size: 16px;
  letter-spacing: 1px;
}

.online i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 12px var(--green);
}

.online.offline {
  color: var(--red);
}

.online.offline i {
  background: var(--red);
  box-shadow: 0 0 12px var(--red);
}

.status-list {
  margin: 0;
}

.status-list div {
  display: grid;
  grid-template-columns: 1fr 1.08fr;
  align-items: center;
  min-height: 29px;
  padding: 0 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.02);
}

.status-list dt,
.status-list dd {
  margin: 0;
  white-space: nowrap;
}

.status-list dt {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #a9a39e;
  font-family: var(--font-display);
  font-size: 16px;
  letter-spacing: 1px;
}

.status-icon {
  width: 14px;
  height: 14px;
  flex: 0 0 14px;
  color: var(--red);
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: drop-shadow(0 0 6px rgba(255, 42, 23, 0.45));
}

.status-list dd {
  justify-self: end;
  color: #f0ece7;
  font-family: var(--font-ui);
  font-size: 16px;
  font-weight: 700;
}

.status-name-row dd {
  max-width: 190px;
  overflow: hidden;
  text-overflow: ellipsis;
}

.status-list dd.green {
  color: var(--green);
}

.copy-ip {
  position: relative;
  padding: 0 26px 0 0;
  color: #f0ece7;
  border: 0;
  background: transparent;
  cursor: pointer;
  font: inherit;
}

.copy-ip::after {
  content: "▢";
  position: absolute;
  right: 0;
  color: #9a9691;
}

.details-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 32px;
  margin-top: 11px;
  color: #cfc9c4;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.03);
  font-family: var(--font-display);
  font-size: 16px;
  letter-spacing: 1px;
  cursor: pointer;
}

.details-btn span {
  display: inline-grid;
  width: 16px;
  height: 16px;
  place-items: center;
  margin-left: auto;
  padding-right: 8px;
}

.details-btn span svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.1;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Feature strip ----------------------------------------------------------- */

.feature-strip {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
  margin-top: 0;
}

.feature-card {
  position: relative;
  display: grid;
  grid-template-columns: 66px 1fr;
  align-items: center;
  height: 78px;
  min-height: 78px;
  padding: 9px 14px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: linear-gradient(135deg, rgba(19, 19, 20, 0.94), rgba(7, 7, 8, 0.94));
  clip-path: polygon(6% 0, 100% 0, 94% 100%, 0 100%);
  box-shadow: var(--inset);
}

.feature-card::before,
.event-card::before,
.stat-panel::before,
.cta-card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(circle at var(--mx, 50%) var(--my, 50%), rgba(255, 45, 20, 0.14), transparent 35%);
  opacity: 0;
  transition: opacity 160ms ease;
}

.feature-card:hover::before,
.event-card:hover::before,
.stat-panel:hover::before,
.cta-card:hover::before {
  opacity: 1;
}

.feature-icon {
  display: block;
  width: 54px;
  height: 54px;
  filter: drop-shadow(0 0 12px rgba(255, 42, 23, 0.42));
}

.feature-card.discord .feature-icon {
  filter: drop-shadow(0 0 14px rgba(90, 95, 240, 0.52));
}

.feature-icon img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.feature-card h3 {
  margin: 0 0 4px;
  color: #e8e2dc;
  font-family: var(--font-display);
  font-size: 17px;
  line-height: 1;
  letter-spacing: 1.2px;
}

.feature-card:nth-child(2) h3,
.feature-card:nth-child(3) h3 {
  color: var(--red);
}

.feature-card p {
  display: grid;
  grid-template-rows: repeat(2, 14px);
  gap: 1px;
  margin: 0;
  color: #f1ece6;
  font-family: var(--font-ui);
  font-size: 12.8px;
  font-weight: 800;
  line-height: 14px;
  text-shadow: 1px 1px 0 #000;
}

.feature-card p span {
  display: block;
  min-width: 0;
  overflow: hidden;
  white-space: nowrap;
}

.feature-card:nth-child(4) p,
.feature-card:nth-child(5) p {
  font-size: 12.2px;
}

/* Sections ---------------------------------------------------------------- */

.events {
  margin-top: 24px;
}

.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 31px;
  margin-top: 8px;
  border-top: 1px solid rgba(255, 41, 20, 0.26);
}

.section-head h2 {
  display: inline-flex;
  align-items: center;
  height: 30px;
  min-width: 210px;
  margin: 0;
  padding: 0 30px 0 18px;
  color: #ddd6d0;
  border: 1px solid var(--line-dim);
  border-top: 0;
  background: rgba(11, 11, 12, 0.92);
  font-family: var(--font-display);
  font-size: 20px;
  letter-spacing: 1.5px;
  clip-path: polygon(4% 0, 100% 0, 92% 100%, 0 100%);
}

.section-head h2 span {
  width: 7px;
  height: 18px;
  margin-right: 15px;
  background: var(--red);
  transform: skewX(-18deg);
  box-shadow: var(--shadow-red);
}

.section-head a {
  color: var(--red);
  font-family: var(--font-display);
  font-size: 16px;
  letter-spacing: 1.4px;
  text-shadow: var(--shadow-red);
}

.section-head.tight {
  margin-top: 8px;
}

/* Events ------------------------------------------------------------------ */

.event-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.event-card {
  position: relative;
  height: 128px;
  overflow: hidden;
  border: 1px solid rgba(255, 51, 21, 0.46);
  background: #111;
  box-shadow: var(--inset);
}

.event-bg {
  position: absolute;
  inset: 0;
  display: block;
}

.event-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.22) contrast(1.08) brightness(0.82);
}

.event-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.34), rgba(0,0,0,.42) 42%, rgba(0,0,0,.94) 100%);
}

.event-content,
.event-card footer {
  position: relative;
  z-index: 2;
}

.event-content {
  display: flex;
  justify-content: center;
  padding-top: 17px;
}

.event-content h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 27px;
  letter-spacing: 1px;
  text-shadow: 2px 2px 0 #000, 0 0 10px rgba(0, 0, 0, 0.92), 0 0 12px currentColor;
}

.event-content.amber h3 { color: #ffae25; }
.event-content.red h3 { color: #ff2f1d; }
.event-content.gold h3 { color: #ffc43d; }
.event-content.blue h3 { color: #54c7ff; }
.event-content.violet h3 { color: #d34cff; }

.patrol-event-card .event-content h3 {
  font-size: 24px;
}

.event-card footer {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: grid;
  grid-template-columns: 1.2fr 0.7fr 0.8fr;
  align-items: center;
  height: 34px;
  padding: 0 14px;
  background: rgba(0, 0, 0, 0.62);
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  color: #cfc8c2;
  font-family: var(--font-display);
  font-size: 16px;
  letter-spacing: 1px;
}

.event-card footer span:first-child {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.meta-icon {
  width: 13px;
  height: 13px;
  flex: 0 0 13px;
  color: var(--red);
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.event-card footer b {
  justify-self: end;
  color: #d9d5cf;
}

.airdrop-card .event-content h3 {
  color: #ffae25;
}

.last-raid-card .event-content h3 {
  color: #ff3b22;
}

.airdrop-countdown,
.last-raid-location {
  justify-self: center;
  color: #fff;
  font-family: var(--font-ui);
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.5px;
  white-space: nowrap;
  text-shadow: 0 0 10px rgba(255, 42, 23, 0.55), 1px 1px 0 #000;
}

.last-raid-location {
  color: #ffdf7a;
  font-size: 18px;
  text-shadow: 0 0 12px rgba(255, 174, 37, 0.55), 1px 1px 0 #000;
}

/* Statistics -------------------------------------------------------------- */

.stats-grid {
  display: grid;
  grid-template-columns: 1.44fr 0.98fr 1.1fr 1.18fr 1.1fr;
  gap: 8px;
  height: 132px;
  padding: 8px;
  border: 1px solid var(--line-dim);
  background: rgba(7, 7, 8, 0.74);
  box-shadow: var(--inset);
}

.stat-panel {
  position: relative;
  height: 114px;
  min-height: 0;
  overflow: hidden;
  padding: 9px 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(135deg, rgba(14, 15, 16, 0.96), rgba(6, 6, 7, 0.96));
}

.stat-panel h3 {
  margin: 0 0 5px;
  color: #e2dcd6;
  font-family: var(--font-display);
  font-size: 16px;
  letter-spacing: 1.3px;
}

.stat-panel h3 span,
.kd-panel h3,
.activity-panel h3 {
  color: var(--red);
}

.line-chart {
  width: 100%;
  height: 72px;
  display: block;
}

.line-chart .grid {
  stroke: rgba(255, 255, 255, 0.07);
  stroke-width: 1;
}

.line-chart .axis {
  fill: #8f8983;
  font-family: var(--font-ui);
  font-size: 12px;
  font-weight: 700;
}

.line-chart .area {
  fill: url("#chartFill");
}

.line-chart .line {
  fill: none;
  stroke: var(--red);
  stroke-width: 3;
  filter: drop-shadow(0 0 7px rgba(255, 42, 23, 0.65));
}

.rank-list {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: rank;
}

.rank-list li {
  counter-increment: rank;
  display: grid;
  grid-template-columns: 22px 26px 1fr 52px;
  align-items: center;
  min-height: 16px;
  color: #cdc7c1;
  border-bottom: 1px solid rgba(255, 255, 255, 0.055);
  font-size: 12px;
}

.rank-list li::before {
  content: counter(rank) ".";
  color: #d5d0ca;
  font-weight: 700;
}

.rank-list i {
  display: grid;
  width: 16px;
  height: 16px;
  place-items: center;
  color: #fff;
  border: 1px solid rgba(255, 51, 21, 0.72);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 93, 29, 0.9), rgba(49, 11, 8, 0.95));
  font-style: normal;
  font-size: 9px;
}

.rank-list i svg {
  width: 11px;
  height: 11px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.players i::before {
  content: "ZR";
  color: #f6eee7;
  font-family: var(--font-display);
}

.rank-list b {
  font-weight: 700;
}

.rank-list span {
  justify-self: end;
  color: #f1ece6;
}

.kd-wrap {
  display: grid;
  grid-template-columns: 90px 1fr;
  align-items: center;
  gap: 14px;
}

.donut {
  display: grid;
  width: 76px;
  height: 76px;
  place-items: center;
  margin-left: 8px;
  border-radius: 50%;
  background:
    radial-gradient(circle at center, #151617 0 41%, transparent 42%),
    conic-gradient(var(--red) 0 38%, #2c2c2f 38% 100%);
  box-shadow: inset 0 0 24px rgba(0,0,0,.65), 0 0 18px rgba(255, 35, 18, .2);
}

.donut strong {
  margin-top: 12px;
  font-family: var(--font-ui);
  font-size: 25px;
  line-height: 1;
}

.donut small {
  margin-top: -16px;
  color: #fff;
  font-family: var(--font-display);
  font-size: 15px;
  letter-spacing: 1px;
}

.kd-meta {
  display: grid;
  gap: 9px;
  color: #c6c0ba;
  font-family: var(--font-display);
  font-size: 14px;
}

.kd-meta span {
  display: grid;
  grid-template-columns: 13px 1fr;
  align-items: center;
  gap: 7px;
}

.kd-meta b {
  grid-column: 2;
  color: #fff;
  font-family: var(--font-ui);
  font-size: 18px;
}

.red-dot,
.gray-dot {
  width: 12px;
  height: 12px;
  display: inline-block;
}

.red-dot { background: var(--red); }
.gray-dot { background: #b9b8b4; clip-path: polygon(50% 0, 90% 35%, 75% 100%, 25% 100%, 10% 35%); }

.activity-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.activity-list li {
  display: grid;
  grid-template-columns: 18px 1fr 34px 1fr 28px;
  align-items: center;
  min-height: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.055);
  color: #cfc9c3;
  font-size: 12px;
}

.activity-list i {
  display: grid;
  place-items: center;
  color: var(--red);
  font-style: normal;
  filter: drop-shadow(0 0 6px rgba(255, 42, 23, 0.6));
}

.activity-list i svg {
  width: 13px;
  height: 13px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.activity-list span,
.activity-list time {
  color: #948d86;
}

.activity-list em {
  font-style: normal;
}

/* CTA --------------------------------------------------------------------- */

.cta-row {
  display: grid;
  grid-template-columns: 0.63fr 1fr;
  gap: 13px;
  margin-top: 42px;
}

.cta-card {
  position: relative;
  display: flex;
  align-items: center;
  height: auto;
  min-height: 116px;
  overflow: hidden;
  padding: 14px 38px;
  border: 1px solid var(--line);
  background: rgba(12, 12, 13, 0.95);
  box-shadow: var(--inset);
  clip-path: polygon(2% 0, 100% 0, 98% 100%, 0 100%);
}

.cta-card.vote {
  justify-content: space-between;
  gap: 24px;
  height: auto;
  min-height: 116px;
  padding-block: 10px;
  background:
    linear-gradient(90deg, rgba(8, 8, 9, 0.98), rgba(8, 8, 9, 0.72) 48%, rgba(8, 8, 9, 0.38)),
    url("../img/cta-vote.jpg?v=2") center / cover no-repeat;
}

.cta-card.vote .vote-copy {
  min-width: 0;
}

.cta-card.vote p {
  margin-bottom: 0;
}

.cta-card strong {
  color: #f1ebe4;
  font-weight: 700;
}

.cta-card.vote .btn {
  flex: 0 0 auto;
  margin-left: auto;
}

.cta-card.discord-cta {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr) 152px 190px;
  gap: 12px;
  padding: 12px 24px;
  background:
    linear-gradient(90deg, rgba(8, 10, 14, 0.97), rgba(9, 11, 18, 0.9)),
    url("../img/cta-discord.jpg?v=2") center / cover no-repeat;
}

.discord-copy {
  min-width: 0;
}

.discord-copy p {
  margin-bottom: 0;
}

.cta-card h2 {
  margin: 0 0 5px;
  color: #f1ebe4;
  font-family: var(--font-display);
  font-size: 26px;
  letter-spacing: 1.4px;
}

.cta-card p {
  margin: 0 0 8px;
  color: #d0cac4;
  font-size: 14px;
  line-height: 1.08;
}

.btn.small {
  min-width: 185px;
  height: 29px;
  padding-inline: 20px;
  font-size: 18px;
}

.discord-big {
  display: block;
  width: 52px;
  height: 52px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.65;
  stroke-linecap: round;
  stroke-linejoin: round;
  color: var(--discord);
  filter: drop-shadow(0 0 18px rgba(90, 95, 240, 0.55));
}

.discord-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-self: center;
  min-width: 0;
  height: 52px;
  gap: 0;
  align-items: center;
  border-block: 1px solid rgba(90, 95, 240, 0.24);
  background:
    linear-gradient(90deg, rgba(90, 95, 240, 0.16), rgba(115, 227, 55, 0.11)),
    rgba(0, 0, 0, 0.22);
}

.discord-stats span {
  display: grid;
  align-content: center;
  justify-items: center;
  min-width: 0;
  height: 100%;
  padding: 0 10px;
  color: #cfc8c2;
  font-family: var(--font-display);
  font-size: 13px;
  letter-spacing: 1px;
  text-align: center;
}

.discord-stats span + span {
  border-left: 1px solid rgba(255, 255, 255, 0.14);
}

.discord-stats b {
  color: #fff;
  font-family: var(--font-ui);
  font-size: 24px;
  line-height: 1;
}

.discord-stats span:first-child b {
  color: #8c91ff;
}

.discord-stats span:last-child b {
  color: var(--green);
}

.discord-stats small {
  color: #d9d4ce;
  margin-top: 4px;
  font-size: 12px;
  line-height: 1;
}

.discord-stats span:first-child small {
  color: #c8caff;
}

.discord-stats span:last-child small {
  color: #c9f5b7;
}

.discord-btn {
  min-width: 190px;
  justify-self: end;
  white-space: nowrap;
}

/* Server page ------------------------------------------------------------- */

.server-page {
  padding-bottom: 46px;
}

.server-hero {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background: #070707;
}

.server-hero-art {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(3, 3, 4, 0.94), rgba(3, 3, 4, 0.62) 46%, rgba(3, 3, 4, 0.9)),
    linear-gradient(0deg, rgba(0, 0, 0, 0.82), transparent 48%),
    image-set(
      url("../img/hero-bg-custom-1920.webp?v=1") type("image/webp"),
      url("../img/hero-bg-custom-1920.jpg?v=1") type("image/jpeg")
    ) center 44% / cover no-repeat;
}

.server-hero-art::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(115deg, transparent 58%, rgba(255, 27, 10, 0.2), transparent 78%),
    repeating-linear-gradient(126deg, rgba(255, 255, 255, 0.025) 0 1px, transparent 1px 14px);
  opacity: 0.7;
}

.server-hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 382px;
  gap: 34px;
  align-items: center;
  min-height: 318px;
  padding-block: 34px;
}

.server-hero-copy {
  max-width: 760px;
}

.page-kicker {
  display: inline-flex;
  align-items: center;
  height: 25px;
  margin: 0 0 10px;
  padding: 0 14px;
  color: var(--red);
  border-left: 7px solid var(--red);
  background: rgba(10, 10, 11, 0.82);
  font-family: var(--font-display);
  font-size: 17px;
  letter-spacing: 1.5px;
  box-shadow: var(--shadow-red);
}

.server-hero h1 {
  margin: 0;
  color: #e8e5de;
  font-family: var(--font-display);
  font-size: 72px;
  line-height: 0.94;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  text-shadow: 3px 3px 0 #050505, 0 0 18px rgba(255, 255, 255, 0.08);
}

.server-hero h1 span,
.server-hero h1 strong {
  display: block;
}

.server-hero h1 strong {
  color: var(--red);
  font-weight: 400;
  text-shadow: 3px 3px 0 #220000, 0 0 18px rgba(255, 37, 18, 0.55);
}

.server-lead {
  max-width: 640px;
  margin: 12px 0 0;
  color: #d2ccc6;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.25;
  text-shadow: 1px 1px 0 #000;
}

.server-hero-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 22px;
}

.server-action-icon {
  width: 16px;
  height: 16px;
  margin-right: 10px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
}

.server-live-card {
  margin-top: 0;
}

.server-summary {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-top: 18px;
}

.server-summary article,
.server-panel,
.server-mini-panel {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  background: linear-gradient(135deg, rgba(16, 16, 17, 0.95), rgba(7, 7, 8, 0.95));
  box-shadow: var(--inset);
}

.server-summary article::before,
.server-panel::before,
.server-mini-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(circle at var(--mx, 50%) var(--my, 50%), rgba(255, 45, 20, 0.14), transparent 38%);
  opacity: 0;
  transition: opacity 160ms ease;
}

.server-summary article:hover::before,
.server-panel:hover::before,
.server-mini-panel:hover::before {
  opacity: 1;
}

.server-summary article {
  display: grid;
  grid-template-columns: 44px 1fr;
  grid-template-rows: 18px 28px;
  align-items: center;
  min-height: 74px;
  padding: 12px 16px;
  clip-path: polygon(4% 0, 100% 0, 96% 100%, 0 100%);
}

.summary-icon {
  grid-row: 1 / 3;
  width: 30px;
  height: 30px;
  color: var(--red);
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: drop-shadow(0 0 8px rgba(255, 42, 23, 0.68));
}

.server-summary small {
  color: #958f89;
  font-family: var(--font-display);
  font-size: 14px;
  letter-spacing: 1.1px;
}

.server-summary strong {
  min-width: 0;
  overflow: hidden;
  color: #f3eee8;
  font-family: var(--font-ui);
  font-size: 21px;
  font-weight: 800;
  line-height: 1;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.server-content,
.server-ops {
  margin-top: 28px;
}

.server-detail-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.08fr 1.02fr;
  gap: 14px;
}

.server-panel {
  min-height: 328px;
  padding: 18px;
  clip-path: polygon(3% 0, 100% 0, 97% 100%, 0 100%);
}

.server-panel-title {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 38px;
  margin-bottom: 13px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line-dim);
}

.server-panel-icon {
  width: 27px;
  height: 27px;
  color: var(--red);
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: drop-shadow(0 0 8px rgba(255, 42, 23, 0.68));
}

.server-panel h3,
.server-mini-panel h3 {
  margin: 0;
  color: #efe9e2;
  font-family: var(--font-display);
  font-size: 24px;
  letter-spacing: 1.3px;
}

.server-spec-list {
  display: grid;
  gap: 8px;
  margin: 0;
}

.server-spec-list div {
  display: grid;
  grid-template-columns: minmax(116px, 0.74fr) minmax(0, 1fr);
  align-items: center;
  min-height: 34px;
  padding: 0 11px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  background: rgba(255, 255, 255, 0.025);
}

.server-spec-list dt,
.server-spec-list dd {
  margin: 0;
}

.server-spec-list dt {
  color: #938d87;
  font-family: var(--font-display);
  font-size: 15px;
  letter-spacing: 1px;
}

.server-spec-list dd {
  justify-self: end;
  min-width: 0;
  overflow: hidden;
  color: #f2ece6;
  font-size: 16px;
  font-weight: 800;
  text-align: right;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.connection-panel .btn {
  width: 100%;
  margin-top: 16px;
}

.server-rule-list {
  display: grid;
  gap: 9px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.server-rule-list li {
  display: grid;
  gap: 3px;
  padding: 10px 12px;
  border-left: 3px solid var(--red);
  background: rgba(255, 255, 255, 0.03);
}

.server-rule-list b {
  color: #f0eae4;
  font-family: var(--font-display);
  font-size: 17px;
  letter-spacing: 1px;
}

.server-rule-list span {
  color: #c8c1bb;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.16;
}

.server-rule-list strong {
  color: #fff;
}

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

.server-mini-panel {
  min-height: 118px;
  padding: 17px 20px;
  clip-path: polygon(4% 0, 100% 0, 96% 100%, 0 100%);
}

.server-mini-panel h3 {
  color: var(--red);
  font-size: 21px;
}

.server-mini-panel p {
  margin: 8px 0 0;
  color: #c9c3bd;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.25;
}

.server-mini-panel strong {
  color: #fff;
}

.server-page-cta {
  margin-top: 32px;
}

/* Account panel ----------------------------------------------------------- */

.account-panel {
  position: fixed;
  top: 82px;
  right: 30px;
  z-index: 45;
  width: min(390px, calc(100vw - 28px));
  overflow: hidden;
  border: 1px solid rgba(255, 42, 23, 0.82);
  background:
    linear-gradient(135deg, rgba(14, 14, 15, 0.98), rgba(5, 5, 6, 0.96)),
    repeating-linear-gradient(135deg, rgba(255,255,255,.028) 0 1px, transparent 1px 12px);
  box-shadow: var(--inset), 0 0 30px rgba(0, 0, 0, 0.72), 0 0 22px rgba(255, 42, 23, 0.22);
  clip-path: polygon(4% 0, 100% 0, 96% 100%, 0 100%);
}

.account-panel[hidden] {
  display: none;
}

.account-panel-inner {
  padding: 16px;
}

.account-head {
  display: grid;
  grid-template-columns: 62px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line-dim);
}

.account-avatar {
  display: grid;
  width: 62px;
  height: 62px;
  place-items: center;
  overflow: hidden;
  color: #fff;
  border: 1px solid rgba(255, 42, 23, 0.72);
  background: rgba(255, 42, 23, 0.13);
  font-family: var(--font-display);
  font-size: 22px;
  font-style: normal;
  box-shadow: 0 0 16px rgba(255, 42, 23, 0.2);
  clip-path: polygon(14% 0, 100% 0, 86% 100%, 0 100%);
}

.account-avatar img,
.account-avatar i {
  width: 100%;
  height: 100%;
}

.account-avatar img {
  object-fit: cover;
}

.account-avatar i {
  display: grid;
  place-items: center;
  font-style: normal;
  background: rgba(255, 42, 23, 0.16);
}

.account-name {
  min-width: 0;
}

.account-name small {
  display: block;
  color: #928c86;
  font-family: var(--font-display);
  font-size: 13px;
  letter-spacing: 1.2px;
}

.account-name strong {
  display: block;
  overflow: hidden;
  color: #f2ece6;
  font-family: var(--font-display);
  font-size: 25px;
  line-height: 1;
  letter-spacing: 1px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.account-close {
  display: grid;
  width: 31px;
  height: 31px;
  place-items: center;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.04);
  font-family: var(--font-display);
  font-size: 21px;
  cursor: pointer;
}

.account-rank {
  display: grid;
  grid-template-columns: minmax(0, 1fr) max-content;
  gap: 10px;
  align-items: center;
  margin-top: 13px;
  padding: 12px 13px;
  border-left: 4px solid var(--rank-color, var(--green));
  background:
    linear-gradient(90deg, color-mix(in srgb, var(--rank-color, var(--green)) 18%, transparent), transparent 70%),
    rgba(255, 255, 255, 0.035);
}

.account-rank small {
  color: #938d87;
  font-family: var(--font-display);
  font-size: 13px;
  letter-spacing: 1.1px;
}

.account-rank strong {
  color: var(--rank-color, var(--green));
  font-family: var(--font-display);
  font-size: 26px;
  line-height: 1;
  letter-spacing: 1.2px;
  text-shadow: 0 0 12px color-mix(in srgb, var(--rank-color, var(--green)) 60%, transparent);
}

.account-rank b {
  color: #fff;
  font-family: var(--font-ui);
  font-size: 18px;
}

.account-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 9px;
  margin-top: 12px;
}

.account-stat {
  min-height: 70px;
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  background: rgba(255, 255, 255, 0.025);
}

.account-stat small {
  display: block;
  color: #928c86;
  font-family: var(--font-display);
  font-size: 13px;
  letter-spacing: 1px;
}

.account-stat strong {
  display: block;
  margin-top: 5px;
  color: #f2ece6;
  font-family: var(--font-ui);
  font-size: 23px;
  font-weight: 900;
  line-height: 1;
}

.account-stat.wallet strong {
  color: #ffc43d;
}

.account-next {
  margin: 11px 0 0;
  color: #c8c1bb;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.2;
}

.account-reward {
  margin: 7px 0 0;
  color: #ffd166;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.25;
}

.account-actions {
  display: grid;
  gap: 9px;
  margin-top: 13px;
}

.account-actions .btn {
  width: 100%;
  min-width: 0;
  height: 34px;
  font-size: 18px;
}

.account-actions .btn.is-disabled {
  pointer-events: none;
  opacity: .55;
  filter: grayscale(.35);
}

.account-discord-state {
  min-height: 32px;
  padding: 8px 10px;
  color: #c9f5b7;
  border: 1px solid rgba(115, 227, 55, 0.22);
  background: rgba(115, 227, 55, 0.07);
  font-size: 14px;
  font-weight: 800;
}

.account-hint {
  margin: 10px 0 0;
  color: #8d8781;
  font-size: 12px;
  line-height: 1.2;
}

/* Vote page --------------------------------------------------------------- */

.vote-hero .server-hero-art {
  background:
    linear-gradient(90deg, rgba(5, 5, 6, 0.92), rgba(5, 5, 6, 0.62) 46%, rgba(5, 5, 6, 0.9)),
    url("../img/cta-vote.jpg?v=2") center / cover no-repeat;
}

.vote-hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  width: min(720px, 100%);
  margin-top: 20px;
  border: 1px solid rgba(255, 42, 23, 0.42);
  background: rgba(8, 8, 9, 0.82);
  box-shadow: var(--inset);
  clip-path: polygon(2% 0, 100% 0, 98% 100%, 0 100%);
}

.vote-hero-stats span {
  min-width: 0;
  padding: 12px 18px;
  border-right: 1px solid rgba(255, 42, 23, 0.22);
}

.vote-hero-stats span:last-child {
  border-right: 0;
}

.vote-hero-stats small,
.vote-main-head span,
.vote-side-panel h3 {
  display: block;
  color: #9d9790;
  font-family: var(--font-display);
  font-size: 14px;
  letter-spacing: 1.2px;
}

.vote-hero-stats b {
  display: block;
  overflow: hidden;
  margin-top: 4px;
  color: #ffd166;
  font-family: var(--font-display);
  font-size: 23px;
  line-height: 1;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.vote-status-panel .status-list dd[data-vote="wallet"] {
  color: #ffd166;
}

.vote-flow {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  gap: 18px;
  margin-top: 28px;
}

.vote-main-panel,
.vote-side-panel {
  border: 1px solid var(--line);
  background:
    linear-gradient(135deg, rgba(13, 13, 14, 0.97), rgba(5, 5, 6, 0.94)),
    repeating-linear-gradient(135deg, rgba(255,255,255,.025) 0 1px, transparent 1px 12px);
  box-shadow: var(--inset), 0 0 28px rgba(0, 0, 0, 0.42);
}

.vote-main-panel {
  min-height: 300px;
  padding: 28px;
}

.vote-main-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255, 42, 23, 0.22);
}

.vote-main-head span {
  display: inline-flex;
  align-items: center;
  gap: 9px;
}

.vote-main-head b {
  color: #ffd166;
  font-family: var(--font-display);
  font-size: 31px;
  line-height: 1;
  text-shadow: 0 0 16px rgba(255, 209, 102, 0.28);
}

.vote-main-panel h2 {
  margin: 24px 0 8px;
  color: #f4f1ec;
  font-family: var(--font-display);
  font-size: clamp(34px, 5vw, 58px);
  line-height: .95;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.vote-main-panel p {
  max-width: 760px;
  margin: 0;
  color: #d0cac4;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.3;
}

.vote-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.vote-actions .btn {
  min-width: 230px;
  height: 42px;
}

.vote-actions button[disabled] {
  cursor: wait;
  opacity: .7;
}

.vote-side-panel {
  padding: 24px;
}

.vote-side-panel h3 {
  margin: 0 0 16px;
  color: #f4f1ec;
  font-size: 24px;
}

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

.vote-steps li {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  min-height: 68px;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  background: rgba(255, 255, 255, 0.025);
}

.vote-steps span {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  color: #111;
  background: #ffd166;
  font-family: var(--font-display);
  font-size: 18px;
  clip-path: polygon(12% 0, 100% 0, 88% 100%, 0 100%);
}

.vote-steps p {
  margin: 0;
  color: #d7d1cc;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.24;
}

[data-vote-mode="login"] .vote-open-action,
[data-vote-mode="login"] .vote-claim-action,
[data-vote-mode="loading"] .vote-login-action,
[data-vote-mode="loading"] .vote-open-action,
[data-vote-mode="loading"] .vote-claim-action,
[data-vote-mode="claimed"] .vote-login-action,
[data-vote-mode="ready"] .vote-login-action,
[data-vote-mode="vote"] .vote-login-action,
[data-vote-mode="error"] .vote-login-action {
  display: none;
}

[data-vote-mode="vote"] .vote-claim-action,
[data-vote-mode="claimed"] .vote-claim-action,
[data-vote-mode="error"] .vote-claim-action {
  background: rgba(15, 15, 16, 0.9);
  border-color: rgba(255, 255, 255, 0.2);
}

[data-vote-mode="ready"] .vote-open-action,
[data-vote-mode="claimed"] .vote-open-action,
[data-vote-mode="error"] .vote-open-action {
  display: inline-flex;
}

/* Shop page --------------------------------------------------------------- */

.shop-page .server-hero-art {
  background:
    linear-gradient(90deg, rgba(5, 5, 6, 0.94), rgba(5, 5, 6, 0.58) 45%, rgba(5, 5, 6, 0.9)),
    linear-gradient(0deg, rgba(0, 0, 0, 0.82), transparent 48%),
    image-set(
      url("../img/event-loot.jpg?v=1") type("image/jpeg")
    ) center 48% / cover no-repeat;
}

.shop-page .server-hero-art::after {
  background:
    linear-gradient(115deg, transparent 50%, rgba(255, 209, 102, 0.13), rgba(255, 42, 23, 0.19), transparent 82%),
    repeating-linear-gradient(126deg, rgba(255, 255, 255, 0.025) 0 1px, transparent 1px 14px);
}

.shop-hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  width: min(760px, 100%);
  margin-top: 20px;
  border: 1px solid rgba(255, 209, 102, 0.36);
  background: rgba(8, 8, 9, 0.84);
  box-shadow: var(--inset), 0 0 22px rgba(255, 209, 102, 0.08);
  clip-path: polygon(2% 0, 100% 0, 98% 100%, 0 100%);
}

.shop-hero-stats span {
  min-width: 0;
  padding: 12px 18px;
  border-right: 1px solid rgba(255, 209, 102, 0.2);
}

.shop-hero-stats span:last-child {
  border-right: 0;
}

.shop-hero-stats small,
.shop-main-head span,
.shop-side-panel h3 {
  display: block;
  color: #9d9790;
  font-family: var(--font-display);
  font-size: 14px;
  letter-spacing: 1.2px;
}

.shop-hero-stats b {
  display: block;
  overflow: hidden;
  margin-top: 4px;
  color: #ffd166;
  font-family: var(--font-display);
  font-size: 23px;
  line-height: 1;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.shop-status-panel .status-list dd[data-shop="wallet"] {
  color: #ffd166;
}

.shop-flow {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.38fr);
  gap: 18px;
  margin-top: 28px;
}

.shop-gate-panel,
.shop-product-panel,
.shop-side-panel {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  background:
    linear-gradient(135deg, rgba(13, 13, 14, 0.97), rgba(5, 5, 6, 0.94)),
    repeating-linear-gradient(135deg, rgba(255,255,255,.025) 0 1px, transparent 1px 12px);
  box-shadow: var(--inset), 0 0 28px rgba(0, 0, 0, 0.42);
}

.shop-gate-panel::before,
.shop-product-panel::before,
.shop-side-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(circle at var(--mx, 50%) var(--my, 50%), rgba(255, 209, 102, 0.12), transparent 40%);
  opacity: 0;
  transition: opacity 160ms ease;
}

.shop-gate-panel:hover::before,
.shop-product-panel:hover::before,
.shop-side-panel:hover::before {
  opacity: 1;
}

.shop-gate-panel {
  display: none;
  min-height: 330px;
  padding: 28px;
}

.shop-product-panel {
  display: grid;
  grid-template-columns: minmax(280px, 360px) minmax(0, 1fr);
  min-height: 390px;
}

.shop-product-media {
  position: relative;
  display: grid;
  min-height: 390px;
  place-items: center;
  padding: 34px;
  border-right: 1px solid rgba(255, 42, 23, 0.2);
  background:
    radial-gradient(circle at 50% 46%, rgba(255, 209, 102, 0.18), transparent 120px),
    linear-gradient(145deg, rgba(34, 28, 21, 0.74), rgba(7, 7, 8, 0.94));
}

.shop-product-media img {
  display: block;
  width: min(256px, 82%);
  height: auto;
  image-rendering: auto;
  filter: drop-shadow(0 18px 28px rgba(0, 0, 0, 0.55)) drop-shadow(0 0 24px rgba(255, 209, 102, 0.14));
}

.shop-price-tag {
  position: absolute;
  right: 20px;
  bottom: 20px;
  min-width: 112px;
  padding: 8px 14px;
  color: #111;
  background: #ffd166;
  font-family: var(--font-display);
  font-size: 27px;
  line-height: 1;
  text-align: center;
  box-shadow: 0 0 20px rgba(255, 209, 102, 0.24);
  clip-path: polygon(8% 0, 100% 0, 92% 100%, 0 100%);
}

.shop-product-content {
  position: relative;
  z-index: 1;
  padding: 28px;
}

.shop-main-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255, 42, 23, 0.22);
}

.shop-main-head span {
  display: inline-flex;
  align-items: center;
  gap: 9px;
}

.shop-main-head b {
  color: #ffd166;
  font-family: var(--font-display);
  font-size: 31px;
  line-height: 1;
  text-shadow: 0 0 16px rgba(255, 209, 102, 0.28);
}

.shop-product-content h2,
.shop-gate-panel h2 {
  margin: 24px 0 8px;
  color: #f4f1ec;
  font-family: var(--font-display);
  font-size: clamp(34px, 5vw, 58px);
  line-height: .95;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.shop-product-content p,
.shop-gate-panel p {
  max-width: 820px;
  margin: 0;
  color: #d0cac4;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.3;
}

.shop-item-specs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 22px 0 0;
}

.shop-item-specs div {
  min-width: 0;
  padding: 11px 12px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  background: rgba(255, 255, 255, 0.025);
}

.shop-item-specs dt,
.shop-item-specs dd {
  margin: 0;
}

.shop-item-specs dt {
  color: #938d87;
  font-family: var(--font-display);
  font-size: 14px;
  letter-spacing: 1px;
}

.shop-item-specs dd {
  overflow: hidden;
  margin-top: 3px;
  color: #f2ece6;
  font-size: 17px;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.shop-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.shop-actions .btn {
  min-width: 210px;
  height: 42px;
}

.shop-actions button[disabled] {
  cursor: not-allowed;
  opacity: .68;
  filter: grayscale(.2);
}

.shop-online-note {
  margin-top: 15px !important;
  color: #9d9790 !important;
  font-size: 14px !important;
}

.shop-side-panel {
  padding: 24px;
}

.shop-side-panel h3 {
  margin: 0 0 16px;
  color: #f4f1ec;
  font-size: 24px;
}

[data-shop-mode="login"] .shop-gate-panel,
[data-shop-mode="loading"] .shop-gate-panel,
[data-shop-mode="error"] .shop-gate-panel,
[data-shop-mode="empty"] .shop-gate-panel {
  display: block;
}

[data-shop-mode="login"] .shop-product-panel,
[data-shop-mode="loading"] .shop-product-panel,
[data-shop-mode="error"] .shop-product-panel,
[data-shop-mode="empty"] .shop-product-panel {
  display: none;
}

[data-shop-mode="loading"] .shop-login-action,
[data-shop-mode="error"] .shop-login-action,
[data-shop-mode="empty"] .shop-login-action {
  display: none;
}

/* Rules page -------------------------------------------------------------- */

.rules-page .server-hero-art {
  background:
    linear-gradient(90deg, rgba(3, 3, 4, 0.96), rgba(3, 3, 4, 0.54) 45%, rgba(3, 3, 4, 0.78)),
    linear-gradient(0deg, rgba(0, 0, 0, 0.78), transparent 54%),
    image-set(
      url("../img/event-raid.jpg?v=1") type("image/jpeg")
    ) center 46% / cover no-repeat;
}

.rules-page .server-hero-art::after {
  background:
    linear-gradient(115deg, transparent 50%, rgba(255, 135, 31, 0.18), rgba(255, 27, 10, 0.2), transparent 80%),
    repeating-linear-gradient(126deg, rgba(255, 255, 255, 0.025) 0 1px, transparent 1px 14px);
}

.rules-hero .server-hero-inner {
  min-height: 344px;
}

.rules-page .server-lead {
  max-width: 720px;
}

.rules-brief-card .status-list div {
  grid-template-columns: 0.85fr 1fr;
}

.rules-brief-card .status-list dd {
  max-width: 190px;
  overflow: hidden;
  text-overflow: ellipsis;
}

.rules-summary article:nth-child(2) .summary-icon {
  color: #ffc43d;
  filter: drop-shadow(0 0 8px rgba(255, 196, 61, 0.62));
}

.rules-summary article:nth-child(3) .summary-icon {
  color: var(--green);
  filter: drop-shadow(0 0 8px rgba(115, 227, 55, 0.58));
}

.rules-summary article:nth-child(4) .summary-icon {
  color: var(--discord);
  filter: drop-shadow(0 0 8px rgba(90, 95, 240, 0.62));
}

.rules-content {
  margin-top: 28px;
}

.rules-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  gap: 14px;
}

.rules-main,
.rules-sidebar {
  display: grid;
  gap: 14px;
  align-content: start;
}

.rules-sidebar {
  position: sticky;
  top: 84px;
}

.rules-block,
.rules-side-panel,
.rules-matrix-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  background: linear-gradient(135deg, rgba(16, 16, 17, 0.96), rgba(7, 7, 8, 0.96));
  box-shadow: var(--inset);
}

.rules-block::before,
.rules-side-panel::before,
.rules-matrix-card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(circle at var(--mx, 50%) var(--my, 50%), rgba(255, 45, 20, 0.14), transparent 38%);
  opacity: 0;
  transition: opacity 160ms ease;
}

.rules-block:hover::before,
.rules-side-panel:hover::before,
.rules-matrix-card:hover::before {
  opacity: 1;
}

.rules-block {
  min-height: 252px;
  padding: 19px 20px 20px;
  clip-path: polygon(2.5% 0, 100% 0, 97.5% 100%, 0 100%);
}

.rules-block-head {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 13px;
  min-height: 43px;
  margin-bottom: 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line-dim);
}

.rules-block-head div {
  min-width: 0;
}

.rules-block-head small {
  display: block;
  margin-bottom: 2px;
  color: #958f89;
  font-family: var(--font-display);
  font-size: 14px;
  letter-spacing: 1.3px;
}

.rules-block-head h3 {
  margin: 0;
  color: #f2ece6;
  font-family: var(--font-display);
  font-size: 27px;
  line-height: 1;
  letter-spacing: 1.2px;
}

.rule-list {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 9px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: rule;
}

.rule-list li {
  counter-increment: rule;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 0 11px;
  min-height: 66px;
  padding: 10px 12px 10px 10px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  background:
    linear-gradient(90deg, rgba(255, 42, 23, 0.08), transparent 52%),
    rgba(255, 255, 255, 0.026);
}

.rule-list li::before {
  content: counter(rule, decimal-leading-zero);
  grid-row: 1 / 3;
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  color: #fff;
  border: 1px solid rgba(255, 42, 23, 0.64);
  background: radial-gradient(circle, rgba(255, 67, 29, 0.82), rgba(53, 8, 5, 0.94));
  font-family: var(--font-display);
  font-size: 17px;
  line-height: 1;
  box-shadow: 0 0 13px rgba(255, 42, 23, 0.25);
  clip-path: polygon(14% 0, 100% 0, 86% 100%, 0 100%);
}

.rule-list h4,
.rule-list p {
  margin: 0;
}

.rule-list h4 {
  color: #f3ede6;
  font-family: var(--font-display);
  font-size: 19px;
  line-height: 1.04;
  letter-spacing: 1px;
}

.rule-list p {
  margin-top: 4px;
  color: #c9c2bc;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.2;
}

.rules-side-panel {
  padding: 18px;
  clip-path: polygon(4% 0, 100% 0, 96% 100%, 0 100%);
}

.rules-side-panel .server-panel-title {
  margin-bottom: 12px;
}

.rules-step-list {
  display: grid;
  gap: 9px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.rules-step-list li {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  min-height: 54px;
  padding: 9px 10px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  background: rgba(255, 255, 255, 0.028);
}

.rules-step-list b {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  color: #fff;
  border: 1px solid rgba(255, 42, 23, 0.66);
  background: rgba(255, 42, 23, 0.18);
  font-family: var(--font-display);
  font-size: 18px;
  box-shadow: 0 0 12px rgba(255, 42, 23, 0.18);
}

.rules-step-list span,
.rules-report-panel p,
.rules-warning p {
  color: #c9c3bd;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.22;
}

.rules-step-list strong {
  color: #fff;
}

.rules-report-panel p,
.rules-warning p {
  position: relative;
  z-index: 1;
  margin: 0;
}

.rules-report-panel .btn {
  position: relative;
  z-index: 1;
  width: 100%;
  margin-top: 15px;
}

.rules-warning {
  border-color: rgba(255, 135, 31, 0.72);
  background:
    linear-gradient(135deg, rgba(255, 135, 31, 0.12), rgba(7, 7, 8, 0.96)),
    rgba(7, 7, 8, 0.96);
}

.rules-warning b {
  position: relative;
  z-index: 1;
  display: block;
  margin-bottom: 7px;
  color: #ffb45a;
  font-family: var(--font-display);
  font-size: 22px;
  letter-spacing: 1.2px;
}

.rules-matrix {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 28px;
}

.rules-matrix-card {
  min-height: 208px;
  padding: 20px 21px;
  clip-path: polygon(4% 0, 100% 0, 96% 100%, 0 100%);
}

.rules-matrix-card h3 {
  position: relative;
  z-index: 1;
  margin: 0 0 13px;
  font-family: var(--font-display);
  font-size: 30px;
  letter-spacing: 1.4px;
}

.rules-matrix-card ul {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 9px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.rules-matrix-card li {
  position: relative;
  min-height: 30px;
  padding: 7px 10px 7px 28px;
  color: #e7e0d9;
  border: 1px solid rgba(255, 255, 255, 0.07);
  background: rgba(255, 255, 255, 0.03);
  font-size: 15px;
  font-weight: 800;
  line-height: 1.08;
}

.rules-matrix-card li::before {
  content: "";
  position: absolute;
  left: 10px;
  top: 50%;
  width: 8px;
  height: 8px;
  background: currentColor;
  transform: translateY(-50%) skewX(-16deg);
  box-shadow: 0 0 10px currentColor;
}

.rules-matrix-card.allowed h3,
.rules-matrix-card.allowed li::before {
  color: var(--green);
}

.rules-matrix-card.restricted h3,
.rules-matrix-card.restricted li::before {
  color: #ffc43d;
}

.rules-matrix-card.banned h3,
.rules-matrix-card.banned li::before {
  color: var(--red);
}

@media (max-width: 1200px) {
  .rules-layout {
    grid-template-columns: 1fr;
  }

  .rules-sidebar {
    position: static;
    grid-template-columns: repeat(3, 1fr);
  }

  .rules-report-panel .btn {
    min-width: 0;
  }
}

@media (max-width: 900px) {
  .rules-sidebar,
  .rules-matrix {
    grid-template-columns: 1fr;
  }

  .rules-block {
    clip-path: polygon(3% 0, 100% 0, 97% 100%, 0 100%);
  }
}

@media (max-width: 760px) {
  .rules-hero .server-hero-inner {
    min-height: 0;
  }

  .rules-content .section-head {
    height: auto;
    gap: 8px;
    margin-bottom: 10px;
  }

  .rules-content .section-head h2 {
    width: 100%;
  }

  .rules-content .section-head a {
    align-self: flex-end;
    padding-right: 4px;
  }

  .rules-block,
  .rules-side-panel,
  .rules-matrix-card {
    padding: 16px;
  }

  .rules-block-head {
    align-items: flex-start;
  }

  .rules-block-head h3 {
    font-size: 23px;
  }

  .rule-list li {
    grid-template-columns: 36px minmax(0, 1fr);
    gap: 0 9px;
    padding: 9px;
  }

  .rule-list li::before {
    width: 30px;
    height: 30px;
    font-size: 15px;
  }

  .rule-list h4 {
    font-size: 17px;
  }

  .rule-list p,
  .rules-step-list span,
  .rules-report-panel p,
  .rules-warning p,
  .rules-matrix-card li {
    font-size: 14px;
  }
}

/* Events page ------------------------------------------------------------- */

.events-page .server-hero-art {
  background:
    linear-gradient(90deg, rgba(3, 3, 4, 0.94), rgba(3, 3, 4, 0.56) 45%, rgba(3, 3, 4, 0.9)),
    linear-gradient(0deg, rgba(0, 0, 0, 0.82), transparent 48%),
    image-set(
      url("../img/event-airdrop-live.webp?v=1") type("image/webp"),
      url("../img/event-airdrop-live.jpg?v=1") type("image/jpeg")
    ) center 45% / cover no-repeat;
}

.event-live-card .status-list div {
  grid-template-columns: 0.85fr 1fr;
}

.event-summary article:nth-child(2) .summary-icon {
  color: #ffc43d;
  filter: drop-shadow(0 0 8px rgba(255, 196, 61, 0.62));
}

.event-summary article:nth-child(3) .summary-icon {
  color: #54c7ff;
  filter: drop-shadow(0 0 8px rgba(84, 199, 255, 0.62));
}

.event-summary article:nth-child(4) .summary-icon {
  color: #ffae25;
  filter: drop-shadow(0 0 8px rgba(255, 174, 37, 0.62));
}

.event-detail-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
}

.event-detail-card {
  position: relative;
  min-height: 276px;
  overflow: hidden;
  border: 1px solid rgba(255, 51, 21, 0.58);
  background: #101010;
  box-shadow: var(--inset);
  clip-path: polygon(3% 0, 100% 0, 97% 100%, 0 100%);
}

.event-detail-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  background: radial-gradient(circle at var(--mx, 50%) var(--my, 50%), rgba(255, 45, 20, 0.18), transparent 38%);
  opacity: 0;
  transition: opacity 160ms ease;
}

.event-detail-card:hover::before {
  opacity: 1;
}

.event-detail-card.airdrop-detail,
.event-detail-card.patrol-detail,
.event-detail-card.cargo-detail {
  grid-column: span 2;
}

.event-detail-card.bradley-detail,
.event-detail-card.raid-detail {
  grid-column: span 3;
}

.event-detail-bg {
  position: absolute;
  inset: 0;
  display: block;
}

.event-detail-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.2) contrast(1.08) brightness(0.74);
}

.event-detail-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.24), rgba(0, 0, 0, 0.58) 44%, rgba(0, 0, 0, 0.94)),
    linear-gradient(90deg, rgba(0, 0, 0, 0.68), transparent 62%);
}

.event-detail-body {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 276px;
  padding: 18px;
}

.event-detail-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.event-detail-head h3 {
  margin: 0;
  color: #f5eee8;
  font-family: var(--font-display);
  font-size: 32px;
  line-height: 0.95;
  letter-spacing: 1px;
  text-shadow: 2px 2px 0 #000, 0 0 14px currentColor;
}

.airdrop-detail .event-detail-head h3 { color: #ffae25; }
.patrol-detail .event-detail-head h3 { color: #ffc43d; }
.cargo-detail .event-detail-head h3 { color: #54c7ff; }
.bradley-detail .event-detail-head h3 { color: #ffae25; }
.raid-detail .event-detail-head h3 { color: #ff3b22; }

.event-detail-head b {
  flex: 0 0 auto;
  min-width: 58px;
  padding: 5px 9px;
  color: #fff;
  border: 1px solid rgba(255, 51, 21, 0.55);
  background: rgba(146, 12, 8, 0.72);
  font-family: var(--font-display);
  font-size: 15px;
  letter-spacing: 1px;
  text-align: center;
}

.event-detail-list {
  display: grid;
  gap: 6px;
  margin: 0;
}

.event-detail-list div {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  align-items: center;
  min-height: 30px;
  padding: 0 10px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  background: rgba(0, 0, 0, 0.48);
}

.event-detail-list dt,
.event-detail-list dd {
  margin: 0;
}

.event-detail-list dt {
  color: #a49d96;
  font-family: var(--font-display);
  font-size: 14px;
  letter-spacing: 1px;
}

.event-detail-list dd {
  justify-self: end;
  min-width: 0;
  overflow: hidden;
  color: #fff;
  font-size: 16px;
  font-weight: 800;
  text-align: right;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.event-detail-list dd[data-airdrop-countdown],
.event-detail-list dd[data-world-event][data-event-field="countdown"],
.event-detail-list dd[data-bradley="countdown"] {
  color: var(--green);
  text-shadow: 0 0 10px rgba(115, 227, 55, 0.34);
}

.raid-detail .event-detail-list dd {
  color: #ffdf7a;
}

/* Statistics page --------------------------------------------------------- */

.stats-page .server-hero-art {
  background:
    linear-gradient(90deg, rgba(3, 3, 4, 0.94), rgba(3, 3, 4, 0.6) 44%, rgba(3, 3, 4, 0.9)),
    linear-gradient(0deg, rgba(0, 0, 0, 0.82), transparent 48%),
    image-set(
      url("../img/stats-xd-bg.webp?v=1") type("image/webp"),
      url("../img/stats-xd-bg.png?v=1") type("image/png")
    ) center / cover no-repeat;
}

.stats-page .server-hero h1 strong {
  color: #77d7ff;
  text-shadow: 3px 3px 0 #001725, 0 0 18px rgba(84, 199, 255, 0.58);
}

.stats-live-card .status-list div {
  grid-template-columns: 0.72fr 1fr;
}

.stats-summary article:nth-child(1) .summary-icon {
  color: #77d7ff;
  filter: drop-shadow(0 0 8px rgba(119, 215, 255, 0.62));
}

.stats-summary article:nth-child(2) .summary-icon {
  color: var(--green);
  filter: drop-shadow(0 0 8px rgba(115, 227, 55, 0.62));
}

.stats-summary article:nth-child(3) .summary-icon {
  color: #ff3b22;
  filter: drop-shadow(0 0 8px rgba(255, 59, 34, 0.62));
}

.stats-summary article:nth-child(4) .summary-icon {
  color: #ffc43d;
  filter: drop-shadow(0 0 8px rgba(255, 196, 61, 0.62));
}

.stats-toolbar {
  display: grid;
  grid-template-columns: minmax(220px, 0.8fr) minmax(0, 1.2fr);
  gap: 12px;
  margin-bottom: 14px;
}

.stats-search {
  display: grid;
  grid-template-columns: 42px 1fr;
  align-items: center;
  min-height: 46px;
  border: 1px solid rgba(119, 215, 255, 0.24);
  background: rgba(9, 12, 15, 0.88);
  box-shadow: var(--inset);
}

.stats-search svg {
  justify-self: center;
  width: 20px;
  height: 20px;
  color: #77d7ff;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
}

.stats-search input {
  min-width: 0;
  height: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  color: #f2ece6;
  font-family: var(--font-ui);
  font-size: 16px;
  font-weight: 800;
}

.stats-search input::placeholder {
  color: #827d79;
}

.stats-sort {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 7px;
}

.stats-sort-btn {
  min-width: 0;
  min-height: 46px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(135deg, rgba(19, 19, 20, 0.92), rgba(8, 8, 9, 0.92));
  color: #bdb6af;
  cursor: pointer;
  font-family: var(--font-display);
  font-size: 17px;
  letter-spacing: 1px;
  transition: border-color 160ms ease, color 160ms ease, background 160ms ease;
}

.stats-sort-btn.active,
.stats-sort-btn:hover {
  border-color: rgba(119, 215, 255, 0.66);
  background: linear-gradient(135deg, rgba(10, 69, 93, 0.74), rgba(20, 21, 23, 0.95));
  color: #fff;
}

.stats-podium {
  display: grid;
  grid-template-columns: 1.08fr 0.96fr 0.96fr;
  gap: 14px;
  margin-bottom: 14px;
}

.stats-podium-card,
.stats-category-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  background:
    linear-gradient(135deg, rgba(16, 16, 17, 0.95), rgba(7, 7, 8, 0.95)),
    repeating-linear-gradient(135deg, rgba(255,255,255,.025) 0 1px, transparent 1px 10px);
  box-shadow: var(--inset);
}

.stats-podium-card::before,
.stats-category-card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(circle at var(--mx, 50%) var(--my, 50%), rgba(119, 215, 255, 0.18), transparent 38%);
  opacity: 0;
  transition: opacity 160ms ease;
}

.stats-podium-card:hover::before,
.stats-category-card:hover::before {
  opacity: 1;
}

.stats-podium-card {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr);
  grid-template-rows: auto auto;
  gap: 4px 14px;
  min-height: 148px;
  padding: 17px;
  clip-path: polygon(3% 0, 100% 0, 97% 100%, 0 100%);
}

.stats-podium-card.first {
  border-color: rgba(255, 196, 61, 0.64);
}

.stats-podium-card.second {
  border-color: rgba(119, 215, 255, 0.42);
}

.stats-podium-card.third {
  border-color: rgba(255, 59, 34, 0.44);
}

.steam-profile-link {
  grid-row: 1 / 3;
  display: grid;
  grid-template-rows: 54px auto auto;
  gap: 4px;
  align-self: center;
  justify-items: center;
  width: 76px;
  min-height: 98px;
  padding: 7px 6px;
  color: #dff6ff;
  border: 1px solid rgba(119, 215, 255, 0.34);
  background:
    linear-gradient(135deg, rgba(23, 54, 68, 0.82), rgba(8, 12, 16, 0.9)),
    repeating-linear-gradient(135deg, rgba(255,255,255,.04) 0 1px, transparent 1px 7px);
  text-decoration: none;
  box-shadow: inset 0 0 18px rgba(119, 215, 255, 0.08);
}

.steam-profile-link:hover,
.steam-profile-link:focus-visible {
  border-color: rgba(119, 215, 255, 0.76);
  color: #fff;
}

.steam-profile-link.disabled {
  cursor: default;
  pointer-events: none;
  opacity: 0.72;
}

.steam-profile-avatar {
  display: grid;
  width: 54px;
  height: 54px;
  place-items: center;
  overflow: hidden;
  border: 2px solid rgba(119, 215, 255, 0.62);
  background: radial-gradient(circle at 30% 20%, rgba(119, 215, 255, 0.42), rgba(28, 42, 55, 0.88));
  color: #fff;
  font-family: var(--font-display);
  font-size: 24px;
  letter-spacing: 0;
  text-shadow: 0 0 10px rgba(119, 215, 255, 0.44);
}

.steam-profile-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.steam-profile-label,
.steam-profile-id {
  max-width: 100%;
  overflow: hidden;
  text-align: center;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.steam-profile-label {
  color: #77d7ff;
  font-family: var(--font-display);
  font-size: 12px;
  letter-spacing: 0.8px;
}

.steam-profile-id {
  color: #9fa8ae;
  font-size: 9px;
  font-weight: 800;
}

.stats-rank {
  position: absolute;
  top: 10px;
  right: 14px;
  color: rgba(255, 255, 255, 0.16);
  font-family: var(--font-display);
  font-size: 42px;
  line-height: 1;
}

.stats-podium-card h3 {
  align-self: end;
  min-width: 0;
  overflow: hidden;
  margin: 8px 40px 0 0;
  color: #f4eee8;
  font-family: var(--font-display);
  font-size: 28px;
  line-height: 1;
  letter-spacing: 1px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.stats-podium-card dl {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  margin: 0;
}

.stats-podium-card dl div {
  min-width: 0;
  padding: 8px 9px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  background: rgba(0, 0, 0, 0.28);
}

.stats-podium-card dt,
.stats-podium-card dd {
  margin: 0;
}

.stats-podium-card dt {
  color: #908a85;
  font-family: var(--font-display);
  font-size: 12px;
  letter-spacing: 1px;
}

.stats-podium-card dd {
  overflow: hidden;
  color: #fff;
  font-size: 17px;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.leaderboard-wrap {
  overflow-x: auto;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(7, 7, 8, 0.78);
  box-shadow: var(--inset);
}

.leaderboard-table {
  width: 100%;
  min-width: 980px;
  border-collapse: collapse;
}

.leaderboard-table th,
.leaderboard-table td {
  padding: 12px 13px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  text-align: right;
  white-space: nowrap;
}

.leaderboard-table th {
  color: #928c86;
  background: rgba(255, 255, 255, 0.035);
  font-family: var(--font-display);
  font-size: 14px;
  letter-spacing: 1px;
}

.leaderboard-table td {
  color: #e8e2dc;
  font-size: 15px;
  font-weight: 800;
}

.leaderboard-table th:nth-child(2),
.leaderboard-table td:nth-child(2) {
  text-align: left;
}

.leaderboard-table tbody tr:hover {
  background: rgba(119, 215, 255, 0.055);
}

.stats-player-cell {
  display: flex;
  align-items: center;
  min-width: 220px;
  gap: 9px;
}

.stats-player-status {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #525252;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.04);
}

.stats-player-status.online {
  background: var(--green);
  box-shadow: 0 0 0 3px rgba(115, 227, 55, 0.12), 0 0 12px rgba(115, 227, 55, 0.56);
}

.stats-player-link {
  min-width: 0;
  overflow: hidden;
  color: #e8e2dc;
  text-decoration: none;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.stats-player-link:hover,
.stats-player-link:focus-visible {
  color: #77d7ff;
}

.leaderboard-table .rank {
  color: #77d7ff;
  font-family: var(--font-display);
  font-size: 18px;
}

.leaderboard-table .score {
  color: #ffc43d;
}

.leaderboard-table .positive {
  color: var(--green);
}

.stats-empty-row td {
  position: sticky;
  left: 0;
  height: 86px;
  color: #928c86;
  background: rgba(10, 10, 11, 0.96);
  font-family: var(--font-display);
  font-size: 18px;
  letter-spacing: 1px;
  text-align: center;
}

.stats-category-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.stats-category-card {
  min-height: 210px;
  padding: 18px;
  clip-path: polygon(4% 0, 100% 0, 96% 100%, 0 100%);
}

.stats-category-card img {
  width: 54px;
  height: 54px;
  object-fit: contain;
  filter: drop-shadow(0 0 12px rgba(119, 215, 255, 0.24));
}

.stats-category-card h3 {
  margin: 11px 0 12px;
  color: #f2ece6;
  font-family: var(--font-display);
  font-size: 23px;
  letter-spacing: 1px;
}

.stats-category-card ul {
  display: grid;
  gap: 7px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.stats-category-card li {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr) max-content;
  gap: 8px;
  align-items: center;
  min-height: 30px;
  padding: 0 9px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  background: rgba(0, 0, 0, 0.26);
  color: #d8d1cb;
  font-size: 14px;
  font-weight: 800;
}

.stats-category-card li span:nth-child(2) {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.stats-category-card li b {
  color: #ffc43d;
  font-weight: 900;
}

/* Footer ------------------------------------------------------------------ */

.site-footer {
  flex-shrink: 0;
  margin-top: 9px;
  border-top: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(8, 8, 9, 0.98), rgba(3, 3, 4, 0.98)),
    repeating-linear-gradient(135deg, rgba(255,255,255,.025) 0 1px, transparent 1px 10px);
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.55fr 1.2fr 1fr 0.95fr;
  height: 64px;
  min-height: 64px;
  gap: 34px;
  align-items: center;
}

.footer-inner > div {
  min-height: 38px;
  border-left: 1px solid rgba(255, 255, 255, 0.06);
  padding-left: 28px;
}

.footer-inner > div:first-child {
  border-left: 0;
  padding-left: 0;
}

.footer-brand p,
.footer-inner p {
  margin: 3px 0 0;
  color: #807b76;
  font-size: 11px;
}

.footer-inner h3 {
  margin: 0 0 3px;
  color: #bdb6af;
  font-family: var(--font-display);
  font-size: 14px;
  letter-spacing: 1.2px;
}

.footer-quick {
  display: grid;
  grid-template-columns: max-content 1fr;
  gap: 0 22px;
  align-items: start;
}

.footer-quick h3 {
  margin: 0;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(4, max-content);
  gap: 1px 18px;
  align-items: center;
  margin: 0;
  padding: 0;
  color: #928b84;
  list-style: none;
  font-size: 11px;
}

.socials {
  display: flex;
  gap: 29px;
  color: #a7a19a;
}

.socials span,
.socials a {
  display: grid;
  width: 21px;
  height: 21px;
  place-items: center;
  color: inherit;
}

.socials svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.site-footer .brand-text {
  font-size: 25px;
}

.site-footer .logo-mark.small {
  width: 38px;
  height: 38px;
  font-size: 18px;
}

/* Toast ------------------------------------------------------------------- */

.toast {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 10000;
  padding: 13px 18px;
  color: #fff;
  border: 1px solid var(--red);
  background: rgba(10, 10, 10, 0.94);
  box-shadow: var(--shadow-red);
  font-family: var(--font-display);
  font-size: 18px;
  letter-spacing: 1px;
  transform: translateY(24px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease, transform 180ms ease;
  clip-path: polygon(8% 0, 100% 0, 92% 100%, 0 100%);
}

.toast.show {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive -------------------------------------------------------------- */

@media (max-width: 1480px) {
  .header-inner {
    grid-template-columns: 285px 1fr 270px;
    width: min(100% - 44px, 1420px);
  }

  .main-nav a {
    padding-inline: 7px;
    font-size: 16px;
  }

  .steam-login {
    width: 260px;
    font-size: 19px;
  }

  .steam-login.is-authenticated {
    width: 230px;
  }

  .brand-logo {
    width: 285px;
  }

  .hero-grid {
    grid-template-columns: minmax(560px, 1fr) 360px;
  }

  .server-hero-inner {
    grid-template-columns: minmax(520px, 1fr) 360px;
  }

  .server-detail-grid {
    grid-template-columns: 0.92fr 1.08fr 1fr;
  }

  .event-detail-head h3 {
    font-size: 29px;
  }
}

@media (max-width: 1200px) {
  .shell {
    width: min(100% - 36px, var(--max));
  }

  .header-inner {
    grid-template-columns: 1fr auto auto;
  }

  .nav-toggle {
    display: block;
  }

  .main-nav {
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    display: none;
    height: auto;
    padding: 10px;
    border: 1px solid var(--line);
    background: rgba(5, 5, 5, 0.98);
    flex-wrap: wrap;
  }

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

  .main-nav a {
    height: 42px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    padding-bottom: 22px;
  }

  .server-hero-inner {
    grid-template-columns: 1fr;
  }

  .status-card {
    max-width: 430px;
  }

  .feature-strip,
  .event-grid,
  .stats-grid,
  .cta-row,
  .server-summary,
  .server-detail-grid,
  .server-ops-grid,
  .stats-podium,
  .stats-category-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

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

  .event-detail-card.airdrop-detail,
  .event-detail-card.patrol-detail,
  .event-detail-card.cargo-detail,
  .event-detail-card.bradley-detail,
  .event-detail-card.raid-detail {
    grid-column: auto;
  }

  .server-live-card {
    max-width: 430px;
  }

  .vote-flow,
  .shop-flow {
    grid-template-columns: 1fr;
  }

  .vote-status-panel,
  .shop-status-panel {
    max-width: 430px;
  }

  .shop-product-panel {
    grid-template-columns: minmax(260px, 330px) minmax(0, 1fr);
  }

  .rules-panel {
    grid-column: 1 / -1;
  }

  .cta-row {
    margin-top: 34px;
  }

  .cta-card.vote {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
    height: auto;
    min-height: 132px;
  }

  .cta-card.vote .btn {
    margin-left: 0;
  }

  .cta-card.discord-cta {
    grid-template-columns: 70px 1fr;
  }

  .discord-stats,
  .discord-btn {
    grid-column: 2;
    justify-self: start;
  }

  .footer-inner {
    grid-template-columns: repeat(2, 1fr);
    height: auto;
    padding-block: 22px;
  }
}

@media (max-width: 760px) {
  .site-header,
  .header-inner {
    height: 62px;
  }

  .site-header::before,
  .site-header::after {
    display: none;
  }

  .header-inner {
    width: calc(100% - 24px);
    grid-template-columns: 1fr auto auto;
    gap: 8px;
  }

  .steam-login {
    display: block;
    width: 46px;
    height: 42px;
  }

  .steam-login.is-authenticated {
    width: 46px;
  }

  .steam-login:not(.is-authenticated) {
    border: 1px solid rgba(255, 42, 23, 0.62);
    background:
      radial-gradient(circle at 35% 35%, rgba(255, 255, 255, 0.18), transparent 28px),
      linear-gradient(135deg, rgba(16, 16, 17, 0.96), rgba(104, 8, 5, 0.84));
    box-shadow: var(--inset), 0 0 14px rgba(255, 42, 23, 0.26);
    clip-path: polygon(12% 0, 100% 0, 88% 100%, 0 100%);
  }

  .steam-login:not(.is-authenticated)::before {
    content: "";
    display: block;
    width: 22px;
    height: 22px;
    margin: 10px auto;
    border: 2px solid #fff;
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.32);
  }

  .steam-login:not(.is-authenticated) picture {
    display: none;
  }

  .steam-account-chip {
    grid-template-columns: 1fr;
    height: 42px;
    padding: 4px;
    place-items: center;
  }

  .steam-account-chip span {
    display: none;
  }

  .steam-account-chip img,
  .steam-account-chip i {
    width: 32px;
    height: 32px;
  }

  .account-panel {
    top: 74px;
    right: 12px;
  }

  .brand-text {
    font-size: 24px;
  }

  .brand-logo {
    width: 205px;
    height: 48px;
  }

  .logo-mark {
    width: 46px;
    height: 46px;
  }

  .hero-grid {
    padding-top: 26px;
  }

  .hero-copy h1 {
    font-size: 52px;
    line-height: 0.98;
  }

  .server-hero {
    border-bottom: 1px solid var(--line);
  }

  .server-hero-inner {
    min-height: 0;
    padding-top: 26px;
    padding-bottom: 24px;
  }

  .server-hero h1 {
    font-size: 48px;
    line-height: 0.98;
  }

  .server-lead {
    font-size: 16px;
  }

  .hero-subtitle {
    font-size: 18px;
    letter-spacing: 2px;
  }

  .quick-info {
    width: 100%;
    height: auto;
    grid-template-columns: 1fr;
  }

  .quick-info div {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 42, 23, 0.22);
  }

  .hero-actions,
  .server-hero-actions,
  .section-head {
    align-items: stretch;
    flex-direction: column;
  }

  .btn {
    width: 100%;
    min-width: 0;
  }

  .hero-image-button,
  .hero-image-button.connect,
  .hero-image-button.vote {
    width: 100%;
    max-width: 360px;
  }

  .feature-strip,
  .event-grid,
  .stats-grid,
  .cta-row,
  .footer-inner,
  .server-summary,
  .server-detail-grid,
  .server-ops-grid,
  .stats-podium,
  .stats-category-grid {
    grid-template-columns: 1fr;
  }

  .stats-sort {
    grid-template-columns: repeat(3, 1fr);
  }

  .stats-sort-btn {
    min-height: 42px;
    font-size: 15px;
  }

  .stats-podium-card {
    min-height: 136px;
  }

  .stats-podium-card h3 {
    font-size: 24px;
  }

  .leaderboard-wrap {
    margin-inline: -2px;
  }

  .stats-empty-row td {
    text-align: left;
  }

  .event-detail-grid {
    grid-template-columns: 1fr;
  }

  .event-detail-card,
  .event-detail-body {
    min-height: 250px;
  }

  .event-detail-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .event-detail-head h3 {
    font-size: 28px;
  }

  .rules-panel {
    grid-column: auto;
  }

  .server-summary article {
    min-height: 70px;
  }

  .server-panel,
  .server-mini-panel {
    clip-path: polygon(3% 0, 100% 0, 97% 100%, 0 100%);
  }

  .server-spec-list div {
    grid-template-columns: 1fr;
    gap: 3px;
    align-items: start;
    padding-block: 8px;
  }

  .server-spec-list dd {
    justify-self: start;
    text-align: left;
  }

  .event-detail-list div {
    grid-template-columns: 1fr;
    gap: 2px;
    align-items: start;
    padding-block: 7px;
  }

  .event-detail-list dd {
    justify-self: start;
    text-align: left;
  }

  .footer-quick {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .footer-links {
    grid-template-columns: repeat(2, max-content);
    gap: 2px 34px;
  }

  .cta-row {
    margin-top: 28px;
  }

  .event-card {
    height: 132px;
  }

  .stats-grid {
    padding: 8px;
  }

  .cta-card,
  .cta-card.discord-cta {
    display: grid;
    grid-template-columns: 1fr;
    padding: 22px;
  }

  .vote-hero-stats,
  .shop-hero-stats {
    grid-template-columns: 1fr;
  }

  .vote-hero-stats span,
  .shop-hero-stats span {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 42, 23, 0.22);
  }

  .vote-hero-stats span:last-child,
  .shop-hero-stats span:last-child {
    border-bottom: 0;
  }

  .vote-main-panel,
  .shop-gate-panel,
  .shop-product-content {
    padding: 22px 18px;
  }

  .vote-main-head,
  .shop-main-head {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

  .vote-actions,
  .shop-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .vote-actions .btn,
  .shop-actions .btn {
    width: 100%;
    min-width: 0;
    padding-inline: 14px;
    white-space: normal;
  }

  .shop-product-panel {
    grid-template-columns: 1fr;
  }

  .shop-product-media {
    min-height: 260px;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 42, 23, 0.2);
  }

  .shop-product-media img {
    width: min(210px, 76%);
  }

  .shop-price-tag {
    right: 16px;
    bottom: 16px;
    font-size: 23px;
  }

  .shop-item-specs {
    grid-template-columns: 1fr;
  }

  .discord-stats,
  .discord-btn {
    grid-column: 1;
  }

  .footer-inner > div {
    border-left: 0;
    padding-left: 0;
  }
}
