/* Progio – stijl van de statische pagina's (home, werelden, begrippen, over, privacy). */
@font-face { font-family: 'Nunito'; font-style: normal; font-weight: 400; font-display: swap; src: url('/fonts/nunito-latin-400-normal.woff2') format('woff2'); }
@font-face { font-family: 'Nunito'; font-style: normal; font-weight: 700; font-display: swap; src: url('/fonts/nunito-latin-700-normal.woff2') format('woff2'); }
@font-face { font-family: 'Nunito'; font-style: normal; font-weight: 900; font-display: swap; src: url('/fonts/nunito-latin-900-normal.woff2') format('woff2'); }
:root { --pg-sky: #EAF6FF; --pg-paper: #fff; --pg-ink: #1D2B3A; --pg-ink-soft: #55677A; --pg-pio: #2FB5A5; --pg-pio-deep: #1E8F82; --pg-sun: #FFB730; --pg-line: #CFE3F2; }
* { box-sizing: border-box; min-width: 0; }
body { margin: 0; font-family: 'Nunito', 'Segoe UI', system-ui, sans-serif; font-size: 18px; line-height: 1.6; color: var(--pg-ink); background: var(--pg-sky); }
img { max-width: 100%; height: auto; }
a { color: var(--pg-pio-deep); }
h1, h2, h3 { line-height: 1.15; font-weight: 900; margin: 1.4em 0 .5em; }
h1 { font-size: clamp(1.8rem, 3vw + 1rem, 2.6rem); margin-top: .4em; }
h2 { font-size: 1.45rem; }
h3 { font-size: 1.15rem; }
p, ul, ol { margin: 0 0 1em; }
.pg-site__skip { position: absolute; left: -999px; top: 0; background: #fff; padding: .5rem; }
.pg-site__skip:focus { left: .5rem; z-index: 100; }
.pg-site__hdr { display: flex; align-items: center; gap: .8rem 1.2rem; flex-wrap: wrap; padding: .7rem 1rem; background: var(--pg-paper); border-bottom: 2px solid var(--pg-line); }
.pg-site__logo { display: inline-flex; align-items: center; gap: .5rem; text-decoration: none; color: var(--pg-ink); font-weight: 900; font-size: 1.3rem; }
.pg-site__nav { display: flex; gap: .2rem .9rem; flex-wrap: wrap; }
.pg-site__nav a { text-decoration: none; font-weight: 700; color: var(--pg-ink); padding: .2rem 0; border-bottom: 3px solid transparent; }
.pg-site__nav a[aria-current="page"] { border-color: var(--pg-sun); }
.pg-site__play { text-decoration: none; background: var(--pg-pio); color: #fff; font-weight: 900; padding: .5rem 1.1rem; border-radius: 999px; box-shadow: 0 4px 0 var(--pg-pio-deep); }
.pg-site__crumbs { max-width: 780px; margin: .8rem auto 0; padding: 0 1rem; font-size: .9rem; }
.pg-site__crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: .3rem; padding: 0; margin: 0; }
.pg-site__crumbs li + li::before { content: '›'; margin-right: .3rem; color: var(--pg-ink-soft); }
.pg-site__main { max-width: 780px; margin: 0 auto; padding: .5rem 1rem 3rem; }
.pg-site__lead { font-size: 1.2rem; color: var(--pg-ink-soft); }
.pg-hero { display: flex; gap: 1.2rem; align-items: center; flex-wrap: wrap; margin: 1rem 0 1.5rem; }
.pg-hero img { width: 120px; height: 120px; flex: none; }
.pg-cta { display: inline-block; margin: .6rem 0 1rem; background: var(--pg-pio); color: #fff; text-decoration: none; font-weight: 900; font-size: 1.15rem; padding: .8rem 1.5rem; border-radius: 999px; box-shadow: 0 6px 0 var(--pg-pio-deep); }
.pg-cta--soft { background: var(--pg-paper); color: var(--pg-ink); box-shadow: 0 6px 0 rgba(29, 43, 58, .12); }
.pg-worldlist { list-style: none; padding: 0; display: grid; gap: .8rem; }
.pg-worldlist li { background: var(--pg-paper); border-radius: 16px; padding: .9rem 1rem; border-left: 10px solid var(--c, var(--pg-pio)); }
.pg-worldlist a { font-weight: 900; font-size: 1.1rem; }
.pg-worldlist small { display: block; color: var(--pg-ink-soft); }
.pg-mini { background: var(--pg-paper); border-radius: 18px; padding: 1rem; margin: 1.2rem 0; box-shadow: 0 6px 0 rgba(29, 43, 58, .12); }
.pg-mini h2, .pg-mini h3 { margin-top: 0; }
.pg-mini__board { display: grid; gap: 4px; width: min(100%, 260px); aspect-ratio: 1; background: var(--pg-sky); padding: 4px; border-radius: 12px; margin: .5rem 0; }
.pg-mini__cell { background: #fff; border-radius: 6px; display: flex; align-items: center; justify-content: center; font-size: 1.6rem; position: relative; }
.pg-mini__cell--rock { background: #D8DEE5; }
.pg-mini__cell--color { background: var(--c); }
.pg-mini__pio { position: absolute; inset: 10%; transition: all .25s; }
.pg-mini__row { display: flex; flex-wrap: wrap; gap: .4rem; align-items: center; margin: .5rem 0; }
.pg-mini__strip { min-height: 44px; flex: 1; display: flex; flex-wrap: wrap; gap: 4px; padding: 4px; border: 2px dashed var(--pg-line); border-radius: 10px; background: #fff; font-size: 1.4rem; }
.pg-mini button { font: inherit; font-weight: 900; font-size: 1.3rem; min-width: 48px; min-height: 48px; border: 0; border-radius: 12px; background: var(--pg-pio); color: #fff; cursor: pointer; box-shadow: 0 4px 0 var(--pg-pio-deep); }
.pg-mini button.pg-mini__run { background: #58B947; box-shadow: 0 4px 0 #3E8A30; }
.pg-mini button.pg-mini__tool { background: #fff; color: var(--pg-ink); box-shadow: 0 4px 0 rgba(29, 43, 58, .12); }
.pg-mini button.pg-mini__opt { background: #fff; color: var(--pg-ink); box-shadow: none; border: 3px solid var(--pg-line); }
.pg-mini button.pg-mini__opt--on { background: var(--pg-pio); color: #fff; border-color: var(--pg-pio-deep); }
.pg-mini__msg { font-weight: 900; min-height: 1.5em; }
.pg-mini__count { display: inline-flex; align-items: center; gap: .3rem; font-weight: 900; }
.pg-mini__count output { background: var(--pg-sun); padding: .2rem .6rem; border-radius: 8px; }
.pg-site__faq h3 { margin-bottom: .2em; }
.pg-site__ftr { background: var(--pg-paper); border-top: 2px solid var(--pg-line); padding: 1.5rem 1rem 2rem; }
.pg-site__ftr-cols { max-width: 960px; margin: 0 auto; display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); }
.pg-site__ftr h2 { font-size: 1rem; margin: 0 0 .4em; }
.pg-site__ftr ul { list-style: none; padding: 0; margin: 0; }
.pg-site__ftr li { margin: .2rem 0; }
.pg-site__ftr-note { max-width: 960px; margin: 1.2rem auto 0; color: var(--pg-ink-soft); font-size: .9rem; }
.pg-glossary dt { font-weight: 900; margin-top: .8em; }
.pg-glossary dd { margin: 0 0 .4em; }
table { border-collapse: collapse; width: 100%; background: #fff; border-radius: 12px; }
td, th { text-align: left; padding: .5rem .6rem; border-bottom: 1px solid var(--pg-line); vertical-align: top; }
/* Tijdlijn van de tijdperken op de informatiepagina's */
.pg-eras { list-style: none; padding: 0 0 0 1.4rem; margin: 1rem 0 1.5rem; position: relative; display: grid; gap: .5rem; }
.pg-eras::before { content: ""; position: absolute; left: .45rem; top: .6rem; bottom: .6rem; width: 5px; border-radius: 3px; background: linear-gradient(#2E9E6B, #C2452D, #D97B1F, #3573E0, #6C4BD6); opacity: .6; }
.pg-eras li { position: relative; }
.pg-eras li::before { content: ""; position: absolute; left: -1.4rem; top: .55rem; width: 1rem; height: 1rem; border-radius: 50%; background: var(--c, var(--pg-pio)); border: 3px solid #fff; box-shadow: 0 0 0 2px var(--c, var(--pg-pio)); }
.pg-eras a { display: block; padding: .45rem .8rem; border-radius: 12px; background: var(--pg-paper); text-decoration: none; }
.pg-eras a b { color: var(--c, var(--pg-pio)); }
.pg-eras a span { display: block; font-size: .9rem; color: var(--pg-ink-soft); }
@media (min-width: 720px) {
  .pg-eras { grid-template-columns: repeat(5, minmax(0, 1fr)); padding: 1.6rem 0 0; gap: .5rem; }
  .pg-eras::before { left: 10%; right: 10%; top: .45rem; bottom: auto; width: auto; height: 5px; background: linear-gradient(90deg, #2E9E6B, #C2452D, #D97B1F, #3573E0, #6C4BD6); }
  .pg-eras li::before { left: 50%; top: -1.6rem; transform: translateX(-50%); }
  .pg-eras a { text-align: center; }
}

.pg-table { width: 100%; border-collapse: collapse; margin: 1rem 0; font-size: .95rem; }
.pg-table th, .pg-table td { border: 1px solid var(--pg-line); padding: .5rem .6rem; text-align: left; vertical-align: top; }
.pg-table th { background: var(--pg-paper); }
@media (max-width: 600px) { .pg-table { display: block; overflow-x: auto; } }

/* ===== Visueel: hero-banner met scène, tijdperk-kaarten, helden, zo werkt het ===== */
.pg-site__main--hero { padding-top: 0; }
.pg-hero-banner { position: relative; border-radius: 22px; overflow: hidden; min-height: 340px; display: flex; align-items: flex-end; margin: 1rem 0 1.4rem; box-shadow: 0 14px 40px rgba(29, 43, 58, .18); background: var(--c); }
.pg-hero-banner__scene { position: absolute; inset: 0; }
.pg-hero-banner__scene > svg { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.pg-hero-banner__card { position: relative; margin: 1rem; background: rgba(255, 255, 255, .92); backdrop-filter: blur(4px); border-radius: 18px; padding: 1.1rem 1.3rem; max-width: 560px; }
.pg-hero-banner__card h1 { margin: 0 0 .4rem; font-size: clamp(1.7rem, 4.5vw, 2.6rem); line-height: 1.1; }
.pg-hero-banner__card .pg-site__lead { margin: 0 0 .8rem; font-size: 1.05rem; }
.pg-hero-banner__actions { margin: 0; display: flex; gap: .6rem; flex-wrap: wrap; }
.pg-cta--ghost { background: #fff; color: var(--pg-pio); border: 3px solid var(--pg-pio); }
.pg-how { list-style: none; padding: 0; margin: 0 0 1.6rem; display: grid; gap: .8rem; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.pg-how li { display: grid; gap: .2rem; background: var(--pg-paper); border-radius: 16px; padding: .9rem 1rem; box-shadow: 0 4px 14px rgba(29, 43, 58, .06); }
.pg-how__ico { font-size: 1.6rem; }
.pg-how li b { font-size: 1.05rem; }
.pg-how li span:last-child { color: var(--pg-ink-soft); font-size: .95rem; }
.pg-heroes { list-style: none; padding: 0; margin: 1rem 0 1.4rem; display: grid; gap: .6rem; grid-template-columns: repeat(5, minmax(0, 1fr)); }
.pg-heroes__item { display: grid; justify-items: center; text-align: center; gap: .1rem; background: var(--pg-paper); border-radius: 16px; padding: .7rem .3rem .6rem; border-top: 6px solid var(--c); font-size: .8rem; }
.pg-heroes__item b { font-size: .85rem; line-height: 1.15; }
.pg-heroes__item span:last-child { color: var(--pg-ink-soft); }
.pg-heroes__img { width: 72px; height: 72px; animation: pg-float 3.4s ease-in-out infinite; }
.pg-heroes__img svg { width: 100%; height: 100%; display: block; }
.pg-heroes__item:nth-child(2) .pg-heroes__img { animation-delay: -.6s; } .pg-heroes__item:nth-child(3) .pg-heroes__img { animation-delay: -1.2s; } .pg-heroes__item:nth-child(4) .pg-heroes__img { animation-delay: -1.8s; } .pg-heroes__item:nth-child(5) .pg-heroes__img { animation-delay: -2.4s; }
@media (max-width: 640px) { .pg-heroes { grid-template-columns: repeat(3, minmax(0, 1fr)); } .pg-heroes__img { width: 56px; height: 56px; } }
.pg-era-cards { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); margin: 1rem 0 1.6rem; }
.pg-era-card { display: grid; grid-template-rows: 130px auto; text-decoration: none; color: var(--pg-ink); background: var(--pg-paper); border-radius: 18px; overflow: hidden; box-shadow: 0 6px 18px rgba(29, 43, 58, .08); border-bottom: 8px solid var(--c); transition: transform .15s, box-shadow .15s; }
.pg-era-card:hover, .pg-era-card:focus-visible { transform: translateY(-3px); box-shadow: 0 12px 28px rgba(29, 43, 58, .14); }
.pg-era-card__scene { display: block; position: relative; overflow: hidden; background: var(--c); }
.pg-era-card__scene > svg { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.pg-era-card__body { display: grid; gap: .2rem; padding: .8rem .9rem 1rem; }
.pg-era-card__era { font-size: .8rem; font-weight: 700; color: var(--c); }
.pg-era-card__name { font-size: 1.2rem; }
.pg-era-card__tag { color: var(--pg-ink-soft); font-size: .95rem; }
@media (prefers-reduced-motion: reduce) { .pg-heroes__img { animation: none; } }

/* Brede secties breken uit de tekstkolom */
.pg-wide { width: min(1120px, calc(100vw - 2rem)); margin-left: calc(50% - min(1120px, calc(100vw - 2rem)) / 2); }
.pg-hero-banner { min-height: 420px; }
.pg-hero-banner__card { max-width: 500px; }
@media (max-width: 700px) { .pg-hero-banner { min-height: 0; } .pg-hero-banner__scene { position: relative; height: 200px; } .pg-hero-banner { display: block; } .pg-hero-banner__card { margin: -2rem .8rem 1rem; } }

.pg-era-card--mini { grid-template-rows: auto; }
.pg-era-card--mini .pg-era-card__body { padding-top: 1rem; }

.pg-site__actions { display: flex; gap: .5rem; align-items: center; margin-left: auto; }
.pg-site__login { font-weight: 800; color: var(--pg-ink); text-decoration: none; padding: .55rem .9rem; border-radius: 999px; border: 2px solid var(--pg-line); background: #fff; }
.pg-site__login:hover { border-color: var(--pg-pio); }
.pg-serie__video { position: relative; aspect-ratio: 16 / 9; width: 100%; max-width: 960px; margin: 0 auto 1rem; border-radius: 18px; overflow: hidden; background: #000; }
.pg-serie__video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.pg-serie__list { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
.pg-serie__item { background: #fff; border-radius: 16px; padding: 1rem; box-shadow: 0 4px 0 rgba(0,0,0,.06); }
.pg-site__actions a { white-space: nowrap; }
.pg-site__login { padding: .45rem .8rem; font-size: .95rem; }
.pg-site__play { padding: .5rem 1rem; font-size: .95rem; }
@media (min-width: 1200px) { .pg-site__hdr { flex-wrap: nowrap; } .pg-site__nav { flex-wrap: nowrap; } }
