:root {
  --ink: #e6e1d2;
  --muted: #a8a48f;
  --night: #090d0b;
  --pine: #152219;
  --moss: #71834c;
  --rust: #b85832;
  --signal: #9abe55;
  --line: rgba(220, 219, 194, 0.2);
  --shadow: 0 20px 56px rgba(0, 0, 0, 0.58);
  --card-cut: 22px;
}

body {
  background:
    linear-gradient(rgba(8, 12, 9, 0.9), rgba(8, 12, 9, 0.97)),
    url("assets/baltic-map.jpg") center top / cover fixed;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 30;
  pointer-events: none;
  border: 8px solid rgba(0, 0, 0, 0.42);
  box-shadow: inset 0 0 140px rgba(0, 0, 0, 0.74);
}

body::before {
  opacity: 0.55;
  background:
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.018) 0 1px, transparent 1px 4px),
    linear-gradient(90deg, transparent 49.85%, rgba(154, 190, 85, 0.08) 50%, transparent 50.15%);
  background-size: auto, 160px 100%;
  mask-image: none;
}

.survival-hud {
  position: fixed;
  right: 12px;
  bottom: 12px;
  z-index: 19;
  display: flex;
  gap: 2px;
  color: rgba(230, 225, 210, 0.62);
  font-family: "Archivo Black", sans-serif;
  font-size: 0.58rem;
  letter-spacing: 0.12em;
  pointer-events: none;
}

.survival-hud span {
  padding: 0.42rem 0.55rem;
  border: 1px solid rgba(230, 225, 210, 0.16);
  background: rgba(8, 12, 9, 0.84);
}

.survival-hud .hud-alert {
  color: #e7d7c7;
  border-color: rgba(184, 88, 50, 0.55);
  background: rgba(119, 37, 24, 0.7);
}

.survival-vitals {
  position: fixed;
  right: 14px;
  bottom: 56px;
  z-index: 19;
  display: grid;
  gap: 5px;
  width: 76px;
  padding: 8px;
  border: 1px solid rgba(230, 225, 210, 0.14);
  background: rgba(5, 8, 6, 0.78);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.32);
  pointer-events: none;
}

.survival-vitals::before {
  content: "VITALS";
  color: rgba(230, 225, 210, 0.42);
  font-size: 0.46rem;
  font-weight: 800;
  letter-spacing: 0.16em;
}

.survival-vitals span {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 5px;
  color: rgba(230, 225, 210, 0.66);
  font-size: 0.45rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.survival-vitals i {
  display: block;
  height: 3px;
  background: linear-gradient(90deg, var(--signal) 0 82%, rgba(230, 225, 210, 0.12) 82%);
}

.survival-vitals .vital-warm i {
  background: linear-gradient(90deg, var(--rust) 0 68%, rgba(230, 225, 210, 0.12) 68%);
}

.noise {
  opacity: 0.32;
}

.site-header {
  width: min(1280px, calc(100% - 28px));
  margin-top: 10px;
  padding: 9px 12px;
  border-color: rgba(154, 190, 85, 0.32);
  border-radius: 3px;
  background: rgba(8, 13, 10, 0.94);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.68);
}

.site-header::after {
  content: "";
  position: absolute;
  inset: auto 0 -5px;
  height: 4px;
  background: repeating-linear-gradient(90deg, var(--signal) 0 32px, transparent 32px 40px);
  opacity: 0.42;
}

.site-header::before {
  content: "DAYZ EE // SURVIVAL NETWORK";
  position: absolute;
  left: 74px;
  bottom: -18px;
  color: rgba(230, 225, 210, 0.42);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.18em;
}

.brand-mark {
  width: 46px;
  height: 46px;
  border: 1px solid rgba(154, 190, 85, 0.46);
  border-radius: 2px;
}

.brand {
  font-family: "Archivo Black", sans-serif;
  text-transform: uppercase;
}

.nav-links {
  gap: 1.6rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.language-picker,
.language-picker select,
.header-cta,
.button,
.copy-button {
  border-radius: 2px;
}

.header-cta,
.button.primary,
.copy-button {
  color: #10140f;
  background: var(--signal);
}

.steam-login-link {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  min-height: 40px;
  padding: 0.32rem 0.68rem 0.32rem 0.32rem;
  border: 1px solid rgba(154, 190, 85, 0.28);
  color: #ded9c9;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: rgba(154, 190, 85, 0.08);
  clip-path: polygon(0 0, calc(100% - 9px) 0, 100% 9px, 100% 100%, 9px 100%, 0 calc(100% - 9px));
}

.steam-login-link:hover {
  border-color: rgba(154, 190, 85, 0.6);
  background: rgba(154, 190, 85, 0.16);
}

.steam-login-avatar {
  position: relative;
  display: grid;
  flex: 0 0 32px;
  width: 32px;
  height: 32px;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(230, 225, 210, 0.2);
  background: rgba(5, 8, 6, 0.82);
  clip-path: polygon(0 0, calc(100% - 7px) 0, 100% 7px, 100% 100%, 7px 100%, 0 calc(100% - 7px));
}

.steam-login-avatar::before,
.steam-login-avatar::after {
  content: "";
  position: absolute;
  border-radius: 50%;
}

.steam-login-avatar::before {
  width: 17px;
  height: 17px;
  border: 2px solid rgba(230, 225, 210, 0.78);
}

.steam-login-avatar::after {
  right: 5px;
  bottom: 5px;
  width: 7px;
  height: 7px;
  border: 2px solid rgba(154, 190, 85, 0.9);
  background: #0a0e0b;
  box-shadow: -9px -7px 0 -2px #0a0e0b, -9px -7px 0 0 rgba(230, 225, 210, 0.78);
}

.steam-login-avatar.has-avatar::before,
.steam-login-avatar.has-avatar::after {
  display: none;
}

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

.server-dock {
  top: 80px;
  width: min(1280px, calc(100% - 28px));
  gap: 2px;
  margin-top: 7px;
  padding: 4px;
  border: 1px solid rgba(154, 190, 85, 0.26);
  background: rgba(8, 13, 10, 0.9);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
}

.server-dock::before {
  content: "LIVE FREQUENCIES";
  position: absolute;
  top: -11px;
  left: 12px;
  padding: 0 0.4rem;
  color: rgba(230, 225, 210, 0.55);
  font-size: 0.52rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  background: #0a0e0b;
}

.dock-server {
  border-color: transparent;
  border-radius: 1px;
  background: rgba(230, 225, 210, 0.045);
  box-shadow: none;
}

.dock-server:hover {
  transform: none;
  border-color: rgba(154, 190, 85, 0.42);
  background: rgba(113, 131, 76, 0.18);
}

.top-players-panel {
  display: none;
}

@media (min-width: 1700px) {
  .top-players-panel {
    position: fixed;
    top: 154px;
    right: 14px;
    z-index: 21;
    display: block;
    width: 190px;
    max-height: calc(100vh - 174px);
    overflow: auto;
    border: 1px solid rgba(154, 190, 85, 0.28);
    background: rgba(7, 11, 8, 0.94);
    box-shadow: 0 18px 42px rgba(0, 0, 0, 0.48);
    clip-path: polygon(0 0, calc(100% - 18px) 0, 100% 18px, 100% 100%, 18px 100%, 0 calc(100% - 18px));
  }

  .top-pvp-panel {
    right: auto;
    left: 14px;
    border-color: rgba(184, 88, 50, 0.34);
  }

  .top-players-panel header {
    padding: 14px 14px 11px;
    border-bottom: 1px solid rgba(154, 190, 85, 0.22);
    background: repeating-linear-gradient(135deg, rgba(154, 190, 85, 0.06) 0 5px, transparent 5px 10px);
  }

  .top-players-panel header span {
    color: rgba(154, 190, 85, 0.62);
    font-size: 0.46rem;
    font-weight: 800;
    letter-spacing: 0.14em;
  }

  .top-players-panel h2 {
    margin: 3px 0 0;
    color: #ece6d5;
    font-size: 1.45rem;
    line-height: 1;
    text-shadow: 2px 2px 0 rgba(0, 0, 0, 0.5);
  }

  .top-players-state {
    padding: 14px;
    color: var(--muted);
    font-size: 0.68rem;
  }

  .top-players-list {
    display: grid;
    gap: 1px;
    margin: 0;
    padding: 3px;
    list-style: none;
  }

  .top-players-list a {
    color: inherit;
    text-decoration: none;
  }

  .top-players-list li {
    display: grid;
    grid-template-columns: 22px 30px minmax(0, 1fr);
    align-items: center;
    gap: 6px;
    min-height: 45px;
    padding: 6px;
    border-left: 2px solid transparent;
    background: rgba(230, 225, 210, 0.035);
  }

  .top-players-list a:hover li {
    border-left-color: var(--signal);
    background: rgba(154, 190, 85, 0.12);
  }

  .top-players-list li.is-online {
    border-left-color: var(--signal);
  }

  .top-player-rank {
    color: rgba(184, 88, 50, 0.8);
    font-family: "Courier New", monospace;
    font-size: 0.58rem;
    font-weight: 900;
  }

  .top-player-avatar {
    width: 30px;
    height: 30px;
    overflow: hidden;
    border: 1px solid rgba(230, 225, 210, 0.15);
    background: rgba(230, 225, 210, 0.06);
  }

  .top-player-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .top-player-details {
    min-width: 0;
  }

  .top-player-details strong,
  .top-player-details small {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .top-player-details strong {
    color: #ded9c9;
    font-size: 0.64rem;
  }

  .top-player-details small {
    margin-top: 2px;
    color: rgba(154, 190, 85, 0.68);
    font-size: 0.5rem;
  }

  .top-pvp-panel header {
    border-bottom-color: rgba(184, 88, 50, 0.28);
    background: repeating-linear-gradient(135deg, rgba(184, 88, 50, 0.08) 0 5px, transparent 5px 10px);
  }

  .top-pvp-panel header span {
    color: rgba(184, 88, 50, 0.78);
  }

  .top-pvp-list li {
    border-left-color: rgba(184, 88, 50, 0.22);
  }

  .top-pvp-list a:hover li {
    border-left-color: var(--rust);
    background: rgba(184, 88, 50, 0.12);
  }

  .pvp-stat-line {
    display: grid;
    grid-template-columns: repeat(3, auto);
    gap: 5px;
    margin-top: 3px;
    color: rgba(230, 225, 210, 0.55);
    font-size: 0.43rem;
    font-weight: 800;
    white-space: nowrap;
  }

  .pvp-stat-line b {
    color: var(--rust);
    font-weight: 900;
  }
}

.hero {
  width: min(1280px, calc(100% - 28px));
  display: block;
  min-height: auto;
  padding: 82px 0 42px;
}

.hero-copy {
  position: relative;
  width: 100%;
  padding: clamp(1.5rem, 3vw, 2.4rem);
  border: 1px solid rgba(220, 219, 194, 0.14);
  border-left: 5px solid var(--signal);
  background:
    linear-gradient(90deg, rgba(9, 13, 11, 0.97), rgba(9, 13, 11, 0.86)),
    repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.018) 0 7px, transparent 7px 14px);
  box-shadow: 18px 18px 0 rgba(0, 0, 0, 0.2);
  clip-path: polygon(0 0, calc(100% - 18px) 0, 100% 18px, 100% 100%, 0 100%);
}

.hero-text,
.hero-note {
  max-width: 820px;
}

.site-stats,
.hero-actions {
  max-width: 940px;
}

.site-ad {
  position: relative;
  border: 1px solid rgba(220, 219, 194, 0.16);
  background:
    repeating-linear-gradient(90deg, rgba(154, 190, 85, 0.03) 0 1px, transparent 1px 14px),
    rgba(6, 10, 7, 0.62);
  clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 14px, 100% 100%, 14px 100%, 0 calc(100% - 14px));
}

.site-ad::before {
  content: "SPONSOR SIGNAL";
  position: absolute;
  top: 10px;
  left: 14px;
  color: rgba(154, 190, 85, 0.48);
  font-family: "Courier New", monospace;
  font-size: 0.52rem;
  font-weight: 900;
  letter-spacing: 0.16em;
}

.site-ad.is-empty {
  border: 0;
}

.site-ad.is-empty::before {
  display: none;
}

.hero-stamp {
  position: absolute;
  right: 18px;
  top: 18px;
  padding: 0.42rem 0.6rem;
  border: 2px solid rgba(184, 88, 50, 0.5);
  color: rgba(184, 88, 50, 0.72);
  font-family: "Archivo Black", sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  transform: rotate(4deg);
}

.hero-copy::before {
  content: "ESTONIA // ACTIVE FREQUENCY";
  position: absolute;
  top: -18px;
  left: -5px;
  padding: 0.25rem 0.55rem;
  color: #0b100c;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  background: var(--signal);
}

h1,
h2 {
  letter-spacing: 0;
  text-shadow: 4px 4px 0 rgba(0, 0, 0, 0.42);
}

h1 {
  max-width: 760px;
  font-size: clamp(4rem, 9vw, 8.2rem);
  color: #f0ebdc;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.08);
}

.hero h1::after {
  content: "";
  display: block;
  width: min(330px, 80%);
  height: 8px;
  margin-top: 1rem;
  background:
    repeating-linear-gradient(90deg, var(--rust) 0 36px, transparent 36px 46px);
  opacity: 0.65;
}

.hero-note {
  padding: 0.85rem 1rem;
  border: 1px dashed rgba(184, 88, 50, 0.62);
  border-left: 5px solid var(--rust);
  background: rgba(9, 13, 11, 0.68);
}

.hero-text,
.hero-note {
  color: #c8c4b4;
}

.site-stats {
  gap: 2px;
}

.site-stats div,
.stat-row > div {
  border-radius: 1px;
  background:
    repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.025) 0 6px, transparent 6px 12px),
    rgba(9, 13, 11, 0.78);
}

.hero-panel {
  position: relative;
  margin-top: 0;
  padding: 6px;
  border: 1px solid rgba(154, 190, 85, 0.36);
  border-radius: 2px;
  background: rgba(9, 13, 11, 0.84);
}

.hero-panel .map-card::after {
  content: "RECON MAP // BALTIC SECTOR";
  position: absolute;
  left: 16px;
  top: 16px;
  right: auto;
  bottom: auto;
  z-index: 4;
  width: auto;
  height: auto;
  padding: 0.45rem 0.58rem;
  border-radius: 0;
  border-left: 3px solid var(--rust);
  color: rgba(230, 225, 210, 0.75);
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  background: rgba(8, 12, 9, 0.78);
  filter: none;
  transform: none;
}

.hero-panel::before,
.hero-panel::after {
  content: "";
  position: absolute;
  width: 58px;
  height: 12px;
  z-index: 4;
  background: repeating-linear-gradient(135deg, #1a1d17 0 8px, #b85832 8px 16px);
}

.hero-panel::before {
  top: -7px;
  left: 20px;
}

.hero-panel::after {
  right: 20px;
  bottom: -7px;
}

.map-card,
.map-image-frame {
  border-radius: 0;
}

.map-image-frame img {
  filter: sepia(0.65) saturate(0.62) contrast(1.22) brightness(0.56);
}

.coordinates {
  border-radius: 1px;
  color: var(--ink);
  background: rgba(8, 12, 9, 0.88);
}

.survival-scene {
  position: relative;
  width: min(1280px, calc(100% - 28px));
  min-height: 520px;
  margin: 0 auto 72px;
  overflow: hidden;
  border-block: 1px solid rgba(154, 190, 85, 0.34);
  background: #070a08;
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.46);
  clip-path: polygon(0 0, calc(100% - 34px) 0, 100% 34px, 100% 100%, 34px 100%, 0 calc(100% - 34px));
}

.survival-scene-first {
  margin-top: 48px;
  margin-bottom: 0;
}

.survival-scene::before {
  content: "";
}

.scene-rec {
  position: absolute;
  top: 18px;
  left: 20px;
  z-index: 4;
  padding-left: 14px;
  color: #d9845d;
  font-size: 0.56rem;
  font-weight: 800;
  letter-spacing: 0.16em;
}

.survival-scene::after {
  content: "";
  position: absolute;
  top: 22px;
  left: 20px;
  z-index: 4;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--rust);
  box-shadow: 0 0 10px rgba(184, 88, 50, 0.9);
}

.survival-scene img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.7) contrast(1.08) brightness(0.78);
}

.scene-scanlines {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(5, 8, 6, 0.55), transparent 46%, rgba(5, 8, 6, 0.05)),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.025) 0 1px, transparent 1px 4px);
  pointer-events: none;
}

.scene-label {
  position: absolute;
  z-index: 3;
  display: grid;
  gap: 2px;
  padding: 0.42rem 0.55rem;
  border-left: 2px solid var(--rust);
  color: rgba(230, 225, 210, 0.62);
  font-size: 0.48rem;
  letter-spacing: 0.12em;
  background: rgba(5, 8, 6, 0.7);
}

.scene-label strong {
  color: #ded9c9;
  font-size: 0.55rem;
}

.scene-label strong b,
.scene-label strong i {
  font-style: normal;
}

.scene-label-radio { top: 19%; left: 68%; }
.scene-label-infected { top: 61%; left: 52%; }
.scene-label-camp { top: 48%; right: 4%; }

.scene-caption {
  position: absolute;
  left: clamp(18px, 4vw, 64px);
  bottom: 68px;
  z-index: 3;
  display: grid;
  gap: 8px;
  max-width: 520px;
  padding-left: 14px;
  border-left: 4px solid var(--signal);
}

.scene-caption span {
  color: var(--signal);
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.18em;
}

.scene-caption strong {
  color: #ece6d5;
  font-family: "Archivo Black", sans-serif;
  font-size: clamp(1.4rem, 3vw, 2.5rem);
  line-height: 1.08;
  text-shadow: 3px 3px 0 rgba(0, 0, 0, 0.55);
}

.quick-slots {
  position: absolute;
  right: 18px;
  bottom: 16px;
  z-index: 3;
  display: flex;
  gap: 3px;
}

.quick-slots span {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 6px;
  min-width: 78px;
  padding: 0.48rem 0.55rem;
  border: 1px solid rgba(230, 225, 210, 0.16);
  color: rgba(230, 225, 210, 0.68);
  font-size: 0.48rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  background: rgba(5, 8, 6, 0.82);
}

.quick-slots b {
  color: var(--signal);
}

.quick-slots i {
  font-style: normal;
}

.news-section {
  margin-top: -24px;
}

.news-heading,
.news-list li {
  border-radius: 1px;
  background:
    repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.025) 0 6px, transparent 6px 12px),
    rgba(9, 13, 11, 0.82);
}

.news-heading {
  position: relative;
}

.news-heading::before {
  content: "BROADCAST";
  position: absolute;
  top: 12px;
  right: 14px;
  color: rgba(154, 190, 85, 0.42);
  font-family: "Courier New", monospace;
  font-size: 0.5rem;
  font-weight: 900;
  letter-spacing: 0.14em;
}

.news-list li {
  position: relative;
  border-color: rgba(220, 219, 194, 0.2);
}

.news-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 3px;
  height: 100%;
  background: rgba(154, 190, 85, 0.44);
}

.news-list li.is-latest::before {
  background: var(--rust);
}

.news-list button:focus-visible {
  outline: 2px solid var(--signal);
  outline-offset: 2px;
}

.hero-copy,
.survival-scene,
.news-heading,
.news-list li,
.server-map-card,
.activity-card,
.feature-card,
.pack-card,
.mod-card,
.rule-list li,
.join-card,
.connect-box {
  border-radius: 0;
  clip-path: polygon(
    0 0,
    calc(100% - var(--card-cut)) 0,
    100% var(--card-cut),
    100% 100%,
    var(--card-cut) 100%,
    0 calc(100% - var(--card-cut))
  );
}

.site-stats div,
.news-heading,
.news-list li,
.stat-row > div,
.server-map-card dl div,
.activity-chart,
.join-steps li,
.server-warning,
.quick-slots span,
.dock-server {
  border-radius: 0;
  clip-path: polygon(
    0 0,
    calc(100% - 10px) 0,
    100% 10px,
    100% 100%,
    10px 100%,
    0 calc(100% - 10px)
  );
}

.servers-section,
.feature-section,
.about-section,
.join-section {
  width: min(1280px, calc(100% - 28px));
}

.section-heading {
  padding-left: 1rem;
  border-left: 4px solid var(--rust);
}

.section-heading::after {
  content: "///// ///// /////";
  display: block;
  margin-top: 1rem;
  color: rgba(184, 88, 50, 0.58);
  font-weight: 700;
  letter-spacing: 0.3em;
}

#servers,
#features,
#about,
#mods,
#join {
  position: relative;
}

#servers::before,
#features::before,
#about::before,
#mods::before,
#join::before {
  position: absolute;
  top: 12px;
  right: 4px;
  z-index: 0;
  color: rgba(154, 190, 85, 0.12);
  font-family: "Courier New", monospace;
  font-size: clamp(4rem, 9vw, 8rem);
  font-weight: 900;
  line-height: 1;
  pointer-events: none;
}

#servers::before { content: "01"; }
#features::before { content: "02"; }
#about::before { content: "03"; }
#mods::before { content: "04"; }
#join::before { content: "05"; }

#servers > *,
#features > *,
#about > *,
#mods > *,
#join > * {
  position: relative;
  z-index: 1;
}

.server-grid {
  gap: 8px;
}

.live-grid {
  gap: 8px;
}

.server-map-card,
.activity-card,
.feature-card,
.about-layout .section-heading,
.pack-card,
.mod-card,
.join-card {
  border-color: rgba(220, 219, 194, 0.2);
  border-radius: 3px;
  background-color: rgba(9, 13, 11, 0.94);
}

.server-map-card {
  min-height: 550px;
  padding-top: 72px;
}

.server-map-card::after {
  content: attr(data-grid-ref) " // " attr(data-threat);
  position: absolute;
  right: 16px;
  top: 18px;
  z-index: 3;
  padding: 0.32rem 0.48rem;
  border: 1px solid rgba(184, 88, 50, 0.42);
  color: rgba(230, 225, 210, 0.64);
  font-size: 0.5rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  background: rgba(8, 12, 9, 0.78);
  transform: rotate(1deg);
}

.server-map-card > div:first-child::before {
  content: "AREA DOSSIER";
  position: absolute;
  top: 19px;
  left: 18px;
  color: var(--signal);
  font-size: 0.52rem;
  font-weight: 800;
  letter-spacing: 0.18em;
}

.server-map-card > div:first-child::after {
  content: "";
  position: absolute;
  top: 42px;
  left: 18px;
  width: 42%;
  height: 4px;
  background: repeating-linear-gradient(90deg, rgba(154, 190, 85, 0.52) 0 18px, transparent 18px 24px);
}

.server-map-card h3 {
  max-width: 90%;
  color: #ece6d5;
  text-shadow: 4px 4px 0 rgba(0, 0, 0, 0.48);
}

.server-map-card::before {
  opacity: 0.34;
}

.server-player-card:hover::after,
.server-player-card:focus-visible::after {
  content: "OPEN PLAYER LOG";
  color: var(--signal);
  border-color: rgba(154, 190, 85, 0.5);
}

.server-map-card p,
.activity-card p,
.about-layout .section-heading p:not(.eyebrow),
.pack-card p,
.mod-card p,
.feature-card p,
.rules-layout p,
.join-card p {
  color: #c8c4b4;
}

.arena-briefing {
  margin-top: 1rem;
  padding: 0.9rem 1rem;
  border: 1px solid rgba(184, 88, 50, 0.4);
  border-left: 4px solid var(--rust);
  background:
    repeating-linear-gradient(135deg, rgba(184, 88, 50, 0.05) 0 7px, transparent 7px 14px),
    rgba(7, 10, 8, 0.86);
  clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 10px 100%, 0 calc(100% - 10px));
}

.arena-briefing strong {
  display: block;
  margin-bottom: 0.55rem;
  color: var(--rust);
  font-family: "Archivo Black", sans-serif;
  font-size: 0.9rem;
  text-transform: uppercase;
}

.arena-briefing p {
  margin: 0;
  font-size: 0.76rem;
  line-height: 1.65;
}

.chernarus-server .chernarus-hover-brief {
  position: absolute;
  inset: 12px;
  z-index: 5;
  display: grid;
  align-content: start;
  gap: 0.8rem;
  max-height: calc(100% - 24px);
  overflow: auto;
  padding: 1rem;
  border: 1px solid rgba(154, 190, 85, 0.42);
  border-left: 4px solid var(--signal);
  color: #d8d4c4;
  background:
    linear-gradient(180deg, rgba(7, 10, 8, 0.96), rgba(7, 10, 8, 0.9)),
    repeating-linear-gradient(135deg, rgba(154, 190, 85, 0.06) 0 7px, transparent 7px 14px);
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.35), 0 18px 40px rgba(0, 0, 0, 0.35);
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity 180ms ease, transform 180ms ease;
  scrollbar-color: rgba(154, 190, 85, 0.55) rgba(7, 10, 8, 0.8);
  clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 14px, 100% 100%, 14px 100%, 0 calc(100% - 14px));
}

.chernarus-server:hover .chernarus-hover-brief,
.chernarus-server.brief-open .chernarus-hover-brief,
.chernarus-server:focus-visible .chernarus-hover-brief,
.chernarus-server:focus-within .chernarus-hover-brief {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.chernarus-server:hover::after,
.chernarus-server.brief-open::after,
.chernarus-server:focus-visible::after {
  content: "SERVER BRIEFING";
  z-index: 6;
}

.chernarus-hover-brief strong {
  color: var(--signal);
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.chernarus-hover-brief p {
  margin: 0;
  color: #d8d4c4;
  font-size: clamp(0.72rem, 0.92vw, 0.82rem);
  line-height: 1.56;
  white-space: pre-line;
}

.server-map-card dl {
  gap: 3px;
}

.server-map-card dl div,
.server-warning,
.rule-list li {
  border-radius: 1px;
  background: rgba(7, 10, 8, 0.82);
}

.server-map-card dl div {
  position: relative;
  overflow: hidden;
}

.server-map-card dl div::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 3px;
  height: 100%;
  background: rgba(154, 190, 85, 0.36);
}

.server-map-tag,
.pack-kicker {
  border-radius: 1px;
  color: var(--signal);
  background: rgba(8, 12, 9, 0.86);
}

.feature-grid,
.live-grid,
.mod-grid {
  gap: 4px;
}

.activity-card {
  position: relative;
  overflow: hidden;
  border-color: rgba(220, 219, 194, 0.2);
  background:
    repeating-linear-gradient(135deg, rgba(154, 190, 85, 0.035) 0 1px, transparent 1px 12px),
    rgba(8, 12, 9, 0.92);
}

.activity-card::before {
  content: "LIVE FEED";
  position: absolute;
  top: 16px;
  right: 16px;
  color: rgba(154, 190, 85, 0.45);
  font-family: "Courier New", monospace;
  font-size: 0.52rem;
  font-weight: 900;
  letter-spacing: 0.16em;
}

.activity-card-header > strong {
  text-shadow: 4px 4px 0 rgba(0, 0, 0, 0.45);
}

.activity-chart,
.join-steps li {
  border-radius: 1px;
  background: rgba(7, 10, 8, 0.82);
}

.activity-chart span {
  border-radius: 1px 1px 0 0;
  box-shadow: 0 0 18px rgba(154, 190, 85, 0.18);
}

.recent-activity-list li {
  border-color: rgba(154, 190, 85, 0.22);
}

.recent-activity-list li::before {
  content: ">";
  margin-right: 0.2rem;
  color: var(--signal);
  font-family: "Courier New", monospace;
  font-weight: 900;
}

.discord-status-list li {
  border-color: rgba(154, 190, 85, 0.42);
  background: rgba(7, 10, 8, 0.34);
}

.feature-card {
  min-height: 260px;
  position: relative;
  overflow: hidden;
  padding-top: 76px;
  border-top: 3px solid rgba(154, 190, 85, 0.44);
}

.mod-card {
  position: relative;
  overflow: hidden;
  padding-top: 64px;
}

.feature-card::before {
  content: attr(data-item);
  position: absolute;
  top: 18px;
  left: 20px;
  color: #ddd7c7;
  font-family: "Courier New", monospace;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.feature-card::after {
  content: attr(data-condition);
  position: absolute;
  top: 44px;
  left: 20px;
  right: 20px;
  width: auto;
  height: 4px;
  padding-top: 7px;
  border: 0;
  color: rgba(154, 190, 85, 0.68);
  font-size: 0.45rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  background: linear-gradient(90deg, var(--signal) 0 72%, rgba(230, 225, 210, 0.1) 72%);
  transform: none;
}

.feature-card:nth-child(2)::after { background: linear-gradient(90deg, var(--signal) 0 94%, rgba(230, 225, 210, 0.1) 94%); }
.feature-card:nth-child(3)::after { color: var(--rust); background: linear-gradient(90deg, var(--rust) 0 38%, rgba(230, 225, 210, 0.1) 38%); }

.mod-card::before {
  content: "INVENTORY // " attr(data-category);
  position: absolute;
  top: 18px;
  left: 20px;
  right: 20px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(154, 190, 85, 0.28);
  color: rgba(154, 190, 85, 0.75);
  font-family: "Courier New", monospace;
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.mod-card::after {
  content: "+";
  position: absolute;
  top: 13px;
  right: 18px;
  width: auto;
  height: auto;
  border: 0;
  color: rgba(230, 225, 210, 0.3);
  font-family: "Courier New", monospace;
  font-size: 1.3rem;
  transform: none;
}

.feature-card:nth-child(even) {
  transform: none;
}

.rules-band {
  border-block-color: rgba(184, 88, 50, 0.45);
  background:
    repeating-linear-gradient(135deg, rgba(184, 88, 50, 0.12) 0 12px, transparent 12px 24px),
    rgba(9, 13, 11, 0.78);
}

.rules-band::before {
  content: "WARNING // SERVER PROTOCOL";
  display: block;
  width: min(1280px, calc(100% - 28px));
  margin: 0 auto 1rem;
  color: rgba(230, 225, 210, 0.65);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.18em;
}

.rule-list {
  counter-reset: protocol;
}

.rule-list li {
  position: relative;
  padding-left: 64px;
  counter-increment: protocol;
}

.rule-list li::before {
  content: "!" counter(protocol, decimal-leading-zero);
  position: absolute;
  top: 50%;
  left: 18px;
  color: var(--rust);
  font-family: "Courier New", monospace;
  font-size: 0.7rem;
  font-weight: 900;
  transform: translateY(-50%);
}

.rule-list li::after {
  content: "";
  position: absolute;
  top: 10px;
  bottom: 10px;
  left: 48px;
  border-left: 1px solid rgba(184, 88, 50, 0.38);
}

.join-card {
  position: relative;
  padding-top: 96px;
}

.join-card::before {
  content: "RADIO TERMINAL // SELECT FREQUENCY";
  position: absolute;
  top: 28px;
  left: clamp(24px, 5vw, 72px);
  right: clamp(24px, 5vw, 72px);
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(154, 190, 85, 0.3);
  color: var(--signal);
  font-family: "Courier New", monospace;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.15em;
}

.connect-box {
  position: relative;
  border-left: 3px solid rgba(154, 190, 85, 0.42);
  background:
    repeating-linear-gradient(90deg, rgba(154, 190, 85, 0.035) 0 1px, transparent 1px 12px),
    rgba(6, 10, 7, 0.82);
}

.connect-box::before {
  content: "SIGNAL";
  position: absolute;
  top: 7px;
  right: 9px;
  color: rgba(154, 190, 85, 0.44);
  font-size: 0.43rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.pack-card::after {
  content: "CARRY WEIGHT // " attr(data-weight);
  display: block;
  margin-top: 1rem;
  padding-top: 0.7rem;
  border-top: 1px solid rgba(154, 190, 85, 0.25);
  color: rgba(154, 190, 85, 0.68);
  font-family: "Courier New", monospace;
  font-size: 0.55rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.server-action-panel,
.news-panel,
.player-directory-panel {
  border-radius: 3px;
  background: rgba(8, 12, 9, 0.98);
}

.server-launch-help {
  max-width: 520px;
  padding: 0.8rem 0.9rem;
  border-left: 3px solid var(--signal);
  color: #c8c4b4;
  font-size: 0.8rem;
  line-height: 1.55;
  background: rgba(154, 190, 85, 0.07);
}

.dialog-close {
  border-radius: 1px;
}

.site-footer {
  border-top: 1px solid rgba(154, 190, 85, 0.24);
}

.site-footer::before {
  content: "END OF TRANSMISSION";
  color: rgba(154, 190, 85, 0.58);
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.15em;
}

@media (max-width: 900px) {
  .site-header {
    border-radius: 3px;
  }

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

  .server-dock {
    top: 112px;
  }

  .hero-copy {
    margin-top: 1rem;
  }
}

@media (max-width: 620px) {
  .hero {
    padding-top: 50px;
  }

  .hero-copy {
    padding: 1.25rem;
  }

  .server-dock {
    position: relative;
    top: auto;
  }

  .dock-server {
    border-radius: 1px;
  }

  .server-map-card {
    padding-top: 28px;
  }

  .survival-scene {
    min-height: 440px;
    margin-bottom: 55px;
  }

  .survival-scene img {
    object-position: 65% center;
  }

  .scene-label {
    display: none;
  }

  .scene-caption {
    right: 18px;
    bottom: 78px;
  }

  .quick-slots {
    right: 8px;
    bottom: 8px;
    left: 8px;
    overflow: hidden;
  }

  .quick-slots span {
    min-width: 0;
    flex: 1;
    grid-template-columns: 1fr;
    gap: 2px;
    padding: 0.35rem;
    text-align: center;
  }

  .quick-slots span:nth-child(n + 4) {
    display: none;
  }

  .survival-hud,
  .survival-vitals,
  .hero-stamp,
  .server-map-card::after,
  .server-map-card > div:first-child::before,
  .server-map-card > div:first-child::after {
    display: none;
  }

  #servers::before,
  #features::before,
  #about::before,
  #mods::before,
  #join::before {
    display: none;
  }
}
