/* The look of the in-game menu - dark blue, amber - with the servers on the first screen, the way every
   large server project does it: rows to scan, the number of players up in the header. No frameworks, no web fonts. */
:root {
  --bg: #0b1015; --panel: #151d25; --panel2: #1a242e; --line: #26313c; --text: #f2f0e6; --muted: #a3afb9; --dim: #6b7883;
  --amber: #e2b04a; --amber2: #f1cf7a; --green: #5fe38a; --red: #ff6a5a; --r: 12px;
  --head: "Bahnschrift", "DIN Alternate", "Oswald", "Arial Narrow", "Segoe UI", sans-serif;
  --body: "Segoe UI", system-ui, -apple-system, "Roboto", "Helvetica Neue", sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; color: var(--text); font: 16px/1.5 var(--body); background-color: var(--bg);
  background-image:
    radial-gradient(ellipse 80% 50% at 50% -10%, #e2b04a1f 0%, transparent 60%),
    linear-gradient(#26313c30 1px, transparent 1px), linear-gradient(90deg, #26313c30 1px, transparent 1px);
  background-size: auto, 56px 56px, 56px 56px; background-attachment: fixed, scroll, scroll;
}
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 20px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* ---- header: the name, how many are playing, the languages ---- */
.top { position: sticky; top: 0; z-index: 10; background: #0b1015e6; backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.top .wrap { height: 64px; display: flex; align-items: center; gap: 18px; }
.brand { font: 700 28px/1 var(--head); letter-spacing: 2px; color: var(--text); text-decoration: none; }
.brand b { color: var(--amber); font-weight: 700; } .brand i { color: var(--dim); font-style: normal; }
.pulse { display: inline-flex; align-items: center; gap: 9px; padding: 7px 14px; border-radius: 999px; background: #5fe38a14; border: 1px solid #5fe38a40;
  font: 700 13px/1 var(--head); letter-spacing: 2px; text-transform: uppercase; color: var(--green); }
.pulse::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 0 #5fe38a99; animation: beat 2s infinite; }
@keyframes beat { 70% { box-shadow: 0 0 0 9px #5fe38a00; } 100% { box-shadow: 0 0 0 0 #5fe38a00; } }
.langs { margin-left: auto; display: flex; gap: 6px; }
.langs a { display: flex; align-items: center; gap: 7px; height: 32px; padding: 0 10px; border-radius: 8px; text-decoration: none;
  font: 700 12px/1 var(--head); letter-spacing: 2px; color: var(--muted); border: 1px solid transparent; }
.langs a:hover { background: var(--panel2); }
.langs a[aria-current] { border-color: #e2b04a80; background: #e2b04a14; color: var(--amber2); }

/* the social networks: in the header and in the footer */
.social { display: flex; gap: 6px; }
.social a { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 10px; color: var(--muted); background: var(--panel2); border: 1px solid var(--line); transition: color .12s, border-color .12s, transform .12s; }
.social a:hover { color: var(--amber2); border-color: #e2b04a80; transform: translateY(-1px); }
.social svg { width: 20px; height: 20px; }
.top .social { margin-left: auto; } .top .social + .langs { margin-left: 0; }
.langs img { width: 22px; height: 15px; display: block; border-radius: 2px; }

/* ---- the servers: a tile each, big art behind the words ---- */
.monitor { margin-top: 26px; }
.tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 16px; }
.empty { grid-column: 1 / -1; margin: 0; padding: 40px 20px; text-align: center; color: var(--muted); background: var(--panel); border: 1px solid var(--line); border-radius: 18px; }
.tile { position: relative; height: 400px; overflow: hidden; border-radius: 18px; border: 1px solid var(--line); isolation: isolate;
  background: radial-gradient(ellipse 90% 60% at 70% 45%, #e2b04a2e 0%, transparent 70%), linear-gradient(180deg, #1d2833, #121920);
  display: flex; flex-direction: column; justify-content: space-between; transition: transform .15s, border-color .15s, box-shadow .15s; }
.tile.on:hover { transform: translateY(-3px); border-color: #e2b04a99; box-shadow: 0 18px 50px #0009; }
/* (The whole model, fitted into the middle of the tile and let out a little over its right edge.) */
.tile .art { position: absolute; z-index: -2; left: 4%; top: 78px; width: 108%; height: calc(100% - 196px); object-fit: contain; object-position: right center;
  filter: drop-shadow(0 18px 24px #000b); transition: transform .25s; }
.tile.on:hover .art { transform: scale(1.05); }
.tile .shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, #0b1015cc 0%, #0b101500 34%, #0b101500 52%, #0b1015f2 86%); }
.tile.off { filter: grayscale(.85) brightness(.7); }
.tile .head { padding: 18px 20px 0; }
.tile h2 { margin: 0; padding: 0; border: 0; font: 700 22px/1.15 var(--head); letter-spacing: 1px; text-transform: uppercase; text-shadow: 0 2px 10px #000; display: block; }
.tile h2::after { content: none; }
.state { margin: 8px 0 0; display: flex; align-items: center; gap: 8px; font: 400 16px/1 var(--head); letter-spacing: 1px; color: var(--muted); text-shadow: 0 1px 6px #000; }
.state b { color: var(--text); font-size: 20px; }
.dot { width: 9px; height: 9px; border-radius: 50%; background: var(--red); box-shadow: 0 0 10px var(--red); flex: none; }
.tile.on .dot { background: var(--green); box-shadow: 0 0 10px var(--green); }
.tile .foot { padding: 0 20px 16px; display: grid; gap: 9px; }
.tile .map { margin: 0; font: 700 12px/1 var(--head); letter-spacing: 3px; text-transform: uppercase; color: var(--amber2); }
.bar { height: 4px; border-radius: 2px; background: #ffffff1a; overflow: hidden; }
.bar u { display: block; height: 100%; border-radius: 2px; background: linear-gradient(90deg, var(--amber), var(--amber2)); }
.btn { display: block; text-align: center; font: 700 15px/1 var(--head); letter-spacing: 3px; text-transform: uppercase; text-decoration: none; cursor: pointer;
  padding: 14px 20px; border-radius: 11px; color: #15130a; background: linear-gradient(180deg, var(--amber2), var(--amber)); }
.btn:hover { filter: brightness(1.08); }
.tile.off .btn { background: #ffffff14; color: var(--dim); pointer-events: none; }
.tile small { font: 400 12px/1 ui-monospace, Consolas, monospace; color: var(--dim); text-align: center; cursor: pointer; }
.tile small:hover { color: var(--amber2); }
.note { margin: 14px 4px 0; font-size: 14px; color: var(--dim); }

/* ---- the rest ---- */
section { margin-top: 40px; }
.monitor { margin-top: 26px; }
h2 { font: 700 24px/1.1 var(--head); letter-spacing: 3px; text-transform: uppercase; margin: 0 0 16px; }
h2::after { content: ""; display: block; width: 64px; height: 4px; margin-top: 10px; border-radius: 2px; background: var(--amber); }

.about { margin-top: 26px; }
.lead { font-size: 19px; color: var(--muted); max-width: 900px; margin: 0; }

.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 14px; counter-reset: s; }
.steps li { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; counter-increment: s; }
.steps .art { background: linear-gradient(#24303c, #18212a); aspect-ratio: 268 / 149; display: grid; place-items: center; }
.steps .art img { width: 86%; height: auto; }
.steps h3 { margin: 14px 16px 4px; font: 700 18px var(--head); letter-spacing: 1px; text-transform: uppercase; display: flex; align-items: center; gap: 10px; }
.steps h3::before { content: counter(s); width: 26px; height: 26px; border-radius: 7px; display: grid; place-items: center; background: var(--amber); color: #10161c; font-size: 16px; }
.steps p { margin: 0 16px 16px; color: var(--muted); font-size: 15px; }

.items { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; }
.item { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.item .art { aspect-ratio: 150 / 94; display: grid; place-items: center; background: linear-gradient(#463819, #211b10); }
.item.vehicle .art { background: linear-gradient(#472121, #211313); }
.item .art img { width: 88%; height: auto; }
.item h3 { margin: 11px 14px 2px; font: 700 16px var(--head); letter-spacing: 1px; text-transform: uppercase; }
.item p { margin: 0 14px 14px; color: var(--muted); font-size: 14px; }

/* questions and answers: click a question - it opens, one at a time. Plain <details>: no script, and the answers
   are in the page for search engines whether open or not. */
.faq { display: grid; gap: 10px; max-width: 900px; }
.faq details { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r); transition: border-color .12s; }
.faq details:hover, .faq details[open] { border-color: #e2b04a66; }
.faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 20px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 10px; height: 10px; margin-right: 4px; border-right: 2px solid var(--amber); border-bottom: 2px solid var(--amber);
  transform: rotate(45deg) translateY(-3px); transition: transform .15s; }
.faq details[open] summary::after { transform: rotate(-135deg) translateY(-3px); }
.faq h3 { margin: 0; font: 700 18px/1.3 var(--head); letter-spacing: .5px; color: var(--text); }
.faq details[open] h3 { color: var(--amber2); }
.faq p { margin: 0; padding: 0 20px 18px; color: var(--muted); font-size: 15.5px; }

main.wrap { padding-bottom: 64px; }
footer { border-top: 1px solid var(--line); background: #080c10; }
footer .wrap { min-height: 84px; display: flex; align-items: center; gap: 18px; flex-wrap: wrap; padding-top: 16px; padding-bottom: 16px; }
footer .brand { font-size: 22px; }
footer .social { margin-left: auto; } footer .social + .langs { margin-left: 0; }

@media (max-width: 560px) {
  .brand { font-size: 21px; } .top .wrap { gap: 10px; } .pulse { padding: 6px 10px; font-size: 11px; letter-spacing: 1px; }
  .langs a span { display: none; } .langs a { padding: 0 7px; } h2 { font-size: 20px; } .lead { font-size: 17px; }
  .tile { height: 340px; }
}
