/* UGCLAB · de pagina van de gratis training (/gratis-training). Eén grote speler, de lessen eronder. */
:root { --bg: #08090B; --panel: #101216; --panel2: #171A1F; --line: #262A31; --ink: #F3F2ED; --muted: #9DA3A0; --lime: #C8FF4D; --limedk: #1B2408; --pink: #FF5CA8;
  --display: 'Bricolage Grotesque', system-ui, sans-serif; --text: 'Instrument Sans', system-ui, sans-serif; --mono: 'JetBrains Mono', ui-monospace, monospace; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 17px/1.55 var(--text); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
svg { width: 1em; height: 1em; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.lab { color: var(--lime); }

.tr-glow { position: fixed; inset: 0; pointer-events: none; z-index: 0;
  background: radial-gradient(60% 50% at 50% 28%, rgba(200,255,77,.13), transparent 70%), radial-gradient(40% 40% at 88% 80%, rgba(77,225,193,.08), transparent 70%), radial-gradient(40% 40% at 8% 70%, rgba(255,92,168,.05), transparent 70%); }
.tr-nav, .tr-wrap, .tr-foot { position: relative; z-index: 1; }
.tr-nav { display: flex; align-items: center; justify-content: space-between; max-width: 1280px; margin: 0 auto; padding: 22px 24px; }
.tr-logo { display: flex; align-items: center; gap: 10px; font: 800 1.35rem var(--display); letter-spacing: -.02em; }
.tr-nav-r { display: flex; align-items: center; gap: 18px; }
.tr-lnk { color: var(--muted); font-weight: 500; transition: color .2s; }
.tr-lnk:hover { color: var(--ink); }

.tr-btn { display: inline-flex; align-items: center; gap: 10px; background: var(--lime); color: var(--limedk); border: 0; border-radius: 99px; padding: 16px 28px; font: 600 1.02rem var(--text); transition: transform .2s, box-shadow .2s; box-shadow: 0 0 0 rgba(200,255,77,0); }
.tr-btn:hover { transform: translateY(-2px); box-shadow: 0 12px 40px rgba(200,255,77,.28); }
.tr-btn.sm { padding: 11px 20px; font-size: .95rem; }
.tr-ghost { background: none; border: 1px solid rgba(255,255,255,.22); border-radius: 99px; padding: 15px 24px; font: 500 1rem var(--text); color: var(--ink); transition: border-color .2s, background .2s; display: inline-flex; align-items: center; }
.tr-ghost:hover { border-color: var(--ink); background: rgba(255,255,255,.06); }

.tr-wrap { max-width: 1280px; margin: 0 auto; padding: 0 24px 80px; }
.tr-hero { text-align: center; padding: 34px 0 44px; }
.tr-kicker { display: inline-flex; align-items: center; gap: 10px; font: 500 .82rem var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--lime); border: 1px solid rgba(200,255,77,.3); background: rgba(200,255,77,.07); padding: 9px 16px; border-radius: 99px; }
.tr-kicker i { width: 8px; height: 8px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 0 rgba(200,255,77,.6); animation: trPulse 2s infinite; }
@keyframes trPulse { 70% { box-shadow: 0 0 0 10px rgba(200,255,77,0); } 100% { box-shadow: 0 0 0 0 rgba(200,255,77,0); } }
.tr-hero h1 { font: 800 clamp(2.5rem, 6.4vw, 5.4rem)/.98 var(--display); letter-spacing: -.045em; margin: 26px 0 22px; }
.tr-hero h1 em, .tr-after h2 em { font-style: normal; color: var(--lime); }
.tr-hero p { max-width: 640px; margin: 0 auto; color: var(--muted); font-size: 1.14rem; }

/* de speler */
.tr-stage { position: relative; animation: trRise .9s cubic-bezier(.2,.8,.2,1) both; }
@keyframes trRise { from { opacity: 0; transform: translateY(36px) scale(.97); } }
.tr-frame { position: relative; aspect-ratio: 16 / 9; border-radius: 30px; overflow: hidden; background: #000; border: 1px solid rgba(200,255,77,.35);
  box-shadow: 0 0 0 8px rgba(200,255,77,.05), 0 40px 120px rgba(0,0,0,.7), 0 0 140px rgba(200,255,77,.16); }
.tr-frame video { width: 100%; height: 100%; display: block; object-fit: cover; background: #000; }
.tr-cover { position: absolute; inset: 0; border: 0; padding: 0; display: flex; align-items: flex-end; text-align: left;
  background: linear-gradient(180deg, rgba(8,9,11,.05) 35%, rgba(8,9,11,.88)); transition: background .25s; }
.tr-cover[hidden], .tr-next[hidden], .tr-gate[hidden], .tr-done[hidden] { display: none; }
.tr-cover-in { display: flex; align-items: center; gap: 24px; padding: clamp(20px, 3.4vw, 46px); }
.tr-bigplay { width: clamp(72px, 8vw, 112px); height: clamp(72px, 8vw, 112px); border-radius: 50%; background: var(--lime); color: var(--limedk); display: grid; place-items: center; flex: none; position: relative; transition: transform .25s; }
.tr-bigplay::after { content: ''; position: absolute; inset: -12px; border-radius: 50%; border: 2px solid rgba(200,255,77,.5); animation: trRing 2.2s infinite; }
@keyframes trRing { from { transform: scale(.9); opacity: 1; } to { transform: scale(1.35); opacity: 0; } }
.tr-bigplay svg { width: 40%; height: 40%; fill: currentColor; stroke: none; margin-left: 6%; }
.tr-cover:hover .tr-bigplay { transform: scale(1.08); }
.tr-cover-t small { display: block; font: 500 .82rem var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--lime); margin-bottom: 6px; }
.tr-cover-t b { font: 800 clamp(1.3rem, 3vw, 2.5rem)/1.05 var(--display); letter-spacing: -.03em; }
.tr-next, .tr-gate, .tr-done { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 12px; padding: 24px;
  background: rgba(8,9,11,.86); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); animation: trFade .35s both; }
@keyframes trFade { from { opacity: 0; } }
.tr-next small, .tr-done small { font: 500 .82rem var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--lime); }
.tr-next b, .tr-gate b, .tr-done b { font: 800 clamp(1.4rem, 3.4vw, 2.8rem)/1.05 var(--display); letter-spacing: -.03em; max-width: 820px; }
.tr-gate p, .tr-done p { margin: 0; color: var(--muted); max-width: 560px; }
.tr-next-row { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; justify-content: center; margin-top: 12px; }
.tr-count { width: min(360px, 70%); height: 4px; border-radius: 4px; background: rgba(255,255,255,.14); overflow: hidden; margin-top: 14px; }
.tr-count i { display: block; height: 100%; width: 0; background: var(--lime); transition: width .1s linear; }
.tr-gate-ic { width: 68px; height: 68px; border-radius: 50%; background: rgba(200,255,77,.12); color: var(--lime); display: grid; place-items: center; font-size: 30px; }

/* de voortgang: één balkje per les, zo lang als de les duurt */
.tr-bar { display: flex; gap: 8px; margin-top: 18px; }
.tr-seg { height: 8px; border: 0; padding: 0; border-radius: 8px; background: rgba(255,255,255,.1); overflow: hidden; transition: background .2s; }
.tr-seg:hover { background: rgba(255,255,255,.2); }
.tr-seg i { display: block; height: 100%; width: 0; background: var(--lime); border-radius: 8px; }
.tr-seg.seen i { opacity: .55; }

/* de drie lessen */
.tr-list { list-style: none; margin: 26px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.tr-card { width: 100%; height: 100%; text-align: left; background: var(--panel); border: 1px solid var(--line); border-radius: 24px; padding: 14px; display: flex; flex-direction: column; gap: 16px; transition: border-color .25s, transform .25s, background .25s; }
.tr-card:hover { transform: translateY(-4px); border-color: rgba(200,255,77,.45); }
.tr-card.on { border-color: var(--lime); background: var(--panel2); box-shadow: 0 0 60px rgba(200,255,77,.1); }
.tr-thumb { position: relative; display: block; aspect-ratio: 16 / 9; border-radius: 14px; overflow: hidden; background: #000; }
.tr-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s; }
.tr-card:hover .tr-thumb img { transform: scale(1.05); }
.tr-thumb-ic { position: absolute; left: 12px; bottom: 12px; width: 42px; height: 42px; border-radius: 50%; background: var(--lime); color: var(--limedk); display: grid; place-items: center; font-size: 18px; }
.tr-thumb-ic svg { fill: currentColor; stroke: none; margin-left: 2px; }
.tr-card.locked .tr-thumb-ic { background: rgba(8,9,11,.75); color: var(--ink); border: 1px solid rgba(255,255,255,.25); }
.tr-card.locked .tr-thumb-ic svg { fill: none; stroke: currentColor; margin: 0; }
.tr-card.locked .tr-thumb img { filter: brightness(.55) saturate(.7); }
.tr-thumb em { position: absolute; right: 12px; bottom: 12px; font: 500 .78rem var(--mono); font-style: normal; background: rgba(8,9,11,.75); padding: 5px 9px; border-radius: 8px; }
.tr-card-t { display: flex; flex-direction: column; gap: 6px; padding: 0 8px 10px; }
.tr-card-t small { font: 500 .78rem var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--lime); }
.tr-card.locked .tr-card-t small { color: var(--muted); }
.tr-card-t b { font: 800 1.34rem/1.15 var(--display); letter-spacing: -.02em; }
.tr-pts { display: flex; flex-direction: column; gap: 7px; margin-top: 8px; color: var(--muted); font-size: .95rem; }
.tr-pts span { display: flex; gap: 9px; align-items: flex-start; }
.tr-pts svg { color: var(--lime); margin-top: 4px; font-size: 15px; }

/* na de training */
.tr-after { margin-top: 90px; }
.tr-after-card { border: 1px solid rgba(200,255,77,.4); border-radius: 32px; padding: clamp(28px, 5vw, 64px); background: linear-gradient(160deg, rgba(200,255,77,.09), transparent 55%), var(--panel); }
.tr-after h2 { font: 800 clamp(1.9rem, 4.4vw, 3.6rem)/1.02 var(--display); letter-spacing: -.04em; margin: 22px 0 28px; max-width: 900px; }
.tr-after ul { list-style: none; margin: 0 0 34px; padding: 0; display: grid; gap: 14px; }
.tr-after li { display: flex; gap: 14px; align-items: flex-start; color: var(--muted); font-size: 1.08rem; }
.tr-after li b { color: var(--ink); }
.tr-after li svg { color: var(--lime); font-size: 22px; margin-top: 3px; }
.tr-after .tr-next-row { justify-content: flex-start; gap: 24px; }
.tr-price { font: 800 2rem var(--display); letter-spacing: -.03em; }
.tr-price small { font: 500 .85rem var(--mono); color: var(--muted); letter-spacing: 0; }
.tr-eerlijk { max-width: 760px; margin: 34px auto 0; text-align: center; color: var(--muted); font-size: .98rem; }
.tr-eerlijk b { color: var(--ink); }
.tr-foot { max-width: 1280px; margin: 0 auto; padding: 28px 24px 40px; border-top: 1px solid var(--line); display: flex; gap: 18px; justify-content: space-between; flex-wrap: wrap; color: var(--muted); font-size: .9rem; }
.tr-foot a:first-child { font: 800 1.1rem var(--display); color: var(--ink); }

@media (max-width: 900px) {
  .tr-list { grid-template-columns: 1fr; }
  .tr-card { flex-direction: row; align-items: center; }
  .tr-thumb { width: 42%; flex: none; }
  .tr-pts { display: none; }
  .tr-card-t { padding: 0 4px; }
  .tr-frame { border-radius: 18px; }
}
@media (max-width: 560px) {
  .tr-wrap { padding: 0 16px 60px; } .tr-nav { padding: 16px; }
  .tr-hero { padding: 16px 0 28px; } .tr-hero p { font-size: 1rem; }
  .tr-cover-in { gap: 14px; } .tr-lnk { display: none; }
  .tr-next-row .tr-ghost { display: none; }
  .tr-after .tr-next-row { flex-direction: column; align-items: flex-start; }
}
@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; } }

/* het formulier voor de training: naam en e-mailadres, daarna start de les */
.tr-lock { overflow: hidden; }
.tr-modal { position: fixed; inset: 0; z-index: 50; display: grid; place-items: center; padding: 16px; overflow-y: auto; background: rgba(8,9,11,.8); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); animation: trFade .3s both; }
.tr-modal[hidden] { display: none; }
.tr-modal-card { position: relative; width: min(520px, 100%); display: flex; flex-direction: column; align-items: flex-start; gap: 14px; padding: clamp(26px, 5vw, 44px); border-radius: 30px; border: 1px solid rgba(200,255,77,.4);
  background: linear-gradient(160deg, rgba(200,255,77,.1), transparent 50%), var(--panel); box-shadow: 0 40px 120px rgba(0,0,0,.7), 0 0 120px rgba(200,255,77,.14); animation: trUp .4s cubic-bezier(.2,.8,.2,1) both; }
@keyframes trUp { from { transform: translateY(24px) scale(.98); opacity: 0; } }
.tr-modal-card h2 { margin: 6px 0 0; font: 800 clamp(1.8rem, 5vw, 2.6rem)/1.02 var(--display); letter-spacing: -.04em; }
.tr-modal-card p { margin: 0 0 6px; color: var(--muted); }
.tr-modal-card label { width: 100%; display: flex; flex-direction: column; gap: 7px; font: 500 .92rem var(--text); color: var(--muted); }
.tr-modal-card input { width: 100%; background: #0B0D10; border: 1px solid var(--line); border-radius: 14px; padding: 15px 16px; font: 500 1.05rem var(--text); color: var(--ink); outline: none; transition: border-color .2s, box-shadow .2s; }
.tr-modal-card input:focus { border-color: var(--lime); box-shadow: 0 0 0 4px rgba(200,255,77,.14); }
.tr-modal-card .tr-btn { width: 100%; justify-content: center; margin-top: 6px; }
.tr-modal-card .tr-btn:disabled { opacity: .6; transform: none; }
.tr-modal-card small { color: var(--muted); font-size: .84rem; line-height: 1.5; }
.tr-modal-card small a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.tr-hp { position: absolute !important; left: -9999px; width: 1px !important; height: 1px; opacity: 0; }
.tr-err { width: 100%; background: rgba(255,92,168,.12); border: 1px solid rgba(255,92,168,.4); color: #FFB3D3; padding: 11px 14px; border-radius: 12px; font-size: .94rem; }
.tr-err[hidden] { display: none; }
.tr-x { position: absolute; top: 16px; right: 16px; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); background: none; color: var(--muted); font-size: 24px; line-height: 1; }
.tr-x:hover { color: var(--ink); border-color: var(--ink); }

.tr-google { width: 100%; display: flex; align-items: center; justify-content: center; gap: 12px; background: #fff; color: #1F1F1F; border-radius: 99px; padding: 15px 24px; font: 600 1.02rem var(--text); transition: transform .2s, box-shadow .2s; }
.tr-google:hover { transform: translateY(-2px); box-shadow: 0 12px 40px rgba(255,255,255,.16); }
.tr-google svg { width: 20px; height: 20px; }
.tr-of { width: 100%; display: flex; align-items: center; gap: 14px; color: var(--muted); font-size: .86rem; }
.tr-of::before, .tr-of::after { content: ''; flex: 1; height: 1px; background: var(--line); }
.tr-modal { display: flex; }
.tr-modal-card { margin: auto; gap: 12px; }
@media (max-height: 760px) { .tr-modal-card { padding: 24px 28px; } .tr-modal-card .tr-kicker { display: none; } .tr-modal-card input { padding: 12px 14px; } }

.tr-route { display: inline-flex; align-items: center; gap: 8px; margin-top: 10px; color: var(--lime); font-weight: 500; font-size: .95rem; }
.tr-route:hover { text-decoration: underline; text-underline-offset: 4px; }
