* { margin:0; padding:0; box-sizing:border-box; }
body { background:#0f0f13; color:#e8e8e8; font-family:system-ui,-apple-system,'Segoe UI',Roboto,sans-serif; }
a { color:inherit; }
.wrap { max-width:1200px; margin:0 auto; padding:0 16px 60px; }

/* header */
header.top { background:#16161c; border-bottom:1px solid #26262e; position:sticky; top:0; z-index:100; }
.top-inner { max-width:1200px; margin:0 auto; padding:12px 16px; display:flex; align-items:center; gap:16px; flex-wrap:wrap; }
.logo { font-size:22px; font-weight:800; letter-spacing:.5px; text-decoration:none; }
.logo span { color:#e0245e; }
.search { flex:1; min-width:180px; display:flex; }
.search input { flex:1; background:#0f0f13; border:1px solid #33333d; border-right:0; border-radius:8px 0 0 8px;
  padding:10px 14px; color:#eee; font-size:14px; }
.search button { background:#e0245e; border:0; border-radius:0 8px 8px 0; color:#fff; padding:0 18px; font-weight:700; cursor:pointer; }
nav.cats { display:flex; gap:8px; overflow-x:auto; padding:10px 0 2px; width:100%; }
nav.cats a { white-space:nowrap; font-size:13px; color:#bbb; text-decoration:none; padding:7px 14px;
  border:1px solid #33333d; border-radius:999px; cursor:pointer; }
nav.cats a.hot { color:#fff; background:#26262e; border-color:#e0245e; }

.chips { display:flex; gap:8px; overflow-x:auto; padding:16px 0 4px; }
.chips span { white-space:nowrap; font-size:13px; background:#1c1c22; border:1px solid #2c2c34;
  padding:7px 14px; border-radius:999px; color:#ccc; cursor:pointer; }
.chips span.hot { border-color:#e0245e; color:#fff; }

/* hero */
.hero { margin:18px 0 8px; position:relative; border-radius:14px; overflow:hidden; text-decoration:none; display:block;
  background:linear-gradient(135deg,#2a1218,#131320 60%); border:1px solid #2c2c34; min-height:280px; }
.hero .play { position:absolute; inset:0; display:flex; align-items:center; justify-content:center; }
.hero .play i { width:76px; height:76px; border-radius:50%; background:rgba(224,36,94,.92); display:flex;
  align-items:center; justify-content:center; font-style:normal; font-size:30px; color:#fff; }
.hero .cap { position:absolute; bottom:0; left:0; right:0; padding:18px; background:linear-gradient(transparent,rgba(0,0,0,.78)); }
.hero .cap b { font-size:20px; display:block; margin-bottom:4px; }
.hero .cap small { color:#bbb; }

/* ad slots — GANTI dengan kode iklan asli */
.ad-slot { border:1.5px dashed #4a4a55; border-radius:10px; color:#8a8a95; font-size:12px;
  display:flex; align-items:center; justify-content:center; text-align:center; margin:18px 0;
  background:#141419; letter-spacing:1px; }
.ad-banner { min-height:90px; }
.ad-box { min-height:250px; }
.ad-native-card { min-height:120px; margin:0; height:100%; }

/* grid */
.sec-title { font-size:18px; font-weight:700; margin:22px 0 14px; display:flex; align-items:center; gap:10px; }
.sec-title::after { content:""; flex:1; height:1px; background:#26262e; }
.grid { display:grid; grid-template-columns:repeat(auto-fill,minmax(220px,1fr)); gap:16px; }
.card { background:#16161c; border:1px solid #26262e; border-radius:12px; overflow:hidden; cursor:pointer; text-decoration:none; display:block; }
.thumb { aspect-ratio:16/9; background:linear-gradient(135deg,#23232c,#17171d); position:relative;
  display:flex; align-items:center; justify-content:center; color:#55555f; font-size:12px; letter-spacing:2px; overflow:hidden; }
.thumb img { width:100%; height:100%; object-fit:cover; }
.thumb .dur { position:absolute; right:8px; bottom:8px; background:rgba(0,0,0,.75); color:#fff;
  font-size:11px; padding:3px 7px; border-radius:6px; z-index:2; }
.thumb .hd { position:absolute; left:8px; top:8px; background:#e0245e; color:#fff;
  font-size:10px; font-weight:700; padding:3px 7px; border-radius:6px; letter-spacing:1px; z-index:2; }
.card .meta { padding:10px 12px 12px; }
.card .meta b { font-size:14px; display:block; margin-bottom:5px; line-height:1.35;
  display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; }
.card .meta small { color:#8a8a95; font-size:12px; }
.empty { color:#8a8a95; text-align:center; padding:40px 0; grid-column:1/-1; }

/* watch page */
.crumb { font-size:13px; color:#8a8a95; margin:16px 0 10px; }
.crumb a { color:#e0245e; text-decoration:none; }
.vp-title { font-size:22px; font-weight:700; margin-bottom:6px; }
.vp-meta { color:#8a8a95; font-size:13px; margin-bottom:14px; }
.vp-layout { display:grid; grid-template-columns:1fr 300px; gap:20px; }
@media(max-width:900px){ .vp-layout{ grid-template-columns:1fr; } }
.player { position:relative; aspect-ratio:16/9; background:#000; border-radius:12px; border:1px solid #2c2c34; overflow:hidden; }
.player iframe { position:absolute; inset:0; width:100%; height:100%; border:0; }
.player .noembed { position:absolute; inset:0; display:flex; align-items:center; justify-content:center;
  flex-direction:column; gap:10px; color:#777; font-size:13px; text-align:center; padding:20px; }
.actions { display:flex; gap:10px; margin:14px 0; flex-wrap:wrap; }
.actions button { background:#1c1c22; border:1px solid #33333d; color:#ddd; border-radius:999px;
  padding:9px 18px; font-size:13px; cursor:pointer; }
.actions button.liked { border-color:#e0245e; color:#e0245e; }
.tags { display:flex; gap:8px; flex-wrap:wrap; margin:6px 0 4px; }
.tags span { font-size:12px; background:#1c1c22; border:1px solid #2c2c34; color:#e0245e;
  padding:6px 12px; border-radius:999px; cursor:pointer; }
.desc { background:#16161c; border:1px solid #26262e; border-radius:10px; padding:14px; font-size:13px;
  color:#aaa; margin-top:12px; line-height:1.6; }

/* legal pages */
.legal { max-width:800px; margin:0 auto; padding:30px 16px 60px; line-height:1.8; font-size:14px; color:#bbb; }
.legal h1 { color:#fff; margin-bottom:16px; font-size:24px; }
.legal h2 { color:#fff; margin:20px 0 8px; font-size:17px; }
.legal a { color:#e0245e; }

footer { border-top:1px solid #26262e; margin-top:40px; padding:26px 16px 40px; text-align:center;
  color:#77777f; font-size:12px; line-height:1.8; }
footer .warn { display:inline-block; border:1px solid #e0245e; color:#e0245e; border-radius:8px;
  padding:6px 14px; font-weight:700; margin-bottom:12px; }
footer a { color:#999; margin:0 8px; text-decoration:none; }

/* ===== Mobile ===== */
@media (max-width: 640px) {
  .top-inner { gap:10px; padding:10px 12px; }
  .logo { font-size:19px; }
  .search { order:3; flex-basis:100%; }
  nav.cats a { font-size:12px; padding:6px 12px; }
  .hero { min-height:200px; margin-top:12px; }
  .hero .play i { width:56px; height:56px; font-size:22px; }
  .hero .cap { padding:12px; }
  .hero .cap b { font-size:15px; }
  .hero .cap small { font-size:11px; }
  .grid { grid-template-columns:repeat(2, 1fr); gap:10px; }
  .card .meta { padding:8px 10px 10px; }
  .card .meta b { font-size:12.5px; }
  .card .meta small { font-size:11px; }
  .thumb { font-size:10px; letter-spacing:1px; }
  .sec-title { font-size:16px; margin:18px 0 10px; }
  .vp-title { font-size:18px; }
  .ad-banner { min-height:70px; margin:12px 0; }
  .wrap { padding:0 12px 50px; }
  .actions button { padding:8px 14px; font-size:12px; }
}

/* age gate */
#agegate { position:fixed; inset:0; z-index:300; background:rgba(5,5,8,.96);
  display:flex; align-items:center; justify-content:center; padding:20px; }
#agegate .box { background:#16161c; border:1px solid #33333d; border-radius:16px; padding:36px 32px;
  max-width:420px; text-align:center; }
#agegate .big { font-size:52px; margin-bottom:10px; }
#agegate h2 { margin-bottom:8px; color:#fff; }
#agegate p { color:#999; font-size:13px; margin-bottom:22px; line-height:1.6; }
#agegate .row { display:flex; gap:10px; }
#agegate button { flex:1; padding:13px; border-radius:10px; font-size:15px; font-weight:700; cursor:pointer; border:0; }
#agegate .yes { background:#e0245e; color:#fff; }
#agegate .no { background:#26262e; color:#bbb; }
