/* Foxy Explore: aftelklok, kaart met landen en routes, knoppen in het bètablok.
   Gebouwd door tools/site_tests/explore/explore_pagina.py (9 nov 2026). Enkel op de Explore-pagina's. */

/* Voor en na de start (11 nov 00:00 Belgische tijd): de klasse zet een inline script in <head>. */
html.explore-open [data-tot] { display: none !important; }
html:not(.explore-open) [data-vanaf] { display: none !important; }

.hero__badge--open { color: var(--green); border-color: rgba(52, 211, 153, 0.45); background: rgba(52, 211, 153, 0.1); }
.explore-hero__foxy { display: block; width: 128px; height: 128px; margin: 4px auto 6px; filter: drop-shadow(0 10px 22px rgba(0, 0, 0, 0.35)); }

.explore-intro { color: var(--text-secondary); max-width: 640px; margin: 0 auto 28px; font-size: 1.1rem; }
.explore-start { margin: 8px auto 0; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.explore-start__let { color: var(--primary); font-weight: 600; font-size: 0.92rem; max-width: 560px; margin: 10px auto 0; }
.aftellen { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.aftellen__label { color: var(--text-secondary); font-weight: 600; font-size: 1rem; }
.aftellen__vakken { display: flex; gap: 10px; justify-content: center; }
.aftellen__vakken > div { min-width: 76px; padding: 12px 8px 10px; border-radius: var(--radius); background: var(--bg-card); border: 1px solid var(--border); display: flex; flex-direction: column; align-items: center; gap: 2px; }
.aftellen__vakken b { font-size: 2rem; font-weight: 900; line-height: 1.1; color: var(--primary); font-variant-numeric: tabular-nums; }
.aftellen__vakken span { font-size: 0.8rem; color: var(--text-muted); }

/* Kaart */
.explore-cijfers { display: flex; justify-content: center; flex-wrap: wrap; gap: 14px; margin: -1.5rem auto 28px; }
.explore-cijfers > div { min-width: 130px; padding: 14px 18px; border-radius: var(--radius); background: var(--bg-card); border: 1px solid var(--border); text-align: center; }
.explore-cijfers b { display: block; font-size: 2rem; font-weight: 900; line-height: 1.1; color: var(--primary); font-variant-numeric: tabular-nums; }
.explore-cijfers span { color: var(--text-secondary); font-size: 0.9rem; }

.explore-kaart { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); gap: 24px; align-items: center; max-width: 1100px; margin: 0 auto; }
.explore-kaart__fig { margin: 0; padding: 12px; border-radius: 20px; background: var(--bg-card); border: 1px solid var(--border); }
.explore-kaart__fig svg { display: block; width: 100%; height: auto; }
.explore-kaart__fig figcaption { padding: 8px 6px 2px; font-size: 0.85rem; color: var(--text-secondary); text-align: center; }
.kaart__achter { fill: rgba(255, 255, 255, 0.045); stroke: rgba(255, 255, 255, 0.13); stroke-width: 0.8; stroke-linejoin: round; }
.kaart__land { fill: rgba(255, 107, 53, 0.16); stroke: rgba(255, 107, 53, 0.6); stroke-width: 1.1; stroke-linejoin: round; transition: fill 0.2s ease; }
.kaart__land.is-actief { fill: rgba(255, 107, 53, 0.42); }
.kaart__stippen circle { fill: var(--primary); stroke: rgba(255, 107, 53, 0.24); paint-order: stroke; }
.kaart__inzet { fill: rgba(255, 255, 255, 0.02); stroke: rgba(255, 255, 255, 0.22); stroke-dasharray: 5 5; }
.kaart__inzetlabel { fill: var(--text-secondary); font: 600 24px Poppins, sans-serif; }

.explore-landenlijst { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.explore-landenlijst li { display: grid; grid-template-columns: 1fr auto; align-items: baseline; gap: 4px 12px; padding: 10px 14px; border-radius: 12px; background: var(--bg-card); border: 1px solid var(--border); transition: border-color 0.2s ease, transform 0.2s ease; }
.explore-landenlijst li.is-actief { border-color: var(--primary); transform: translateX(4px); }
.explore-landenlijst .naam { font-weight: 700; }
.explore-landenlijst .cijfer { color: var(--text-secondary); font-size: 0.82rem; text-align: right; white-space: nowrap; }
.explore-landenlijst .cijfer b { color: var(--text); font-weight: 700; }
.explore-landenlijst .balk { grid-column: 1 / -1; height: 4px; border-radius: 4px; background: linear-gradient(90deg, var(--primary) var(--p), rgba(255, 255, 255, 0.08) var(--p)); }

/* Bètablok */
.explore-beta__knoppen { display: flex; flex-wrap: wrap; gap: 12px; }
.explore-beta .explore-beta__knoppen a { text-decoration: none; }

@media (max-width: 900px) {
    .explore-kaart { grid-template-columns: 1fr; }
    .explore-landenlijst { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
    .explore-landenlijst { grid-template-columns: 1fr; }
    .aftellen__vakken { gap: 8px; }
    .aftellen__vakken > div { min-width: 64px; }
    .aftellen__vakken b { font-size: 1.6rem; }
    .explore-cijfers > div { min-width: 0; flex: 1 1 0; padding: 12px 8px; }
    .explore-cijfers b { font-size: 1.5rem; }
    .explore-beta__knoppen .btn { width: 100%; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) {
    .kaart__land, .explore-landenlijst li { transition: none; }
    .explore-landenlijst li.is-actief { transform: none; }
}
