/* ---- Soepel en af: speelduur, start, timer, nazorg ---- */
.klaar-keuze { margin: 1.4em auto 0; max-width: 640px; }
.klaar-keuze h3 { margin: 0 0 0.6em; font-size: 1em; text-transform: uppercase; letter-spacing: 0.16em; }
.klaar-keuze .chip small { font-size: 0.82em; }
.klaar-noot { margin: -0.2em 0 0.8em; font-size: 0.9em; }
.knop.na-timer { animation: naTimer 1.2s ease-in-out infinite; }
@keyframes naTimer { 50% { transform: scale(1.06); box-shadow: 0 0 0 6px rgba(233, 194, 122, 0.25); } }
@media (prefers-reduced-motion: reduce) { .knop.na-timer { animation: none; outline: 3px solid var(--goud); } }
.nazorg-lijst { list-style: none; padding: 0; margin: 0.6em auto 1em; max-width: 420px; display: grid; gap: 10px; text-align: left; }
.nazorg-lijst li { display: flex; gap: 12px; align-items: center; padding: 12px 16px; border-radius: 14px; font-size: 1.05em; }
.nazorg-lijst .ic { flex: none; width: 20px; height: 20px; }

/* ---- Het Rad van verlangen op de kaart zelf ---- */
.rad-op-kaart { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.rd-slots { display: flex; align-items: stretch; justify-content: center; gap: 10px; width: 100%; }
.rd-slots .ru-plus { align-self: center; font-family: var(--font-kop); font-size: 1.4em; }
.rd-slot { flex: 1; max-width: 230px; min-height: 64px; padding: 10px 12px; border-radius: 16px; border: 1.5px dashed var(--lijn); display: flex; flex-direction: column; justify-content: center; gap: 2px; transition: background 0.35s, border-color 0.35s, box-shadow 0.35s; }
.rad-op-kaart:not(.twee) .rd-slot { max-width: 300px; }
.rd-slot small { text-transform: uppercase; letter-spacing: 0.14em; font-size: 0.7em; }
.rd-slot b { font-family: var(--font-kop); font-size: 1.2em; font-weight: 600; line-height: 1.2; opacity: 0.3; }
.rd-slot.vol { border-style: solid; }
.rd-slot.vol b { opacity: 1; animation: knal 0.5s cubic-bezier(0.2, 1.6, 0.4, 1); }
.rd-wiel { position: relative; width: min(320px, 72vw, 40vh); aspect-ratio: 1; margin: 16px auto 0; overflow: visible; }
.rd-laag { position: absolute; inset: 0; transition: opacity 0.45s ease, transform 0.45s ease; }
.rd-laag.verborgen { display: none; }
.rd-laag.weg { opacity: 0; transform: scale(1.08); }
.rd-laag.erin { animation: rdErin 0.55s cubic-bezier(0.2, 0.9, 0.3, 1.15) both; }
@keyframes rdErin { from { opacity: 0; transform: scale(0.82) rotate(-30deg); } }
.rd-vraag { margin: 6px 0 0; font-family: var(--font-kop); font-size: 1.35em; }
.kaart.rd-bezig .rd-na,
.kaart.rd-bezig .timer,
.kaart.rd-bezig .k-labels,
.kaart.rd-bezig #k-knoppen { display: none; }
.kaart.rd-klaar .rd-wiel,
.kaart.rd-klaar .rd-vraag { display: none; }
.kaart.rd-klaar .rd-na,
.kaart.rd-klaar .timer,
.kaart.rd-klaar .k-labels,
.kaart.rd-klaar #k-knoppen { animation: rdOpdracht 0.55s cubic-bezier(0.2, 0.9, 0.3, 1.1) both; }
.kaart.rd-klaar .rd-na { margin-top: 10px; }
@keyframes rdOpdracht { from { opacity: 0; transform: translateY(12px); } }
#rd-knoppen { justify-content: center; width: 100%; }
.kaart.rd-klaar .rad-op-kaart.slots-weg { display: none; }

/* ---- Filmische opening: foto over het hele scherm, tekst die rustig tevoorschijn komt ---- */
.laag.film-laag { padding: 0; overflow: hidden; }
.laag.film-laag .laag-inhoud { display: block; width: 100%; height: 100%; }
/* Bij de start van het spel staat de opening er meteen, zonder dat het bord eerst even zichtbaar is */
.laag.film-laag.direct { opacity: 1; transition: none; }
.film { position: fixed; inset: 0; overflow: hidden; color: #fff7ef; background: #0b0706; font-family: var(--font); }
.film-beeld { position: absolute; inset: 0; transition: transform 0.9s ease, opacity 0.7s ease; }
.film-beeld img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform-origin: 65% 45%; will-change: transform; animation: filmIn 1.6s ease both, filmZoom 34s ease-in-out infinite alternate; }
@keyframes filmIn { from { opacity: 0; filter: blur(8px) brightness(0.6); } }
/* Langzaam in- en weer uitzoomen met een kleine verschuiving, zoals een camera die rustig beweegt. Blijft doorgaan zolang het scherm open is. */
@keyframes filmZoom { 0% { transform: scale(1.03) translate3d(0, 0, 0); } 100% { transform: scale(1.16) translate3d(-1.8%, -1.2%, 0); } }
/* Het licht ademt zacht mee */
.film-beeld::after { content: ''; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(ellipse 60% 50% at 62% 38%, rgba(255, 196, 120, 0.16), rgba(255, 196, 120, 0) 70%); mix-blend-mode: screen; animation: filmLicht 9s ease-in-out 2s infinite alternate both; }
@keyframes filmLicht { from { opacity: 0.2; } to { opacity: 1; } }
.film-waas { position: absolute; inset: 0; pointer-events: none;
    background:
        linear-gradient(90deg, rgba(10, 6, 5, 0.86) 0%, rgba(10, 6, 5, 0.6) 30%, rgba(10, 6, 5, 0.15) 55%, rgba(10, 6, 5, 0) 70%),
        linear-gradient(0deg, rgba(10, 6, 5, 0.7) 0%, rgba(10, 6, 5, 0) 45%),
        radial-gradient(ellipse at 50% 50%, rgba(0, 0, 0, 0) 55%, rgba(0, 0, 0, 0.35) 100%); }
/* Alle maten in em: op een groot scherm groeit de hele tekst mee */
.film-tekst { position: absolute; left: clamp(24px, 6vw, 220px); bottom: clamp(28px, 9vh, 200px); width: min(38em, 48vw); font-size: clamp(15px, 0.6vw + 0.5vh + 4px, 40px); display: flex; flex-direction: column; align-items: flex-start; transition: opacity 0.5s ease, transform 0.5s ease; }
.film-tekst > * { animation: filmTekst 1s cubic-bezier(0.2, 0.8, 0.2, 1) both; animation-delay: var(--d, 0s); }
.film-tekst > .film-scene { animation: none; }
.film-scene > span { display: inline; animation: filmZin 1.2s ease both; animation-delay: var(--d, 0s); }
@keyframes filmTekst { from { opacity: 0; transform: translateY(16px); filter: blur(5px); } }
@keyframes filmZin { from { opacity: 0; filter: blur(4px); } }
.film-kicker { text-transform: uppercase; letter-spacing: 0.32em; font-size: 0.78em; font-weight: 600; color: #e9cf9a; }
.film-titel { font-family: var(--font-sier); font-weight: 400; font-size: 5.6em; line-height: 1.05; margin: 0.08em 0 0.04em; padding-bottom: 0.06em; color: #fffaf2; text-shadow: 0 2px 34px rgba(0, 0, 0, 0.5); overflow-wrap: break-word; }
.film-sub { margin: 0; font-family: var(--font-kop); font-style: italic; font-size: 1.45em; color: #f3e2c4; }
.film-lijn { display: block; width: 7em; height: 1px; margin: 1.1em 0; background: linear-gradient(90deg, #e9cf9a, rgba(233, 207, 154, 0)); }
.film-scene { margin: 0 0 1em; font-family: var(--font-kop); font-style: italic; font-size: 1.22em; line-height: 1.6; color: #fbefe0; text-shadow: 0 1px 12px rgba(0, 0, 0, 0.45); }
.film-regels { list-style: none; padding: 0; margin: 0 0 1.3em; display: grid; gap: 0.55em; font-size: 0.95em; line-height: 1.45; color: #f3e9dc; }
.film-regels li { display: grid; grid-template-columns: 7.5em 1fr; gap: 0.8em; align-items: baseline; }
.film-regels b { color: #e9cf9a; font-weight: 600; text-transform: uppercase; letter-spacing: 0.16em; font-size: 0.75em; }
.film-lijst { list-style: none; padding: 0; margin: 0 0 1.3em; display: grid; gap: 0.6em; font-size: 1.05em; color: #fbefe0; }
.film-lijst li { display: flex; gap: 0.7em; align-items: center; }
.film-lijst .ic { width: 1.2em; height: 1.2em; color: #e9cf9a; flex: none; }
.film-start { margin: 0 0 1em; font-size: 0.95em; color: #f3e9dc; }
.film-knop { margin-top: 0.1em; font-size: 1em; padding: 0.85em 1.7em; }
.film-hint { position: absolute; right: 24px; bottom: 20px; font-size: clamp(12px, 0.5vw + 4px, 20px); letter-spacing: 0.06em; color: rgba(255, 247, 239, 0.55); animation: filmTekst 1s ease 1.5s both; transition: opacity 0.4s; pointer-events: none; }
.film.alles .film-tekst > *, .film.alles .film-scene > span { animation-delay: 0s !important; animation-duration: 0.35s !important; }
.film.alles .film-hint { opacity: 0; }
.film.uit .film-beeld { transform: scale(1.06); opacity: 0; }
.film.uit .film-tekst { opacity: 0; transform: translateY(-12px); }
.film.uit .film-waas, .film.uit .film-hint { opacity: 0; transition: opacity 0.6s; }
@media (orientation: portrait), (max-width: 760px) {
    .film-waas { background: linear-gradient(0deg, rgba(10, 6, 5, 0.92) 0%, rgba(10, 6, 5, 0.72) 32%, rgba(10, 6, 5, 0.2) 58%, rgba(10, 6, 5, 0) 72%); }
    .film-tekst { left: max(20px, calc(50% - 20em)); right: max(20px, calc(50% - 20em)); width: auto; bottom: 22px; align-items: center; text-align: center; font-size: clamp(14px, 1.1vw + 0.4vh + 4px, 26px); }
    .film-titel { font-size: 4.2em; }
    .film-lijn { background: linear-gradient(90deg, rgba(233, 207, 154, 0), #e9cf9a, rgba(233, 207, 154, 0)); }
    .film-regels li { grid-template-columns: 1fr; gap: 2px; }
    .film-lijst li { justify-content: center; }
    .film-hint { display: none; }
}
@media (prefers-reduced-motion: reduce) {
    /* Ook als Windows om minder beweging vraagt: een heel rustige zoom, zonder verschuiving */
    .film-beeld img { animation: filmFade 1s ease both, filmZoomRustig 40s ease-in-out infinite alternate; }
    /* (de algemene regel bovenin zet alle animaties uit; deze ene rustige zoom mag blijven) */
    html .film .film-beeld img { animation-duration: 1s, 40s !important; animation-iteration-count: 1, infinite !important; }
    .film-beeld::after { animation: none; opacity: 0.6; }
    @keyframes filmZoomRustig { from { transform: scale(1.03); } to { transform: scale(1.09); } }
    .film-tekst > *, .film-scene > span { animation-name: filmFade; }
    @keyframes filmFade { from { opacity: 0; } }
}

/* ---- Geheime keuze binnen de filmscène (verborgen verlangens) ---- */
.film-geheim { position: absolute; inset: 0; display: none; flex-direction: column; align-items: center; justify-content: center; padding: clamp(20px, 4vh, 80px) clamp(16px, 4vw, 80px); text-align: center; font-size: clamp(15px, 0.6vw + 0.5vh + 4px, 40px); background: radial-gradient(ellipse at 50% 55%, rgba(10, 6, 5, 0.5), rgba(10, 6, 5, 0.86)); }
.film.geheim .film-geheim { display: flex; animation: filmZin 0.8s ease both; }
.film.geheim .film-tekst { opacity: 0; transform: translateY(-14px); pointer-events: none; }
.film.geheim .film-hint { display: none; }
.fg-kop { max-width: 34em; }
.fg-zin { margin: 0.5em 0 0; font-family: var(--font-kop); font-style: italic; font-size: 1.25em; line-height: 1.5; color: #fbefe0; }
.fg-podium { width: min(62em, 100%); min-height: 15em; margin: 1.6em 0 0.4em; display: flex; align-items: center; justify-content: center; }
.fg-podium.in > * { animation: filmTekst 0.6s cubic-bezier(0.2, 0.8, 0.2, 1) both; }
.fg-door p { margin: 0 0 1.4em; color: #f3e9dc; }
.fg-naam { position: relative; margin: 0 0 0.25em; font-family: var(--font-sier); font-weight: 400; font-size: 4.4em; line-height: 1.05; color: #fffaf2; text-shadow: 0 2px 30px rgba(0, 0, 0, 0.5); }
.fg-naam::after { content: ''; display: block; width: 1.4em; height: 3px; margin: 0.18em auto 0; border-radius: 3px; background: var(--kleur, #e9cf9a); }
.fg-eind .fg-naam { font-size: 3.2em; }
.fg-kies { width: 100%; }
.fg-vraag { margin: 0 0 1em; font-family: var(--font-kop); font-style: italic; font-size: 1.55em; color: #fffaf2; }
.fg-kaarten { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.1em; width: 100%; perspective: 1400px; }
.fg-kaart { position: relative; min-height: 10em; padding: 2em 1.2em 2.2em; border-radius: 18px; display: flex; align-items: center; justify-content: center; text-align: center; font-family: var(--font-kop); font-size: 1.3em; line-height: 1.35; color: #3a2e29; cursor: pointer;
    background: linear-gradient(170deg, #fffaf2, #f1e4cf);
    border: 1px solid rgba(233, 207, 154, 0.9);
    box-shadow: 0 20px 50px -20px rgba(0, 0, 0, 0.75), inset 0 0 0 6px rgba(255, 250, 242, 0.65), inset 0 0 0 7px rgba(182, 154, 101, 0.45);
    transition: transform 0.25s ease, box-shadow 0.25s ease, opacity 0.3s ease, filter 0.3s ease; }
.fg-kaart:hover { transform: translateY(-4px); }
.fg-kaart:focus-visible { outline: 3px solid #e9cf9a; outline-offset: 4px; }
.fg-vink { position: absolute; bottom: 0.7em; left: 50%; width: 1.5em; height: 1.5em; border-radius: 50%; display: grid; place-items: center; background: #9b5145; color: #fff; transform: translateX(-50%) scale(0); transition: transform 0.25s cubic-bezier(0.2, 1.6, 0.4, 1); }
.fg-vink .ic { width: 0.9em; height: 0.9em; }
.fg-kaart.aan { box-shadow: 0 26px 60px -18px rgba(0, 0, 0, 0.85), 0 0 0 2px #e9cf9a, 0 0 46px -6px rgba(233, 207, 154, 0.65), inset 0 0 0 6px rgba(255, 250, 242, 0.65), inset 0 0 0 7px rgba(182, 154, 101, 0.45); }
.fg-kaart.aan .fg-vink { transform: translateX(-50%) scale(1); }
.fg-kaarten.gekozen .fg-kaart:not(.aan) { opacity: 0.72; filter: saturate(0.75); }
.fg-kaart.weg { opacity: 0 !important; transform: translateY(14px) scale(0.96); pointer-events: none; }
/* Halverwege het omdraaien wordt de kaart een dichte, gouden kaart */
.fg-kaart.dicht { background: linear-gradient(160deg, #e2c68c, #b18a46 55%, #8d682f); transition: background 0s 0.28s; }
.fg-kaart.dicht > * { opacity: 0; transition: opacity 0s 0.28s; }
.fg-knoppen { margin-top: 1.7em; display: flex; flex-direction: column; align-items: center; gap: 0.8em; transition: opacity 0.3s; }
.fg-knoppen.weg { opacity: 0; pointer-events: none; }
.fg-sla { font-size: 0.85em; color: rgba(255, 247, 239, 0.62); text-decoration: underline; text-underline-offset: 3px; }
.fg-sla:hover { color: #fffaf2; }
.fg-stip { display: inline-flex; align-items: center; gap: 0.55em; font-size: 0.9em; color: rgba(255, 247, 239, 0.62); transition: color 0.3s; }
.fg-stip i { width: 1.7em; height: 1.7em; border-radius: 50%; display: grid; place-items: center; border: 1.5px solid var(--kleur); transition: background 0.4s, box-shadow 0.4s, border-color 0.4s; }
.fg-stip i .ic { width: 0.85em; height: 0.85em; color: #3a2e29; opacity: 0; transition: opacity 0.3s; }
.fg-stip.nu { color: #fffaf2; }
.fg-stip.nu i { box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.1), 0 0 20px var(--kleur); }
.fg-stip.klaar i { background: radial-gradient(circle at 35% 30%, #f6e3b4, #c7a465 60%, #8d682f); border-color: #e9cf9a; }
.fg-stip.klaar i .ic { opacity: 1; }
@media (orientation: portrait), (max-width: 760px) {
    .film-geheim { font-size: clamp(14px, 1.1vw + 0.4vh + 4px, 26px); justify-content: flex-end; padding-bottom: 28px; }
    .fg-kaarten { grid-template-columns: 1fr; gap: 0.8em; }
    .fg-kaart { min-height: 0; padding: 1.1em 1.2em 1.1em 3em; justify-content: flex-start; text-align: left; font-size: 1.15em; }
    .fg-vink { bottom: auto; top: 50%; left: auto; right: 0.8em; transform: translateY(-50%) scale(0); }
    .fg-kaart.aan .fg-vink { transform: translateY(-50%) scale(1); }
    .fg-podium { min-height: 0; }
    .fg-naam { font-size: 3.4em; }
}
@media (prefers-reduced-motion: reduce) {
    .fg-podium.in > * { animation-name: filmFade; }
    .fg-kaart:hover { transform: none; }
    .fg-kaart { transition: opacity 0.3s ease, filter 0.3s ease, box-shadow 0.3s ease; }
}
