/* ===================== FapReel.com - mobile-first, reels-only ===================== */
:root{
  --bg:#0b0b0f; --surface:#15151b; --surface2:#1d1d25; --fg:#f5f5f7; --muted:#9a9aa2;
  --line:#26262e; --yellow:#ffd400; --yellow-d:#e6c000; --pink:#ff2d55;
  --wrap:720px; --r:14px; color-scheme:dark;
}
*{box-sizing:border-box}
html,body{margin:0;padding:0}
body{
  background:var(--bg); color:var(--fg); -webkit-font-smoothing:antialiased;
  font-family:system-ui,-apple-system,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;
  font-size:16px; line-height:1.5;
}
a{color:inherit; text-decoration:none}
img,video{display:block; max-width:100%}
h1,h2,h3{margin:0 0 .4em; line-height:1.12; letter-spacing:-.02em; font-weight:800}
.wrap{max-width:var(--wrap); margin:0 auto; padding:0 16px}
.visually-hidden{position:absolute!important; width:1px; height:1px; margin:-1px; padding:0; overflow:hidden; clip:rect(0 0 0 0); clip-path:inset(50%); white-space:nowrap; border:0}
.btn{display:inline-flex; align-items:center; gap:.5em; padding:.7em 1.15em; border-radius:999px; font-weight:700; background:var(--surface2); color:var(--fg)}
.btn-yellow{background:var(--yellow); color:#111}
.btn-yellow:hover{background:var(--yellow-d)}

/* ---------- top bar ---------- */
.topbar{position:sticky; top:0; z-index:40; background:rgba(11,11,15,.86); backdrop-filter:blur(10px); border-bottom:1px solid var(--line)}
.topbar-in{display:flex; align-items:center; gap:14px; height:54px; max-width:var(--wrap); margin:0 auto; padding:0 16px}
.logo{font-weight:900; font-size:1.35rem; letter-spacing:-.03em; display:inline-flex; align-items:center}
.logo b{color:var(--yellow)}
.logo span{color:var(--fg)}
.logo .play{width:0;height:0;border-left:11px solid var(--yellow);border-top:7px solid transparent;border-bottom:7px solid transparent;margin-right:7px}
.topnav{margin-left:auto; display:flex; gap:6px}
.topnav a{padding:.4em .7em; border-radius:999px; font-size:.9rem; color:var(--muted); font-weight:600}
.topnav a:hover,.topnav a.active{color:var(--fg); background:var(--surface2)}
.nav-toggle{display:none; margin-left:auto; width:44px; height:44px; border:0; background:transparent; cursor:pointer; flex-direction:column; justify-content:center; align-items:center; gap:5px; padding:10px}
.nav-toggle span{display:block; width:22px; height:2px; background:var(--fg); border-radius:2px; transition:transform .2s, opacity .2s}
.topbar.nav-open .nav-toggle span:nth-child(1){transform:translateY(7px) rotate(45deg)}
.topbar.nav-open .nav-toggle span:nth-child(2){opacity:0}
.topbar.nav-open .nav-toggle span:nth-child(3){transform:translateY(-7px) rotate(-45deg)}
@media(max-width:600px){
  .nav-toggle{display:flex}
  .topnav{position:absolute; top:56px; right:8px; left:8px; margin:0; flex-direction:column; gap:2px; background:var(--surface); border:1px solid var(--line); border-radius:14px; padding:8px; box-shadow:0 14px 34px rgba(0,0,0,.55); display:none}
  .topbar.nav-open .topnav{display:flex}
  .topnav a{padding:.8em 1em; font-size:1.02rem; border-radius:10px}
}

/* ===================== REELS VIEWER ===================== */
body.reels-viewer{overflow:hidden}
body.reels-viewer .topbar{position:fixed; top:0; left:0; right:0; background:linear-gradient(to bottom,rgba(0,0,0,.55),transparent); backdrop-filter:none; border-bottom:0}
body.reels-viewer .site-footer{position:absolute; left:-9999px; top:auto}
.reels-wrap{position:relative}
.reels-feed{
  height:100svh; overflow-y:auto; scroll-snap-type:y mandatory;
  -webkit-overflow-scrolling:touch; background:#000; scrollbar-width:none;
}
.reels-feed::-webkit-scrollbar{display:none}
.reel{
  height:100svh; scroll-snap-align:start; scroll-snap-stop:always;
  display:grid; place-items:center; position:relative;
}
.reel-inner{position:relative; width:100%; height:100%; overflow:hidden}
.reel-video{width:100%; height:100%; object-fit:cover; background:#000}
.reel-spin{position:absolute; top:50%; left:50%; width:46px; height:46px; margin:-23px 0 0 -23px; z-index:2; border-radius:50%; border:3px solid rgba(255,255,255,.25); border-top-color:#fff; opacity:0; pointer-events:none; transition:opacity .15s}
.reel.is-loading .reel-spin{opacity:1; animation:reel-spin .8s linear infinite}
@keyframes reel-spin{to{transform:rotate(360deg)}}
@media (min-width:701px){ .reel-inner{aspect-ratio:9/16; height:100%; margin:0 auto} }

/* overlay meta */
.reel-meta{
  position:absolute; left:0; right:0; bottom:0; z-index:3; padding:16px 16px 22px;
  display:flex; flex-direction:column; gap:9px; pointer-events:none;
  background:linear-gradient(to top,rgba(0,0,0,.82) 8%,rgba(0,0,0,.45) 55%,transparent 100%);
}
.reel-meta a,.reel-meta button{pointer-events:auto}
.reel-studio{display:inline-flex; align-items:center; gap:8px; align-self:flex-start; background:rgba(0,0,0,.4); padding:5px 11px 5px 5px; border-radius:999px; border:1px solid rgba(255,255,255,.14); font-weight:700; font-size:.9rem}
.reel-studio img{width:24px; height:24px; border-radius:50%; object-fit:cover; background:#333}
.reel-models{display:flex; flex-wrap:wrap; gap:6px 10px; font-size:1.05rem; font-weight:800}
.reel-models a{text-shadow:0 1px 6px rgba(0,0,0,.6)}
.reel-models a:hover{color:var(--yellow)}
.reel-model-unknown{color:var(--muted); font-weight:700}
/* modelnamen: linksboven, onder elkaar, als pills */
.reel-models-top{position:absolute; top:64px; left:12px; z-index:3; display:flex; flex-direction:column; align-items:flex-start; gap:7px; max-width:72%; pointer-events:none}
.reel-models-top a,.reel-models-top .reel-model-unknown{pointer-events:auto; background:rgba(0,0,0,.42); backdrop-filter:blur(5px); border:1px solid rgba(255,255,255,.12); color:rgba(255,255,255,.92); font-weight:600; font-size:.9rem; line-height:1.15; padding:.38em .85em; border-radius:999px}
.reel-models-top a:hover{background:var(--yellow); color:#111; border-color:var(--yellow)}
.reel-models-top .reel-models-more{color:rgba(255,255,255,.72); font-size:.78rem; font-weight:600; padding-left:.35em}
.reel-niches{display:flex; flex-wrap:wrap; gap:7px}
.reel-chip{font-size:.82rem; font-weight:700; padding:.32em .8em; border-radius:999px; background:rgba(255,255,255,.14); backdrop-filter:blur(4px)}
.reel-chip:hover{background:var(--yellow); color:#111}
.reel-fullbtn{align-self:center; margin-top:6px; background:var(--yellow); color:#111; font-weight:800; padding:.8em 1.6em; border-radius:999px; box-shadow:0 6px 22px rgba(255,212,0,.28)}
.reel-fullbtn:hover{background:#fff}

.reel-mute{position:absolute; top:66px; right:14px; z-index:4; width:42px; height:42px; border:1px solid rgba(255,255,255,.16); border-radius:50%; background:rgba(0,0,0,.35); backdrop-filter:blur(6px); color:#fff; cursor:pointer; display:grid; place-items:center; -webkit-tap-highlight-color:transparent; transition:transform .12s}
.reel-mute:active{transform:scale(.9)}
.reel-mute svg{width:20px; height:20px; display:none}
.reel-mute .ic-on{display:block}
.reels-feed.is-muted .reel-mute .ic-on{display:none}
.reels-feed.is-muted .reel-mute .ic-off{display:block}

.reels-close{position:fixed; top:12px; left:12px; z-index:50; width:42px; height:42px; border-radius:50%; background:rgba(0,0,0,.42); color:#fff; display:grid; place-items:center}
.reels-close svg{width:20px; height:20px}

/* end card */
.reel-end{background:linear-gradient(160deg,#15151b,#0b0b0f); text-align:center; padding:32px}
.reel-end-inner{max-width:340px}
.reel-end h2{font-size:1.4rem}
.reel-end-btn{display:inline-block; margin:14px 0 8px; background:var(--yellow); color:#111; font-weight:800; padding:.75em 1.4em; border-radius:999px}
.reel-end-link{display:block; color:var(--muted); font-size:.92rem; margin-top:6px}
.reels-empty{height:100svh; display:grid; place-content:center; text-align:center; gap:14px; padding:24px}

/* ---------- HUB header (peek: first reel shows ~70% under this) ---------- */
.reels-hub-head{
  scroll-snap-align:start; min-height:30svh; background:linear-gradient(180deg,#12121a,#0b0b0f);
  border-bottom:1px solid var(--line); padding:64px 16px 18px; display:flex; flex-direction:column; justify-content:flex-start;
}
.reels-hub-head .hub-crumb{font-size:.82rem; color:var(--muted); margin-bottom:8px}
.reels-hub-head .hub-crumb a:hover{color:var(--fg)}
.reels-hub-head h1{font-size:clamp(1.5rem,7vw,2.1rem)}
.reels-hub-head h1 .accent{color:var(--yellow)}
.hub-stats{display:flex; flex-wrap:wrap; gap:6px 8px; margin:10px 0 0; padding:0; list-style:none; font-size:.9rem}
.hub-stats li{background:var(--surface2); border:1px solid var(--line); border-radius:999px; padding:.28em .8em; color:var(--muted)}
.hub-stats li b{color:var(--fg)}
.hub-intro{margin:11px 0 0; color:var(--muted); font-size:.94rem}
.hub-intro a{color:var(--yellow)}
.hub-hint{margin:10px 0 0; font-size:.82rem; color:var(--muted); display:flex; align-items:center; gap:6px}
.hub-hint .arrow{animation:bob 1.6s ease-in-out infinite}
@keyframes bob{0%,100%{transform:translateY(0)}50%{transform:translateY(4px)}}

/* ===================== standard page (hubs, legal) ===================== */
.page{padding:22px 0 60px}
.page h1{font-size:clamp(1.6rem,6vw,2.3rem); margin-bottom:6px}
.page h1 .accent{color:var(--yellow)}
.lead{color:var(--muted); margin:0 0 22px}
.breadcrumb{font-size:.85rem; color:var(--muted); padding:12px 0}
.breadcrumb a:hover{color:var(--fg)}
.breadcrumb .sep{margin:0 6px}

.tile-grid{display:grid; grid-template-columns:repeat(auto-fill,minmax(104px,1fr)); gap:8px}
@media(min-width:640px){ .tile-grid{grid-template-columns:repeat(auto-fill,minmax(150px,1fr))} }
.tile{background:var(--surface); border:1px solid var(--line); border-radius:12px; padding:12px 8px; display:flex; flex-direction:column; align-items:center; text-align:center; gap:7px; font-weight:700; font-size:.82rem; line-height:1.15}
.tile:hover{border-color:var(--yellow); background:var(--surface2)}
.tile img{width:40px; height:40px; border-radius:50%; object-fit:cover; background:#333; flex:0 0 auto}
.tile .t-sub{display:block; font-weight:600; font-size:.7rem; color:var(--muted); margin-top:1px}
.chip-list{display:flex; flex-wrap:wrap; gap:8px}
.chip-list a{background:var(--surface2); border:1px solid var(--line); border-radius:999px; padding:.4em .9em; font-weight:700; font-size:.92rem}
.chip-list a:hover{background:var(--yellow); color:#111; border-color:var(--yellow)}

/* ===================== footer ===================== */
.site-footer{background:#08080b; border-top:1px solid var(--line); padding:26px 0 40px; margin-top:10px}
.site-footer h2{font-size:.8rem; text-transform:uppercase; letter-spacing:.08em; color:var(--muted); margin:0 0 10px}
.foot-cols{display:grid; gap:22px}
@media(min-width:640px){ .foot-cols{grid-template-columns:repeat(3,1fr)} }
.foot-links{display:flex; flex-wrap:wrap; gap:6px 12px}
.foot-links a{color:var(--muted); font-size:.9rem}
.foot-links a:hover{color:var(--fg)}
.foot-bottom{margin-top:24px; padding-top:16px; border-top:1px solid var(--line); color:var(--muted); font-size:.8rem; display:flex; flex-wrap:wrap; gap:8px 16px; align-items:center}
.foot-bottom .logo{font-size:1.05rem}

/* ===================== age gate (overlay, does not hide server HTML) ===================== */
.agegate{position:fixed; inset:0; z-index:100; background:rgba(6,6,9,.97); display:grid; place-items:center; padding:24px; text-align:center}
.agegate[hidden]{display:none}
.agegate-card{max-width:360px}
.agegate h2{font-size:1.5rem}
.agegate p{color:var(--muted)}
.agegate .btn-row{display:flex; gap:10px; justify-content:center; margin-top:18px}
