:root {
  --bg: #000;
  --bg-head: #15161a;
  --bg-panel: #0a0b0d;
  --border: #2e3138;
  --text: #686a6e;
  --muted: #8a8d94;
  --bright: #c8c9cc;
  --white: #fff;
  --blue: #2e5aac;
  --red: #c43838;
  --accent: #e8c547;
  --green: #3d9e5a;
  --font: "Roboto Condensed", Roboto, sans-serif;
  --max: 1120px;
  --nav-h: 88px;
}

* { box-sizing: border-box; }

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

html[lang="cs"] [data-l="en"],
html:not([lang="cs"]) [data-l="cs"] { display: none !important; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 18px;
  line-height: 1.45;
  min-height: 100vh;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--accent); text-decoration: none; }
a:hover { filter: brightness(1.12); }

.wrap {
  width: min(100% - 32px, var(--max));
  margin-inline: auto;
}

.kicker {
  margin: 0 0 8px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1, h2, h3 { color: var(--white); font-weight: 700; letter-spacing: 0.02em; }
h1 { margin: 0 0 12px; font-size: clamp(32px, 5vw, 52px); line-height: 1.05; text-transform: uppercase; }
h2 { margin: 0 0 16px; font-size: clamp(24px, 3vw, 34px); text-transform: uppercase; }
h3 { margin: 0 0 8px; font-size: 20px; }

p { margin: 0 0 14px; }
.lead { color: var(--bright); font-size: 20px; max-width: 46ch; }

/* Nav */

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--nav-h);
  background: rgba(0, 0, 0, 0.92);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(8px);
}

.nav-inner {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-tools {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: 8px;
  flex: 0 0 auto;
}

.nav-links {
  display: flex;
  flex-direction: row;
  align-items: center;
  flex-wrap: nowrap;
  margin: 0 0 0 auto;
  padding: 0;
  list-style: none;
}

.lang-switch {
  display: flex;
  border: 1px solid var(--border);
}

.lang-switch button {
  min-width: 40px;
  min-height: 36px;
  padding: 0 8px;
  border: 0;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.08em;
  cursor: pointer;
}

.lang-switch button[aria-pressed="true"] {
  color: #111;
  background: var(--accent);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
  color: var(--white);
}
.brand img { height: 72px; width: auto; }
.brand-name {
  font-weight: 700;
  font-size: 30px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.nav-links li { display: flex; align-items: center; }

.nav-links a {
  color: var(--muted);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 8px 10px;
}

.nav-links a:hover,
.nav-links a.is-active { color: var(--white); }

.nav-links li { display: flex; align-items: center; }

.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--border);
  color: var(--white);
  width: 44px;
  height: 44px;
  cursor: pointer;
  font-size: 20px;
  line-height: 1;
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 16px;
  border: 1px solid var(--border);
  font: inherit;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--white);
  background: var(--bg-head);
  cursor: pointer;
}

.btn:hover { filter: brightness(1.08); }

.btn-accent {
  background: var(--accent);
  border-color: var(--accent);
  color: #111;
}

.btn-ghost { background: transparent; color: var(--accent); border-color: var(--accent); }

.btn-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }

/* Icon links (map header style) */

.ico-link {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  min-width: 64px;
}

.ico-swap {
  position: relative;
  width: 38px;
  height: 38px;
}

.ico-swap img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.ico-swap .on { display: none; }
.ico-link:hover { color: var(--white); }
.ico-link:hover .off { display: none; }
.ico-link:hover .on { display: block; }

/* Hero */

.hero {
  position: relative;
  min-height: min(78vh, 760px);
  padding: 0;
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: #000 url("../img/hero-jets.jpg") right center / cover no-repeat;
}

.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    #000 0%,
    #000 34%,
    rgba(0, 0, 0, 0.72) 48%,
    rgba(0, 0, 0, 0.22) 64%,
    rgba(0, 0, 0, 0.08) 100%
  );
}

.hero-inner {
  position: relative;
  z-index: 1;
  min-height: min(78vh, 760px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 48px 0 40px;
  max-width: 34rem;
}

.hero-mark { height: 72px; width: auto; margin-bottom: 18px; }

.hero-cta { width: fit-content; max-width: 100%; }
.ffw { width: 100%; height: auto; margin: 22px 0 0; opacity: 0.92; display: block; }

.page-head {
  padding: 28px 0 8px;
}

.maps-intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(200px, 320px);
  gap: 20px 40px;
  align-items: center;
  padding: 28px 0 12px;
}

.maps-intro-copy .status-row { margin-bottom: 0; }

.maps-intro-label {
  width: 100%;
  max-width: 320px;
  margin-left: auto;
  justify-self: end;
}

.section-ground {
  position: relative;
  isolation: isolate;
}

.section-ground::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background: #000 url("../img/campaign-ground.jpg") center 42% / cover no-repeat;
  opacity: 0.32;
}

.section-ground::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, #000 0%, rgba(0, 0, 0, 0.62) 40%, #000 100%);
}

.status-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 16px;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--border);
  background: #000;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 6px 10px;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--text);
}
.dot.live { background: var(--green); }
.dot.off { background: var(--red); }

/* Panels / cards */

.section { padding: 56px 0; border-bottom: 1px solid var(--border); }

.panel {
  border: 1px solid var(--border);
  background: #000;
}

.panel-h {
  background: var(--bg-head);
  border-bottom: 1px solid var(--border);
  padding: 8px 12px;
  text-align: center;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text);
}

.panel-b { padding: 16px; }

.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

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

.server-card { border-top: 3px solid var(--border); }

.server-meta {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 10px;
}

.feat {
  border: 1px solid var(--border);
  padding: 14px 14px 12px;
  background: var(--bg-panel);
}

.feat h3 { font-size: 16px; letter-spacing: 0.08em; text-transform: uppercase; }
.feat p { margin: 0; font-size: 16px; }

.steps { counter-reset: step; display: grid; gap: 12px; }
.step {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 14px;
  border: 1px solid var(--border);
  padding: 14px 16px;
  background: #000;
}
.step::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  color: var(--accent);
  font-weight: 700;
  font-size: 22px;
  line-height: 1.2;
}
.step h3 { margin: 0 0 4px; }
.step p { margin: 0; }

.resources {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 22px;
  padding: 8px 0 0;
}

.map-frame-page { padding: 16px 0 32px; }

.map-tabs {
  display: flex;
  gap: 4px;
  margin-bottom: 8px;
}

.map-tabs .btn[aria-selected="true"] {
  background: var(--accent);
  border-color: var(--accent);
  color: #111;
}

.map-stage {
  border: 1px solid var(--border);
  background: #000;
  min-height: 70vh;
}

.map-stage iframe {
  display: block;
  width: 100%;
  height: 78vh;
  min-height: 640px;
  border: 0;
  background: #000;
}

.map-stage iframe.is-hidden { display: none; }

.acmi-list {
  height: 78vh;
  min-height: 640px;
  overflow: auto;
}

.acmi-list table {
  width: 100%;
  border-collapse: collapse;
}

.acmi-list th {
  position: sticky;
  top: 0;
  z-index: 1;
  background: #15161a;
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-align: left;
  padding: 12px 14px;
  border-bottom: 1px solid var(--border);
}

.acmi-list td {
  padding: 8px 14px;
  border-bottom: 1px solid var(--border);
  color: var(--white);
  font-size: 16px;
}

.acmi-list tr:hover td { background: #121318; }

.acmi-list a { color: var(--white); }

.acmi-list .acmi-when,
.acmi-list .acmi-size {
  white-space: nowrap;
  color: var(--muted);
  width: 1%;
}

.acmi-list .acmi-size { text-align: right; }

.acmi-msg {
  margin: 0;
  padding: 24px 16px;
  color: var(--muted);
}

.note {
  color: var(--muted);
  font-size: 14px;
  margin: 8px 0 0;
}

.footer {
  padding: 28px 0 40px;
  color: var(--text);
  font-size: 14px;
}

.footer-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.footer a { color: var(--muted); }
.footer a:hover { color: var(--white); }

/* Map offline page */

.offline {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 32px 16px;
  text-align: center;
}

.offline .panel { max-width: 520px; width: 100%; }

.is-hidden { display: none !important; }

@media (max-width: 960px) {
  .nav-links { display: none; }
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; }

  .nav-links {
    position: absolute;
    top: var(--nav-h);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    background: #000;
    border-bottom: 1px solid var(--border);
    padding: 8px 16px 16px;
    z-index: 40;
  }

  .nav-links a {
    padding: 12px 10px;
    font-size: 16px;
  }

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

@media (max-width: 860px) {
  .hero {
    min-height: min(92dvh, 720px);
  }
  .hero-inner {
    min-height: min(92dvh, 720px);
    padding: 32px 0 28px;
    max-width: none;
  }
  .hero-bg::after {
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.55) 0%, rgba(0, 0, 0, 0.92) 58%, #000 100%);
  }
  .maps-intro { grid-template-columns: 1fr; }
  .maps-intro-label { margin: 0 auto; justify-self: center; }
  .grid-2,
  .grid-3 { grid-template-columns: 1fr; }
  .map-tabs { flex-wrap: wrap; }
  .map-stage iframe { min-height: 62dvh; height: 62dvh; }
  .section { padding: 40px 0; }
  .lead { font-size: 18px; }
}

@media (max-width: 480px) {
  .brand-name { display: none; }
  .wrap { width: min(100% - 24px, var(--max)); }
  h1 { font-size: 1.7rem; }
  .btn-row .btn { flex: 1 1 100%; }
}
