/* DieOuwe — huisstijl (gelijk aan de oude losse pagina's, nu op één plek) */
:root {
  --bg: #0a0c10; --fg: #e6e8eb; --muted: #9aa3ad;
  --accent: #4da3ff; --accent2: #a855f7;
  --line: #232833; --card: #12161d; --wrap: 1100px;
}
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  min-height: 100vh; display: flex; flex-direction: column;
  background: radial-gradient(1200px 600px at 80% -10%, rgba(77,163,255,0.12), transparent 60%),
              radial-gradient(900px 500px at 0% 100%, rgba(168,85,247,0.10), transparent 60%),
              var(--bg);
  color: var(--fg); font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  line-height: 1.6; overflow-x: hidden;
}
body.fx-cursor { cursor: none; }
@media (hover: none), (pointer: coarse) {
  body.fx-cursor { cursor: auto; } .cursor, .cursor-dot { display: none; }
}
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
#bg { position: fixed; inset: 0; z-index: -1; pointer-events: none; }
.cursor, .cursor-dot { position: fixed; top: 0; left: 0; pointer-events: none; z-index: 9999; border-radius: 50%; transform: translate(-50%, -50%); }
.cursor { width: 34px; height: 34px; border: 1.5px solid rgba(77,163,255,0.7); transition: width .2s, height .2s, background .2s, border-color .2s; mix-blend-mode: difference; }
.cursor.hover { width: 60px; height: 60px; background: rgba(77,163,255,0.15); border-color: rgba(168,85,247,0.9); }
.cursor-dot { width: 6px; height: 6px; background: var(--accent); }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }

.preview-bar { background: linear-gradient(90deg, var(--accent), var(--accent2)); color: #fff; text-align: center; font-size: .88rem; padding: 6px 12px; font-weight: 600; }
.preview-bar a { color: #fff; text-decoration: underline; }

.site-header { border-bottom: 1px solid var(--line); background: rgba(10,12,16,0.72); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); position: sticky; top: 0; z-index: 10; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 72px; }
.brand { font-weight: 800; font-size: 1.25rem; letter-spacing: 0.4px; background: linear-gradient(90deg, var(--accent), var(--accent2)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; display: inline-flex; align-items: center; gap: 10px; transition: transform .2s, filter .2s; }
.brand::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: linear-gradient(135deg, var(--accent), var(--accent2)); box-shadow: 0 0 12px rgba(77,163,255,0.8); animation: pulse 2.4s ease-in-out infinite; }
.brand:hover { text-decoration: none; transform: translateY(-1px); filter: brightness(1.15); }
@keyframes pulse { 0%,100% { box-shadow: 0 0 8px rgba(77,163,255,0.6); transform: scale(1); } 50% { box-shadow: 0 0 18px rgba(168,85,247,0.9); transform: scale(1.15); } }

.site-header nav { display: flex; gap: 8px; background: rgba(255,255,255,0.03); border: 1px solid var(--line); border-radius: 999px; padding: 6px; }
.nav-link { position: relative; display: inline-flex; align-items: center; gap: 8px; padding: 9px 18px; border-radius: 999px; font-size: 0.92rem; font-weight: 600; color: var(--muted); white-space: nowrap; transition: color .25s, background .25s, transform .15s; overflow: hidden; }
.nav-link .nav-icon { font-size: 1rem; line-height: 1; transition: transform .3s cubic-bezier(.34,1.56,.64,1); }
.nav-link::before { content: ""; position: absolute; inset: 0; border-radius: inherit; background: linear-gradient(90deg, rgba(77,163,255,0.18), rgba(168,85,247,0.18)); opacity: 0; transition: opacity .25s; z-index: -1; }
.nav-link:hover { color: var(--fg); text-decoration: none; transform: translateY(-1px); }
.nav-link:hover::before { opacity: 1; }
.nav-link:hover .nav-icon { transform: scale(1.25) rotate(-6deg); }
.nav-link:active { transform: translateY(0) scale(0.97); }
.nav-link:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.nav-link.active { color: #fff; background: linear-gradient(90deg, var(--accent), var(--accent2)); box-shadow: 0 6px 20px rgba(77,163,255,0.35); }
.nav-link.active::before { opacity: 0; }

/* Nieuwsticker onder de kop */
.news-ticker { border-bottom: 1px solid var(--line); background: rgba(18,22,29,0.75); overflow: hidden; font-size: .88rem; }
.news-track { display: flex; width: max-content; animation: news var(--dur, 40s) linear infinite; }
.news-ticker:hover .news-track, .news-ticker:focus-within .news-track { animation-play-state: paused; }
.news-set { display: flex; }
.news-set a, .news-set span { padding: 8px 28px; color: var(--muted); white-space: nowrap; position: relative; }
.news-set a::before, .news-set span::before { content: ""; position: absolute; left: 0; top: 50%; width: 6px; height: 6px; margin-top: -3px; border-radius: 50%; background: linear-gradient(135deg, var(--accent), var(--accent2)); }
.news-set a:hover { color: var(--fg); text-decoration: none; }
@keyframes news { to { transform: translateX(-50%); } }

main.wrap {
  flex: 1 0 auto;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding-top: 60px; padding-bottom: 80px;
}

.hero { text-align: center; max-width: 760px; width: 100%; }
.badge { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px; background: rgba(77,163,255,0.1); border: 1px solid rgba(77,163,255,0.35); color: var(--accent); font-size: 0.82rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 24px; }
.badge .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 10px var(--accent); animation: pulse 1.6s ease-in-out infinite; }
.hero h1 { font-size: clamp(2.4rem, 7vw, 4.5rem); line-height: 1.05; letter-spacing: -0.03em; margin: 0 0 20px; font-weight: 800; }
.hero h1 .grad { background: linear-gradient(90deg, var(--accent), var(--accent2)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.hero .lead { max-width: 580px; margin: 0 auto 32px; font-size: clamp(1rem, 2vw, 1.15rem); color: var(--muted); }

.countdown { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-bottom: 32px; }
.cd-box { min-width: 84px; padding: 14px 12px; background: rgba(255,255,255,0.03); border: 1px solid var(--line); border-radius: 14px; transition: border-color .25s, transform .25s; }
.cd-box:hover { border-color: rgba(77,163,255,0.5); transform: translateY(-2px); }
.cd-num { display: block; font-size: 1.8rem; font-weight: 800; background: linear-gradient(90deg, var(--accent), var(--accent2)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; line-height: 1.1; font-variant-numeric: tabular-nums; }
.cd-label { display: block; font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted); margin-top: 4px; }
.cd-done { font-size: 1.4rem; font-weight: 800; background: linear-gradient(90deg, var(--accent), var(--accent2)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }

.ai-embed { margin: 0 auto 24px; width: 100%; max-width: 760px; display: flex; justify-content: center; }
.ai-embed iframe { display: block; width: 100%; max-width: 100%; border: 0; border-radius: 14px; }
.ai-embed:last-of-type { margin-bottom: 40px; }

.page-body { text-align: left; color: var(--fg); margin: 0 auto 32px; max-width: 680px; }
.page-body p { color: var(--muted); }
.page-body img { max-width: 100%; height: auto; border-radius: 12px; }

.cta-row { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 12px 24px; border-radius: 999px; font-weight: 700; font-size: 0.95rem; border: 1px solid var(--line); color: var(--fg); background: rgba(255,255,255,0.03); transition: transform .15s, box-shadow .25s, border-color .25s, background .25s; }
.btn:hover { text-decoration: none; transform: translateY(-2px); border-color: rgba(77,163,255,0.5); }
.btn-primary { background: linear-gradient(90deg, var(--accent), var(--accent2)); border: none; color: #fff; box-shadow: 0 6px 20px rgba(77,163,255,0.35); }
.btn-primary:hover { box-shadow: 0 10px 28px rgba(168,85,247,0.45); }

/* Theater: video's van YouTube als afspeellijsten */
.theater { width: 100%; margin-top: 8px; text-align: left; }
.vempty { text-align: center; padding: 48px 20px; border: 1px dashed var(--line); border-radius: 16px; color: var(--muted); }
.vempty span { font-size: 2.6rem; }

.vspot { display: grid; grid-template-columns: 1.6fr 1fr; gap: 26px; align-items: center; padding: 18px; margin-bottom: 30px; background: var(--card); border: 1px solid var(--line); border-radius: 20px; box-shadow: 0 20px 60px rgba(0,0,0,0.35); }
.vspot .vcard { border: 0; background: none; box-shadow: none; transform: none; }
.vspot .vcard .vinfo { display: none; }
.vspot .vthumb { border-radius: 14px; }
.vspot .vplay { width: 82px; height: 82px; margin: -41px 0 0 -41px; }
.vspot .vplay::after { left: 33px; top: 25px; border-width: 16px 0 16px 25px; }
.vspot-label { display: inline-block; font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); }
.vspot-info h2 { margin: 6px 0 10px; font-size: clamp(1.3rem, 3vw, 1.9rem); line-height: 1.15; }
.vspot-info p { margin: 0 0 18px; color: var(--muted); }
.vspot-play { border: 0; cursor: pointer; font: inherit; font-weight: 700; }

.vbar { display: flex; flex-direction: column; gap: 14px; margin-bottom: 18px; }
.vsearch { width: 100%; max-width: 460px; margin: 0 auto; padding: 12px 18px; border-radius: 999px; border: 1px solid var(--line); background: rgba(255,255,255,0.04); color: var(--fg); font: inherit; }
.vsearch:focus { outline: 2px solid var(--accent); outline-offset: 2px; }
.vchips { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; }
.vchip { padding: 8px 16px; border-radius: 999px; border: 1px solid var(--line); background: rgba(255,255,255,0.03); color: var(--muted); font: inherit; font-weight: 600; font-size: .9rem; cursor: pointer; transition: color .2s, border-color .2s, background .2s; }
.vchip:hover { color: var(--fg); border-color: rgba(77,163,255,0.5); }
.vchip.on { color: #fff; border-color: transparent; background: linear-gradient(90deg, var(--accent), var(--accent2)); }

.vlist { position: relative; margin-bottom: 26px; }
.vhead { font-size: 1.15rem; margin: 0 0 12px; display: flex; align-items: baseline; gap: 10px; }
.vhead small { font-size: .8rem; color: var(--muted); font-weight: 600; }
.vrow { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(240px, calc((100% - 3 * 16px) / 4)); gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 2px 12px; scrollbar-width: thin; scrollbar-color: var(--line) transparent; }
.vrow > * { scroll-snap-align: start; }
.vlist.open .vrow, .vresults .vrow { grid-auto-flow: row; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); overflow: visible; }
.vlist.open .vnav, .vresults .vnav { display: none; }
.vnav { position: absolute; top: 50%; z-index: 2; width: 42px; height: 42px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.2); background: rgba(10,12,16,0.85); color: #fff; font-size: 1.6rem; line-height: 1; cursor: pointer; box-shadow: 0 6px 20px rgba(0,0,0,0.5); }
.vnav:hover { background: linear-gradient(135deg, var(--accent), var(--accent2)); }
.vnav.prev { left: -14px; } .vnav.next { right: -14px; }
.vnav[hidden] { display: none; }
.vnone { color: var(--muted); }

.vcard { display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; color: var(--fg); transition: transform .2s, border-color .2s, box-shadow .2s; }
.vcard:hover, .vcard:focus-visible { text-decoration: none; transform: translateY(-3px); border-color: rgba(77,163,255,0.5); box-shadow: 0 14px 40px rgba(0,0,0,0.45); }
.vcard:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.vthumb { position: relative; display: block; aspect-ratio: 16 / 9; background: linear-gradient(135deg, rgba(77,163,255,0.25), rgba(168,85,247,0.25)); overflow: hidden; }
.vthumb img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s; }
.vcard:hover .vthumb img { transform: scale(1.04); }
.vplay { position: absolute; left: 50%; top: 50%; width: 58px; height: 58px; margin: -29px 0 0 -29px; border-radius: 50%; background: linear-gradient(135deg, var(--accent), var(--accent2)); box-shadow: 0 8px 26px rgba(0,0,0,0.5); transition: transform .2s; }
.vplay::after { content: ""; position: absolute; left: 23px; top: 17px; border-style: solid; border-width: 12px 0 12px 18px; border-color: transparent transparent transparent #fff; }
.vcard:hover .vplay { transform: scale(1.12); }
.vnew { position: absolute; left: 10px; top: 10px; padding: 3px 10px; border-radius: 999px; font-size: .72rem; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; color: #fff; background: linear-gradient(90deg, var(--accent), var(--accent2)); }
.vinfo { display: flex; flex-direction: column; gap: 2px; padding: 11px 13px 13px; }
.vtitle { font-weight: 700; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.vcat { font-size: .8rem; color: var(--accent); font-weight: 600; }

.vbox { width: min(1000px, calc(100vw - 24px)); max-height: calc(100vh - 24px); padding: 0; border: 1px solid var(--line); border-radius: 18px; background: var(--card); color: var(--fg); overflow: auto; }
.vbox::backdrop { background: rgba(5,6,10,0.88); backdrop-filter: blur(4px); }
.vbox-in { position: relative; padding: 56px 14px 18px; }
.vframe { aspect-ratio: 16 / 9; background: #000; border-radius: 12px; overflow: hidden; }
.vframe iframe { width: 100%; height: 100%; border: 0; display: block; }
.vbox-title { margin: 14px 4px 4px; font-size: 1.2rem; }
.vbox-desc { margin: 0 4px 12px; color: var(--muted); white-space: pre-line; }
.vbox-desc:empty { display: none; }
.vbox-acts { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 4px; }
.vbox-acts .btn { padding: 8px 14px; font-size: .86rem; cursor: pointer; font-family: inherit; }
.vfb:hover { border-color: #1877f2; } .vwa:hover { border-color: #25d366; } .vyt:hover { border-color: #ff3d3d; }
.vclose { position: absolute; right: 14px; top: 10px; z-index: 2; width: 38px; height: 38px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.25); background: rgba(10,12,16,0.75); color: #fff; font-size: 1rem; cursor: pointer; }
.vclose:hover { background: linear-gradient(135deg, var(--accent), var(--accent2)); }
body.fx-cursor .vbox, body.fx-cursor:has(.vbox[open]) { cursor: auto; }
@media (max-width: 760px) {
  .vspot { grid-template-columns: 1fr; gap: 14px; padding: 12px; }
  .vrow { grid-auto-columns: 78%; }
  .vnav { display: none; }
}

.cbf { background: var(--card); border-top: 1px solid var(--line); color: var(--muted); font-size: 0.9rem; }
.cbf-wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.cbf-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px; padding-top: 40px; padding-bottom: 32px; }
.cbf-brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 1.05rem; color: var(--fg); margin-bottom: 10px; }
.cbf-brand:hover { text-decoration: none; color: var(--accent); }
.cbf-brand img { border-radius: 8px; }
.cbf-about p { margin: 0; max-width: 42ch; }
.cbf nav { display: flex; flex-direction: column; gap: 8px; }
.cbf nav h4 { margin: 0 0 6px; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--fg); }
.cbf nav a { color: var(--muted); }
.cbf nav a:hover { color: var(--fg); text-decoration: none; }
.cbf-line { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 18px; padding-bottom: 24px; border-top: 1px solid var(--line); font-size: 0.82rem; }

@media (max-width: 760px) {
  .cbf-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
  .cbf-about { grid-column: 1 / -1; }
  .site-header nav { padding: 4px; gap: 4px; }
  .nav-link { padding: 8px 12px; font-size: 0.85rem; }
  .nav-link .nav-text { display: none; }
  .nav-link .nav-icon { font-size: 1.15rem; }
}
@media (max-width: 600px) {
  /* insluitingen op de telefoon: beelden niet hoger dan het scherm breed is, maak-venster iets hoger (tabbladen lopen door) */
  .ai-embed iframe { height: var(--h); }
  .em-gallery-slider iframe, .em-gallery-slider-hand iframe, .em-gallery-feature iframe { height: min(var(--h), calc(100vw - 20px)); }
  .em-maak iframe { height: calc(var(--h) + 40px); }
  main.wrap { padding-top: 32px; padding-bottom: 56px; }
}
@media (max-width: 480px) {
  /* kop op één regel; past het menu niet, dan schuift het opzij */
  .site-header .wrap { gap: 10px; min-height: 60px; }
  .brand { font-size: 1.1rem; gap: 8px; flex: none; }
  .site-header nav { min-width: 0; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  .site-header nav::-webkit-scrollbar { display: none; }
  .nav-link { padding: 7px 10px; }
  .news-set a, .news-set span { padding: 7px 22px; }
  .cbf-grid { grid-template-columns: 1fr 1fr; gap: 20px; }
  .cbf-line { flex-direction: column; }
  .countdown { gap: 8px; }
  .cd-box { min-width: 70px; padding: 12px 8px; }
  .cd-num { font-size: 1.5rem; }
}
@media (prefers-reduced-motion: reduce) {
  .news-track, .brand::before, .badge .dot { animation: none; }
  .news-ticker { overflow-x: auto; }
}
