@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Outfit:wght@300;400;500;600;700&display=swap');

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root { --radius: 10px; }

html, body {
    height: 100%;
    background: var(--bg);
    color: var(--text);
    font-family: 'Outfit', -apple-system, sans-serif;
    font-size: 14px;
    line-height: 1.5;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

/* ── Layout ── */
#wrap { display: flex; flex-direction: column; min-height: 100%; }
#main { flex: 1; max-width: 1440px; width: 100%; margin: 0 auto; padding: 32px 24px; }

/* ── Header ── */
#header {
    background: rgba(9,9,15,.92);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    position: sticky; top: 0; z-index: 100;
}
#header-inner {
    max-width: 1440px; margin: 0 auto;
    padding: 0 24px; height: 62px;
    display: flex; align-items: center; gap: 24px;
}
#logo {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.8rem; letter-spacing: .06em;
    color: var(--text); flex-shrink: 0; line-height: 1;
}
#logo span {
    color: var(--accent);
    text-shadow: 0 0 20px var(--glow);
}

#search-form { flex: 1; max-width: 480px; position: relative; }
#search-input {
    width: 100%;
    background: var(--bg3);
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 9px 44px 9px 18px;
    color: var(--text); font-size: 13.5px;
    font-family: 'Outfit', sans-serif;
    outline: none; transition: all .2s;
}
#search-input::placeholder { color: var(--text2); }
#search-input:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--glow);
    background: var(--bg4);
}
#search-btn {
    position: absolute; right: 0; top: 0; bottom: 0;
    width: 44px; background: none; border: none;
    color: var(--text2); cursor: pointer; display: flex;
    align-items: center; justify-content: center;
    border-radius: 0 24px 24px 0; transition: color .15s;
}
#search-btn:hover { color: var(--accent); }

#header-nav { margin-left: auto; display: flex; gap: 2px; }
#header-nav a {
    padding: 7px 16px; border-radius: 8px;
    font-size: 13px; font-weight: 500; color: var(--text2);
    transition: all .15s; letter-spacing: .01em;
}
#header-nav a:hover { color: var(--text); background: var(--bg3); }
#header-nav a.active { color: var(--accent); }

/* ── Category nav ── */
#catnav {
    background: var(--bg2);
    border-bottom: 1px solid var(--border);
    overflow: hidden;
}
#catnav-inner {
    max-width: 1440px; margin: 0 auto; padding: 0 24px;
    display: flex; gap: 6px; align-items: center;
    height: 48px; overflow: hidden;
}
#catnav-dropdown a { display: block; }
#catnav-dropdown .cat-link:hover { background: var(--bg3); }
.cat-link {
    padding: 5px 16px; border-radius: 6px;
    font-size: 13px; font-weight: 500; color: var(--text2);
    transition: all .15s; flex-shrink: 0;
    border: 1px solid transparent;
}
.cat-link:hover {
    color: var(--text); background: var(--bg3);
    border-color: var(--border);
}
.cat-link.active {
    color: var(--accent);
    background: rgba(168,85,247,.1);
    border-color: rgba(168,85,247,.3);
}

/* ── Section ── */
.section { margin-bottom: 44px; }
.section-head {
    display: flex; align-items: center; justify-content: space-between;
    margin-bottom: 20px;
}
.section-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.35rem; letter-spacing: .08em; color: var(--text);
    display: flex; align-items: center; gap: 10px;
}
.section-title::before {
    content: '';
    display: block; width: 4px; height: 22px;
    background: var(--accent);
    border-radius: 2px;
    box-shadow: 0 0 10px var(--glow);
}
.section-more {
    font-size: 12.5px; color: var(--text2);
    transition: color .15s; font-weight: 500;
}
.section-more:hover { color: var(--accent); }

/* ── Video grid ── */
.vgrid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 18px;
}
.vgrid-lg {
    grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
}

/* ── Video card ── */
.vcard { display: flex; flex-direction: column; }

.vcard-thumb {
    position: relative;
    border-radius: var(--radius); overflow: hidden;
    background: var(--bg3); aspect-ratio: 16/9;
    transition: transform .22s cubic-bezier(.25,.46,.45,.94),
                box-shadow .22s;
}
.vcard:hover .vcard-thumb {
    transform: translateY(-3px) scale(1.01);
    box-shadow: 0 8px 32px rgba(0,0,0,.6), 0 0 0 1px rgba(168,85,247,.25);
}
.vcard-thumb img { width: 100%; height: 100%; object-fit: cover; }

.vcard-thumb-placeholder {
    width: 100%; height: 100%;
    display: flex; align-items: center; justify-content: center;
    background: linear-gradient(135deg, var(--bg3) 0%, var(--bg4) 100%);
    color: var(--border); font-size: 28px;
}

.vcard-duration {
    position: absolute; bottom: 7px; right: 8px;
    background: rgba(0,0,0,.8); color: #fff;
    font-size: 11px; font-weight: 600;
    padding: 2px 7px; border-radius: 5px;
    font-family: 'Outfit', sans-serif;
    letter-spacing: .02em;
}

.vcard-play {
    position: absolute; inset: 0;
    display: flex; align-items: center; justify-content: center;
    opacity: 0; transition: opacity .22s;
    background: linear-gradient(135deg, rgba(168,85,247,.15), rgba(0,0,0,.3));
}
.vcard:hover .vcard-play { opacity: 1; }
.vcard-play-btn {
    width: 48px; height: 48px; border-radius: 50%;
    background: rgba(168,85,247,.85);
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 4px 20px rgba(168,85,247,.5);
    backdrop-filter: blur(4px);
}
.vcard-play-btn svg { width: 18px; height: 18px; fill: #fff; margin-left: 3px; }

.vcard-info { padding: 10px 2px 0; }
.vcard-title {
    font-size: 13px; font-weight: 500; color: var(--text);
    display: -webkit-box; -webkit-line-clamp: 2;
    -webkit-box-orient: vertical; overflow: hidden;
    line-height: 1.45; margin-bottom: 6px;
    transition: color .15s;
}
.vcard:hover .vcard-title { color: var(--accent); }
.vcard-meta {
    display: flex; gap: 12px;
    font-size: 11.5px; color: var(--text2); font-weight: 400;
}

/* ── Age gate ── */
#age-gate {
    position: fixed; inset: 0; z-index: 9999;
    background: radial-gradient(ellipse at center, #13101f 0%, #07070d 100%);
    display: flex; align-items: center; justify-content: center;
}
#age-gate-box {
    text-align: center; max-width: 400px; width: 90%;
    padding: 48px 40px;
    background: var(--bg2);
    border: 1px solid var(--border);
    border-radius: 16px;
    box-shadow: 0 24px 80px rgba(0,0,0,.6), 0 0 0 1px rgba(168,85,247,.08);
}
.ag-logo {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 2.4rem; letter-spacing: .08em;
    margin-bottom: 24px; display: block;
}
.ag-logo span { color: var(--accent); text-shadow: 0 0 24px var(--glow); }
#age-gate-box h2 { font-size: 1.1rem; font-weight: 600; margin-bottom: 10px; }
#age-gate-box p { font-size: 13px; color: var(--text2); margin-bottom: 32px; line-height: 1.7; }
.age-btns { display: flex; gap: 12px; justify-content: center; }
.btn-enter {
    background: linear-gradient(135deg, var(--accent), var(--accent2));
    color: #fff; border: none; border-radius: 10px;
    padding: 12px 30px; font-size: 14px; font-weight: 600;
    font-family: 'Outfit', sans-serif;
    cursor: pointer; transition: opacity .15s;
    box-shadow: 0 4px 20px rgba(168,85,247,.35);
}
.btn-enter:hover { opacity: .88; }
.btn-leave {
    background: var(--bg3); color: var(--text2);
    border: 1px solid var(--border); border-radius: 10px;
    padding: 12px 30px; font-size: 14px;
    font-family: 'Outfit', sans-serif;
    cursor: pointer; transition: all .15s;
    display: inline-flex; align-items: center;
}
.btn-leave:hover { color: var(--text); border-color: #444; }

/* ── Video page ── */
#video-layout {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 28px;
    align-items: start;
}
@media (max-width: 960px) {
    #video-layout { grid-template-columns: 1fr; }
}

#player-wrap {
    position: relative;
    background: #000;
    border-radius: var(--radius);
    overflow: hidden;
    aspect-ratio: 16/9;
}
#player-wrap iframe {
    position: absolute; inset: 0;
    width: 100%; height: 100%;
    border: none;
}

#video-meta { margin-top: 16px; }
#video-title {
    font-family: 'Outfit', sans-serif;
    font-size: 1.15rem; font-weight: 600;
    color: var(--text); line-height: 1.4;
    margin-bottom: 12px;
}
#video-info {
    display: flex; align-items: center;
    gap: 16px; flex-wrap: wrap;
    font-size: 13px; color: var(--text2);
    padding-bottom: 14px;
    border-bottom: 1px solid var(--border);
    margin-bottom: 14px;
}
#video-info strong { color: var(--text); }
.video-cats { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 16px; }
.video-cat-tag {
    padding: 4px 12px; border-radius: 20px; font-size: 12px; font-weight: 500;
    background: rgba(168,85,247,.1); color: var(--accent);
    border: 1px solid rgba(168,85,247,.25); transition: all .15s;
}
.video-cat-tag:hover { background: rgba(168,85,247,.2); }

#video-desc {
    font-size: 13.5px; color: var(--text2); line-height: 1.7;
    background: var(--bg2); border-radius: var(--radius);
    padding: 14px 16px;
}
#video-desc.collapsed { max-height: 80px; overflow: hidden; position: relative; }
#video-desc.collapsed::after {
    content: ''; position: absolute; bottom: 0; left: 0; right: 0;
    height: 40px;
    background: linear-gradient(transparent, var(--bg2));
}
#desc-toggle {
    background: none; border: none; color: var(--accent);
    font-size: 12.5px; cursor: pointer; margin-top: 8px;
    font-family: 'Outfit', sans-serif; padding: 0;
}
#desc-toggle:hover { text-decoration: underline; }

/* Sidebar */
#sidebar { display: flex; flex-direction: column; gap: 4px; }
#sidebar .section-title { font-size: 1.1rem; margin-bottom: 14px; }
.sidebar-card {
    display: flex; gap: 10px; padding: 8px 0;
    border-bottom: 1px solid var(--border);
}
.sidebar-card:last-child { border-bottom: none; }
.sidebar-thumb {
    width: 120px; flex-shrink: 0; aspect-ratio: 16/9;
    border-radius: 6px; overflow: hidden; background: var(--bg3);
    position: relative;
}
.sidebar-thumb img { width: 100%; height: 100%; object-fit: cover; }
.sidebar-thumb-placeholder {
    width: 100%; height: 100%;
    display: flex; align-items: center; justify-content: center;
    color: var(--border); font-size: 18px;
}
.sidebar-thumb .vcard-duration {
    font-size: 10px; padding: 1px 5px;
}
.sidebar-info { flex: 1; min-width: 0; }
.sidebar-title {
    font-size: 12.5px; font-weight: 500; color: var(--text);
    display: -webkit-box; -webkit-line-clamp: 2;
    -webkit-box-orient: vertical; overflow: hidden;
    line-height: 1.4; margin-bottom: 4px;
    transition: color .15s;
}
.sidebar-card:hover .sidebar-title { color: var(--accent); }
.sidebar-meta { font-size: 11px; color: var(--text2); }

/* ── Static pages ── */
.static-page {
    max-width: 760px;
    padding: 8px 0 48px;
}
.static-page h1 {
    font-size: 1.6rem; font-weight: 700;
    color: var(--text); margin-bottom: 20px;
    padding-bottom: 16px; border-bottom: 1px solid var(--border);
}
.static-page h2 {
    font-size: 1.05rem; font-weight: 600;
    color: var(--text); margin: 28px 0 10px;
}
.static-page p {
    font-size: 14px; color: var(--text2);
    line-height: 1.8; margin-bottom: 12px;
}
.static-page ul {
    padding-left: 20px; margin-bottom: 14px;
}
.static-page ul li {
    font-size: 14px; color: var(--text2);
    line-height: 1.8; margin-bottom: 4px;
}
.static-page a { color: var(--accent); }
.static-page a:hover { text-decoration: underline; }

.static-contacts { display: flex; flex-direction: column; gap: 12px; margin: 24px 0; }
.static-contact-box {
    background: var(--bg2); border: 1px solid var(--border);
    border-radius: var(--radius); padding: 16px 20px;
}
.static-contact-label {
    font-size: 11px; font-weight: 700; text-transform: uppercase;
    letter-spacing: .06em; color: var(--text2); margin-bottom: 6px;
}
.static-contact-value {
    font-size: 15px; font-weight: 500; color: var(--accent);
}

/* ── Footer ── */
#footer {
    background: var(--bg2);
    border-top: 1px solid var(--border);
    padding: 36px 24px 28px;
}
#footer-inner { max-width: 1440px; margin: 0 auto; }
#footer-logo {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.5rem; letter-spacing: .08em;
    margin-bottom: 20px; display: inline-block;
}
#footer-logo span { color: var(--accent); }
#footer-nav {
    display: flex; flex-wrap: wrap; gap: 6px 0;
    margin-bottom: 24px;
}
#footer-nav a {
    font-size: 13px; color: var(--text2);
    padding: 3px 16px 3px 0; transition: color .15s;
}
#footer-nav a:hover { color: var(--text); }
#footer-nav a + a { border-left: 1px solid var(--border); padding-left: 16px; }
#footer-bottom {
    display: flex; align-items: center; justify-content: space-between;
    flex-wrap: wrap; gap: 10px;
    padding-top: 20px; border-top: 1px solid var(--border);
    font-size: 12px; color: var(--text2);
}
#footer-disclaimer {
    font-size: 11.5px; color: #44445a;
    margin-top: 14px; line-height: 1.7; max-width: 860px;
}
