/*
Theme Name: Home Lab Server (Blackskull)
Description: Neongroen-op-zwart thema voor de Home Lab Minecraft-servers. Tweetalig (NL/EN, werkt met Polylang), serverstatus, bouwplannen en leden-login via de plugin "Home Lab Server - Whitelist Login".
Author: Blackskull
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: hls
*/

:root {
  --zwart: #05080a;
  --vlak: #0a100e;
  --vlak2: #0c1512;
  --lijn: #1d3a1a;
  --lijn2: #2f7a1e;
  --groen: #7cff2e;
  --groen-licht: #9dff6a;
  --tekst: #e6f2e8;
  --zacht: #b9cdbd;
  --grijs: #8fa596;
  --oranje: #ffb02e;
  --gloed: 0 0 22px rgba(124, 255, 46, 0.45);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--zwart); color: var(--tekst); font-family: 'Exo 2', system-ui, sans-serif; font-size: 18px; line-height: 1.55; }
a { color: #8cff3a; }
a:hover { color: #c4ff8f; }
img { max-width: 100%; height: auto; }
h1, h2, h3, .blok { font-family: Bungee, 'Exo 2', sans-serif; font-weight: 400; line-height: 1.1; }
h1 { font-size: clamp(32px, 5vw, 50px); margin: 0; text-shadow: var(--gloed); }
h2 { font-size: clamp(24px, 3.4vw, 34px); margin: 0; }
h3 { font-size: 20px; margin: 0; }
.groen { color: var(--groen); }
.zacht { color: var(--zacht); }
.grijs { color: var(--grijs); }
.kicker { font-family: Bungee, sans-serif; font-size: 14px; letter-spacing: 3px; color: var(--groen); margin: 0; }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.sectie { display: flex; flex-direction: column; gap: 22px; }
main.wrap { padding-top: 56px; padding-bottom: 72px; display: flex; flex-direction: column; gap: 64px; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* kop */
.kop { position: sticky; top: 0; z-index: 50; background: rgba(5, 8, 10, 0.92); border-bottom: 1px solid var(--lijn); box-shadow: 0 1px 24px rgba(124, 255, 46, 0.12); }
.admin-bar .kop { top: 32px; }
.kop .wrap { padding-top: 12px; padding-bottom: 12px; display: flex; flex-wrap: wrap; gap: 12px 28px; align-items: center; justify-content: space-between; }
.logo { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--tekst); }
.logo img { width: 48px; height: 48px; border-radius: 99px; border: 2px solid var(--groen); box-shadow: 0 0 14px rgba(124, 255, 46, 0.5); }
.logo span { font-family: Bungee, sans-serif; font-size: 20px; letter-spacing: 1px; }
.menu-rij { display: flex; flex-wrap: wrap; gap: 8px 22px; align-items: center; font-weight: 600; }
.menu-rij ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 22px; }
.menu-rij a { text-decoration: none; }
.menu-rij .current-menu-item > a, .menu-rij .current_page_item > a { color: #c4ff8f; border-bottom: 2px solid var(--groen); }
.knop-rand { border: 1px solid var(--lijn2); border-radius: 6px; padding: 6px 14px; text-decoration: none; }
.speler { color: var(--groen-licht); }
.taal { display: flex; border: 1px solid var(--lijn2); border-radius: 6px; overflow: hidden; }
.taal a { min-width: 46px; min-height: 38px; display: flex; align-items: center; justify-content: center; font-weight: 800; text-decoration: none; color: var(--tekst); }
.taal a.actief { background: var(--groen); color: #04140a; }

/* knoppen */
.hls-knop, .knop { display: inline-block; font-family: Bungee, sans-serif; font-size: 15px; background: var(--groen); color: #04140a !important; padding: 14px 24px; border-radius: 6px; text-decoration: none; border: 0; cursor: pointer; box-shadow: var(--gloed); }
.knop-lijn { display: inline-block; font-family: Bungee, sans-serif; font-size: 15px; border: 2px solid var(--groen); color: var(--tekst); padding: 12px 22px; border-radius: 6px; text-decoration: none; }
.hls-link { font-weight: 800; }

/* held */
.held { position: relative; overflow: hidden; }
.held > img { display: block; width: 100%; height: 640px; object-fit: cover; object-position: left center; }
.held .laag { position: absolute; inset: 0; display: flex; align-items: center; }
.held .laag .wrap { width: 100%; display: flex; justify-content: flex-end; }
.held .kaartje { max-width: 500px; display: flex; flex-direction: column; gap: 18px; background: rgba(5, 8, 10, 0.55); padding: 28px; border-radius: 10px; border: 1px solid var(--lijn); }
.held .kaartje p { margin: 0; }
.knoppen { display: flex; flex-wrap: wrap; gap: 14px; }

/* kaarten */
.raster { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 22px; }
.raster-klein { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 20px; }
.kaart { background: linear-gradient(180deg, var(--vlak2), #080d0c); border: 1px solid #2a5a22; border-radius: 10px; padding: 26px; display: flex; flex-direction: column; gap: 12px; box-shadow: 0 0 28px rgba(124, 255, 46, 0.08); }
.kaart p { margin: 0; }
.vlak { background: var(--vlak); border: 1px solid var(--lijn); border-radius: 10px; padding: 26px; display: flex; flex-direction: column; gap: 10px; }
.status { font-size: 14px; font-weight: 800; padding: 5px 12px; border-radius: 99px; border: 1px solid var(--lijn2); background: #0f2a0c; color: var(--groen-licht); white-space: nowrap; }
.status.uit { background: #2a1010; color: #ff9d9d; border-color: #7a2e2e; }
.adres { display: flex; gap: 8px; }
.adres code { flex: 1; min-width: 0; background: #020403; border: 1px solid var(--lijn); color: var(--groen-licht); padding: 11px 14px; border-radius: 6px; font-size: 16px; overflow-x: auto; }
.adres button { min-width: 100px; min-height: 44px; font: inherit; font-weight: 800; background: #12240f; color: var(--tekst); border: 1px solid var(--lijn2); border-radius: 6px; cursor: pointer; }
.kaart-voet { display: flex; justify-content: space-between; gap: 12px; font-size: 15px; color: var(--grijs); }

/* bouwplannen */
.plan { display: flex; flex-direction: column; background: var(--vlak); border: 1px solid var(--lijn); border-radius: 10px; overflow: hidden; color: var(--tekst); text-decoration: none; }
.plan img, .plan .letter { display: block; width: 100%; height: 170px; object-fit: cover; }
.plan .letter { display: flex; align-items: center; justify-content: center; background: radial-gradient(circle, #12240f 0, #070b09 75%); font-family: Bungee, sans-serif; font-size: 46px; color: var(--lijn2); }
.plan .tekst { padding: 14px 18px 18px; display: flex; flex-direction: column; gap: 4px; }
.plan .soort { font-size: 13px; letter-spacing: 1px; color: var(--groen); text-transform: uppercase; }
.plan strong { font-family: Bungee, sans-serif; font-size: 16px; font-weight: 400; }
.filters { display: flex; flex-wrap: wrap; gap: 10px; }
.filters button { min-height: 44px; font: inherit; font-size: 16px; font-weight: 800; padding: 8px 18px; border-radius: 99px; cursor: pointer; background: transparent; color: var(--tekst); border: 2px solid var(--lijn2); }
.filters button[aria-pressed="true"] { background: var(--groen); color: #04140a; border-color: var(--groen); }
.cijfers { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 16px; }
.cijfers div { background: var(--vlak); border: 1px solid var(--lijn); border-radius: 10px; padding: 18px; }
.cijfers strong { font-family: Bungee, sans-serif; font-weight: 400; font-size: 24px; color: var(--groen-licht); }
.downloads { display: flex; flex-direction: column; gap: 12px; }
.downloads a { min-height: 48px; display: flex; justify-content: space-between; align-items: center; gap: 12px; font-weight: 800; padding: 12px 18px; border-radius: 6px; text-decoration: none; border: 2px solid var(--lijn2); color: var(--tekst); }
.downloads a:first-child { background: var(--groen); color: #04140a; border-color: var(--groen); box-shadow: var(--gloed); }
.twee { display: flex; flex-wrap: wrap; gap: 32px; }
.twee > :first-child { flex: 999 1 520px; min-width: 0; }
.twee > :last-child { flex: 1 1 320px; min-width: 0; }
code.cmd { display: block; background: #020403; border: 1px solid var(--lijn); color: var(--groen-licht); padding: 12px 14px; border-radius: 6px; font-size: 17px; overflow-x: auto; }

/* inhoud uit de editor */
.inhoud { max-width: 820px; }
.inhoud > * + * { margin-top: 1em; }
.inhoud h2, .inhoud h3 { margin-top: 1.4em; }
.inhoud details { background: var(--vlak); border: 1px solid var(--lijn); border-radius: 8px; padding: 16px 20px; }
.inhoud summary { font-weight: 800; cursor: pointer; }

/* slot + formulieren (plugin) */
.hls-slot { text-align: center; display: flex; flex-direction: column; gap: 14px; align-items: center; background: radial-gradient(circle, #10240c 0, var(--zwart) 70%); border: 1px solid var(--lijn2); border-radius: 12px; padding: 64px 24px; color: var(--groen); }
.hls-slot h2 { color: var(--tekst); }
.hls-slot p { margin: 0; max-width: 520px; color: var(--zacht); }
.hls-login { background: linear-gradient(180deg, var(--vlak2), #080d0c); border: 1px solid #2a5a22; border-top: 4px solid var(--groen); border-radius: 12px; padding: 32px; box-shadow: 0 0 30px rgba(124, 255, 46, 0.1); max-width: 640px; }
.hls-form { display: flex; flex-direction: column; gap: 12px; }
.hls-form label { font-weight: 800; }
.hls-form fieldset { border: 0; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.hls-form fieldset label { font-weight: 400; display: flex; gap: 10px; align-items: center; min-height: 32px; }
.hls-form legend { font-weight: 800; margin-bottom: 6px; }
.hls-form input:not([type="radio"]):not([type="checkbox"]), .hls-form textarea { font: inherit; color: var(--tekst); background: #020403; border: 1px solid var(--lijn2); border-radius: 6px; padding: 12px 14px; }
.hls-form .hls-code { font-family: Bungee, sans-serif; font-size: 26px; letter-spacing: 10px; color: var(--groen-licht); max-width: 260px; }
.hls-form button { align-self: flex-start; }
.hls-melding { color: var(--oranje); font-weight: 700; }
.hls-groen { color: var(--groen-licht); }
.hls-verborgen { position: absolute; left: -9999px; }

/* kaart */
.kaartvak { position: relative; border: 2px solid var(--lijn2); border-radius: 12px; overflow: hidden; box-shadow: 0 0 34px rgba(124, 255, 46, 0.15); }
.kaartvak iframe { display: block; width: 100%; height: 70vh; min-height: 480px; border: 0; background: #000; }

/* blackskull-blok */
.powered { display: flex; flex-wrap: wrap; gap: 40px; align-items: center; background: radial-gradient(circle at 20% 50%, #10240c 0, var(--zwart) 70%); border: 1px solid var(--lijn); border-radius: 14px; padding: 36px; }
.powered > img { flex: 0 1 320px; width: 320px; border-radius: 10px; }
.powered > div { flex: 1 1 380px; min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.avatar-klein { width: 56px; height: 56px; border-radius: 99px; border: 2px solid var(--oranje); box-shadow: 0 0 16px rgba(255, 176, 46, 0.5); }

/* voet */
.voet { border-top: 1px solid var(--lijn); box-shadow: 0 -1px 24px rgba(124, 255, 46, 0.1); }
.voet .wrap { padding-top: 26px; padding-bottom: 26px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 15px; color: var(--grijs); }

@media (max-width: 700px) {
  .held > img { height: 420px; }
  .held .laag { position: static; }
  .held .kaartje { max-width: none; margin: -80px 0 0; position: relative; }
  .admin-bar .kop { top: 0; }
  .kop { position: static; }
}
