:root {
    --bg: #0b0b0b;
    --surface: #141414;
    --surface-2: #1b1b1b;
    --line: #2a2a2a;
    --text: #f5f2ec;
    --muted: #a9a49c;
    --gold: #e8a739;
    --gold-2: #ffc35a;
    --black: #050505;
    --radius: 8px;
    --shell: 1760px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 14px;
    line-height: 1.45;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, input { font: inherit; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(10, 10, 10, .98);
    border-bottom: 1px solid var(--line);
    backdrop-filter: blur(12px);
}
.header-row {
    max-width: var(--shell);
    height: 68px;
    margin: 0 auto;
    padding: 6px 18px;
    display: grid;
    grid-template-columns: 150px minmax(260px, 720px) 1fr;
    gap: 18px;
    align-items: center;
}
.brand { width: 126px; height: 58px; display: flex; align-items: center; overflow: hidden; }
.brand img { width: 72px; height: 58px; object-fit: contain; object-position: center; transform: scale(1.15); }
.site-search { display: flex; height: 42px; background: #202020; border: 1px solid #333; border-radius: 7px; overflow: hidden; transition: border-color .2s, box-shadow .2s; }
.site-search:focus-within { border-color: var(--gold); box-shadow: 0 0 0 2px rgba(232, 167, 57, .14); }
.site-search input { flex: 1; min-width: 0; padding: 0 14px; border: 0; outline: 0; color: var(--text); background: transparent; }
.site-search input::placeholder { color: #817d77; }
.site-search button { width: 48px; border: 0; color: var(--black); background: var(--gold); cursor: pointer; }
.site-search svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 2; }
.utility-nav { justify-self: end; display: flex; gap: 9px; align-items: center; font-weight: 700; }
.utility-nav a { padding: 9px 12px; border-radius: 6px; }
.utility-nav a:hover { background: var(--surface-2); }
.utility-nav .upload-link { color: #111; background: var(--gold); }
.utility-nav .upload-link:hover { background: var(--gold-2); }
.category-nav { max-width: var(--shell); margin: 0 auto; padding: 0 18px; height: 39px; display: flex; gap: 2px; align-items: stretch; overflow-x: auto; scrollbar-width: none; }
.category-nav::-webkit-scrollbar { display: none; }
.category-nav a { display: flex; align-items: center; flex: 0 0 auto; padding: 0 12px; color: #c4c0ba; font-family: "Barlow Condensed", sans-serif; font-size: 15px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; border-bottom: 2px solid transparent; }
.category-nav a:hover, .category-nav a.active { color: var(--gold-2); border-color: var(--gold); }
.nav-toggle, .mobile-menu { display: none; }

.content-shell { max-width: var(--shell); margin: 0 auto; padding: 14px 18px 34px; }
.quick-bar { min-height: 38px; margin-bottom: 12px; padding: 8px 12px; display: flex; gap: 12px; align-items: center; overflow-x: auto; background: var(--surface); border: 1px solid #232323; border-radius: var(--radius); white-space: nowrap; color: var(--muted); }
.quick-bar strong { color: var(--text); }
.quick-bar a:hover { color: var(--gold-2); }
.live-dot { width: 8px; height: 8px; flex: 0 0 8px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 4px rgba(232, 167, 57, .12); }

.video-section { margin: 0 0 24px; }
.section-heading, .page-heading { min-height: 42px; display: flex; justify-content: space-between; align-items: center; gap: 14px; border-bottom: 1px solid var(--line); }
.section-heading { margin-bottom: 11px; }
.section-heading h2, .page-heading h1 { margin: 0; font-family: "Barlow Condensed", sans-serif; font-weight: 800; letter-spacing: .01em; }
.section-heading h2 { position: relative; padding: 0 0 8px 11px; font-size: 26px; text-transform: uppercase; }
.section-heading h2::before { content: ""; position: absolute; left: 0; top: 5px; width: 4px; height: 22px; border-radius: 2px; background: var(--gold); }
.section-heading > a { color: var(--gold-2); font-size: 13px; font-weight: 700; }
.section-heading > span { color: var(--muted); }

.video-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 17px 12px; }
.video-card { min-width: 0; }
.thumb { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 7px; background: #1d1b18; }
.thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .25s ease, filter .25s ease; }
.thumb-placeholder { width: 100%; height: 100%; display: grid; place-items: center; background:
    radial-gradient(circle at 75% 20%, rgba(232, 167, 57, .24), transparent 32%),
    linear-gradient(135deg, #28231c 0%, #151515 55%, #24201a 100%); }
.thumb-placeholder::before { content: ""; position: absolute; inset: 12%; border: 1px solid rgba(232, 167, 57, .17); transform: rotate(-6deg); }
.thumb-placeholder span { position: relative; color: rgba(232, 167, 57, .24); font-family: "Barlow Condensed", sans-serif; font-size: clamp(32px, 4vw, 68px); font-weight: 800; letter-spacing: -.06em; }
.play-icon { position: absolute; inset: 50% auto auto 50%; width: 42px; height: 42px; display: grid; place-items: center; transform: translate(-50%, -45%) scale(.8); border-radius: 50%; color: #111; background: rgba(240, 178, 67, .94); opacity: 0; transition: opacity .2s, transform .2s; box-shadow: 0 5px 20px rgba(0, 0, 0, .35); }
.play-icon svg { width: 25px; fill: currentColor; }
.thumb:hover img { transform: scale(1.035); filter: brightness(.72); }
.thumb:hover .play-icon { opacity: 1; transform: translate(-50%, -50%) scale(1); }
.duration, .quality { position: absolute; bottom: 6px; padding: 3px 6px; color: #fff; background: rgba(0, 0, 0, .82); border-radius: 3px; font-size: 11px; font-weight: 700; }
.duration { right: 6px; }
.quality { left: 6px; color: #15110b; background: var(--gold-2); }
.card-copy { padding: 7px 2px 0; }
.card-copy h3 { margin: 0 0 5px; font-size: 14px; line-height: 1.3; font-weight: 700; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card-copy h3 a:hover { color: var(--gold-2); }
.card-meta { display: flex; justify-content: space-between; gap: 8px; color: var(--muted); font-size: 11px; }
.card-meta a { color: #c9a96c; overflow: hidden; text-overflow: ellipsis; }

.category-section { margin: 4px 0 25px; }
.category-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.category-card { min-height: 64px; padding: 9px 11px; display: grid; grid-template-columns: 42px 1fr auto; gap: 10px; align-items: center; overflow: hidden; background: linear-gradient(110deg, #1b1b1b, #151515); border: 1px solid #292929; border-radius: 7px; transition: border-color .2s, transform .2s; }
.category-card:hover { border-color: #65502b; transform: translateY(-1px); }
.category-mark { width: 42px; height: 42px; display: grid; place-items: center; color: #18130b; background: var(--gold); border-radius: 6px; font-family: "Barlow Condensed", sans-serif; font-size: 25px; font-weight: 800; }
.category-card strong, .category-card small { display: block; }
.category-card strong { font-family: "Barlow Condensed", sans-serif; font-size: 19px; text-transform: uppercase; }
.category-card small { color: var(--muted); font-size: 11px; }
.category-card .arrow { color: var(--gold); font-size: 20px; }
.cat-2 .category-mark, .cat-6 .category-mark { background: #d98543; }
.cat-3 .category-mark, .cat-7 .category-mark { background: #c5a45f; }
.cat-4 .category-mark, .cat-8 .category-mark { background: #f0c873; }

.page-heading { margin: 1px 0 14px; padding-bottom: 10px; }
.page-heading h1 { font-size: 34px; text-transform: uppercase; }
.page-heading > span { color: var(--muted); }
.eyebrow { margin: 0 0 -3px; color: var(--gold); font-size: 11px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.archive-grid { min-height: 40vh; }
.navigation.pagination { margin: 28px 0 4px; }
.nav-links { display: flex; justify-content: center; gap: 5px; }
.page-numbers { min-width: 38px; height: 38px; padding: 0 11px; display: grid; place-items: center; background: var(--surface); border: 1px solid var(--line); border-radius: 5px; font-weight: 700; }
.page-numbers.current, .page-numbers:hover { color: #111; background: var(--gold); border-color: var(--gold); }

.watch-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 18px; align-items: start; }
.video-player { width: 100%; aspect-ratio: 16 / 9; overflow: hidden; background: #000; border-radius: 8px; }
.video-player video, .video-player iframe { width: 100%; height: 100%; border: 0; }
.player-empty { width: 100%; height: 100%; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 7px; color: var(--muted); background: radial-gradient(circle, #222 0, #070707 68%); }
.player-empty strong { color: var(--text); font-size: 18px; }
.player-play { width: 58px; height: 58px; display: grid; place-items: center; padding-left: 4px; color: #111; background: var(--gold); border-radius: 50%; font-size: 23px; }
.watch-main h1 { margin: 12px 0 5px; font-family: "Barlow Condensed", sans-serif; font-size: 31px; line-height: 1.1; }
.watch-meta { display: flex; gap: 15px; color: var(--muted); font-size: 12px; }
.source-meta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 10px; color: var(--muted); font-size: 12px; }
.source-meta strong { color: #d9d4cc; }
.video-taxonomies { margin-top: 14px; padding: 12px 14px; background: var(--surface); border: 1px solid var(--line); border-radius: 7px; }
.taxonomy-group + .taxonomy-group { margin-top: 12px; padding-top: 11px; border-top: 1px solid #242424; }
.taxonomy-group h2, .video-description h2 { margin: 0 0 7px; color: #e7e1d8; font-family: "Barlow Condensed", sans-serif; font-size: 18px; text-transform: uppercase; }
.tag-row { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; }
.tag-row a { padding: 5px 9px; color: #dfc99e; background: #211c14; border: 1px solid #41351e; border-radius: 4px; font-size: 12px; font-weight: 600; }
.performer-group .tag-row a { color: #16110a; background: var(--gold); border-color: var(--gold); }
.video-description { margin-top: 14px; padding-top: 12px; color: #c0bbb4; border-top: 1px solid var(--line); }
.video-description p:first-of-type { margin-top: 0; }
.video-description p:last-child { margin-bottom: 0; }
.scene-gallery { margin-top: 18px; }
.scene-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 9px; }
.scene-grid a { display: block; overflow: hidden; border: 1px solid var(--line); border-radius: 6px; background: #050505; }
.scene-grid img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; transition: transform .2s ease; }
.scene-grid a:hover img { transform: scale(1.025); }
.watch-sidebar .section-heading h2 { font-size: 22px; }
.watch-sidebar .video-card { margin-bottom: 13px; display: grid; grid-template-columns: 132px 1fr; gap: 9px; }
.watch-sidebar .card-copy { padding-top: 1px; }
.watch-sidebar .card-meta { display: block; }
.watch-sidebar .card-meta span { display: block; margin-top: 3px; }

.empty-state, .prose-page article { max-width: 840px; margin: 28px auto; padding: 28px; background: var(--surface); border: 1px solid var(--line); border-radius: 8px; }
.empty-state { text-align: center; }
.empty-state h2, .empty-state h1 { margin-top: 0; }

.site-footer { max-width: var(--shell); margin: 0 auto; padding: 22px 18px; display: grid; grid-template-columns: 1fr auto; gap: 12px 24px; align-items: center; border-top: 1px solid var(--line); color: var(--muted); }
.footer-brand { display: flex; gap: 11px; align-items: center; }
.footer-brand img { width: 52px; height: 52px; object-fit: contain; }
.footer-brand p { margin: 0; }
.site-footer nav { display: flex; gap: 18px; }
.site-footer nav a:hover { color: var(--gold-2); }
.legal { grid-column: 1 / -1; margin: 0; padding-top: 10px; border-top: 1px solid #1c1c1c; font-size: 11px; }

@media (max-width: 1350px) {
    .video-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}
@media (max-width: 1120px) {
    .header-row { grid-template-columns: 116px minmax(260px, 1fr) auto; }
    .video-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .category-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 850px) {
    .header-row { height: 60px; grid-template-columns: 38px 72px 1fr; gap: 8px; padding: 5px 12px; }
    .brand { width: 68px; height: 50px; }
    .brand img { width: 58px; height: 50px; }
    .nav-toggle { width: 34px; height: 34px; padding: 7px; display: flex; flex-direction: column; justify-content: center; gap: 4px; color: #fff; background: transparent; border: 1px solid #343434; border-radius: 5px; }
    .nav-toggle span { width: 100%; height: 2px; background: currentColor; }
    .site-search { height: 38px; }
    .utility-nav { display: none; }
    .category-nav { height: 36px; padding: 0 12px; }
    .category-nav a { padding: 0 9px; font-size: 14px; }
    .mobile-menu { padding: 10px 12px; background: #101010; border-top: 1px solid var(--line); }
    .mobile-menu.is-open { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
    .mobile-menu form { grid-column: 1 / -1; display: flex; }
    .mobile-menu input { flex: 1; min-width: 0; padding: 9px; color: #fff; background: #202020; border: 1px solid #333; }
    .mobile-menu button { color: #111; background: var(--gold); border: 0; font-weight: 700; }
    .mobile-menu > a { padding: 8px; background: #1c1c1c; text-align: center; border-radius: 4px; }
    .content-shell { padding: 12px 12px 28px; }
    .video-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .category-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .watch-layout { grid-template-columns: 1fr; }
    .watch-sidebar { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .watch-sidebar .section-heading { grid-column: 1 / -1; }
    .watch-sidebar .video-card { display: block; margin: 0; }
}
@media (max-width: 600px) {
    .header-row { grid-template-columns: 36px 58px 1fr; }
    .brand { width: 56px; }
    .site-search input { padding: 0 9px; }
    .site-search button { width: 40px; }
    .quick-bar { margin-bottom: 9px; }
    .section-heading h2 { font-size: 22px; }
    .section-heading > a { font-size: 11px; }
    .video-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 15px 8px; }
    .card-copy h3 { font-size: 13px; }
    .category-grid { grid-template-columns: 1fr 1fr; }
    .category-card { min-height: 56px; grid-template-columns: 34px 1fr; padding: 8px; gap: 8px; }
    .category-mark { width: 34px; height: 34px; font-size: 21px; }
    .category-card strong { font-size: 16px; }
    .category-card .arrow { display: none; }
    .page-heading h1 { font-size: 28px; }
    .watch-main h1 { font-size: 26px; }
    .scene-grid { grid-template-columns: 1fr; }
    .watch-sidebar { grid-template-columns: 1fr 1fr; gap: 10px 8px; }
    .site-footer { grid-template-columns: 1fr; }
    .site-footer nav { flex-wrap: wrap; }
}

