/* ============================================================
   ServerZoeker vormgeving. Laadt na style.css. De serverpagina
   heeft eigen stijlen in de body en krijgt daarom "html body"
   als voorvoegsel. De oude variabelenaam --green is de
   hoofdkleur van de site en is nu blauw; --ok is het groen
   voor online en geslaagd.
   ============================================================ */
:root {
  --bg: #ffffff;
  --bg-card: #ffffff;
  --bg-surface: #f1f6fc;
  --paper-2: #f5f8fc;
  --bg-input: #ffffff;
  --border: #e0e8f2;
  --border-mid: #c6d3e3;
  --border-accent: rgba(18,111,223,.35);
  --ink: #e0e8f2;
  --ink-deep: #c6d3e3;
  --navy: #0f2140;
  --navy-edge: #e0e8f2;
  --text: #0f2140;
  --text-dim: #3a4c68;
  --text-muted: #5a6b84;
  --text-faint: #6f7f96;
  --green: #126fdf;
  --green-dark: #0d5cbd;
  --green-bright: #0d5cbd;
  --green-deep: #0a4a99;
  --green-light: #e8f2fe;
  --green-border: #b7d4f7;
  --green-glow: transparent;
  --ok: #15803d;
  --ok-bg: #e6f6ec;
  --gold: #a87800;
  --silver: #6f7c8a;
  --bronze: #a85f28;
  --red: #c9341d;
  --blue: #126fdf;
  --radius: 8px;
  --radius-lg: 14px;
  --edge: none;
  --shadow-card: 0 1px 2px rgba(15,33,64,.05), 0 6px 20px rgba(15,33,64,.06);
  --shadow: var(--shadow-card);
  --shadow-hover: 0 2px 4px rgba(15,33,64,.06), 0 12px 28px rgba(15,33,64,.1);
  --shadow-block: none;
  --font-pixel: 'Schibsted Grotesk', system-ui, sans-serif;
  --font-display: 'Schibsted Grotesk', system-ui, sans-serif;
  --font-mono: ui-monospace, Consolas, Menlo, monospace;
  --gutter: clamp(16px, 3vw, 34px);
  --breed: 1240px;
}

html { background: var(--bg); overflow-x: clip; }
body {
  background: var(--bg);
  background-attachment: scroll;
  color: var(--text);
  font-size: 15px;
  overflow-x: clip;
}
body::before { display: none; }
::selection { color: #fff; background: var(--green); }
.container { position: relative; z-index: 1; max-width: var(--breed); padding: 0 var(--gutter) 0; }
h1, h2, h3, h4 { color: var(--text); font-weight: 800; letter-spacing: -.015em; }
.over-hero::after, .live-stat::before { display: none; }
.card-icon, .copy-icon, .section-icon, .status-icon, .icon:empty, .vote-card-icon:empty, .warning-icon:empty { display: none; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
:focus-visible { outline: 2px solid var(--green); outline-offset: 2px; }
a { color: var(--green); }

/* ── Kop ── */
.main-header {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  gap: 20px;
  margin: 0 calc(50% - 50vw) 28px;
  padding: 12px max(var(--gutter), calc(50vw - 620px + var(--gutter)));
  min-height: 68px;
  background: #fff;
  border-bottom: 1px solid var(--border);
  box-shadow: none;
  backdrop-filter: none;
}
.header-title { color: var(--text); font-family: var(--font-display); font-weight: 800; font-size: 21px; letter-spacing: -.02em; }
.header-title span { color: var(--green); }
.header-subtitle { display: none; }
.header-logo-img { box-shadow: none; border-radius: 8px; }
.header-nav { flex: 1; justify-content: center; gap: 4px; scrollbar-width: none; }
.header-nav::-webkit-scrollbar { display: none; }
.nav-btn-outline { color: var(--text); padding: 8px 14px; background: none; border: 0; border-radius: 8px; font-size: 14px; font-weight: 600; }
.nav-btn-outline::after { display: none; }
.nav-btn-outline:hover { color: var(--green); background: var(--bg-surface); }
.nav-btn-outline.is-active { color: var(--green); background: var(--green-light); }
.nav-klein { display: none; }
.nav-btn-register, .nav-btn-logout { padding: 8px 10px; color: var(--text); background: none; border: 0; border-radius: 8px; font-size: 14px; font-weight: 600; }
.nav-btn-register:hover, .nav-btn-logout:hover { color: var(--green); background: var(--bg-surface); }
.header-account { display: flex; align-items: center; gap: 6px; }
.nav-drop { position: relative; }
.nav-drop > .nav-btn-outline::after {
  content: ''; display: inline-block; position: static; width: 7px; height: 7px; margin: 0 0 3px 7px;
  background: none; border: solid currentColor; border-width: 0 2px 2px 0; border-radius: 0; opacity: 1; transform: rotate(45deg);
}
.nav-drop-menu {
  display: none; position: absolute; z-index: 40; top: 100%; left: 0;
  min-width: 180px; padding: 6px; background: #fff;
  border: 1px solid var(--border); border-radius: 10px; box-shadow: var(--shadow-hover);
}
.nav-drop:hover .nav-drop-menu, .nav-drop:focus-within .nav-drop-menu { display: block; }
.nav-drop-menu a { display: block; padding: 8px 10px; color: var(--text); border-radius: 6px; font-size: 14px; font-weight: 500; text-decoration: none; }
.nav-drop-menu a:hover { color: var(--green); background: var(--green-light); }

/* ── Knoppen ── */
.nav-btn-main, .nav-btn-add, .btn-add, .btn-submit, .claim-btn, .article-cta, .btn-primary, .claim-cta-btn,
.blok-search button, html body .connect-copy, html body .btn-vote-detail, .pop-btn {
  color: #fff;
  background: var(--green);
  border: 0;
  border-radius: 8px;
  box-shadow: none;
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
  text-decoration: none;
  cursor: pointer;
  transition: background .12s;
}
.nav-btn-main:hover, .nav-btn-add:hover, .btn-add:hover, .btn-submit:hover, .claim-btn:hover, .article-cta:hover, .btn-primary:hover, .claim-cta-btn:hover,
.blok-search button:hover, html body .connect-copy:hover, html body .btn-vote-detail:hover, .pop-btn:hover {
  color: #fff;
  background: var(--green-dark);
  transform: none;
  box-shadow: none;
}
.nav-btn-main:active, .nav-btn-add:active, .btn-add:active, .btn-submit:active, .blok-search button:active, .btn-stem:active, .pop-btn:active, html body .connect-copy:active, html body .btn-vote-detail:active { transform: translateY(1px); }
.nav-btn-main { padding: 9px 14px; font-size: 14px; color: var(--green); background: var(--green-light); }
.nav-btn-main:hover { color: #fff; background: var(--green); }
.nav-btn-add { display: inline-flex; align-items: center; gap: 7px; padding: 10px 16px; font-size: 14px; white-space: nowrap; }
.btn-back { color: var(--text-dim); background: #fff; border: 1px solid var(--border-mid); border-radius: 8px; box-shadow: none; }
.btn-back:hover { color: var(--green); background: var(--bg-surface); border-color: var(--green-border); }
.action-btn { border-radius: 8px; }
.btn-primary:disabled, .btn-submit:disabled { color: var(--text-muted); background: var(--border); }

/* De hero op de homepage sluit aan op de kop. */
.vote-reminder[hidden] + .blok-hero { margin-top: -28px; }
.vote-reminder:not([hidden]) + .blok-hero { margin-top: 0; }
/* Staat er een melding boven, bijvoorbeeld na het stemmen, dan mag de hero daar niet overheen schuiven. */
.alert ~ .vote-reminder[hidden] + .blok-hero { margin-top: 0; }
.main-header + .blok-hero { margin-top: -28px; }

/* ── Vlakken ── */
.card, .form-card, .sidebar-card, .detail-card, html body .detail-card, html body .server-detail-hero, html body .detail-stats-row,
.home-seo, .blog-card, .article-card, .related-card, .claim-box, .prose-card, .faq-item, .contact-card, .over-card, .live-stats,
.chart-card, .srv-card, .mon-card, .mon-empty, .email-display, .stat-box, .nb-pref, .server-table, .landing-intro, .over-cta, .faq-cta {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
}
input[type='text'], input[type='email'], input[type='password'], input[type='number'], input[type='date'], input[type='url'], textarea, select {
  color: var(--text);
  background: #fff;
  border: 1px solid var(--border-mid);
  border-radius: 8px;
  box-shadow: none;
  font-family: var(--font-display);
}
input:hover, textarea:hover, select:hover { border-color: var(--text-faint); }
input:focus, textarea:focus, select:focus { border-color: var(--green); box-shadow: 0 0 0 3px rgba(18,111,223,.15); }
input::placeholder, textarea::placeholder { color: var(--text-faint); }
label { color: var(--text-dim); font-family: var(--font-display); font-size: 13px; font-weight: 600; letter-spacing: 0; text-transform: none; }
.gamemode-picker .gm-check { margin: 0; }
.gm-check span { color: var(--text-dim); background: #fff; border: 1px solid var(--border-mid); border-radius: 999px; font-weight: 600; }
.gm-check span:hover { color: var(--green); background: var(--bg-surface); border-color: var(--green-border); }
.gm-check input:checked + span { color: #fff; background: var(--green); border-color: var(--green); box-shadow: none; }
.alert { border-radius: 8px; }
.alert-success { color: var(--ok); background: var(--ok-bg); border-color: #b5e3c6; }
.alert-error { color: var(--red); background: #fdeeeb; border-color: #f5c6bc; }
.online, .badge-online { color: var(--ok); background: var(--ok-bg); border-color: #b5e3c6; }
.offline, .badge-offline { color: var(--red); background: #fdeeeb; border-color: #f5c6bc; }

/* ── Hero ── */
.blok-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 46%);
  gap: 24px;
  align-items: center;
  min-height: 0;
  margin: 0 calc(50% - 50vw);
  padding: 36px max(var(--gutter), calc(50vw - 620px + var(--gutter))) 40px;
  overflow: hidden;
  isolation: isolate;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  background: linear-gradient(180deg, #f6faff, #fff);
}
.blok-hero::before {
  content: ''; display: block; position: absolute; z-index: -1;
  inset: 0 0 0 auto; width: 49%;
  background: linear-gradient(180deg, #b9dffc, #e8f4fe);
  border-radius: 46% 0 0 34% / 62% 0 0 38%;
}
.blok-hero::after { display: none; }
.hero-copy { position: relative; z-index: 2; max-width: 600px; }
.blok-hero h1 {
  position: relative; display: inline-block; max-width: none; margin: 0 0 18px;
  color: var(--navy);
  font-size: clamp(36px, 4.4vw, 60px);
  font-weight: 800;
  line-height: 1.06;
  letter-spacing: -.03em;
  text-shadow: none;
}
.blok-hero h1 span { position: relative; display: block; color: var(--green); padding-bottom: 8px; }
.blok-hero h1 span::after {
  content: ''; position: absolute; left: 0; bottom: 0; width: 88%; height: 12px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 12' preserveAspectRatio='none'%3E%3Cpath d='M3 9C70 3 210 2 297 6' fill='none' stroke='%2346b94c' stroke-width='3.500' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat center / 100% 100%;
}
.blok-hero h1::after {
  content: ''; position: absolute; top: -16px; right: -26px; width: 32px; height: 32px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Cg stroke='%2346b94c' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M6 22 3 12'/%3E%3Cpath d='M14 20 22 7'/%3E%3Cpath d='M18 26 30 21'/%3E%3C/g%3E%3C/svg%3E") no-repeat center / contain;
}
.hero-copy > p { max-width: 500px; margin: 0 0 22px; color: var(--text-dim); font-size: 18px; font-weight: 500; line-height: 1.45; }
.blok-search { width: min(100%, 540px); padding: 6px 6px 6px 16px; gap: 10px; background: #fff; border: 1px solid var(--border); border-radius: 12px; box-shadow: var(--shadow-card); backdrop-filter: none; }
.blok-search:focus-within { border-color: var(--green); box-shadow: 0 0 0 3px rgba(18,111,223,.15); }
.blok-search .mag { display: grid; color: var(--text-muted); opacity: 1; filter: none; }
.blok-search input, .blok-search input:focus, .blok-search input:hover { color: var(--text); background: none; border: 0; box-shadow: none; font-size: 16px; font-family: var(--font-display); }
.blok-search button { display: grid; place-items: center; min-width: 52px; padding: 11px 14px; border-radius: 9px; }
.blok-chips { display: flex; flex-wrap: wrap; align-items: center; margin-top: 16px; gap: 8px; }
.blok-chips-icon { display: grid; color: var(--text-muted); }
.blok-chip { padding: 6px 14px; color: var(--text-dim); background: #f1f5fa; border: 1px solid var(--border); border-radius: 999px; font-size: 13px; font-weight: 600; text-decoration: none; backdrop-filter: none; }
.blok-chip:hover { color: var(--green); background: var(--green-light); border-color: var(--green-border); transform: none; }
.blok-chip.is-current { color: #fff; background: var(--green); border-color: var(--green); }
.hero-art { position: relative; z-index: 1; display: grid; place-items: center; }
.hero-art picture { display: contents; }
.hero-art img { display: block; width: min(100%, 440px); height: auto; }

/* ── Stemherinnering en gamemode-kop ── */
.vote-reminder { margin: 0 0 18px; color: var(--text); background: var(--green-light); border: 1px solid var(--green-border); border-radius: 10px; font-size: 14px; }
.vote-reminder a { color: var(--green); font-weight: 700; }
.vote-reminder button { color: var(--text-dim); background: #fff; border: 1px solid var(--border-mid); border-radius: 6px; font-family: var(--font-display); }
.landing-intro { position: relative; margin: 0; padding: clamp(22px, 3vw, 36px); overflow: hidden; background: linear-gradient(180deg, #eaf4fe, #f8fbff); border-color: var(--green-border); box-shadow: none; }
.landing-intro h1 { font-size: clamp(30px, 3.6vw, 46px); line-height: 1.08; letter-spacing: -.025em; margin-bottom: 10px; }
.landing-intro p { color: var(--text-dim); font-size: 16px; }

/* ── Homeblokken ── */
.home-section { margin-top: 40px; scroll-margin-top: 24px; }
.section-head { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 14px; margin-bottom: 20px; }
.sh-icon { display: grid; flex: 0 0 auto; color: var(--green); }
.sh-text { flex: 1 1 280px; min-width: 0; }
.sh-text h2 { margin: 0; font-size: clamp(24px, 2.5vw, 30px); line-height: 1.15; letter-spacing: -.025em; }
.sh-text p { margin: 3px 0 0; color: var(--text-muted); font-size: 15px; }
.sh-link { display: inline-flex; align-items: center; gap: 7px; color: var(--green); font-size: 14px; font-weight: 700; text-decoration: none; white-space: nowrap; }
.sh-link:hover { text-decoration: underline; }

/* Populaire servers */
.pop-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.pop-card { position: relative; display: flex; flex-direction: column; overflow: hidden; background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); box-shadow: var(--shadow-card); transition: box-shadow .15s, transform .15s; }
.pop-card:hover { box-shadow: var(--shadow-hover); transform: translateY(-2px); }
.pop-art { display: block; width: 100%; height: auto; aspect-ratio: 4 / 1; object-fit: cover; object-position: center bottom; background: var(--bg-surface); }
/* Een echte banner wordt niet afgesneden: de hele banner bovenaan, op een wazige versie van zichzelf. */
.pop-art-banner { position: relative; overflow: hidden; background-position: center; background-size: cover; }
.pop-art-banner::before { content: ''; position: absolute; inset: -14px; background: inherit; filter: blur(10px) brightness(.8); }
.pop-art-banner img { position: relative; display: block; width: 100%; height: 100%; object-fit: contain; }
.pop-body { display: grid; flex: 1; grid-template-columns: 48px minmax(0, 1fr) auto; grid-template-rows: auto auto 1fr auto auto; column-gap: 10px; padding: 14px 16px 16px; }
.pop-icon { grid-column: 1; grid-row: 1 / 3; align-self: center; width: 48px; height: 48px; background: #fff; border-radius: 10px; box-shadow: 0 1px 4px rgba(15,33,64,.22); image-rendering: pixelated; object-fit: cover; }
.pop-rating { grid-column: 3; grid-row: 1; align-self: start; display: inline-flex; align-items: center; gap: 4px; padding: 2px 8px; color: var(--text); background: #f1f5fa; border-radius: 999px; font-size: 13px; font-weight: 700; white-space: nowrap; }
.pop-rating i { color: #2a9d3f; font-style: normal; }
.pop-rating small { color: var(--text-muted); font-size: 11px; font-weight: 500; }
.pop-name { grid-column: 2; grid-row: 1; margin: 0; color: var(--text); font-size: 18px; font-weight: 800; letter-spacing: -.02em; line-height: 1.2; overflow-wrap: anywhere; }
.pop-mode { grid-column: 2 / -1; grid-row: 2; display: flex; align-items: center; gap: 6px; margin: 2px 0 0; color: var(--text-dim); font-size: 14px; font-weight: 500; }
.pop-desc { grid-column: 1 / -1; margin: 12px 0; color: var(--text-muted); font-size: 13.5px; line-height: 1.4; }
.pop-meta { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 0 0 14px; }
.pop-tag { padding: 2px 10px; color: var(--text-dim); background: #f1f5fa; border-radius: 999px; font-size: 12px; font-weight: 600; }
.pop-tag.is-java { color: var(--green-dark); background: var(--green-light); }
.pop-tag.is-bedrock { color: var(--ok); background: var(--ok-bg); }
.pop-players { display: inline-flex; align-items: center; gap: 5px; color: var(--text-dim); font-size: 13px; font-weight: 600; }
.pop-players.is-off { color: var(--text-muted); }
.pop-btn { grid-column: 1 / -1; display: flex; align-items: center; justify-content: center; gap: 8px; padding: 10px 14px; font-size: 14px; }
.pop-btn::after { content: ''; position: absolute; inset: 0; border-radius: var(--radius-lg); }

/* Categorieën */
.cat-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; }
.cat-tile { position: relative; display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 18px 12px 16px; color: var(--text); background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); box-shadow: var(--shadow-card); font-size: 16px; font-weight: 800; text-decoration: none; transition: box-shadow .15s, border-color .15s, transform .15s; }
.cat-tile:hover { color: var(--green); border-color: var(--green-border); box-shadow: var(--shadow-hover); transform: translateY(-2px); }
.cat-tile img { display: block; width: 56px; height: 56px; object-fit: contain; }
.cat-name { display: flex; align-items: center; gap: 8px; }

/* Getallen */
.home-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 28px; padding: 18px 8px; background: #eaf3fe; border-radius: var(--radius-lg); }
.hs-item { display: flex; align-items: center; justify-content: center; gap: 14px; padding: 2px 14px; }
.hs-item + .hs-item { border-left: 1px solid #cfe0f5; }
.hs-item svg { flex: 0 0 auto; color: var(--green); }
.hs-item:nth-child(3) svg { color: #2a9d3f; }
.hs-item strong { display: block; color: var(--text); font-size: 18px; font-weight: 800; letter-spacing: -.01em; line-height: 1.2; }
.hs-item span { display: block; color: var(--text-dim); font-size: 13px; }

/* Stappen */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px; }
.step { position: relative; display: flex; align-items: center; gap: 16px; }
.step-icon { position: relative; display: grid; flex: 0 0 auto; place-items: center; width: 72px; height: 72px; color: var(--green); background: #eef5fd; border-radius: 16px; }
.step:nth-child(3) .step-icon { color: #2a9d3f; background: var(--ok-bg); }
.step-num { position: absolute; top: -8px; left: -8px; display: grid; place-items: center; width: 26px; height: 26px; color: #fff; background: var(--green); border-radius: 50%; font-size: 13px; font-weight: 800; }
.step h3 { margin: 0 0 3px; font-size: 18px; letter-spacing: -.015em; }
.step p { margin: 0; color: var(--text-muted); font-size: 14px; line-height: 1.4; }

/* Oproep */
.home-cta { position: relative; display: flex; align-items: center; gap: 28px; margin: 76px 0 0; padding: 26px 40px 26px 150px; min-height: 124px; color: #fff; background: linear-gradient(100deg, #0d3a7a, #0f5cc0); border-radius: 18px; }
.cta-held { position: absolute; left: 40px; bottom: 0; width: 88px; height: auto; }
.home-cta > div { flex: 1; min-width: 0; }
.home-cta h2 { margin: 0 0 4px; color: #fff; font-size: clamp(22px, 2.4vw, 30px); letter-spacing: -.025em; }
.home-cta p { margin: 0; color: #dbe9fb; font-size: 16px; }
.cta-btn { display: inline-flex; align-items: center; gap: 8px; padding: 13px 22px; color: #0b2a14; background: #6fdc77; border-radius: 10px; font-size: 16px; font-weight: 800; text-decoration: none; white-space: nowrap; transition: background .12s; }
.cta-btn:hover { color: #0b2a14; background: #8ae891; }

/* ── Lijst ── */
.index-layout { grid-template-columns: minmax(0, 1fr) 290px; gap: 28px; margin-top: 44px; scroll-margin-top: 24px; }
.index-main { padding: 0; background: none; border: 0; border-radius: 0; box-shadow: none; }
.filter-bar { margin-bottom: 16px; align-items: flex-end; gap: 16px; flex-wrap: wrap; }
.filter-title-icon { display: none; }
.filter-heading { margin: 0 0 2px; color: var(--text); font-size: clamp(24px, 2.5vw, 30px); font-weight: 800; letter-spacing: -.025em; line-height: 1.15; }
.result-hint { font-family: var(--font-display); font-size: 14px; color: var(--text-muted); text-transform: none; }
.sort-sel { padding: 9px 30px 9px 11px; color: var(--text); font-family: var(--font-display); font-size: 13px; border-radius: 8px; border-color: var(--border-mid); }
.list-filters { gap: 10px 12px; margin: 0 0 18px; padding: 0 0 16px; background: none; border: 0; border-bottom: 1px solid var(--border); border-radius: 0; }
.list-filters label { font-family: var(--font-display); font-size: 12px; text-transform: none; font-weight: 600; color: var(--text-muted); }
.list-filters select { min-width: 118px; padding: 8px 10px; font-size: 13px; font-family: var(--font-display); }
.list-filters .list-filter-check { font-family: var(--font-display); font-size: 13px; color: var(--text-dim); padding-bottom: 8px; }

/* ── Serverkaart ── */
.server-card {
  grid-template-columns: 36px 64px minmax(0, 1fr) 130px 104px !important;
  gap: 0 14px;
  min-height: 88px;
  margin: 0 0 10px;
  padding: 12px 14px 12px 10px;
  background: #fff;
  border: 1px solid var(--border) !important;
  border-radius: 12px !important;
  box-shadow: 0 1px 2px rgba(15,33,64,.05);
  transition: box-shadow .12s, border-color .12s;
}
.server-card:hover { transform: none; background: #fff; border-color: var(--green-border) !important; box-shadow: var(--shadow-hover); }
.sc-rank { width: 36px; height: 36px; color: var(--text-muted); background: none; border-radius: 0; font-family: var(--font-display); font-size: 18px; font-weight: 800; letter-spacing: 0; font-variant-numeric: tabular-nums; }
.rank-1 .sc-rank, .rank-2 .sc-rank, .rank-3 .sc-rank { width: 32px; height: 32px; color: #2b1f05; border: 0; border-radius: 9px; box-shadow: none; text-shadow: none; font-weight: 800; }
.rank-1 .sc-rank { background: #f4c024; }
.rank-2 .sc-rank { background: #cdd5dd; }
.rank-3 .sc-rank { background: #e6a776; }
.server-card.rank-1 { background: #fffbec; border-color: #f2dc95 !important; }
.server-card.rank-2 { background: #f8fafc; border-color: #d8dfe7 !important; }
.server-card.rank-3 { background: #fff7f0; border-color: #f0d3ba !important; }
.server-card.rank-1:hover { background: #fffbec; border-color: var(--gold) !important; }
.server-card.rank-2:hover { background: #f8fafc; border-color: var(--silver) !important; }
.server-card.rank-3:hover { background: #fff7f0; border-color: var(--bronze) !important; }
.sc-icon { width: 64px; height: 64px; background: var(--bg-surface); border: 0; border-radius: 10px; box-shadow: 0 1px 3px rgba(15,33,64,.18); image-rendering: pixelated; transition: transform .12s; }
.server-card:hover .sc-icon { transform: rotate(-4deg) scale(1.06); }
.sc-name-row { align-items: flex-start; margin-bottom: 2px; }
.sc-name { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; white-space: normal; overflow: hidden; overflow-wrap: anywhere; margin: 0; color: var(--text); font-family: var(--font-display); font-size: 17px; font-weight: 800; line-height: 1.2; letter-spacing: -.01em; }
.sc-name:hover, .server-card:hover .sc-name { color: var(--green); }
/* De hele kaart is klikbaar, alleen deze onderdelen hebben een eigen actie. */
.sc-name::after { content: ''; position: absolute; inset: 0; border-radius: 12px; }
.fav-btn, .sc-ip, .btn-stem, .sc-vote a { position: relative; z-index: 2; }
.fav-btn { margin-top: -2px; color: var(--text-faint); border-radius: 6px; }
.fav-btn.is-fav, .fav-btn:hover { color: var(--gold); background: none; }
html body .fav-btn-large { padding: 8px 12px; color: var(--text-dim); background: #fff; border: 1px solid var(--border-mid); border-radius: 8px; font-size: 13px; }
.sc-ip { display: inline-flex; align-items: center; gap: 6px; margin: 0 0 6px; padding: 0; color: var(--green); background: none; font-family: var(--font-mono); font-size: 13px; cursor: copy; }
.sc-ip::after { content: 'kopieer'; color: var(--text-muted); font-family: var(--font-display); font-size: 11px; opacity: 0; transition: opacity .12s; }
.sc-ip:hover { color: var(--green-dark); background: none; }
.sc-ip:hover::after { opacity: 1; }
.sc-copy-icon { display: none; }
.sc-tags { gap: 5px; }
.gm-survival { --gm: #2c7a1b; }
.gm-skyblock { --gm: #08799e; }
.gm-creative { --gm: #ad2c96; }
.gm-pvp { --gm: #c23a22; }
.gm-minigames { --gm: #9a6200; }
.gm-factions { --gm: #9c5518; }
.gm-prison { --gm: #546070; }
.gm-rpg { --gm: #6a41c6; }
.gm-hardcore { --gm: #c02626; }
.gm-vanilla { --gm: #746325; }
.gm-smp { --gm: #0d8058; }
.gm-editie { --gm: #1c5ccc; }
.gm-tag, .gm-tag.gm-tag, html body .gm-tag {
  padding: 2px 9px;
  color: var(--gm, var(--text-dim));
  background: color-mix(in srgb, var(--gm, #5a6b84) 11%, #fff);
  border: 0;
  border-radius: 999px;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
}
.gm-editie.gm-editie { color: var(--gm) !important; background: color-mix(in srgb, var(--gm) 11%, #fff) !important; }
.gm-versie { color: var(--text-muted); background: none; padding-left: 2px; font-family: var(--font-display); font-size: 12px; }
.sc-desc { max-width: none; color: var(--text-muted); font-family: var(--font-display); font-size: 13px; }

/* Spelers, als een ervaringsbalk */
.sc-status { display: flex; flex-direction: column; align-items: stretch; gap: 6px; }
.sc-players { display: flex; align-items: baseline; gap: 4px; color: var(--text-muted); font-size: 12px; white-space: nowrap; }
.sc-players strong { color: var(--text); font-family: var(--font-display); font-size: 16px; font-weight: 800; letter-spacing: 0; }
.sc-meter { display: block; height: 7px; overflow: hidden; background: #dfe7f1; border-radius: 1px; -webkit-mask: repeating-linear-gradient(90deg, #000 0 10px, transparent 10px 12px); mask: repeating-linear-gradient(90deg, #000 0 10px, transparent 10px 12px); }
.sc-meter i { display: block; height: 100%; min-width: 3px; background: #3fb54a; box-shadow: none; }
.is-offline .sc-players { color: var(--text-muted); }
.sc-mobile-meta .on { color: var(--ok); }

/* Stemmen */
.sc-vote { display: grid; grid-template-columns: auto 1fr; align-items: baseline; gap: 2px 5px; min-width: 0; }
.sc-vote-num { display: block; color: var(--text); font-family: var(--font-display); font-size: 16px; font-weight: 800; letter-spacing: 0; }
.sc-vote-lbl { display: block; color: var(--text-muted); font-family: var(--font-display); font-size: 12px; text-transform: none; letter-spacing: 0; white-space: nowrap; }
.btn-stem {
  display: block; grid-column: 1 / -1; margin-top: 6px; padding: 7px 10px;
  color: var(--green); background: #fff;
  border: 1px solid var(--green-border); border-radius: 8px; box-shadow: none;
  text-align: center; text-transform: none; letter-spacing: 0; text-decoration: none;
  font-family: var(--font-display); font-size: 14px; font-weight: 700;
  transition: background .12s, color .12s, border-color .12s;
}
.btn-stem:hover, .server-card:hover .btn-stem { color: #fff; background: var(--green); border-color: var(--green); box-shadow: none; transform: none; }

/* Gesponsord is gekocht, niet verdiend: daarom paars en geen goud */
.sponsored-block { margin: 0 0 16px; padding: 0 0 8px; border-bottom: 1px solid var(--border); }
.server-card.is-sponsored { background: #f8f5ff; border-color: #dccffb !important; }
.server-card.is-sponsored:hover { background: #f8f5ff; border-color: #6a41c6 !important; }
.is-sponsored .sc-rank, .sc-sponsored-label, html body .sponsored-note { color: #6a41c6; background: none; font-size: 18px; }
.sc-sponsored-label { font-family: var(--font-display); font-size: 12px; font-weight: 700; text-transform: none; letter-spacing: 0; }
html body .sponsored-note { font-size: 12px; }

/* Paginering */
.pagination { gap: 6px; margin-top: 22px; }
.pagination a, .pagination span { color: var(--text-dim); background: #fff; border: 1px solid var(--border); border-radius: 8px; font-family: var(--font-display); font-weight: 600; }
.pagination a:hover { color: var(--green); background: var(--bg-surface); border-color: var(--green-border); }
.pagination span.current { color: #fff; background: var(--green); border-color: var(--green); }

/* ── Zijbalk ── */
.index-sidebar { position: sticky; top: 16px; gap: 14px; }
.sidebar-card { padding: 16px; }
.sidebar-title { margin-bottom: 10px; color: var(--text); font-family: var(--font-display); font-size: 16px; font-weight: 800; letter-spacing: -.01em; text-transform: none; }
.index-stats-bar { margin: 0; background: none; border-color: var(--border); box-shadow: none; }
.stat-cell { border-color: var(--border); }
.stat-cell-val { color: var(--text); font-family: var(--font-display); font-size: 22px; font-weight: 800; letter-spacing: 0; }
.stat-cell-val.g { color: var(--ok); }
.stat-cell-lbl { color: var(--text-muted); font-family: var(--font-display); font-size: 12px; font-weight: 500; text-transform: none; letter-spacing: 0; }
.sidebar-card:has(.add-cta) { padding: 0; overflow: hidden; background: var(--green-light); border-color: var(--green-border); }
.add-cta { min-height: 0; padding: 18px; background: none; border: 0; border-radius: 0; text-decoration: none; }
.add-cta:hover { background: #dcecfd; border: 0; transform: none; }
.add-plus { color: #fff; background: var(--green); border-radius: 8px; box-shadow: none; font-weight: 800; }
.add-cta strong { color: var(--text); font-family: var(--font-display); font-size: 16px; font-weight: 800; line-height: 1.2; letter-spacing: -.01em; }
.add-cta small { color: var(--text-dim); font-family: var(--font-display); font-size: 13px; line-height: 1.45; margin-top: 6px; }
.top-item { display: flex; align-items: center; gap: 10px; padding: 8px 0; border-color: var(--border); }
.top-rank { width: 16px; color: var(--text-muted); font-family: var(--font-display); font-weight: 800; font-size: 14px; }
.sidebar-title + .top-item .top-rank { color: #b07f00; }
.sidebar-title + .top-item + .top-item .top-rank { color: #6f7c8a; }
.sidebar-title + .top-item + .top-item + .top-item .top-rank { color: #b0652c; }
.top-nm { min-width: 0; flex: 1; color: var(--text); font-size: 14px; font-weight: 600; text-decoration: none; }
.top-nm:hover { color: var(--green); }
.top-v { color: var(--text-dim); font-family: var(--font-display); font-weight: 700; font-size: 14px; }

/* ── SEO-tekst ── */
.home-seo { margin-top: 32px; padding: clamp(20px, 3vw, 32px); }
.home-seo h2 { max-width: 760px; margin-bottom: 12px; font-size: clamp(22px, 2.2vw, 28px); line-height: 1.2; letter-spacing: -.02em; }
.home-seo h3 { font-size: 18px; letter-spacing: -.01em; }
.home-seo p, .home-seo li { color: var(--text-dim); }
.home-seo > p { max-width: 820px; font-size: 15px; }
.home-seo strong { color: var(--text); }

/* ── Voet ── */
.site-footer {
  position: relative;
  margin: 48px calc(50% - 50vw) 0;
  padding: 36px max(var(--gutter), calc(50vw - 620px + var(--gutter))) 22px;
  color: var(--text-muted);
  background: #fff;
  border: 0;
  border-top: 1px solid var(--border);
  text-align: left;
  font-family: var(--font-display);
  font-size: 14px;
}
.site-footer::before { display: none; }
.footer-grid { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 24px; margin-bottom: 24px; }
.footer-brand { display: flex; align-items: center; gap: 9px; color: var(--text); font-family: var(--font-display); font-size: 19px; font-weight: 800; letter-spacing: -.02em; }
.footer-brand span { color: var(--green); }
.footer-brand img { width: 30px; height: 30px; border-radius: 6px; }
.footer-grid p { max-width: 300px; margin: 8px 0 0; color: var(--text-muted); }
.footer-grid h2 { margin: 0 0 8px; color: var(--text); font-family: var(--font-display); font-size: 14px; font-weight: 800; letter-spacing: 0; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; }
.footer-grid li { margin: 0 0 5px; }
.site-footer a, footer a { color: var(--text-dim); font-weight: 400; text-decoration: none; }
.site-footer a:hover, footer a:hover { color: var(--green); text-decoration: underline; }
.footer-base { padding-top: 14px; border-top: 1px solid var(--border); font-size: 13px; }

/* ── Kruimelpad en verwante servers ── */
.crumbs { display: flex; flex-wrap: wrap; gap: 4px 8px; margin: 0 0 14px; color: var(--text-muted); font-size: 13px; }
.crumbs a { color: var(--text-dim); font-weight: 600; text-decoration: none; }
.crumbs a:hover { color: var(--green); text-decoration: underline; }
.crumbs [aria-current] { overflow-wrap: anywhere; }
.landing-text h2 { margin: 22px 0 8px; font-size: 20px; }
.landing-text h2:first-child { margin-top: 0; }
.landing-text p { max-width: 820px; margin: 0; line-height: 1.6; }
.landing-text ul { max-width: 820px; margin: 0; padding-left: 20px; line-height: 1.6; }
.landing-text li { margin: 0 0 6px; }
.landing-intro .nav-btn-add { margin-top: 2px; }
.steps-plain .step { align-items: flex-start; }
.steps-plain .step-icon { width: auto; height: auto; background: none; }
.steps-plain .step-num { position: static; width: 38px; height: 38px; font-size: 17px; }
.landing-intro { margin-bottom: 0; }
a.gm-tag { text-decoration: none; }
a.gm-tag:hover { text-decoration: underline; }
.verwant { margin-top: 24px; }
.verwant-kop { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 16px; margin-bottom: 12px; }
.verwant-kop h2 { margin: 0; font-size: 22px; letter-spacing: -.02em; }
.verwant-kop a { color: var(--green); font-size: 14px; font-weight: 700; text-decoration: none; }
.verwant-kop a:hover { text-decoration: underline; }
.verwant-lijst { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.verwant-item { display: flex; align-items: center; gap: 10px; min-width: 0; padding: 10px 12px; color: var(--text); background: #fff; border: 1px solid var(--border); border-radius: 12px; box-shadow: 0 1px 2px rgba(15,33,64,.05); text-decoration: none; transition: border-color .12s, box-shadow .12s; }
.verwant-item:hover { border-color: var(--green-border); box-shadow: var(--shadow-hover); }
.verwant-item img { flex: 0 0 44px; border-radius: 8px; image-rendering: pixelated; }
.verwant-item span { min-width: 0; }
.verwant-item strong { display: block; overflow: hidden; font-size: 14px; font-weight: 800; white-space: nowrap; text-overflow: ellipsis; }
.verwant-item small { display: block; color: var(--text-muted); font-size: 12px; }
@media (max-width: 900px) { .verwant-lijst { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .verwant-lijst { grid-template-columns: minmax(0, 1fr); } }

/* ── Serverpagina ── */
html body .server-detail-hero { margin-top: 0; padding: 22px; gap: 20px; }
html body .detail-rank { min-width: 0; color: var(--text-muted); font-family: var(--font-display); font-size: 24px; font-weight: 800; letter-spacing: 0; }
html body .detail-icon { width: 84px; height: 84px; background: var(--bg-surface); border: 0; border-radius: 14px; box-shadow: 0 1px 4px rgba(15,33,64,.2); }
html body .detail-name { color: var(--text); font-family: var(--font-display); font-size: clamp(26px, 3vw, 38px); font-weight: 800; line-height: 1.1; letter-spacing: -.025em; white-space: normal; overflow-wrap: anywhere; }
html body .connect-box { margin-bottom: 14px; padding: 16px 20px; background: var(--green-light); border: 1px solid var(--green-border); border-radius: var(--radius-lg); box-shadow: none; }
html body .connect-label { color: var(--text-dim); font-family: var(--font-display); font-size: 13px; font-weight: 600; letter-spacing: 0; text-transform: none; }
html body .connect-ip { color: var(--text); font-family: var(--font-mono); font-size: clamp(15px, 2vw, 20px); font-weight: 700; }
html body .connect-copy { padding: 11px 18px; font-size: 15px; }
html body .connect-copy.done, html body .connect-copy.done:hover { color: #fff; background: var(--ok); }
html body .detail-stats-row { padding: 18px 22px; }
html body .detail-stat .stat-value { color: var(--text); font-family: var(--font-display); font-size: 24px; font-weight: 800; letter-spacing: 0; }
html body .detail-stat .stat-label { color: var(--text-muted); font-family: var(--font-display); font-size: 13px; text-transform: none; letter-spacing: 0; }
html body .btn-vote-detail { padding: 13px 24px; font-size: 16px; }
html body .card-title { color: var(--text); font-family: var(--font-display); font-size: 18px; font-weight: 800; letter-spacing: -.01em; text-transform: none; border-bottom: 1px solid var(--border); }
html body .description { white-space: normal; color: var(--text-dim); font-size: 15px; }
html body .voter-rank { color: var(--text-muted); font-family: var(--font-display); font-weight: 800; font-size: 14px; }
html body .voter-count { font-size: 12px; }
html body .claim-cta { background: var(--green-light); border-color: var(--green-border); border-radius: 10px; }
html body .claim-cta-btn { color: #fff; }
html body .ravg-num { font-family: var(--font-display); font-weight: 800; }
html body .ravg-stars, html body .rv-stars { color: var(--gold); }
html body .rv-ava { color: #fff; background: var(--green); border: 0; border-radius: 8px; box-shadow: none; font-weight: 800; }
.server-stats-kpi { background: var(--bg-surface); border-color: var(--border); border-radius: 10px; }
.server-stats-kpi span { color: var(--text-muted); font-size: 12px; }
.server-stats-kpi strong { color: var(--text); font-family: var(--font-display); font-size: 20px; font-weight: 800; letter-spacing: 0; }
.server-chart h3 { font-family: var(--font-display); }
/* De hele banner blijft zichtbaar, welke verhouding hij ook heeft. */
.detail-banner-img { width: 100%; height: auto; object-fit: contain; border-radius: var(--radius-lg); margin: 0 0 14px; }

@media (prefers-reduced-motion: reduce) {
  .sc-icon, .pop-card, .cat-tile { transition: none; }
  .server-card:hover .sc-icon { transform: none; }
  .pop-card:hover, .cat-tile:hover { transform: none; }
}

/* ── Kleinere schermen ── */
@media (max-width: 1180px) {
  .index-layout { grid-template-columns: minmax(0, 1fr); }
  .index-sidebar { position: static; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
  .main-header { position: relative; }
  .pop-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cat-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .home-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 18px; }
  .hs-item:nth-child(3) { border-left: 0; }
  .hs-item { justify-content: flex-start; }
}
@media (max-width: 1080px) {
  .footer-grid { grid-template-columns: 1fr 1fr 1fr; }
  .footer-grid > div:first-child { grid-column: 1 / -1; }
}
@media (max-width: 1200px) {
  .main-header { flex-wrap: wrap; row-gap: 8px; }
  .header-logo-section { order: 1; flex: 1 1 0; min-width: 0; justify-content: flex-start; }
  .header-account { order: 2; flex: 0 0 auto; }
  .header-nav { order: 3; flex: 0 0 100%; justify-content: center; }
  .header-title { white-space: nowrap; }
}
@media (max-width: 900px) {
  .header-nav { justify-content: flex-start; overflow-x: auto; }
  .nav-drop-menu, .nav-drop > .nav-btn-outline::after { display: none !important; }
  .nav-klein { display: inline-flex; }
  .nav-btn-add { display: none; }
  .steps { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .home-cta { flex-wrap: wrap; padding: 22px 22px 22px 110px; }
  .cta-held { left: 14px; width: 78px; }
}
@media (max-width: 780px) {
  .blok-hero { display: block; padding-top: 30px; padding-bottom: 30px; }
  .blok-hero::before, .hero-art { display: none; }
  .blok-hero h1 { font-size: clamp(32px, 9.5vw, 44px); }
  .blok-hero h1::after { display: none; }
  .hero-copy { max-width: none; }
  .hero-copy > p { display: block; font-size: 16px; }
  .blok-chips { display: flex; }
  .server-card {
    grid-template-columns: 26px 48px minmax(0, 1fr) !important;
    gap: 12px 10px;
    padding: 12px;
  }
  .sc-rank { width: 26px; height: 34px; font-size: 16px; }
  .rank-1 .sc-rank, .rank-2 .sc-rank, .rank-3 .sc-rank { width: 26px; height: 26px; border-radius: 7px; }
  .sc-icon { width: 48px; height: 48px; image-rendering: auto; }
  .sc-name { font-size: 16px; }
  .sc-status { display: flex; grid-column: 1 / 4; grid-row: 2; width: 46%; align-self: center; }
  .sc-vote { grid-column: 1 / 4; grid-row: 2; justify-self: end; width: 50%; grid-template-columns: auto auto 1fr; align-items: center; }
  .btn-stem { grid-column: 3; margin: 0; }
  .sc-mobile-meta { display: none !important; }
  .sc-ip::after { display: none; }
}
@media (max-width: 620px) {
  .pop-grid { display: flex; gap: 12px; margin-inline: -14px; padding: 2px 14px 10px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
  .pop-grid::-webkit-scrollbar { display: none; }
  .pop-card { flex: 0 0 78%; scroll-snap-align: center; }
  .pop-card:hover { transform: none; }
  .cat-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  .cat-tile { gap: 8px; padding: 12px 4px 10px; font-size: 14px; }
  .cat-tile img { width: 40px; height: 40px; }
  .cat-name svg { display: none; }
  .home-section { margin-top: 30px; }
  .sh-text p { font-size: 14px; }
  .home-stats { padding: 14px 4px; row-gap: 14px; }
  .hs-item { gap: 8px; padding: 0 10px; }
  .hs-item + .hs-item { border-left: 0; }
  .hs-item svg { width: 26px; height: 26px; }
  .hs-item strong { font-size: 15px; }
  .hs-item span { font-size: 12px; }
  .home-cta { display: block; padding: 22px; text-align: left; }
  .cta-held { display: none; }
  .cta-btn { margin-top: 14px; }
}
@media (max-width: 520px) {
  .container { padding-inline: 14px; }
  .main-header { padding-inline: 14px; column-gap: 8px; }
  .header-logo-section { min-width: 0; gap: 7px; }
  .header-logo-img { width: 30px; height: 30px; }
  .header-title { font-size: 16px; }
  .header-account { gap: 2px; }
  .nav-btn-main { padding: 8px 10px; font-size: 13px; }
  .nav-btn-logout, .nav-btn-register { padding: 8px 4px; font-size: 13px; }
  .nav-btn-outline { padding: 7px 10px; font-size: 13px; }
  .blok-search { flex-wrap: nowrap; padding: 5px 5px 5px 12px; }
  .blok-search .mag { display: none; }
  .blok-search input { padding: 8px 0; }
  .blok-search button { width: auto; min-width: 48px; padding: 10px 12px; }
  .blok-chip:nth-child(n+6) { display: inline-flex; }
  .list-filters label:not(.list-filter-check) { flex: 1 1 28%; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  html body .server-detail-hero { padding: 16px; }
  html body .detail-icon { width: 60px; height: 60px; }
  .sc-vote-lbl { display: none; }
}
