/* Spastra – Webseite. Farben und Schriften wie im Spiel. */

@font-face {
  font-family: 'Comfortaa';
  src: url('/fonts/comfortaa-bold.woff') format('woff');
  font-weight: 700;
  font-display: swap;
}
@font-face {
  font-family: 'Open Sans';
  src: url('/fonts/opensans-regular.woff') format('woff');
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: 'Open Sans';
  src: url('/fonts/opensans-semibold.woff') format('woff');
  font-weight: 600;
  font-display: swap;
}
@font-face {
  font-family: 'Open Sans';
  src: url('/fonts/opensans-bold.woff') format('woff');
  font-weight: 700;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --bg: #0b1026;
  --bg-deep: #070a1a;
  --panel: #151c3d;
  --panel-2: #1c2550;
  --line: rgba(245, 240, 230, 0.12);
  --line-strong: rgba(245, 240, 230, 0.22);
  --text: #f5f0e6;
  --dim: #b8b6c8;
  --orange: #f08a3c;
  --orange-hi: #f6a263;
  --ink: #1d1206;
  --teal: #6cc3b8;
  --gold: #f2d27a;
  --rose: #ef8a8a;
  --violet: #9b86e6;
  --radius: 18px;
  --radius-s: 10px;
  --head: 'Comfortaa', 'Nunito', 'Varela Round', system-ui, sans-serif;
  --body: 'Open Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: ui-monospace, 'SFMono-Regular', 'DejaVu Sans Mono', Menlo, Consolas, monospace;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  background: var(--bg-deep);
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--text);
  background-color: var(--bg);
  /* Sterne: zwei Kacheln mit kleinen Punkten, darüber zwei weiche Nebel wie im Spielhimmel */
  background-image:
    radial-gradient(ellipse 60% 45% at 88% 4%, rgba(108, 195, 184, 0.13), transparent 70%),
    radial-gradient(ellipse 55% 50% at 6% 38%, rgba(155, 134, 230, 0.12), transparent 70%),
    radial-gradient(ellipse 50% 40% at 70% 92%, rgba(240, 138, 60, 0.07), transparent 70%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cg fill='%23f5f0e6'%3E%3Ccircle cx='12' cy='30' r='1'/%3E%3Ccircle cx='80' cy='12' r='.7' opacity='.7'/%3E%3Ccircle cx='150' cy='60' r='1.2' opacity='.9'/%3E%3Ccircle cx='210' cy='22' r='.6' opacity='.6'/%3E%3Ccircle cx='40' cy='120' r='.8' opacity='.7'/%3E%3Ccircle cx='190' cy='140' r='1' opacity='.8'/%3E%3Ccircle cx='110' cy='180' r='.6' opacity='.5'/%3E%3Ccircle cx='20' cy='210' r='1.1' opacity='.8'/%3E%3Ccircle cx='230' cy='220' r='.7' opacity='.6'/%3E%3Ccircle cx='130' cy='110' r='.5' opacity='.5'/%3E%3C/g%3E%3C/svg%3E"),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='370' height='370'%3E%3Cg fill='%23f2d27a'%3E%3Ccircle cx='60' cy='70' r='.9' opacity='.6'/%3E%3Ccircle cx='300' cy='40' r='1.3' opacity='.5'/%3E%3Ccircle cx='250' cy='280' r='.8' opacity='.6'/%3E%3Ccircle cx='120' cy='320' r='1' opacity='.4'/%3E%3C/g%3E%3Cg fill='%236cc3b8'%3E%3Ccircle cx='340' cy='190' r='.9' opacity='.6'/%3E%3Ccircle cx='170' cy='230' r='.7' opacity='.5'/%3E%3C/g%3E%3C/svg%3E");
  background-attachment: fixed, fixed, fixed, scroll, scroll;
}

img,
svg {
  max-width: 100%;
  height: auto;
}

a {
  color: var(--teal);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
a:hover {
  color: #8fd6cc;
}
:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
  border-radius: 6px;
}

h1,
h2,
h3 {
  font-family: var(--head);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.01em;
  margin: 0 0 0.6em;
}
h1 {
  font-size: clamp(2rem, 4.5vw, 2.9rem);
}
h2 {
  font-size: clamp(1.45rem, 3vw, 1.85rem);
}
h3 {
  font-size: 1.15rem;
}
p,
ul,
ol {
  margin: 0 0 1em;
}
strong {
  font-weight: 600;
}
code,
kbd,
pre {
  font-family: var(--mono);
  font-size: 0.9em;
}
code {
  background: rgba(245, 240, 230, 0.08);
  padding: 0.1em 0.35em;
  border-radius: 5px;
  overflow-wrap: anywhere;
}
kbd {
  display: inline-block;
  padding: 0 0.45em;
  border: 1px solid var(--line-strong);
  border-bottom-width: 3px;
  border-radius: 6px;
  background: var(--panel-2);
  font-size: 0.85em;
  line-height: 1.5;
}
pre {
  background: var(--bg-deep);
  border: 1px solid var(--line);
  border-radius: var(--radius-s);
  padding: 0.9rem 1rem;
  overflow-x: auto;
  line-height: 1.5;
}
pre code {
  background: none;
  padding: 0;
  overflow-wrap: normal;
}

.muted {
  color: var(--dim);
}
.muted code {
  color: var(--text);
}

.wrap {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 clamp(16px, 4vw, 32px);
}
.page {
  padding-top: clamp(28px, 5vw, 56px);
  padding-bottom: 64px;
  flex: 1;
}
.home {
  flex: 1;
}

.skip {
  position: absolute;
  left: -999px;
  top: 8px;
  background: var(--gold);
  color: var(--ink);
  padding: 8px 14px;
  border-radius: 8px;
  z-index: 10;
}
.skip:focus {
  left: 12px;
}

/* --- Kopf ------------------------------------------------------------------ */

.site-head {
  border-bottom: 1px solid var(--line);
  background: rgba(7, 10, 26, 0.72);
  backdrop-filter: blur(8px);
  position: sticky;
  top: 0;
  z-index: 5;
}
.head-row {
  display: flex;
  align-items: center;
  gap: 16px 28px;
  min-height: 64px;
  flex-wrap: wrap;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  text-decoration: none;
  font-family: var(--head);
  font-weight: 700;
  font-size: 1.15rem;
  white-space: nowrap;
}
.brand img {
  width: 36px;
  height: 36px;
  border-radius: 9px;
}
.nav {
  display: flex;
  gap: 4px;
  margin-left: auto;
  flex-wrap: wrap;
}
.nav a {
  color: var(--dim);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 7px 12px;
  border-radius: 999px;
}
.nav a:hover {
  color: var(--text);
  background: rgba(245, 240, 230, 0.07);
}
.nav a[aria-current='page'] {
  color: var(--text);
  background: rgba(240, 138, 60, 0.16);
  box-shadow: inset 0 0 0 1px rgba(240, 138, 60, 0.45);
}

/* --- Knöpfe, Chips --------------------------------------------------------- */

.btn {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1px;
  padding: 12px 22px;
  border-radius: 14px;
  font-weight: 700;
  font-size: 1.05rem;
  line-height: 1.25;
  text-decoration: none;
  border: 0;
  cursor: pointer;
}
.btn small {
  font-weight: 600;
  font-size: 0.8rem;
  opacity: 0.8;
}
.btn-primary {
  background: var(--orange);
  color: var(--ink);
  box-shadow: 0 6px 0 #b35f22, 0 12px 28px rgba(240, 138, 60, 0.28);
  transform: translateY(0);
  transition: transform 0.12s, box-shadow 0.12s, background 0.12s;
}
.btn-primary:hover {
  background: var(--orange-hi);
  color: var(--ink);
}
.btn-primary:active {
  transform: translateY(4px);
  box-shadow: 0 2px 0 #b35f22, 0 6px 16px rgba(240, 138, 60, 0.22);
}
.btn-ghost {
  justify-content: center;
  color: var(--text);
  background: rgba(245, 240, 230, 0.06);
  box-shadow: inset 0 0 0 2px var(--line-strong);
}
.btn-ghost:hover {
  color: var(--text);
  box-shadow: inset 0 0 0 2px var(--teal);
}

.chip {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  line-height: 1.4;
  padding: 2px 10px;
  border-radius: 999px;
  background: rgba(245, 240, 230, 0.08);
  color: var(--text);
  white-space: nowrap;
}
.chip-teal {
  background: rgba(108, 195, 184, 0.16);
  color: var(--teal);
}
.chip-orange {
  background: rgba(240, 138, 60, 0.16);
  color: var(--orange-hi);
}
.chip-rose {
  background: rgba(239, 138, 138, 0.16);
  color: var(--rose);
}
.chip-violet {
  background: rgba(155, 134, 230, 0.18);
  color: #c3b5f5;
}

/* --- Start ----------------------------------------------------------------- */

/* Titel: Key Art randlos im Hintergrund, links abgedunkelt für den Text, unten in den Seitenhimmel verlaufend */
.hero {
  position: relative;
  isolation: isolate;
  min-height: clamp(560px, 78vh, 780px);
  display: flex;
  align-items: center;
  padding: 48px 0 72px;
  overflow: hidden;
}
.hero-art {
  position: absolute;
  inset: 0;
  z-index: -1;
}
.hero-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 70% center;
}
.hero-art::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(7, 10, 26, 0.94) 0%, rgba(7, 10, 26, 0.82) 30%, rgba(7, 10, 26, 0.35) 55%, rgba(7, 10, 26, 0) 72%),
    linear-gradient(180deg, rgba(11, 16, 38, 0) 70%, var(--bg) 100%);
}
.art-note {
  position: absolute;
  right: 14px;
  bottom: 14px;
  z-index: 1;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text);
  background: rgba(7, 10, 26, 0.6);
  padding: 3px 10px;
  border-radius: 999px;
}
.hero-row {
  display: block;
}
.hero-text {
  max-width: 540px;
}
.hero h1.logo {
  margin: 0 0 18px -6px;
  line-height: 0;
}
.hero h1.logo img {
  width: min(500px, 100%);
  height: auto;
  filter: drop-shadow(0 10px 24px rgba(0, 0, 0, 0.55));
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.pitch {
  font-family: var(--head);
  font-weight: 700;
  font-size: clamp(1.15rem, 2.2vw, 1.35rem);
  line-height: 1.4;
  color: var(--gold);
  margin-bottom: 0.8em;
}
.pitch em {
  font-style: normal;
  color: var(--text);
}
.lead {
  font-size: 1.1rem;
  color: var(--text);
  max-width: 62ch;
}
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: stretch;
  margin: 28px 0 12px;
}
.live {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--dim);
  font-weight: 600;
  font-size: 0.95rem;
  margin: 14px 0 0;
}
.live::before {
  content: '';
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 0 4px rgba(108, 195, 184, 0.2);
}
.live a {
  color: var(--text);
}

.vision {
  margin: 28px 0 0;
}
.vision img {
  display: block;
  width: 100%;
  border-radius: var(--radius);
  box-shadow: 0 0 0 1px var(--line-strong), 0 20px 50px rgba(0, 0, 0, 0.45);
}
.vision figcaption {
  margin-top: 10px;
  color: var(--dim);
  font-size: 0.95rem;
}
.vision figcaption strong {
  color: var(--gold);
}

.block {
  margin-top: clamp(40px, 7vw, 76px);
}
.page > .block:first-child,
.page > h1 + .block {
  margin-top: 32px;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px 18px;
}
.shot {
  margin: 0;
}
.shot a {
  display: block;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 0 0 1px var(--line), 0 10px 24px rgba(0, 0, 0, 0.35);
}
.shot img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  transition: transform 0.25s;
}
.shot a:hover img {
  transform: scale(1.04);
}
.shot figcaption {
  font-size: 0.9rem;
  line-height: 1.45;
  color: var(--dim);
  margin-top: 8px;
}

.pillars {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px 48px;
}
.pillar {
  border-left: 3px solid var(--orange);
  padding-left: 20px;
}
.pillar:nth-child(2) {
  border-color: var(--teal);
}
.pillar:nth-child(3) {
  border-color: var(--violet);
}
.pillar:nth-child(4) {
  border-color: var(--gold);
}
.pillar p {
  color: var(--dim);
  margin: 0;
  max-width: 60ch;
}

.steps {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  counter-reset: step;
}
.steps li {
  counter-increment: step;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 22px 18px;
  position: relative;
}
.steps li::before {
  content: counter(step);
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  margin-bottom: 12px;
  border-radius: 12px;
  background: var(--orange);
  color: var(--ink);
  font-family: var(--head);
  font-weight: 700;
  font-size: 1.15rem;
}
.steps p {
  margin: 0;
  color: var(--dim);
}
.steps strong {
  color: var(--text);
}
.note {
  margin-top: 24px;
  padding: 22px 24px 8px;
  border-radius: var(--radius);
  background: rgba(108, 195, 184, 0.07);
  border: 1px solid rgba(108, 195, 184, 0.25);
}
.note p {
  max-width: 75ch;
}

/* --- Download -------------------------------------------------------------- */

.platforms {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  margin: 28px 0 12px;
}
.platform {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px 24px 12px;
  min-width: 0;
}
.platform h3 {
  font-size: 1.5rem;
  margin-bottom: 0.1em;
}
.platform .btn {
  margin: 8px 0 22px;
}
.platform ol {
  padding-left: 1.3em;
  color: var(--dim);
}
.platform ol strong,
.platform ol code {
  color: var(--text);
}
.platform li {
  margin-bottom: 0.5em;
}
.platform pre {
  margin: 8px 0 4px;
}
.hash {
  border-top: 1px solid var(--line);
  padding: 12px 0 4px;
  margin-top: 8px;
}
.hash summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--dim);
}
.hash .sum {
  display: block;
  word-break: break-all;
  font-size: 0.82rem;
  padding: 8px 10px;
  margin-top: 10px;
}
.facts {
  padding-left: 1.2em;
}
.facts li {
  margin-bottom: 0.45em;
}
.older {
  padding-left: 1.2em;
}

/* --- Neuigkeiten ----------------------------------------------------------- */

.prose {
  max-width: 74ch;
}
.prose ul,
.prose ol {
  padding-left: 1.25em;
}
.prose li {
  margin-bottom: 0.5em;
}
.prose li::marker {
  color: var(--orange);
}
.release {
  max-width: 880px;
  margin-top: 40px;
  padding: 26px clamp(18px, 3vw, 32px) 10px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.release.latest {
  border-color: rgba(108, 195, 184, 0.45);
  box-shadow: 0 0 60px rgba(108, 195, 184, 0.08);
}
.release header {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 4px 16px;
  margin-bottom: 8px;
}
.release header h2 {
  margin: 0;
}
.release .date {
  margin: 0;
  color: var(--dim);
  font-weight: 600;
}
.release h3 {
  color: var(--gold);
  font-size: 1.05rem;
  margin-top: 1.2em;
}

/* --- Fortschritt ----------------------------------------------------------- */

.slots {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  gap: 12px;
}
/* wie ein Inventarplatz im Spiel: Bezeichnung oben, Stapelzahl unten rechts */
.slot {
  position: relative;
  aspect-ratio: 1;
  border-radius: 14px;
  background: linear-gradient(160deg, #202a58, #141a38);
  box-shadow: inset 0 0 0 2px rgba(245, 240, 230, 0.1), inset 0 -10px 20px rgba(0, 0, 0, 0.25);
  padding: 12px 12px 8px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.slot-label {
  font-weight: 600;
  font-size: 0.92rem;
  line-height: 1.3;
  color: var(--dim);
}
.slot-count {
  align-self: flex-end;
  font-family: var(--head);
  font-weight: 700;
  font-size: clamp(1.5rem, 3.4vw, 2rem);
  line-height: 1;
  color: var(--text);
  text-shadow: 0 2px 0 rgba(0, 0, 0, 0.6);
  font-variant-numeric: tabular-nums;
}
.slot:nth-child(5n + 1) .slot-count {
  color: var(--orange-hi);
}
.slot:nth-child(5n + 3) .slot-count {
  color: var(--teal);
}

.tiers {
  list-style: none;
  padding: 0;
  margin: 20px 0 0;
  display: grid;
  gap: 10px;
}
.tier {
  display: grid;
  grid-template-columns: 44px minmax(0, 1.4fr) minmax(0, 1fr) 76px;
  gap: 16px;
  align-items: center;
  padding: 12px 16px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 14px;
}
.tier-no {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--panel-2);
  font-family: var(--head);
  font-weight: 700;
  color: var(--gold);
}
.tier-main h3 {
  margin: 0;
  font-size: 1.05rem;
}
.tier-main p {
  margin: 2px 0 0;
  color: var(--dim);
  font-size: 0.93rem;
}
.tier-bar {
  width: 100%;
  height: 10px;
  display: block;
}
.tier-bar .track {
  fill: rgba(245, 240, 230, 0.08);
}
.tier-bar .fill {
  fill: var(--orange);
}
.tier:last-child .tier-bar .fill {
  fill: var(--teal);
}
.tier-value {
  text-align: right;
  font-weight: 600;
  color: var(--dim);
  font-size: 0.92rem;
  font-variant-numeric: tabular-nums;
}

.belt {
  display: block;
  width: 100%;
  margin: 22px 0 8px;
}
.belt rect.z1 {
  fill: #f2d27a;
}
.belt rect.z2 {
  fill: #f08a3c;
}
.belt rect.z3 {
  fill: #6cc3b8;
}
.belt rect.z4 {
  fill: #9b86e6;
}
.belt text {
  fill: var(--dim);
  font-family: var(--body);
  font-size: 15px;
  font-weight: 600;
}
.zones {
  list-style: none;
  padding: 0;
  margin: 12px 0 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
.zone {
  border-top: 4px solid var(--gold);
  padding-top: 12px;
}
.zone-2 {
  border-color: var(--orange);
}
.zone-3 {
  border-color: var(--teal);
}
.zone-4 {
  border-color: var(--violet);
}
.zone h3 {
  margin-bottom: 0.1em;
}
.zone p {
  margin: 0 0 0.35em;
  font-size: 0.95rem;
}
.zone-range {
  font-weight: 600;
  color: var(--gold);
}

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius-s);
  margin-bottom: 1em;
}
table {
  border-collapse: collapse;
  width: 100%;
  min-width: 560px;
  font-size: 0.97rem;
}
th,
td {
  text-align: left;
  padding: 10px 14px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
thead th {
  background: var(--panel-2);
  font-weight: 600;
  color: var(--dim);
}
tbody tr:last-child > * {
  border-bottom: 0;
}
tbody th {
  font-weight: 600;
}

.roadmap {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 28px;
  align-items: start;
}
.road-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--line);
}
.road-head.done {
  border-color: var(--teal);
}
.road-head.doing {
  border-color: var(--orange);
}
.road-planned h3:not(.road-head) {
  font-size: 1rem;
  color: var(--gold);
  margin: 18px 0 8px;
}
.check {
  list-style: none;
  padding: 0;
  margin: 12px 0 0;
}
.check li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 0.7em;
  font-size: 0.95rem;
  line-height: 1.5;
}
.check li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 2px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  box-sizing: border-box;
}
.check li.done::before {
  content: '✓';
  background: var(--teal);
  color: var(--ink);
  font-size: 12px;
  font-weight: 700;
  line-height: 18px;
  text-align: center;
}
.check li.doing::before {
  border: 2px solid var(--orange);
  background: linear-gradient(90deg, var(--orange) 50%, transparent 50%);
}
.check li.todo::before {
  border: 2px solid rgba(245, 240, 230, 0.35);
}
.check li.todo {
  color: var(--dim);
}
.stand {
  margin-top: 48px;
  color: var(--dim);
  font-size: 0.95rem;
}

/* --- Offene Spiele --------------------------------------------------------- */

.servers {
  margin: 28px 0 8px;
}
#servers-status {
  font-weight: 600;
}
.server-list {
  list-style: none;
  padding: 0;
  margin: 12px 0 0;
  display: grid;
  gap: 14px;
}
.server {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px 24px;
  align-items: center;
  padding: 18px 22px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.server.other-version {
  opacity: 0.8;
}
.server h3 {
  margin: 0 0 2px;
  font-size: 1.25rem;
  overflow-wrap: anywhere;
}
.server .world {
  margin: 0 0 10px;
  color: var(--dim);
  overflow-wrap: anywhere;
}
.server .tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.server .side {
  display: grid;
  justify-items: end;
  gap: 8px;
  text-align: right;
}
.players {
  font-family: var(--head);
  font-weight: 700;
  font-size: 1.3rem;
}
.players small {
  font-family: var(--body);
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--dim);
}
.addr {
  display: flex;
  align-items: center;
  gap: 8px;
}
.addr code {
  font-size: 0.95rem;
  padding: 6px 10px;
  background: var(--bg-deep);
  border: 1px solid var(--line);
}
.copy {
  font: inherit;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text);
  background: var(--panel-2);
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  padding: 6px 12px;
  cursor: pointer;
}
.copy:hover {
  border-color: var(--teal);
}
.copy.done {
  color: var(--ink);
  background: var(--teal);
  border-color: var(--teal);
}
.since {
  font-size: 0.85rem;
  color: var(--dim);
}
.empty {
  padding: 30px clamp(18px, 3vw, 32px);
  border: 2px dashed var(--line-strong);
  border-radius: var(--radius);
  text-align: left;
}
.empty h2 {
  font-size: 1.35rem;
}
.empty p {
  color: var(--dim);
  max-width: 64ch;
}
.empty p:last-child {
  margin-bottom: 0;
}
.two {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 40px;
}
.plain {
  padding-left: 1.2em;
}
.plain li {
  margin-bottom: 0.5em;
}

/* --- Rechtliches ----------------------------------------------------------- */

.legal h2 {
  margin-top: 1.6em;
  font-size: 1.35rem;
}
.remark {
  font-size: 1.1rem;
  padding: 16px 20px;
  border-radius: var(--radius-s);
  background: rgba(108, 195, 184, 0.08);
  border-left: 3px solid var(--teal);
}
.legal .address {
  margin-bottom: 0.3em;
}

/* --- Fuß ------------------------------------------------------------------- */

.site-foot {
  border-top: 1px solid var(--line);
  background: rgba(7, 10, 26, 0.6);
  padding: 22px 0;
  font-size: 0.92rem;
  color: var(--dim);
}
.foot-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  align-items: center;
  justify-content: space-between;
}
.foot-row p {
  margin: 0;
}
.foot-row nav {
  display: flex;
  gap: 18px;
}
.foot-row a {
  color: var(--text);
}

/* --- schmal ---------------------------------------------------------------- */

@media (max-width: 1000px) {
  .gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .roadmap {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }
  .road-planned {
    grid-column: 1 / -1;
  }
  .zones {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 860px) {
  .hero-row,
  .platforms,
  .two {
    grid-template-columns: minmax(0, 1fr);
  }
  .hero {
    display: block;
    min-height: 0;
    padding: 0 0 32px;
  }
  .hero-art {
    position: relative;
    aspect-ratio: 16 / 10;
  }
  .hero-art::after {
    background: linear-gradient(180deg, rgba(11, 16, 38, 0) 55%, var(--bg) 100%);
  }
  .art-note {
    top: 12px;
    bottom: auto;
  }
  .hero-text {
    margin-top: -64px;
    position: relative;
  }
  .steps {
    grid-template-columns: minmax(0, 1fr);
  }
  .pillars {
    grid-template-columns: minmax(0, 1fr);
  }
  .tier {
    grid-template-columns: 40px minmax(0, 1fr) 64px;
  }
  .tier-bar {
    grid-column: 2 / -1;
    grid-row: 2;
  }
}

@media (max-width: 640px) {
  body {
    font-size: 1rem;
  }
  .head-row {
    padding-top: 10px;
    padding-bottom: 8px;
    gap: 6px;
  }
  .nav {
    margin-left: -10px;
    width: calc(100% + 10px);
    gap: 2px;
  }
  .nav a {
    white-space: nowrap;
    padding: 5px 10px;
  }
  .site-head {
    position: static;
  }
  /* Bilder als wischbare Reihe statt einer langen Spalte */
  .gallery {
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: 84%;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 8px;
    margin-right: calc(-1 * clamp(16px, 4vw, 32px));
    padding-right: clamp(16px, 4vw, 32px);
  }
  .shot {
    scroll-snap-align: start;
  }
  .roadmap,
  .zones {
    grid-template-columns: minmax(0, 1fr);
  }
  .server {
    grid-template-columns: minmax(0, 1fr);
  }
  .server .side {
    justify-items: start;
    text-align: left;
  }
  .btn {
    width: 100%;
  }
  .actions .btn-ghost {
    align-items: center;
  }
}

/* Inventarplätze: 8 × 2 breit, 4 × 4 mittel, 2 × 8 schmal (dann quer) */
@media (max-width: 1000px) {
  .slots {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  .slot {
    aspect-ratio: 5 / 3;
  }
}
@media (max-width: 640px) {
  .slots {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }
  .slot {
    aspect-ratio: auto;
    min-height: 78px;
    padding: 10px 12px 8px;
  }
  .slot-count {
    font-size: 1.55rem;
  }
  .belt text {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition: none !important;
    animation: none !important;
  }
}
