/* NoCut — shared styles (homepage SPA + server-rendered pages) */
:root {
  --bg: #0b0b0f; --surface: #15151d; --surface-2: #1d1d28;
  --text: #ececf2; --muted: #8b8b9a; --accent: #ff2d6f; --accent-2: #6f4dff;
  --radius: 14px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
body { background: var(--bg); color: var(--text); font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; overflow-x: clip; }
a { color: inherit; text-decoration: none; }

/* Age gate */
#agegate { position: fixed; inset: 0; background: rgba(8,8,12,.97); z-index: 1000; display: flex; align-items: center; justify-content: center; padding: 24px; }
#agegate .card { background: var(--surface); border: 1px solid #262633; border-radius: var(--radius); max-width: 420px; width: 100%; padding: 32px; text-align: center; }
#agegate h1 { font-size: 1.4rem; margin-bottom: 12px; }
#agegate p { color: var(--muted); margin-bottom: 24px; line-height: 1.5; font-size: .95rem; }
.btn { display: inline-block; padding: 12px 22px; border-radius: 10px; font-weight: 600; cursor: pointer; border: none; font-size: 1rem; }
.btn-primary { background: linear-gradient(135deg, var(--accent), var(--accent-2)); color: #fff; }
.btn-ghost { background: transparent; color: var(--muted); border: 1px solid #2c2c3a; }
#agegate .row { display: flex; gap: 12px; justify-content: center; }

/* Header + nav */
header.site { position: sticky; top: 0; z-index: 100; background: rgba(11,11,15,.85); backdrop-filter: blur(10px); border-bottom: 1px solid #1c1c26; padding: 14px 20px; display: flex; align-items: center; gap: 20px; }
.logo { font-weight: 800; font-size: 1.3rem; letter-spacing: -.5px; }
.logo span { background: linear-gradient(135deg, var(--accent), var(--accent-2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.search { flex: 1; max-width: 480px; }
.search input { width: 100%; padding: 10px 14px; border-radius: 10px; border: 1px solid #262633; background: var(--surface); color: var(--text); font-size: .95rem; }
.search input::placeholder { color: var(--muted); }

.tagline { color: var(--muted); font-size: .9rem; padding: 16px 20px 0; }
.tagline b { color: var(--text); font-weight: 600; }

/* Home hero + section titles (pornhub-style) */
.home-hero { max-width: 1280px; margin: 0 auto; padding: 22px 20px 4px; }
.home-hero h1 { font-size: 1.6rem; line-height: 1.25; letter-spacing: -.5px; }
.home-hero h1 { background: linear-gradient(135deg, var(--text), #c9c9d6); -webkit-background-clip: text; background-clip: text; }
.home-hero p { color: var(--muted); font-size: .95rem; margin-top: 8px; max-width: 760px; line-height: 1.5; }
.sec-title { max-width: 1280px; margin: 18px auto 0; padding: 0 20px; font-size: 1.15rem; display: flex; align-items: center; gap: 10px; }
.sec-title::after { content: ""; flex: 1; height: 1px; background: #1c1c26; }
.sec-title.rail-title::after { display: none; }
.sec-title .see-all { margin-left: auto; font-size: .82rem; color: var(--accent); white-space: nowrap; font-weight: 600; }
.sec-title .see-all:hover { text-decoration: underline; }
.rail .grid { padding-top: 6px; padding-bottom: 10px; }
.rail { margin-bottom: 4px; }

/* Card stats row (views + rating) */
.meta .stats { display: flex; justify-content: space-between; align-items: center; color: var(--muted); font-size: .76rem; margin-top: 5px; }
.meta .stats .rt { color: #46d17e; font-weight: 600; }
.meta .stats .rt::before { content: "\1F44D "; }

/* Home category tiles + SEO block */
.home-cats { max-width: 1280px; margin: 0 auto; }
.seo-block { max-width: 1100px; margin: 10px auto 0; padding: 24px 20px 10px; border-top: 1px solid #1c1c26; }
.seo-block h2 { font-size: 1.1rem; margin-bottom: 12px; }
.seo-block p { color: #c9c9d6; font-size: .9rem; line-height: 1.7; margin-bottom: 12px; }
.seo-block a { color: var(--accent); }

/* Category chips / nav */
.chips { display: flex; gap: 8px; padding: 16px 20px; flex-wrap: wrap; }
.chip { padding: 7px 14px; border-radius: 999px; background: var(--surface); border: 1px solid #262633; color: var(--muted); font-size: .85rem; white-space: nowrap; cursor: pointer; }
.chip.active { background: linear-gradient(135deg, var(--accent), var(--accent-2)); color: #fff; border-color: transparent; }

/* Compact category chip bar with a pure-CSS "More" toggle (wraps, no slider) */
.chipbar { display: flex; flex-wrap: wrap; gap: 8px; padding: 12px 20px; max-width: 1280px; margin: 0 auto; align-items: center; }
.chipbar .more-cb { display: none; }
.chipbar .x-extra { display: none; }
.chipbar .more-cb:checked ~ .x-extra { display: inline-flex; }
.chip.more-btn { cursor: pointer; user-select: none; background: var(--surface-2); border-color: #34344a; color: var(--text); }
.chip.more-btn::after { content: 'More \25BE'; }
.chipbar .more-cb:checked ~ .more-btn::after { content: 'Less \25B4'; }
.chip.more-link { color: var(--accent); border-color: #3a2230; }
.chipbar .more-cb:checked ~ .more-link { display: none; }

/* Section heading (server pages) */
.h-sec { max-width: 1280px; margin: 0 auto; padding: 22px 20px 4px; }
.h-sec h1 { font-size: 1.35rem; } .h-sec p { color: var(--muted); font-size: .88rem; margin-top: 6px; line-height: 1.5; }

/* Video grid */
.grid { display: grid; gap: 16px; padding: 8px 20px 60px; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); max-width: 1280px; margin: 0 auto; }
.card-v { background: var(--surface); border: 1px solid #1c1c26; border-radius: var(--radius); overflow: hidden; transition: transform .15s, border-color .15s; cursor: pointer; display: block; }
.card-v:hover { transform: translateY(-3px); border-color: #34344a; }
.thumb { aspect-ratio: 16/9; background: linear-gradient(135deg, var(--surface-2), #11111a); position: relative; display: flex; align-items: center; justify-content: center; color: var(--muted); }
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.thumb .dur { position: absolute; bottom: 8px; right: 8px; background: rgba(0,0,0,.78); padding: 2px 7px; border-radius: 5px; font-size: .75rem; }
.thumb .q { position: absolute; top: 8px; left: 8px; background: rgba(255,45,111,.9); padding: 1px 6px; border-radius: 5px; font-size: .68rem; font-weight: 700; color:#fff; }
.thumb .src { position: absolute; bottom: 8px; left: 8px; color: #fff; padding: 1px 6px; border-radius: 5px; font-size: .62rem; font-weight: 800; letter-spacing: .02em; text-transform: uppercase; background: rgba(0,0,0,.72); }
.thumb .src-pornhub { background: #ff9000; color: #000; }
.thumb .src-eporner { background: #d81e5b; }
.thumb .src-xvideos { background: #1e6cc9; }
.thumb .play { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; opacity: 0; transition: opacity .15s; font-size: 2.4rem; background: rgba(0,0,0,.25); }
/* Pagination bar */
.chips.pager { justify-content: center; padding: 10px 20px 44px; max-width: 1280px; margin: 0 auto; }
.chips.pager .dots { border: none; background: none; cursor: default; padding: 7px 2px; }
.card-v:hover .play { opacity: 1; }
.meta { padding: 10px 12px 14px; }
.meta h3 { font-size: .92rem; line-height: 1.35; margin-bottom: 6px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.meta .sub { color: var(--muted); font-size: .78rem; display: flex; justify-content: space-between; gap: 8px; }
.meta .sub span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.badge { display: inline-block; font-size: .68rem; color: var(--accent); border: 1px solid #3a2230; padding: 1px 6px; border-radius: 5px; margin-top: 6px; }

.empty { text-align: center; color: var(--muted); padding: 60px 20px; }
footer { color: var(--muted); font-size: .8rem; text-align: center; padding: 30px 20px; border-top: 1px solid #1c1c26; }
footer .flinks { display: flex; flex-wrap: wrap; gap: 10px 16px; justify-content: center; max-width: 1000px; margin: 0 auto 16px; }
footer .flinks a:hover { color: var(--text); }

/* Ad slots */
.ad-slot { display: flex; align-items: center; justify-content: center; margin: 0 20px 16px; min-height: 90px; padding: 8px; color: var(--muted); font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; border: 1px dashed #2c2c3a; border-radius: 10px; background: repeating-linear-gradient(45deg, transparent, transparent 10px, rgba(255,255,255,.012) 10px, rgba(255,255,255,.012) 20px); }
.ad-slot[data-filled="1"] { border: 0; background: none; min-height: 0; padding: 0; text-transform: none; letter-spacing: 0; }
.ad-zone { display: flex; align-items: center; justify-content: center; margin: 6px 20px 18px; overflow: hidden; }
.ad-zone iframe, .ad-zone ins, .ad-zone img, .ad-zone > div { max-width: 100%; }
.pill.dl-hd { background: linear-gradient(135deg, #22c55e, #16a34a); color: #fff; border-color: transparent; font-weight: 700; }
.pill.dl-hd:hover { filter: brightness(1.08); }
.ad-grid { grid-column: 1 / -1; }

/* ── Video (watch) page ─────────────────────────────────── */
.wrap { max-width: 1280px; margin: 0 auto; padding: 18px 20px 60px; }
.layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 24px; }
@media (max-width: 960px) { .layout { grid-template-columns: minmax(0, 1fr); } }
.layout main { min-width: 0; }
.more-like .grid { max-width: none; margin: 0; padding: 4px 0 22px; }
.crumbs { font-size: .82rem; color: var(--muted); margin-bottom: 12px; display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.crumbs a:hover { color: var(--text); } .crumbs .sep { opacity: .5; }
.frame { position: relative; width: 100%; aspect-ratio: 16/9; background: #000; border-radius: 12px; overflow: hidden; border: 1px solid #23232f; }
.frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.frame .poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; cursor: pointer; }
.frame .bigplay { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-size: 3.4rem; color: #fff; background: rgba(0,0,0,.25); cursor: pointer; pointer-events: none; }
.frame #preroll { position: absolute; inset: 0; z-index: 5; background: #000; display: none; align-items: center; justify-content: center; flex-direction: column; color: var(--muted); font-size: .85rem; text-align: center; padding: 16px; }
.frame #preroll.show { display: flex; }
.frame #preroll .skip { position: absolute; bottom: 14px; right: 14px; background: rgba(0,0,0,.72); border: 1px solid #3a3a48; color: #fff; padding: 8px 14px; border-radius: 8px; cursor: pointer; font-size: .85rem; }
h1.title { font-size: 1.35rem; line-height: 1.35; margin: 16px 0 10px; }
.metarow { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 18px; padding: 6px 0 14px; border-bottom: 1px solid #1c1c26; color: var(--muted); font-size: .85rem; }
.metarow .stats { display: flex; gap: 16px; flex-wrap: wrap; align-items:center; }
.metarow .actions { margin-left: auto; display: flex; gap: 8px; flex-wrap: wrap; }
.pill { display: inline-flex; align-items: center; gap: 6px; padding: 8px 13px; border-radius: 999px; background: var(--surface); border: 1px solid #262633; color: var(--text); font-size: .82rem; cursor: pointer; }
.pill:hover { border-color: #34344a; }
.pill.accent { background: linear-gradient(135deg, var(--accent), var(--accent-2)); border-color: transparent; color:#fff; }
.qbig { background: rgba(255,45,111,.9); padding: 2px 7px; border-radius: 5px; font-size: .7rem; font-weight: 700; color: #fff; }
.facts { padding: 16px 0; display: flex; flex-direction: column; gap: 12px; border-bottom: 1px solid #1c1c26; }
.facts .line { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-size: .85rem; }
.facts .k { color: var(--muted); min-width: 92px; }
.tag { padding: 5px 11px; border-radius: 999px; background: var(--surface); border: 1px solid #262633; color: var(--muted); font-size: .8rem; }
.tag:hover { color: var(--text); border-color: #34344a; }
.tag.cat { color: var(--accent); border-color: #3a2230; }
.desc { padding: 16px 0; color: #c9c9d6; font-size: .9rem; line-height: 1.6; border-bottom: 1px solid #1c1c26; }
.desc h2 { font-size: .95rem; margin-bottom: 8px; color: var(--text); }
.related h2 { font-size: 1rem; margin: 4px 0 14px; }
.rel-grid { display: grid; gap: 14px; grid-template-columns: 1fr; }
@media (max-width: 960px) { .rel-grid { grid-template-columns: repeat(auto-fill, minmax(200px,1fr)); } }
.rel-grid .thumb .q { font-size:.62rem; }

/* ── Comments ───────────────────────────────────────────── */
.comments { padding: 20px 0 8px; border-top: 1px solid #1c1c26; margin-top: 4px; }
.comments h2 { font-size: 1.05rem; margin-bottom: 14px; }
.comments .cmt-count { color: var(--muted); font-weight: 400; font-size: .9rem; }
.cmt-form { display: flex; flex-direction: column; gap: 10px; margin-bottom: 22px; }
.cmt-form input, .cmt-form textarea { background: var(--surface); border: 1px solid #262633; border-radius: 10px; color: var(--text); padding: 10px 12px; font-size: .9rem; font-family: inherit; resize: vertical; }
.cmt-form input::placeholder, .cmt-form textarea::placeholder { color: var(--muted); }
.cmt-form button { align-self: flex-start; }
.cmt-list { display: flex; flex-direction: column; gap: 14px; }
.cmt { background: var(--surface); border: 1px solid #1c1c26; border-radius: 12px; padding: 12px 14px; }
.cmt-h { display: flex; justify-content: space-between; gap: 10px; margin-bottom: 5px; }
.cmt-n { font-weight: 600; font-size: .88rem; color: var(--accent); }
.cmt-d { color: var(--muted); font-size: .76rem; white-space: nowrap; }
.cmt p { font-size: .9rem; line-height: 1.5; color: #d6d6e0; white-space: pre-wrap; word-break: break-word; }
.cmt-empty { color: var(--muted); font-size: .9rem; }

/* ── Language switcher ──────────────────────────────────── */
.langsel { position: relative; font-size: .85rem; flex-shrink: 0; }
.langsel summary { list-style: none; cursor: pointer; color: var(--muted); padding: 8px 12px; border: 1px solid #262633; border-radius: 10px; background: var(--surface); white-space: nowrap; }
.langsel summary::-webkit-details-marker { display: none; }
.langsel summary::after { content: " ▾"; opacity: .7; }
.langsel summary:hover, .langsel[open] summary { color: var(--text); }
.langmenu { position: absolute; right: 0; top: calc(100% + 6px); z-index: 200; background: var(--surface); border: 1px solid #262633; border-radius: 10px; padding: 6px; min-width: 160px; display: grid; gap: 2px; max-height: 60vh; overflow: auto; box-shadow: 0 12px 34px rgba(0,0,0,.55); }
.langmenu a { padding: 7px 10px; border-radius: 7px; color: var(--muted); }
.langmenu a:hover { background: var(--surface-2); color: var(--text); }
.langmenu a.on { color: var(--accent); font-weight: 600; }

/* ── Header top-nav ─────────────────────────────────────── */
.topnav { display: flex; gap: 16px; font-size: .9rem; }
.topnav a { color: var(--muted); }
.topnav a:hover { color: var(--text); }
@media (max-width: 640px) { .topnav { display: none; } }

/* ── Duration filter bar ────────────────────────────────── */
.filterbar { padding-top: 0; }
.filterbar .chip { cursor: pointer; }

/* ── Categories index tiles ─────────────────────────────── */
.cat-tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 12px; max-width: 1280px; margin: 0 auto; padding: 8px 20px 40px; }
.cat-tile { background: var(--surface); border: 1px solid #1c1c26; border-radius: 12px; padding: 15px 16px; display: flex; justify-content: space-between; align-items: center; transition: border-color .15s, transform .15s; }
.cat-tile:hover { border-color: #34344a; transform: translateY(-2px); }
.cat-tile .n { color: var(--muted); font-size: .8rem; }
.cat-tile .lbl { font-weight: 700; }
.cat-tile .go { color: var(--muted); font-size: .85rem; }
.cat-tile.has-img { position: relative; overflow: hidden; padding: 0; min-height: 96px; align-items: flex-end; }
.cat-tile.has-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .40; transition: opacity .2s, transform .35s; }
.cat-tile.has-img:hover img { opacity: .62; transform: scale(1.06); }
.cat-tile.has-img .lbl { position: relative; z-index: 1; padding: 12px 14px; text-shadow: 0 1px 8px rgba(0,0,0,.9); }
.cat-tile.has-img .go { display: none; }
/* Hero hook line */
.home-hero .hero-hook { font-size: 1.06rem; color: var(--text); margin-top: 10px; max-width: 840px; line-height: 1.5; }
.home-hero .hero-hook em { color: var(--accent); font-style: normal; font-weight: 700; }
.home-hero .hero-sub { color: var(--muted); font-size: .9rem; margin-top: 8px; max-width: 760px; line-height: 1.5; }

/* ── Pornstars index (A–Z columns) ──────────────────────── */
.pstars { columns: 4 210px; column-gap: 20px; max-width: 1280px; margin: 0 auto; padding: 8px 20px 40px; }
.pstars a { display: block; padding: 6px 0; font-size: .9rem; break-inside: avoid; color: var(--text); }
.pstars a:hover { color: var(--accent); }
.pstars .n { color: var(--muted); font-size: .78rem; }

/* ── Prose (legal/static pages) ─────────────────────────── */
.prose { max-width: 780px; margin: 0 auto; padding: 22px 20px 50px; }
.prose h1 { font-size: 1.5rem; margin: 8px 0 16px; }
.prose p { color: #c9c9d6; line-height: 1.7; margin-bottom: 14px; font-size: .93rem; }

/* ── ixxx-style footer ──────────────────────────────────── */
footer .fbrand { max-width: 1200px; margin: 0 auto 22px; padding: 0 20px 20px; text-align: left; border-bottom: 1px solid #1c1c26; }
footer .fbrand .logo { font-size: 1.35rem; display: inline-block; margin-bottom: 8px; }
footer .fbrand p { color: var(--muted); font-size: .85rem; line-height: 1.6; max-width: 640px; }
footer .fcols { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 28px; max-width: 1200px; margin: 0 auto 24px; text-align: left; padding: 0 20px; }
@media (max-width: 760px) { footer .fcols { grid-template-columns: 1fr 1fr; gap: 20px 18px; } }
footer h4 { color: var(--text); font-size: .92rem; margin-bottom: 12px; }
footer .fcloud { display: flex; flex-wrap: wrap; gap: 8px; }
footer .fcloud a { background: var(--surface); border: 1px solid #262633; border-radius: 999px; padding: 4px 11px; font-size: .78rem; color: var(--muted); }
footer .fcloud a:hover { color: var(--text); border-color: #34344a; }
footer .flist { display: flex; flex-direction: column; gap: 8px; font-size: .83rem; }
footer .flist a:hover { color: var(--text); }
footer .fbottom { border-top: 1px solid #1c1c26; padding: 18px 20px 0; max-width: 1200px; margin: 0 auto; }
footer .fnote { font-size: .72rem; opacity: .7; margin-top: 8px; line-height: 1.5; }

/* ── Cookie consent banner (GDPR/ePrivacy) ──────────────── */
.cookiebar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 900; background: var(--surface); border-top: 1px solid #2c2c3a; padding: 14px 20px; display: flex; flex-wrap: wrap; gap: 12px 20px; align-items: center; justify-content: center; }
.cookiebar[hidden] { display: none; }
.cookiebar p { color: var(--muted); font-size: .82rem; line-height: 1.5; max-width: 820px; }
.cookiebar p a { color: var(--accent); }
.cookiebar .cbtns { display: flex; gap: 10px; flex-shrink: 0; }
.cookiebar .btn { padding: 9px 16px; font-size: .85rem; }
