/* =====================================================================
   PVPMC – design
   Sort, blodrød og sølv som i logoet, i en blød, moderne stil: dyb mørk
   baggrund, afrundede glas-kort med tynde lyse kanter, bløde røde gløder
   og pille-formede knapper. Én fil til alle sider.
   ===================================================================== */
:root {
  --bg: #0c0a0e;
  --bg-2: #100d12;
  --panel: #16131a;
  --panel-solid: #18141c;
  --panel-2: #1f1a24;
  --panel-3: #28222e;
  --line: rgba(255, 255, 255, 0.075);
  --line-2: rgba(255, 255, 255, 0.14);
  --line-red: rgba(239, 47, 63, 0.35);
  --text: #f4f5f8;
  --muted: #aab0bb;
  --faint: #7d8392;
  --red: #c41a2b;        /* logoets røde, en anelse blødere */
  --red-hot: #ef2f3f;    /* hover og lys kant */
  --red-text: #ff5a66;   /* rød tekst på mørk bund (læsbar) */
  --red-ink: #2a0409;
  --red-glow: rgba(239, 47, 63, 0.35);
  --red-dim: rgba(239, 47, 63, 0.12);
  --grad-red: linear-gradient(135deg, #ff4453, #b81828);
  --silver: #d6d9df;
  --silver-2: #9ea3ad;
  --steel: #5d6372;
  --online: #4ade80;
  --gold: #f2c744;
  --mc-white: #ffffff;
  --mc-gray: #aaaaaa;
  --mc-outline: #9a9a9a;
  --mc-shadow: #3f3f3f;
  --mc-shadow-dim: #2a2a2a;
  --mc-panel: rgba(0, 0, 0, 0.6);
  --nametag: rgba(0, 0, 0, 0.6);
  --block-gold: #f2c744;
  --block-gold-ink: #3a2900;
  --block-iron: #d9dde3;
  --block-iron-ink: #252a33;
  --block-copper: #d8784a;
  --block-copper-ink: #3a1606;
  --block-tex: rgba(0, 0, 0, 0.07);
  --bevel-light: rgba(255, 255, 255, 0.2);
  --bevel-dark: rgba(0, 0, 0, 0.3);
  --scrim: rgba(3, 3, 6, 0.7);
  --map-ocean: #16243d;
  --font-display: "Manrope", "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-pixel: "Pixelify Sans", ui-monospace, monospace;
  --radius: 14px;
  --radius-sm: 10px;
  --radius-xs: 8px;
  --pill: 999px;
  --shadow: 0 12px 32px rgba(0, 0, 0, 0.3);
  --shadow-red: 0 10px 28px rgba(239, 47, 63, 0.28);
  --top-h: 68px;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-padding-top: calc(var(--top-h) + 16px); -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
body::before {
  content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(900px 600px at 12% -10%, rgba(239, 47, 63, 0.14), transparent 60%),
    radial-gradient(700px 500px at 100% 30%, rgba(239, 47, 63, 0.07), transparent 60%),
    radial-gradient(800px 500px at 30% 110%, rgba(239, 47, 63, 0.06), transparent 60%);
}
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 800; line-height: 1.1; margin: 0; text-wrap: balance; letter-spacing: -0.02em; }
p, figure, ol, ul, dl { margin: 0; }
a { color: inherit; }
button { font: inherit; color: inherit; }
img, svg, canvas, video, iframe { display: block; max-width: 100%; }
:where(a, button, input, summary):focus-visible { outline: 3px solid var(--red-hot); outline-offset: 3px; }
.sr { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.wrap {
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
  padding-left: max(clamp(16px, 4vw, 32px), env(safe-area-inset-left, 0px));
  padding-right: max(clamp(16px, 4vw, 32px), env(safe-area-inset-right, 0px));
}
.pixel { image-rendering: pixelated; }
.dot { width: 8px; height: 8px; flex: none; border-radius: 50%; background: var(--online); box-shadow: 0 0 0 3px color-mix(in srgb, var(--online) 22%, transparent); }
.dot.off { background: var(--faint); box-shadow: none; }
.chip {
  font-family: var(--font-display); font-size: 12px; font-weight: 700; letter-spacing: 0.02em; line-height: 1.6;
  color: var(--acc, var(--muted)); background: color-mix(in srgb, var(--acc, var(--muted)) 12%, transparent);
  border: 1px solid color-mix(in srgb, var(--acc, var(--muted)) 30%, transparent);
  padding: 2px 10px; border-radius: var(--pill); white-space: nowrap;
}
.badge {
  display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-display); font-size: 12px; font-weight: 700; letter-spacing: 0.04em;
  color: var(--red-text); white-space: nowrap; background: var(--red-dim); border: 1px solid color-mix(in srgb, var(--red-text) 30%, transparent); padding: 6px 12px; border-radius: var(--pill);
}
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-display); font-size: 12px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--red-text); }
.eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--red-hot); box-shadow: 0 0 12px var(--red-glow); }

/* ---------- Sektionsadskillelse: bløde overgange i stedet for skrå snit ---------- */
.slant { display: none; }

/* ---------- Prototype-bjælke ---------- */
.proto { background: rgba(239, 47, 63, 0.08); border-bottom: 1px solid var(--line); font-size: 13px; color: var(--muted); }
.proto .wrap { display: flex; align-items: center; gap: 10px; padding-block: 8px; }
.proto i { width: 8px; height: 8px; flex: none; border-radius: 50%; background: var(--red-hot); }
.proto b { color: var(--text); font-weight: 600; }

/* ---------- Topbjælke ---------- */
.top { position: sticky; top: 0; z-index: 40; padding-top: 14px; pointer-events: none; }
.top::before { content: ""; position: absolute; inset: 0 0 -20px; z-index: -1; background: linear-gradient(180deg, var(--bg) 40%, transparent); pointer-events: none; }
.top .wrap { pointer-events: auto; }
.navbar {
  display: flex; align-items: center; gap: 10px; min-height: var(--top-h); padding: 8px 10px 8px 16px;
  background: rgba(22, 19, 26, 0.84); -webkit-backdrop-filter: blur(16px) saturate(140%); backdrop-filter: blur(16px) saturate(140%);
  border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow), 0 1px 0 rgba(239, 47, 63, 0.25) inset;
}
.logo { flex: none; display: inline-flex; align-items: center; gap: 12px; text-decoration: none; font-family: var(--font-display); font-weight: 800; font-size: 22px; letter-spacing: 0.02em; }
.logo img { width: 42px; height: 42px; filter: drop-shadow(0 0 12px var(--red-glow)); }
.logo small { display: block; font-size: 11px; font-weight: 600; letter-spacing: 0.06em; color: var(--faint); line-height: 1; margin-top: 3px; }
.nav { display: flex; gap: 2px; margin-left: 22px; }
.nav a {
  display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; text-decoration: none; color: var(--muted); font-family: var(--font-display); font-weight: 700; font-size: 14px; padding: 9px 12px; border-radius: var(--radius-sm);
  transition: background 0.15s, color 0.15s;
}
.nav a svg { width: 18px; height: 18px; flex: none; opacity: 0.85; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--text); background: var(--panel-3); }
.nav-search { margin-left: auto; flex: none; display: flex; align-items: center; gap: 8px; }
.nav-search input {
  width: 170px; padding: 9px 14px 9px 36px; font: inherit; font-size: 14px; color: var(--text); background: var(--bg); border: 1px solid var(--line-2); border-radius: var(--pill);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237d8392' stroke-width='2.2' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m20 20-3.5-3.5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: 12px center; background-size: 16px;
}
.nav-search input::placeholder { color: var(--faint); }
.nav-search input:focus-visible { outline: none; border-color: var(--red-hot); box-shadow: 0 0 0 3px var(--red-dim); }
.top .btn { flex: none; }
.burger {
  display: none; width: 44px; height: 44px; margin-left: auto; padding: 0; background: var(--panel-2); border: 1px solid var(--line-2); cursor: pointer; border-radius: var(--radius-sm);
  place-items: center;
}
.burger span { display: block; width: 20px; height: 2px; border-radius: 2px; background: var(--text); box-shadow: 0 -6px 0 var(--text), 0 6px 0 var(--text); }
.burger[aria-expanded="true"] span { background: transparent; box-shadow: none; position: relative; }
.burger[aria-expanded="true"] span::before, .burger[aria-expanded="true"] span::after { content: ""; position: absolute; inset: 0; border-radius: 2px; background: var(--text); transform: rotate(45deg); }
.burger[aria-expanded="true"] span::after { transform: rotate(-45deg); }
.mnav { display: none; }
.mnav[data-open="true"] { display: block; }
.mnav .wrap { display: grid; gap: 4px; padding-block: 10px 0; }
.mnav nav { padding: 8px; background: rgba(22, 19, 26, 0.96); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); display: grid; gap: 2px; }
.mnav a { text-decoration: none; color: var(--text); font-family: var(--font-display); font-weight: 700; font-size: 17px; padding: 12px 14px; border-radius: var(--radius-sm); }
.mnav a:hover { background: var(--panel-2); }

/* ---------- Knapper ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font-display); font-weight: 700; font-size: 15px; line-height: 1.2; letter-spacing: 0.01em;
  color: var(--text); background: var(--panel-2); border: 1px solid var(--line-2); padding: 12px 20px; border-radius: var(--radius-sm);
  cursor: pointer; text-decoration: none; white-space: nowrap;
  transition: transform 0.15s, box-shadow 0.15s, background 0.15s, border-color 0.15s, filter 0.15s;
}
.btn:hover { background: var(--panel-3); border-color: rgba(255, 255, 255, 0.2); transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn:focus-visible { outline: none; box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.35); }
.btn-red { color: #fff; background: var(--grad-red); border-color: transparent; box-shadow: var(--shadow-red); }
.btn-red:hover { filter: brightness(1.08); background: var(--grad-red); border-color: transparent; box-shadow: 0 14px 34px rgba(239, 47, 63, 0.38); }
.btn-ghost { background: transparent; }
.btn-ghost:hover { background: var(--panel-2); }
.btn-sm { font-size: 14px; padding: 9px 16px; }
.btn-lg { font-size: 17px; padding: 15px 26px; }
.btn svg { width: 18px; height: 18px; flex: none; }
.ghost-btn {
  background: transparent; border: 1px solid var(--line-2); color: var(--text);
  font-family: var(--font-display); font-size: 13px; font-weight: 700; padding: 8px 14px; cursor: pointer; border-radius: var(--pill);
}
.ghost-btn:hover { background: var(--panel-2); }

/* ---------- Hero ---------- */
.hero { position: relative; isolation: isolate; padding-block: 22px 8px; }
.hero .wrap { position: relative; }
.hero-card { position: relative; isolation: isolate; overflow: hidden; background: var(--panel); border: 1px solid var(--line); border-top-color: var(--line-red); border-radius: var(--radius); box-shadow: var(--shadow), 0 -30px 80px -40px rgba(239, 47, 63, 0.35); }
.hero-card .embers { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; opacity: 0.7; }
.hero-card::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(60% 70% at 20% 10%, rgba(239, 47, 63, 0.22), transparent 70%),
    radial-gradient(40% 50% at 100% 100%, rgba(239, 47, 63, 0.12), transparent 70%);
}
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); }
.hero-text { position: relative; padding: clamp(28px, 4vw, 48px); }
.hero-mark { position: absolute; z-index: -1; right: -40px; bottom: -70px; width: min(380px, 56%); opacity: 0.16; pointer-events: none; filter: drop-shadow(0 0 40px rgba(239, 47, 63, 0.5)); }
.hero h1 { margin-top: 16px; font-size: clamp(36px, 4.6vw, 56px); line-height: 1.04; }
.hero h1 em { font-style: normal; background: linear-gradient(90deg, #ff6b76, #ef2f3f 60%, #ff8a93); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero h1 .thin { display: block; margin-top: 12px; font-family: var(--font-display); font-weight: 700; font-size: 14px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--silver-2); -webkit-text-fill-color: var(--silver-2); }
.lead { margin-top: 18px; max-width: 34em; font-size: clamp(16px, 1.8vw, 18px); color: var(--muted); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
/* Top spillere i hero'ens højre side */
.hero-side { padding: clamp(24px, 3vw, 36px); border-left: 1px solid var(--line); display: grid; align-content: start; justify-items: stretch; gap: 14px; background: rgba(0, 0, 0, 0.2); }
.hero-side .badge { justify-self: start; }
.side-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.side-head h2 { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.side-head h2 svg { width: 18px; height: 18px; }
.side-head a { font-size: 14px; font-weight: 600; color: var(--muted); text-decoration: none; }
.side-head a:hover { color: var(--text); }
.tp-list { display: grid; gap: 10px; padding: 0; list-style: none; }
.tp {
  --acc: var(--red-hot);
  display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; align-items: center; gap: 14px; width: 100%; padding: 0 14px 0 0; text-align: left;
  background: var(--panel-2); border: 1px solid var(--line); border-radius: var(--radius-sm); cursor: pointer; overflow: hidden; transition: border-color 0.15s, transform 0.15s;
}
.tp:hover { border-color: color-mix(in srgb, var(--acc) 45%, var(--line)); transform: translateX(2px); }
.tp-rank { position: relative; display: grid; place-items: center; height: 100%; min-height: 64px; background: linear-gradient(135deg, var(--acc), color-mix(in srgb, var(--acc) 55%, #000)); }
.tp-rank b { font-family: var(--font-display); font-weight: 800; font-size: 22px; color: #fff; text-shadow: 0 2px 6px rgba(0, 0, 0, 0.4); font-style: italic; }
.tp-rank img { position: absolute; right: -6px; bottom: -6px; width: 34px; height: 34px; border-radius: 6px; border: 2px solid var(--panel-2); }
.tp-main { min-width: 0; padding-block: 10px; }
.tp-name { display: block; font-family: var(--font-display); font-weight: 800; font-size: 17px; overflow-wrap: anywhere; }
.tp-sub { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; font-size: 13px; color: var(--muted); }
.tp-sub b { color: var(--text); font-weight: 700; }
.tp .chip { font-size: 11px; }
.hero-band { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; padding: 18px clamp(20px, 3vw, 32px); border-top: 1px solid var(--line); background: linear-gradient(90deg, rgba(239, 47, 63, 0.10), rgba(0, 0, 0, 0.2) 60%); }
.band-ip { display: flex; align-items: center; gap: 14px; }
.band-ip img { width: 44px; height: 44px; filter: drop-shadow(0 0 10px var(--red-glow)); }
.band-ip label { display: block; font-family: var(--font-display); font-size: 11px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--faint); margin-bottom: 4px; }
.band-ip .ip-row { gap: 8px; flex-wrap: nowrap; }
.band-ip .ip-field { flex: 1 1 15ch; min-width: 0; width: 15ch; font-size: 19px; padding: 9px 14px; }
.band-ip .btn { padding: 9px 12px; }
.band-ip .btn svg { width: 18px; height: 18px; }
.band-status { display: grid; gap: 2px; font-size: 14px; color: var(--muted); }
.band-status .live { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-display); font-weight: 800; font-size: 16px; color: var(--text); }
.band-meta { font-size: 14px; color: var(--muted); }
.band-link { margin-left: auto; font-size: 14px; font-weight: 600; color: var(--muted); text-decoration: none; }
.band-link:hover { color: var(--text); }
.ip { margin-top: 26px; max-width: 540px; }
.ip label { display: block; margin-bottom: 8px; font-family: var(--font-display); font-size: 12px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--faint); }
.ip-row { display: flex; flex-wrap: wrap; gap: 10px; }
.ip-field {
  flex: 1 1 200px; min-width: 0; font-family: var(--font-display); font-weight: 800; font-size: 22px; letter-spacing: 0.02em;
  color: var(--text); background: var(--panel-solid); border: 1px solid var(--line-2); border-radius: var(--radius-sm); padding: 11px 18px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}
.ip-field:focus-visible { outline: none; border-color: var(--red-hot); box-shadow: 0 0 0 3px var(--red-dim); }
.ip-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; margin-top: 16px; font-size: 14px; color: var(--muted); }
.ip-meta b { color: var(--text); font-weight: 700; }
.ip-meta .live { display: inline-flex; align-items: center; gap: 8px; }
/* Minecraft-serverliste */
.mp-wrap { display: grid; gap: 10px; min-width: 0; width: 100%; }
.mp {
  display: grid; gap: 6px; padding: 14px;
  background-color: #140c05; background-image: var(--dirt, none); background-size: 48px 48px;
  image-rendering: pixelated; border-radius: var(--radius); border: 1px solid rgba(255, 255, 255, 0.08); box-shadow: var(--shadow);
}
.mp-entry { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 12px; padding: 6px; background: var(--mc-panel); font-family: var(--font-pixel); border-radius: 6px; }
.mp-entry.is-sel { box-shadow: inset 0 0 0 2px var(--mc-outline); }
.mp-entry.ghost { opacity: 0.4; }
.mp-icon { width: 64px; height: 64px; display: grid; place-items: center; background: #000; border-radius: 4px; overflow: hidden; }
.mp-icon img { width: 64px; height: 64px; image-rendering: auto; }
.ghost .mp-icon { background: #2a2a2e; }
.ghost-lines { display: grid; gap: 10px; align-content: center; }
.bar { display: block; height: 10px; border-radius: 3px; background: #2f2f35; }
.bar:first-child { width: 42%; }
.bar:last-child { width: 78%; }
.mp-body { min-width: 0; }
.mp-top { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.mp-name { font-size: 18px; color: var(--mc-white); text-shadow: 2px 2px 0 var(--mc-shadow); }
.mp-count { display: flex; align-items: center; gap: 8px; font-size: 16px; color: var(--mc-gray); text-shadow: 2px 2px 0 var(--mc-shadow-dim); white-space: nowrap; }
.ping { width: 20px; height: 16px; }
.ping rect { fill: var(--online); }
.ping.bad rect { fill: #555; }
.ping.bad rect:nth-child(n + 2) { fill: #333; }
.mp-wrap[data-state="offline"] .mp-count > span:first-child { color: #ff5555; }
.mp-motd { margin-top: 4px; font-size: 16px; line-height: 1.35; overflow-wrap: anywhere; white-space: pre-wrap; }
.mp-caption { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; font-size: 13px; color: var(--faint); }
.mp-live { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; font-family: var(--font-display); font-weight: 800; font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: #fff; background: var(--grad-red); border-radius: var(--pill); box-shadow: var(--shadow-red); }
.mp-live i { width: 6px; height: 6px; border-radius: 50%; background: #fff; animation: blink 1.4s steps(2, start) infinite; }
@keyframes blink { to { visibility: hidden; } }

/* ---------- Statslinje ---------- */
.stats { padding-block: 14px 0; }
.stats .wrap { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.stat { display: grid; gap: 2px; padding: 18px 20px; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius-sm); }
.stat:first-child { border-top: 2px solid var(--line-red); }
.stat b { font-family: var(--font-display); font-size: clamp(22px, 2.6vw, 28px); font-weight: 800; line-height: 1.1; color: var(--text); letter-spacing: -0.02em; }
.stat b em { font-style: normal; color: var(--red-text); }
.stat span { font-size: 13px; color: var(--faint); }

/* ---------- Sektioner ---------- */
.sec { padding-block: clamp(56px, 7vw, 92px); }
.sec.alt { background: linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.015) 20%, rgba(255, 255, 255, 0.015) 80%, transparent); }
.sec-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px 32px; margin-bottom: 30px; }
.sec-head > div { min-width: 0; max-width: 46em; }
.sec-head h2 { margin-top: 10px; font-size: clamp(30px, 4.2vw, 46px); }
.sec-head h2 .acc { background: linear-gradient(90deg, #ff6b76, #ef2f3f); -webkit-background-clip: text; background-clip: text; color: transparent; }
.sec-head p { margin-top: 10px; color: var(--muted); font-size: 17px; }

/* ---------- Serverkort ---------- */
.srv-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; }
.srv {
  --acc: var(--red-hot);
  position: relative; display: flex; flex-direction: column; gap: 16px; padding: 26px; background: var(--panel); border-radius: var(--radius);
  border: 1px solid var(--line); border-top: 2px solid color-mix(in srgb, var(--acc) 70%, transparent); overflow: hidden; transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s;
}
.srv::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(320px 200px at 0% 0%, color-mix(in srgb, var(--acc) 20%, transparent), transparent 70%); }
.srv:hover { transform: translateY(-4px); border-color: color-mix(in srgb, var(--acc) 45%, var(--line)); box-shadow: var(--shadow), 0 0 0 1px color-mix(in srgb, var(--acc) 15%, transparent); }
.srv-num { position: absolute; right: 22px; top: 14px; font-family: var(--font-display); font-weight: 800; font-size: 52px; line-height: 1; color: color-mix(in srgb, var(--acc) 22%, transparent); z-index: 0; letter-spacing: -0.04em; }
.srv-top { position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 14px; }
.srv-ico { width: 60px; height: 60px; display: grid; place-items: center; background: color-mix(in srgb, var(--acc) 16%, var(--panel-solid)); border-radius: var(--radius-sm); border: 1px solid color-mix(in srgb, var(--acc) 30%, transparent); }
.srv-ico svg { width: 34px; height: 34px; }
.srv-id { display: grid; gap: 6px; min-width: 0; }
.srv-id h3 { font-size: 26px; }
.srv-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; }
.srv-online { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); white-space: nowrap; }
.srv-slogan { position: relative; font-family: var(--font-display); font-weight: 700; font-size: 17px; color: var(--text); }
.srv-desc { position: relative; color: var(--muted); font-size: 15px; }
.srv-feat { position: relative; display: grid; gap: 8px; padding: 0; list-style: none; font-size: 15px; }
.srv-feat li { display: flex; align-items: baseline; gap: 10px; }
.srv-feat li::before { content: ""; flex: none; width: 7px; height: 7px; border-radius: 50%; background: var(--acc); transform: translateY(-1px); box-shadow: 0 0 10px color-mix(in srgb, var(--acc) 60%, transparent); }
.srv-foot { position: relative; margin-top: auto; display: grid; gap: 10px; }
.srv-champ {
  display: grid; grid-template-columns: 40px minmax(0, 1fr) auto; align-items: center; gap: 12px;
  padding: 10px 14px; background: var(--panel-2); border: 1px solid var(--line); text-align: left; cursor: pointer; border-radius: var(--radius-sm);
  transition: background 0.15s, border-color 0.15s;
}
.srv-champ:hover { background: var(--panel-3); border-color: var(--line-2); }
.srv-champ img { width: 40px; height: 40px; border-radius: 6px; }
.srv-champ small { display: block; font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--faint); }
.srv-champ b { display: block; font-family: var(--font-display); font-size: 16px; font-weight: 800; overflow-wrap: anywhere; }
.srv-champ-val { font-family: var(--font-display); font-size: 18px; font-weight: 800; color: var(--acc); white-space: nowrap; }
.srv-links { display: flex; flex-wrap: wrap; gap: 8px; }

/* ---------- Sådan joiner du ---------- */
.join-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: 22px; align-items: start; }
.steps { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; padding: 0; list-style: none; }
.steps li { position: relative; display: grid; gap: 10px; padding: 24px 22px 22px; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); color: var(--muted); font-size: 15px; }
.steps li b { color: var(--text); font-weight: 600; }
.step-n {
  width: 40px; height: 40px; display: grid; place-items: center;
  font-family: var(--font-display); font-size: 18px; font-weight: 800; color: #fff; background: var(--grad-red); border-radius: var(--radius-sm); box-shadow: var(--shadow-red);
}
.steps h3 { font-size: 19px; }
.join-note { margin-top: 18px; display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 14px; color: var(--faint); }
.join-note b { color: var(--muted); font-weight: 600; }

/* ---------- Toplister ---------- */
.lb { --acc: var(--red-hot); display: grid; gap: 18px; padding: clamp(16px, 3vw, 28px); background: var(--panel); border-radius: var(--radius); border: 1px solid var(--line); border-top: 2px solid var(--line-red); }
.lb-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 16px; }
.tabs { display: flex; flex-wrap: wrap; gap: 6px; }
.tab {
  display: flex; align-items: center; justify-content: center; gap: 10px; padding: 9px 18px 9px 14px;
  font-family: var(--font-display); font-size: 15px; font-weight: 800; color: var(--muted);
  background: var(--panel-2); border: 1px solid transparent; cursor: pointer; border-radius: var(--pill);
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}
.tab svg { width: 22px; height: 22px; flex: none; }
.tab:hover { color: var(--text); background: var(--panel-3); }
.tab[aria-selected="true"] { color: var(--text); background: color-mix(in srgb, var(--acc) 18%, var(--panel-2)); border-color: color-mix(in srgb, var(--acc) 45%, transparent); }
.tab:focus-visible { outline: none; box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.3); }
.seg { display: flex; gap: 4px; padding: 4px; background: var(--panel-2); border-radius: var(--pill); }
.seg button { padding: 7px 14px; font-family: var(--font-display); font-size: 13px; font-weight: 700; color: var(--muted); background: transparent; border: 0; cursor: pointer; border-radius: var(--pill); }
.seg button[aria-pressed="true"] { color: var(--text); background: var(--panel-3); }
.cats { display: flex; flex-wrap: wrap; gap: 8px; }
.cat { padding: 6px 14px; font-family: var(--font-display); font-size: 13px; font-weight: 700; color: var(--muted); background: transparent; border: 1px solid var(--line-2); cursor: pointer; border-radius: var(--pill); }
.cat:hover { color: var(--text); }
.cat[aria-pressed="true"] { color: var(--text); border-color: var(--acc); background: color-mix(in srgb, var(--acc) 14%, transparent); }
.search { position: relative; display: block; flex: 1 1 240px; max-width: 340px; }
.search svg { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--faint); pointer-events: none; }
.search input {
  width: 100%; padding: 9px 14px 9px 40px; font-family: var(--font-body); font-size: 15px;
  color: var(--text); background: var(--panel-solid); border: 1px solid var(--line-2); border-radius: var(--pill);
}
.search input::placeholder { color: var(--faint); }
.search input:focus-visible { outline: none; border-color: var(--red-hot); box-shadow: 0 0 0 3px var(--red-dim); }
.board { display: grid; gap: 18px; }
.board:focus { outline: none; }
.podium { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: end; gap: clamp(8px, 2.4vw, 22px); width: 100%; max-width: 720px; margin: 8px auto 0; }
.pod { display: flex; flex-direction: column; align-items: center; gap: 8px; min-width: 0; padding: 0; background: none; border: 0; cursor: pointer; }
.pod-1 { order: 2; }
.pod-2 { order: 1; }
.pod-3 { order: 3; }
.pod:focus-visible { outline-offset: 6px; border-radius: var(--radius-sm); }
.tag { max-width: 100%; padding: 3px 9px; font-family: var(--font-pixel); font-size: 16px; line-height: 1.25; color: var(--mc-white); background: var(--nametag); text-align: center; overflow-wrap: anywhere; border-radius: 6px; }
.pod-head { width: 68px; height: 68px; border-radius: 8px; transition: transform 0.15s; }
.pod-1 .pod-head { width: 92px; height: 92px; }
.pod:hover .pod-head { transform: translateY(-4px); }
.block {
  width: 100%; display: grid; justify-items: center; align-content: start; gap: 2px; padding: 14px 8px 16px;
  color: var(--bi); background-color: var(--bc); border-radius: var(--radius-sm) var(--radius-sm) 0 0;
  background-image: repeating-conic-gradient(var(--block-tex) 0 25%, transparent 0 50%); background-size: 16px 16px;
  box-shadow: inset 4px 4px 0 var(--bevel-light), inset -4px -4px 0 var(--bevel-dark);
}
.block-gold { --bc: var(--block-gold); --bi: var(--block-gold-ink); min-height: 156px; }
.block-iron { --bc: var(--block-iron); --bi: var(--block-iron-ink); min-height: 118px; }
.block-copper { --bc: var(--block-copper); --bi: var(--block-copper-ink); min-height: 92px; }
.pod-rank { font-family: var(--font-display); font-size: 34px; font-weight: 800; line-height: 1; }
.pod-1 .pod-rank { font-size: 44px; }
.pod-val { margin-top: 6px; font-family: var(--font-display); font-size: clamp(15px, 2.4vw, 20px); font-weight: 800; text-align: center; overflow-wrap: anywhere; }
.pod-unit { font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; opacity: 0.75; }
.rows-head, .row { display: grid; grid-template-columns: 3ch 36px minmax(0, 1fr) auto; align-items: center; gap: 14px; }
.rows-head { padding: 0 14px 4px; font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--faint); }
.rows-head span:last-child { text-align: right; }
.rows { display: grid; gap: 4px; padding: 0; list-style: none; }
.row { width: 100%; padding: 10px 14px; text-align: left; background: transparent; border: 1px solid transparent; cursor: pointer; border-radius: var(--radius-sm); transition: background 0.15s; }
.row:hover { background: var(--panel-2); border-color: var(--line); }
.row:focus-visible { outline: 2px solid var(--red-hot); outline-offset: -2px; }
.r-rank { font-family: var(--font-display); font-size: 16px; font-weight: 800; color: var(--faint); text-align: right; font-variant-numeric: tabular-nums; }
.r-head { width: 36px; height: 36px; border-radius: 6px; }
.r-main { min-width: 0; }
.r-name { display: block; font-family: var(--font-display); font-size: 17px; font-weight: 800; overflow-wrap: anywhere; }
.r-sub { display: block; font-size: 13px; color: var(--faint); }
.r-val { font-family: var(--font-display); font-size: 19px; font-weight: 800; text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.empty { padding: 36px 12px; text-align: center; color: var(--muted); }
.lb-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 20px; font-size: 13px; color: var(--faint); }
.lb-foot .grp { display: flex; flex-wrap: wrap; gap: 4px 18px; }

/* ---------- Trailer ---------- */
.trailer { position: relative; aspect-ratio: 16 / 9; background: #000 center / cover no-repeat; border-radius: var(--radius); border: 1px solid var(--line); overflow: hidden; display: grid; place-items: center; box-shadow: var(--shadow); }
.trailer iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.trailer-play { display: grid; place-items: center; gap: 12px; padding: 0; background: transparent; border: 0; cursor: pointer; color: var(--text); font-family: var(--font-display); font-weight: 800; font-size: 15px; letter-spacing: 0.06em; text-transform: uppercase; }
.trailer-play i { width: 86px; height: 86px; display: grid; place-items: center; background: var(--grad-red); border-radius: 50%; box-shadow: 0 0 50px var(--red-glow); transition: transform 0.15s; }
.trailer-play:hover i { transform: scale(1.06); }
.trailer-play svg { width: 34px; height: 34px; fill: #fff; margin-left: 4px; }

/* ---------- Live-kort ---------- */
.map { position: relative; background: var(--map-ocean); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); cursor: crosshair; box-shadow: var(--shadow); }
.map canvas { width: 100%; height: auto; aspect-ratio: 16 / 9; image-rendering: pixelated; }
.chip-map { position: absolute; z-index: 2; padding: 6px 12px; font-size: 13px; color: var(--text); background: rgba(10, 11, 16, 0.78); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); border: 1px solid var(--line); border-radius: var(--pill); pointer-events: none; font-family: var(--font-display); font-weight: 700; }
.chip-map.tl { top: 12px; left: 12px; }
.chip-map.tr { top: 12px; right: 12px; }
.chip-map.bl { bottom: 12px; left: 12px; }
#markers { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.marker { position: absolute; display: flex; flex-direction: column; align-items: center; gap: 3px; transform: translate(-50%, -100%); }
.marker span { padding: 1px 6px; font-family: var(--font-pixel); font-size: 12px; line-height: 1.2; color: var(--mc-white); background: var(--nametag); white-space: nowrap; border-radius: 4px; }
.marker img { width: 20px; height: 20px; border-radius: 4px; outline: 2px solid var(--nametag); }
.marker i { width: 10px; height: 10px; border-radius: 50%; background: var(--red-hot); outline: 2px solid var(--bg); box-shadow: 0 0 10px var(--red-glow); }
.legend { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 14px; padding: 0; list-style: none; font-size: 13px; color: var(--muted); }
.legend li { display: flex; align-items: center; gap: 8px; }
.legend i { width: 12px; height: 12px; border-radius: 4px; background: var(--c); }

/* ---------- Discord og butik ---------- */
.duo { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; }
.tile { position: relative; display: grid; align-content: start; gap: 14px; padding: clamp(24px, 3vw, 36px); background: var(--panel); border-radius: var(--radius); border: 1px solid var(--line); border-top: 2px solid var(--line-red); overflow: hidden; }
.tile.tile-shop { border-top-color: rgba(242, 199, 68, 0.35); }
.tile::after { content: ""; position: absolute; right: -80px; bottom: -80px; width: 260px; height: 260px; border-radius: 50%; background: radial-gradient(circle, var(--red-dim), transparent 70%); pointer-events: none; }
.tile.tile-shop::after { background: radial-gradient(circle, rgba(242, 199, 68, 0.10), transparent 70%); }
.tile-ico { width: 56px; height: 56px; display: grid; place-items: center; background: var(--panel-2); border: 1px solid var(--line); border-radius: var(--radius-sm); }
.tile-ico svg { width: 30px; height: 30px; }
.tile h3 { font-size: 26px; }
.tile p { color: var(--muted); max-width: 36em; }
.tile ul { display: grid; gap: 6px; padding: 0; list-style: none; font-size: 14px; color: var(--muted); }
.tile li { display: flex; gap: 10px; align-items: baseline; }
.tile li::before { content: ""; flex: none; width: 6px; height: 6px; border-radius: 50%; background: var(--red-hot); }
.tile .btn { justify-self: start; margin-top: 6px; position: relative; z-index: 1; }

/* ---------- Følg med ---------- */
.social-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.social {
  --acc: var(--red-hot);
  position: relative; display: grid; grid-template-rows: auto auto auto 1fr auto; align-content: start; gap: 10px; padding: 22px; background: var(--panel); border: 1px solid var(--line);
  border-radius: var(--radius); text-decoration: none; color: inherit; overflow: hidden; transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s;
}
.social::after { content: ""; position: absolute; right: -60px; top: -60px; width: 200px; height: 200px; border-radius: 50%; background: radial-gradient(circle, color-mix(in srgb, var(--acc) 22%, transparent), transparent 70%); pointer-events: none; }
.social:hover { transform: translateY(-4px); border-color: color-mix(in srgb, var(--acc) 45%, var(--line)); box-shadow: var(--shadow); }
.social:focus-visible { outline: none; box-shadow: 0 0 0 3px var(--red-hot); }
.social-ico { width: 48px; height: 48px; display: grid; place-items: center; background: color-mix(in srgb, var(--acc) 14%, var(--panel-solid)); border: 1px solid color-mix(in srgb, var(--acc) 30%, transparent); border-radius: var(--radius-sm); }
.social-ico svg { width: 26px; height: 26px; }
.social h3 { font-size: 21px; }
.social .handle { font-family: var(--font-display); font-weight: 700; font-size: 13px; color: color-mix(in srgb, var(--acc) 65%, white); }
.social p { color: var(--muted); font-size: 14px; }
.social .btn { justify-self: start; align-self: end; margin-top: 10px; }
.social.owner { background: linear-gradient(135deg, var(--panel), color-mix(in srgb, var(--acc) 10%, var(--panel))); }
.social.owner .tag-owner { position: absolute; right: 14px; top: 14px; font-family: var(--font-display); font-size: 11px; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: #fff; background: var(--grad-red); padding: 4px 10px; border-radius: var(--pill); }
.videos { margin-top: 28px; }
.videos-head { margin-bottom: 16px; }
.videos-head h3 { font-size: 24px; }
.videos-head p { margin-top: 6px; color: var(--muted); }
.video-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.video { display: grid; gap: 10px; text-decoration: none; color: inherit; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: transform 0.2s, border-color 0.2s; }
.video img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.video b { display: block; padding: 2px 16px 0; font-family: var(--font-display); font-size: 16px; font-weight: 800; line-height: 1.25; }
.video small { display: block; padding: 0 16px 16px; font-size: 12px; color: var(--faint); }
.video:hover { transform: translateY(-3px); border-color: var(--line-2); }
.video:focus-visible { outline: none; box-shadow: 0 0 0 3px var(--red-hot); }
.player { position: relative; aspect-ratio: 16 / 9; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: grid; place-items: center; }
.player iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.player-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; }
.player-grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }

/* ---------- Events ---------- */
.ev-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.ev { --acc: var(--red-hot); display: grid; grid-template-columns: 96px minmax(0, 1fr); background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; text-decoration: none; color: inherit; transition: transform 0.2s, border-color 0.2s; }
.ev:hover { transform: translateY(-3px); border-color: color-mix(in srgb, var(--acc) 40%, var(--line)); }
.ev-date { display: grid; place-items: center; align-content: center; gap: 2px; padding: 18px 8px; background: rgba(0, 0, 0, 0.18); border-right: 1px solid var(--line); text-align: center; }
.ev-date .m { font-family: var(--font-display); font-weight: 800; font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--acc); }
.ev-date .d { font-family: var(--font-display); font-weight: 800; font-size: 34px; line-height: 1; }
.ev-date .w { font-size: 12px; color: var(--faint); }
.ev-body { display: grid; gap: 6px; padding: 18px 18px 16px; }
.ev-tags { display: flex; flex-wrap: wrap; gap: 6px 10px; font-size: 12px; color: var(--faint); }
.ev h3 { font-size: 19px; }
.ev p { font-size: 14px; color: var(--muted); }
.ev-when { margin-top: 4px; font-size: 13px; color: var(--muted); }
.ev-when b { color: var(--text); font-weight: 700; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 10px; max-width: 860px; }
.faq details { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius-sm); transition: border-color 0.15s; }
.faq details[open] { border-color: var(--line-2); background: var(--panel-2); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 20px; cursor: pointer; list-style: none; font-family: var(--font-display); font-weight: 800; font-size: 17px; border-radius: var(--radius-sm); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; width: 28px; height: 28px; display: grid; place-items: center; font-size: 18px; color: var(--red-text); background: var(--red-dim); border-radius: 50%; }
.faq details[open] summary::after { content: "–"; }
.faq summary:focus-visible { outline: none; box-shadow: inset 0 0 0 3px var(--red-hot); }
.faq .faq-a { padding: 0 20px 18px; color: var(--muted); max-width: 70ch; }
.faq .faq-a a, .join-note a, .feat p a, .prose a, .tile p a { color: var(--red-text); text-decoration-color: color-mix(in srgb, var(--red-text) 40%, transparent); }
.faq .faq-a a:hover, .join-note a:hover, .feat p a:hover, .prose a:hover, .tile p a:hover { text-decoration-color: var(--red-text); }

/* ---------- Sidefod ---------- */
.foot { position: relative; border-top: 1px solid var(--line); background: linear-gradient(180deg, transparent, rgba(239, 47, 63, 0.04)); }
.foot::before { content: ""; position: absolute; left: 50%; top: -1px; width: min(360px, 60%); height: 2px; translate: -50% 0; background: linear-gradient(90deg, transparent, var(--red-hot), transparent); }
.foot .wrap { display: grid; gap: 18px; padding-block: 40px 48px; }
.foot-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 24px; }
.foot-nav { display: flex; flex-wrap: wrap; gap: 4px 6px; font-family: var(--font-body); font-weight: 600; font-size: 14px; }
.foot-nav a { color: var(--muted); text-decoration: none; padding: 6px 10px; border-radius: var(--radius-xs); }
.foot-nav a:hover { color: var(--text); background: var(--panel-2); }
.legal { font-size: 13px; color: var(--faint); max-width: 70ch; }

/* ---------- Spillerprofil ---------- */
.profile {
  width: min(560px, calc(100% - 32px)); max-height: calc(100% - 48px); padding: 0; overflow: auto;
  color: var(--text); background: var(--panel-solid); border: 1px solid var(--line-2); border-radius: 22px; box-shadow: var(--shadow);
}
.profile::backdrop { background: var(--scrim); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.pf-head { display: grid; grid-template-columns: 72px minmax(0, 1fr) auto; align-items: center; gap: 16px; padding: 20px; background: var(--panel-2); }
.pf-head img { width: 72px; height: 72px; border-radius: 10px; }
.pf-head h3 { font-size: 24px; overflow-wrap: anywhere; }
.pf-head p { margin-top: 4px; font-size: 13px; color: var(--faint); }
.pf-body { display: grid; gap: 18px; padding: 20px; }
.pf-srv h4 { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; font-size: 17px; }
.pf-srv h4 svg { width: 20px; height: 20px; }
.pf-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.pf-stat { display: grid; gap: 2px; min-width: 0; padding: 10px 12px; background: var(--panel-2); border-radius: var(--radius-sm); }
.pf-label { font-size: 12px; color: var(--faint); }
.pf-stat b { font-family: var(--font-display); font-size: 17px; font-weight: 800; white-space: nowrap; }
.pf-rank { font-size: 12px; font-weight: 700; color: var(--acc); }

.toast {
  position: fixed; left: 50%; bottom: calc(20px + env(safe-area-inset-bottom, 0px)); z-index: 60;
  max-width: calc(100% - 32px); padding: 12px 20px; font-family: var(--font-display); font-weight: 700; color: #fff; background: var(--grad-red);
  border-radius: var(--pill); box-shadow: var(--shadow-red), var(--shadow); opacity: 0; transform: translate(-50%, 16px); pointer-events: none; transition: opacity 0.2s, transform 0.2s;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ---------- Serversider ---------- */
.page-hero { position: relative; --acc: var(--red-hot); padding-block: 22px 8px; }
.page-hero .wrap > .page-card { position: relative; isolation: isolate; overflow: hidden; display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); gap: 40px; align-items: center; padding: clamp(28px, 4vw, 52px); background: var(--panel); border: 1px solid var(--line); border-top: 2px solid color-mix(in srgb, var(--acc) 70%, transparent); border-radius: var(--radius); box-shadow: var(--shadow); }
.page-card::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(55% 70% at 85% 30%, color-mix(in srgb, var(--acc) 20%, transparent), transparent 70%); }
.page-hero h1 { margin-top: 14px; font-size: clamp(34px, 4.8vw, 58px); line-height: 1.04; }
.page-hero h1 em { font-style: normal; color: var(--acc); }
.page-hero .eyebrow { color: var(--acc); }
.page-hero .eyebrow::before { background: var(--acc); box-shadow: 0 0 12px color-mix(in srgb, var(--acc) 50%, transparent); }
.page-art { display: grid; place-items: center; justify-self: center; width: min(100%, 280px); aspect-ratio: 1; background: color-mix(in srgb, var(--acc) 12%, var(--panel-solid)); border-radius: 28px; border: 1px solid color-mix(in srgb, var(--acc) 35%, transparent); box-shadow: 0 0 90px color-mix(in srgb, var(--acc) 28%, transparent), var(--shadow); }
.page-art svg { width: 58%; height: 58%; }
.crumbs { display: flex; flex-wrap: wrap; gap: 6px; padding: 0; list-style: none; font-size: 13px; color: var(--faint); }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--text); }
.crumbs li + li::before { content: "/"; margin-right: 6px; color: var(--line-2); }
.feat-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.feat { --acc: var(--red-hot); display: grid; gap: 10px; padding: 22px; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); transition: transform 0.2s, border-color 0.2s; }
.feat:hover { transform: translateY(-3px); border-color: color-mix(in srgb, var(--acc) 40%, var(--line)); }
.feat h3 { font-size: 19px; }
.feat p { color: var(--muted); font-size: 15px; }
.feat-ico { width: 44px; height: 44px; display: grid; place-items: center; background: color-mix(in srgb, var(--acc) 14%, var(--panel-solid)); border: 1px solid color-mix(in srgb, var(--acc) 28%, transparent); border-radius: var(--radius-sm); }
.feat-ico svg { width: 24px; height: 24px; }
.path { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; padding: 0; counter-reset: p; }
.path li { position: relative; display: grid; gap: 8px; padding: 22px; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); list-style: none; }
.path li::before { counter-increment: p; content: counter(p, decimal-leading-zero); width: max-content; font-family: var(--font-display); font-weight: 800; font-size: 12px; letter-spacing: 0.08em; color: var(--acc); background: color-mix(in srgb, var(--acc) 14%, transparent); padding: 3px 10px; border-radius: var(--pill); }
.path h3 { font-size: 19px; }
.path p { color: var(--muted); font-size: 14px; }
.prose { max-width: 70ch; color: var(--muted); display: grid; gap: 14px; font-size: 16px; }
.prose strong { color: var(--text); }
.prose h3 { font-size: 21px; color: var(--text); margin-top: 8px; }
.cta-band { position: relative; overflow: hidden; }
.cta-band .wrap { position: relative; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 32px; padding-block: 36px; margin-block: 24px 48px; background: linear-gradient(135deg, rgba(239, 47, 63, 0.18), rgba(239, 47, 63, 0.06)); border: 1px solid rgba(239, 47, 63, 0.3); border-radius: var(--radius); max-width: calc(1200px - 2 * clamp(16px, 4vw, 32px)); }
.cta-band h2 { font-size: clamp(24px, 3.2vw, 34px); }
.cta-band p { margin-top: 6px; color: var(--muted); }
.cta-band .ip-row { flex: 0 1 460px; }

/* ---------- Animation ---------- */
@media (prefers-reduced-motion: no-preference) {
  .marker { animation: drift 9s ease-in-out infinite alternate; }
  .hero h1, .hero .lead, .hero .ip, .hero .hero-cta { animation: rise 0.6s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
  .hero .lead { animation-delay: 0.08s; }
  .hero .ip { animation-delay: 0.16s; }
  .hero .hero-cta { animation-delay: 0.22s; }
  .mp-wrap { animation: rise 0.7s 0.2s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
}
@keyframes drift { from { translate: 0 0; } to { translate: var(--dx, 0) var(--dy, 0); } }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

/* ---------- Responsivt ---------- */
@media (min-width: 760px) { .duo { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 900px) { .srv-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 1200px) { .nav a span { display: none; } .nav a svg { opacity: 1; width: 20px; height: 20px; } .nav a { padding: 10px; } }
@media (max-width: 960px) {
  .social-grid, .video-grid, .ev-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .player-grid.two { grid-template-columns: minmax(0, 1fr); }
  .hero-grid { grid-template-columns: minmax(0, 1fr); }
  .hero-side { border-left: 0; border-top: 1px solid var(--line); }
  .join-grid { grid-template-columns: minmax(0, 1fr); }
  .page-hero .wrap > .page-card { grid-template-columns: minmax(0, 1fr); }
  .page-art { display: none; }
  .feat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .band-link { margin-left: 0; }
}
@media (max-width: 860px) {
  .nav, .nav-search { display: none; }
  .burger { display: grid; }
  .top .btn { margin-left: 0; }
  .navbar { padding-left: 12px; }
}
@media (max-width: 700px) {
  .stats .wrap { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 560px) {
  .social-grid, .video-grid, .ev-grid { grid-template-columns: minmax(0, 1fr); }
  .hero { padding-top: 12px; }
  .top { padding-top: 10px; }
  .tp { grid-template-columns: 56px minmax(0, 1fr) auto; gap: 10px; }
  .tp-rank { min-height: 56px; }
  .band-ip { width: 100%; }
  .band-ip > div { flex: 1; min-width: 0; }
  .top .wrap { gap: 10px; }
  .logo { font-size: 19px; }
  .logo img { width: 36px; height: 36px; }
  .top .btn-sm { padding: 9px 12px; font-size: 13px; }
  .feat-grid { grid-template-columns: minmax(0, 1fr); }
  .tabs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); width: 100%; }
  .tab { flex-direction: column; gap: 6px; padding: 10px 4px; font-size: 13px; border-radius: var(--radius-sm); }
  .seg { width: 100%; }
  .seg button { flex: 1; padding: 6px 4px; font-size: 12px; line-height: 1.2; }
  .seg button span { display: block; font-weight: 600; color: var(--faint); }
  .seg button[aria-pressed="true"] span { color: var(--muted); }
  .search { flex-basis: 100%; max-width: none; }
  .rows-head, .row { grid-template-columns: 2.4ch 32px minmax(0, 1fr) auto; gap: 10px; }
  .rows-head { padding: 0 8px 2px; }
  .row { padding: 10px 8px; }
  .r-head { width: 32px; height: 32px; }
  .r-name { font-size: 16px; }
  .r-val { font-size: 17px; }
  .tag { font-size: 13px; padding: 2px 6px; }
  .pod-head { width: 52px; height: 52px; }
  .pod-1 .pod-head { width: 68px; height: 68px; }
  .block-gold { min-height: 128px; }
  .block-iron { min-height: 98px; }
  .block-copper { min-height: 78px; }
  .pod-rank { font-size: 26px; }
  .pod-1 .pod-rank { font-size: 34px; }
  .chip-map.bl { font-size: 13px; }
  .marker:not(.spawn) span { display: none; }
  .marker span { font-size: 11px; }
  .marker img { width: 16px; height: 16px; }
  .pf-stats { grid-template-columns: minmax(0, 1fr); }
  .pf-stat { grid-template-columns: minmax(0, 1fr) auto auto; align-items: baseline; gap: 12px; }
  .ip-field { font-size: 19px; }
  .cta-band .wrap { margin-inline: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
