/* ==========================================================================
   PornDude Clone - Main CSS
   ========================================================================== */

:root {
    --top-bar-height: 34px;
    --top-bar-border-width: 3px;
    --header-mob-height: 60px;
    --header-desk-height: auto;
    --container-width: 1150px;
    --category-border-opacity: 0.5;
    --icon-path: '../images/icons';
    --pd-bg-color: #767676;
    --pd-bg-color-dark: #1a1b1f;
    --pd-bg-image: url("data:image/svg+xml,%3Csvg width='600' height='549' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 0h600v549H0z' fill='%23767676'/%3E%3Cpath d='M30 30h4v4h-4zm60 0h4v4h-4zm60 0h4v4h-4z' fill='%236e6e6e' fill-opacity='.3'/%3E%3C/svg%3E");
    --pd-bg-repeat: repeat;
    --pd-bg-position: 0 100%;
    --pd-bg-size: 600px 549px;
}

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

html {
    text-rendering: optimizeSpeed;
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-size: 100%;
    line-height: 1.2;
}

body {
    min-height: 100dvh;
    background-color: var(--pd-bg-color);
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
    display: flex;
    flex-direction: column;
    width: 100%;
    color: #4e4e4e;
}

@media (min-width: 992px) {
    body::before {
        content: '';
        z-index: -1;
        background-image: var(--pd-bg-image);
        background-position: var(--pd-bg-position);
        background-repeat: var(--pd-bg-repeat);
        background-size: var(--pd-bg-size);
        width: 100%;
        height: 100%;
        position: fixed;
        top: 0; left: 0; right: 0;
    }
}

body.pd-has-bg-mobile::before {
    content: '';
    z-index: -1;
    background-image: var(--pd-bg-image);
    background-position: var(--pd-bg-position);
    background-repeat: var(--pd-bg-repeat);
    background-size: var(--pd-bg-size);
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0; left: 0; right: 0;
}

ul, ol { list-style: none; }
img, picture, video, canvas { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; display: inline-block; }
button, input, textarea, select {
    font: inherit;
    background-color: transparent;
    border: none;
    border-radius: 0;
    outline: none;
}
input, textarea { font-size: 14px; }
button { cursor: pointer; }
::placeholder { color: #96979f; font-size: 14px; transition: opacity 0.2s; }

.container {
    max-width: var(--container-width);
    width: 100%;
    margin-inline: auto;
}

.main { flex-grow: 1; position: relative; }
.footer { margin-top: auto; }

/* ==========================================================================
   Scroll shadows & scrollbar
   ========================================================================== */
.v-scroll::before, .v-scroll::after {
    content: '';
    z-index: 1;
    opacity: 0;
    pointer-events: none;
    width: 100%;
    height: 40px;
    left: 0; right: 0;
    position: absolute;
}
.v-scroll::before {
    background: linear-gradient(#fff, rgba(255,255,255,0.5), transparent);
    top: 0;
}
.v-scroll::after {
    background: linear-gradient(transparent, rgba(255,255,255,0.5), #fff);
    bottom: 0;
}
.bottom-shadow::after { opacity: 0; }

.category-container.v-scroll::after {
    opacity: 0;
}

.custom-scrollbar::-webkit-scrollbar { width: 4px; height: 4px; }
.custom-scrollbar::-webkit-scrollbar-track { width: 10px; height: 10px; }
.custom-scrollbar::-webkit-scrollbar-thumb { background-color: #96979f; border-radius: 2px; width: 4px; }

/* ==========================================================================
   Header
   ========================================================================== */
.header { padding-top: var(--header-mob-height); position: relative; }

@media (min-width: 992px) {
    .header {
        min-height: auto;
        flex-direction: column;
        padding-top: 0;
        display: flex;
    }
}

/* Mobile header */
.header-mob {
    z-index: 20;
    height: var(--header-mob-height);
    background-color: var(--pd-bg-color);
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 0 16px;
    display: flex;
    position: fixed;
    top: 0; left: 0; right: 0;
}

@media (min-width: 992px) { .header-mob { display: none; } }

.header-mob-logo {
    height: 100%;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    padding: 0 8px;
    min-width: 0;
}

.header-mob-logo .site-title-mob {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.header-mob-logo .custom-logo { max-height: 36px; width: auto; }

/* Burger */
.burger {
    flex-shrink: 0;
    justify-content: center;
    align-items: flex-start;
    width: 30px;
    height: 30px;
    display: flex;
    position: relative;
}
.burger-bar, .burger-bar::before, .burger-bar::after {
    background-color: #fff;
    border-radius: 4px;
    width: 100%;
    height: 4px;
    transition: transform 0.2s;
    position: absolute;
}
.burger-bar::before, .burger-bar::after { content: ''; display: block; }
.burger-bar::before { transition: transform 0.2s, opacity 0.2s; top: 12px; }
.burger-bar::after { top: 24px; }
.burger-active .burger-bar { width: 40px; transform: translateY(12px) rotate(45deg); }
.burger-active .burger-bar::before { opacity: 0; transform: rotate(-45deg) translate(-5.7px, -8px); }
.burger-active .burger-bar::after { width: 40px; transform: translateY(-24px) rotate(-90deg); }

/* Top bar */
.top-bar { color: #fff; font-size: 0; }

@media (min-width: 992px) {
    .top-bar {
        height: var(--top-bar-height);
        border-bottom: var(--top-bar-border-width) solid #c5c5c5;
        color: #4e4e4e;
        background-color: #fdfdfd;
        padding: 0;
        font-size: 16px;
        display: flex;
    }
}

.top-bar-container {
    justify-content: center;
    align-items: stretch;
    gap: 10px;
    display: flex;
    flex-direction: column;
    position: relative;
    width: 100%;
    padding: 10px 12px 12px;
}

.hometitle {
    text-align: center;
    width: 100%;
    padding: 0;
    font-size: 13px;
    font-weight: 400;
    line-height: 1.45;
    display: block;
    color: #fff;
    flex-shrink: 1;
    min-width: 0;
}

@media (min-width: 480px) {
    .hometitle { font-size: 14px; }
}

@media (min-width: 992px) {
    .top-bar-container {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        padding: 0 10px;
        height: 100%;
        gap: 16px;
    }

    .hometitle {
        width: auto;
        flex: 1;
        overflow: hidden;
        text-align: left;
        color: #4e4e4e;
        white-space: nowrap;
        text-overflow: ellipsis;
        font-size: 16px;
        line-height: 1.2;
    }
}

/* Desktop header */
.header-desk { display: none; }

@media (min-width: 992px) {
    .header-desk {
        flex-grow: 0;
        align-items: flex-end;
        justify-content: space-between;
        padding: 4px 10px 12px;
        display: flex;
    }
}

.header-col { flex-direction: column; display: flex; }

.header-col-lead {
    justify-content: flex-end;
    align-items: flex-start;
    gap: 6px;
    width: 100%;
    max-width: 400px;
    margin-right: 20px;
}

.header-logo-main {
    width: 100%;
    max-width: 400px;
    padding-bottom: 10%;
    display: none;
    position: relative;
}

@media (min-width: 992px) { .header-logo-main { display: block; } }

.header-logo-main-img, .header-logo-main .custom-logo {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: left bottom;
}

.header-logo-text {
    position: absolute;
    bottom: 0; left: 0;
    font-size: 28px;
    font-weight: 700;
    color: #ff9701;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.3);
    padding-bottom: 0;
}

.header-col-main {
    flex-grow: 1;
    justify-content: flex-end;
    align-items: flex-end;
}

.header-date {
    text-overflow: ellipsis;
    white-space: nowrap;
    color: #fff;
    max-width: 100%;
    padding: 0 2px;
    font-size: 12px;
    display: none;
    overflow: hidden;
    line-height: 1.3;
}

@media (min-width: 992px) { .header-date { display: block; } }

.header-date-mob {
    display: block;
    margin: 0;
    text-align: center;
    color: rgba(255, 255, 255, 0.9);
    font-size: 11px;
    line-height: 1.3;
}

@media (min-width: 992px) {
    .header-date-mob { display: none; }
}

/* ==========================================================================
   Search form
   ========================================================================== */
.search-form {
    z-index: 100;
    width: 100%;
    height: var(--header-mob-height);
    background-color: #f3f5fa;
    border-bottom: 1px solid #ededed;
    padding: 0;
    animation: fadeEffect 0.2s;
    display: none;
    position: fixed;
    top: 0; bottom: auto;
}

@media (min-width: 992px) {
    .search-form {
        background-color: transparent;
        border: none;
        height: 40px;
        animation: none;
        display: block;
        position: relative;
    }

    .search-form-top {
        width: 300px;
        max-width: 42%;
        height: 34px;
        flex-shrink: 0;
        margin-left: auto;
    }

    .search-form-top .search-input {
        height: 34px;
        font-size: 13px;
        padding-inline: 14px 40px;
        border-radius: 8px;
    }

    .search-form-top .search-close {
        width: 40px;
        height: 34px;
    }
}

.search-form--open { display: block; }

/* Mobile: search in top bar */
@media (max-width: 991px) {
    .search-form.search-form-top {
        display: block;
        position: relative;
        top: auto;
        width: 100%;
        height: 42px;
        background: transparent;
        border: none;
        animation: none;
    }

    .search-form.search-form-top .search-input {
        height: 42px;
        border: 3px solid #bababa;
        border-radius: 10px;
        background-color: #fdfdfd;
        background-position: calc(100% - 12px);
        padding-inline: 14px 44px;
        font-size: 14px;
    }

    .search-form.search-form-top .search-close {
        width: 44px;
        height: 42px;
        display: none;
    }

    .search-form.search-form-top.search-form--has-val .search-close {
        display: block;
    }
}

@media (min-width: 992px) {
    .search-form-top { display: block; }
}

.search-input {
    color: #96979f;
    background: #fdfdfd url('../images/icons/icon-search.svg') 14px/20px 20px no-repeat;
    border: none;
    border-radius: 0;
    width: 100%;
    height: 100%;
    padding-inline: 40px 60px;
}

@media (min-width: 992px) {
    .search-input {
        background-position: calc(100% - 10px);
        border: 3px solid #bababa;
        border-radius: 10px;
        padding-inline: 20px 50px;
    }
}

.search-close {
    z-index: 2;
    cursor: pointer;
    background: url('../images/icons/icon-close.svg') 50%/20px no-repeat;
    width: 60px;
    height: 100%;
    animation: fadeEffect 0.2s;
    display: block;
    position: absolute;
    top: 0; bottom: 0; right: 0;
}

@media (min-width: 992px) {
    .search-close { width: 50px; display: none; }
    .search-form--has-val .search-input { background-position: 15px; padding-left: 40px; }
    .search-form--has-val .search-close { display: block; }
}

.search-form {
    position: relative;
}

.search-suggest {
    display: none;
    position: absolute;
    z-index: 50;
    left: 0;
    right: 0;
    top: calc(100% + 4px);
    background: #fdfdfd;
    border: 3px solid #bababa;
    border-radius: 10px;
    max-height: 280px;
    overflow-y: auto;
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}

.search-suggest.is-open { display: block; }

.search-suggest a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-bottom: 1px solid #eee;
    color: #4e4e4e;
    width: 100%;
}

.search-suggest a:last-child { border-bottom: none; }
.search-suggest a:hover,
.search-suggest a.is-active { background: #f2f3f6; color: #ff9701; }

.search-suggest__icon {
    width: 20px;
    height: 20px;
    border-radius: 4px;
    background: #eee center/contain no-repeat;
    flex-shrink: 0;
}

.search-suggest__meta {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.search-suggest__title {
    font-size: 14px;
    font-weight: 500;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.search-suggest__domain {
    font-size: 12px;
    color: #96979f;
}

.skip-link {
    position: absolute;
    left: -9999px;
    top: 0;
    z-index: 10000;
    background: #ff9701;
    color: #fff;
    padding: 8px 14px;
}

.skip-link:focus {
    left: 10px;
    top: 10px;
}

.taxonomy-count {
    margin-top: 8px;
    font-size: 13px;
    color: #888;
}

body.dark .search-suggest {
    background: #2a2b31;
    border-color: #43444b;
}

body.dark .search-suggest a {
    color: #ddd;
    border-color: #43444b;
}

body.dark .search-suggest a:hover,
body.dark .search-suggest a.is-active {
    background: #23242a;
    color: #ff9701;
}

body.dark .taxonomy-count { color: #aaa; }

/* ==========================================================================
   Social links
   ========================================================================== */
.socials {
    justify-content: center;
    align-items: center;
    gap: 10px;
    display: flex;
}

.socials-item { position: relative; }

.socials-link {
    text-align: center;
    text-transform: uppercase;
    vertical-align: middle;
    letter-spacing: -0.55px;
    color: #4e4e4e;
    background-color: #fdfdfd;
    background-position: 50%;
    background-repeat: no-repeat;
    border: 3px solid #bababa;
    border-radius: 10px;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    padding: 0 2px;
    font-size: 11px;
    line-height: 1.2;
    transition: transform 0.2s, border-color 0.2s, background-color 0.2s, color 0.2s;
    display: inline-flex;
}

.socials-link.blog-link {
    width: auto;
    padding: 0 10px;
    font-size: 11px;
    font-weight: 500;
    position: relative;
}

.blog-link::before {
    content: '';
    background-color: #f10e0e;
    border-radius: 4px;
    width: 8px;
    height: 8px;
    position: absolute;
    top: 0; right: 0;
}

.custom-link { background-size: 20px; background-position: 50%; background-repeat: no-repeat; }

.email-link { background-image: url('../images/icons/icon-envelop.svg'); background-size: 20px; }
.twitter-link { background-image: url('../images/icons/icon-twitter.svg'); background-size: 20px; }
.theme-link {
    background-color: #2a2b31;
    background-image: url('../images/icons/w-icon-moon.svg');
    background-size: 20px;
    border: none;
}

body.dark .theme-link {
    background-image: url('../images/icons/w-icon-sun.svg');
}

@media (min-width: 992px) {
    .socials-link:hover { transform: rotate(10deg); }
    .socials-link:hover + .hover-block { display: block; }
    .header .socials-link:hover {
        color: #fff;
        background-color: #ff9701;
        border-color: transparent;
    }
    .header .email-link:hover { background-image: url('../images/icons/w-icon-envelop.svg'); }
    .header .twitter-link:hover { background-image: url('../images/icons/w-icon-twitter.svg'); }
}

.hover-block {
    z-index: 2;
    white-space: nowrap;
    color: #767676;
    background-color: #fdfdfd;
    border: 3px solid #bababa;
    border-radius: 11px;
    padding: 6px 10px;
    line-height: 1;
    animation: fadeEffect 0.2s;
    display: none;
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translate(-50%, -10px);
}

.hover-block::after {
    content: '';
    background-color: #fdfdfd;
    border-top: 0 solid transparent;
    border-bottom: 3px solid #bababa;
    border-left: 3px solid #bababa;
    border-right: 0 solid transparent;
    width: 12px;
    height: 12px;
    display: inline-block;
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translate(-50%, -4px) rotate(-45deg);
}

/* ==========================================================================
   Homepage SEO header
   ========================================================================== */
.home-seo-header {
    grid-column: 1 / -1;
    padding: 8px 4px 4px;
}

.home-h1 {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.home-intro {
    color: rgba(255, 255, 255, 0.82);
    font-size: 14px;
    line-height: 1.6;
    max-width: 900px;
}

body.dark .home-intro {
    color: rgba(255, 255, 255, 0.72);
}

/* ==========================================================================
   Categories grid
   ========================================================================== */
.categories-grid {
    z-index: 1;
    flex-direction: column;
    gap: 8px;
    padding: 0 10px 20px;
    display: flex;
    position: relative;
    width: 100%;
}

@media (min-width: 768px) {
    .categories-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        align-items: start;
        gap: 8px;
        display: grid;
    }
}

@media (min-width: 992px) {
    .categories-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 8px;
        padding: 0 10px 30px;
    }
}

/* Category container */
.category-container {
    border: 3px solid rgba(var(--category-rgb, 238, 238, 238), var(--category-border-opacity, 0.5));
    background-color: #fdfdfd;
    border-radius: 10px;
    grid-template-rows: 50px 1fr auto;
    grid-template-columns: minmax(0, 1fr);
    height: var(--category-height, 320px);
    min-width: 0;
    width: 100%;
    padding-bottom: 0;
    display: grid;
    position: relative;
    box-sizing: border-box;
    overflow: hidden;
}

.category-container.visible ul,
.category-container.visible .category-bottom { display: flex; }

.category-container:hover .category-bottom .svg-icon { color: #fff; }

@media (min-width: 992px) {
    .category-container:hover .category-header::after { width: calc(100% - 25px); }
}

/* Category header */
.category-container .category-header {
    text-align: center;
    color: #fff;
    text-transform: uppercase;
    padding: 1px 5px;
    position: relative;
}

.category-container .category-header .desc { display: none; }

.category-container .category-header::before {
    content: '';
    z-index: 5;
    background-color: #e5e5e5;
    border-radius: 2px;
    width: calc(100% - 25px);
    height: 3px;
    display: block;
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}

.category-container .category-header::after {
    content: '';
    z-index: 5;
    background-color: rgb(var(--category-rgb, 118, 118, 118));
    border-radius: 2px;
    width: 55px;
    height: 3px;
    transition: width 0.3s;
    display: block;
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}

.category-container .category-header h2 {
    text-align: center;
    justify-content: center;
    align-items: center;
    gap: 6px;
    height: 47px;
    margin: 0;
    font-size: 14px;
    font-weight: 500;
    line-height: 47px;
    display: flex;
    position: relative;
}

.category-container .category-header h2 a {
    color: rgb(var(--category-rgb, 118, 118, 118));
    text-transform: uppercase;
    font-weight: 500;
}

/* Category icon */
.icon-category {
    vertical-align: middle;
    background-image: url('../images/icons/tpdbread.svg');
    background-repeat: no-repeat;
    background-position: 50%;
    background-size: contain;
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    display: inline-block;
}

/* Category wrapper */
.category-wrapper {
    color: #9f9f9f;
    backface-visibility: hidden;
    margin-right: 5px;
    padding-top: 9px;
    position: relative;
    overflow-y: auto;
    min-height: 0;
    grid-row: 2;
}

.category-text-block {
    text-align: center;
    color: #4b4c4f;
    width: 100%;
    margin: auto;
    padding: 0 5px 3px;
    font-size: 12px;
    line-height: 1.3em;
}

/* Category items - 1:1 */
.category-container ul {
    counter-reset: number;
    flex-direction: column;
    flex-wrap: nowrap;
    width: 100%;
    display: flex;
}

.category-container .category-item {
    align-items: center;
    width: 100%;
    height: 24px;
    padding-left: 5px;
    font-size: 14px;
    display: flex;
    position: relative;
    flex-shrink: 0;
}

@media (min-width: 992px) {
    .category-container .category-item {
        padding-inline: 15px 35px;
        transition: background-color 0.2s;
    }
}

.category-container .category-item::before {
    counter-increment: number;
    content: counter(number) '.';
    vertical-align: top;
    text-align: right;
    color: #4b4c4f;
    width: 20px;
    margin: 3px 3px 0 0;
    font-size: 11px;
    font-weight: 300;
    line-height: 18px;
    display: inline-block;
    flex-shrink: 0;
}

/* Site link */
.icon-site {
    vertical-align: middle;
    text-overflow: ellipsis;
    white-space: nowrap;
    display: inline-block;
    overflow: hidden;
    color: #000;
    max-width: calc(100% - 30px);
}

.link-analytics { color: #ff9701; }

.icon-site::before {
    content: '';
    border-radius: 50%;
    width: 16px;
    height: 16px;
    display: inline-flex;
    margin-right: 4px;
    transform: translateY(2px);
    background-color: #ddd;
    background-image: var(--site-icon, none);
    background-size: cover;
    background-position: center;
    flex-shrink: 0;
}

.category-container .desc { display: none; }

/* Review button - 1:1 */
.category-container .review {
    background: url('../images/icons/icon-search.svg') 50%/contain no-repeat;
    width: 18px;
    height: 18px;
    display: block;
    position: absolute;
    top: 50%;
    right: 15px;
    transform: translateY(-50%) scale(0.889);
    opacity: 0.7;
    animation: fadeEffect 0.2s;
}

@media (min-width: 992px) {
    .category-container .review {
        display: none;
        opacity: 1;
    }
    .category-container .category-item:hover { background-color: #f2f3f6; }
    .category-container .category-item:hover .review { display: block; }
    .category-container .category-item:hover .link-analytics { color: #ff9701; }
}

/* New badge */
.icon_show_newicon, .icon-new {
    background: url('../images/icons/new_icon.svg') 0 0/contain no-repeat;
    width: 32px;
    height: 16px;
    display: inline-block;
    position: relative;
    top: 0;
    left: 2px;
    flex-shrink: 0;
    text-indent: -9999px;
    overflow: hidden;
}

@media (max-width: 480px) {
    .category-container .icon_show_newicon,
    .category-container .icon-new { width: 25px; top: 5px; }
}

/* Category bottom button */
.category-container .category-bottom {
    --animation-rgb-value: var(--category-rgb);
    text-align: center;
    text-transform: capitalize;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: #fff;
    background-color: rgb(var(--category-rgb, 255, 151, 1));
    border-radius: 0;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 36px;
    padding: 4px 10px;
    font-size: 14px;
    font-weight: 400;
    display: flex;
    position: relative;
    grid-row: 3;
    overflow: hidden;
    flex-shrink: 0;
}

@media (min-width: 992px) {
    .category-container .category-bottom {
        will-change: opacity;
        animation: fadeEffect 0.2s;
    }
    .category-container .category-bottom:hover .svg-icon { transform: translateX(10px); }
}

.category-container .category-bottom .svg-icon {
    vertical-align: middle;
    flex-shrink: 0;
    width: 18px;
    height: 10px;
    margin: 0 0 0 5px;
    transition: transform 0.5s;
    display: inline-block;
}

.category-empty {
    text-align: center;
    padding: 20px;
    color: #96979f;
    font-size: 13px;
}

/* Category color presets */
.free-tube-sites-block-style { --category-rgb: 118, 118, 118; }
.free-onlyfans-block-style { --category-rgb: 0, 108, 130; }
.top-premium-sites-block-style { --category-rgb: 236, 154, 29; }
.free-sex-cams-block-style { --category-rgb: 97, 199, 101; }
.ai-porn-sites-block-style { --category-rgb: 51, 140, 171; }
.asian-tube-sites-block-style { --category-rgb: 249, 177, 54; }
.hentai-sites-block-style { --category-rgb: 205, 88, 144; }
.best-vr-sites-block-style { --category-rgb: 55, 80, 89; }

/* ==========================================================================
   Mobile menu
   ========================================================================== */
.mob-menu {
    position: fixed;
    top: 0;
    left: calc(-1 * min(300px, 85vw));
    width: min(300px, 85vw);
    height: 100%;
    background: #fdfdfd;
    z-index: 100;
    transition: left 0.3s;
    overflow-y: auto;
    box-shadow: 2px 0 10px rgba(0,0,0,0.15);
}
.mob-menu.active { left: 0; }

.mob-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px;
    border-bottom: 1px solid #e5e5e5;
    font-weight: 500;
    font-size: 16px;
    color: #4e4e4e;
}

.mob-menu-close {
    width: 30px;
    height: 30px;
    background: url('../images/icons/icon-close.svg') 50%/16px no-repeat;
    text-indent: -9999px;
    overflow: hidden;
}

.mob-menu-body {
    padding: 12px 16px 20px;
    overflow-y: auto;
}

.mob-menu-search {
    margin-bottom: 16px;
}

.mob-menu-search .search-input {
    width: 100%;
}

.mob-menu-list li a {
    display: block;
    padding: 12px 16px;
    border-bottom: 1px solid #e5e5e5;
    color: #4e4e4e;
    font-size: 14px;
}
.mob-menu-list li a:hover { background: #f2f3f6; color: #ff9701; }

.mob-menu-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    z-index: 99;
    display: none;
}
.mob-menu-overlay.active { display: block; }

/* ==========================================================================
   Footer - 1:1
   ========================================================================== */
.footer-bottom {
    background-color: #5a5a5a;
    padding: 20px 10px;
}

.footer .socials { margin-bottom: 16px; }

.footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px 16px;
}

.footer-links .link {
    color: #ccc;
    font-size: 13px;
    transition: color 0.2s;
}
.footer-links .link:hover { color: #ff9701; }

/* ==========================================================================
   Single / Taxonomy / Search pages
   ========================================================================== */
.single-page, .taxonomy-page, .search-page { padding: 20px 10px 40px; }

.taxonomy-header, .taxonomy-sites-list, .search-page-header, .search-results-list {
    background: #fdfdfd;
    border-radius: 10px;
    border: 3px solid #bababa;
}

.taxonomy-header { padding: 24px; margin-bottom: 16px; border-color: rgba(var(--category-rgb, 118, 118, 118), 0.5); text-align: center; }
.taxonomy-header h1 { display: flex; align-items: center; justify-content: center; gap: 10px; font-size: 22px; color: rgb(var(--category-rgb, 118, 118, 118)); }
.taxonomy-desc, .taxonomy-intro { color: #666; font-size: 14px; line-height: 1.6; margin-top: 8px; }

.taxonomy-sites-list { padding: 8px 16px; border-color: #e5e5e5; }
.full-site-item { padding: 10px 0; border-bottom: 1px solid #e5e5e5; }
.full-site-item:last-child { border-bottom: none; }
.full-site-header { display: flex; align-items: center; gap: 8px; }
.full-site-desc { color: #888; font-size: 13px; margin-top: 4px; padding-left: 26px; }

.full-site-header .review {
    display: block;
    position: static;
    transform: none;
    margin-left: auto;
}

.search-page-header { padding: 20px; margin-bottom: 16px; }
.search-page-header h1 { font-size: 18px; }
.search-page-header h1 span { color: #ff9701; }

.search-results-list { padding: 8px; }
.search-result-item { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; padding: 10px 8px; border-bottom: 1px solid #e5e5e5; }
.search-result-item .desc { width: 100%; color: #888; font-size: 13px; padding-left: 26px; }

.no-results, .no-categories, .no-sites { text-align: center; padding: 40px 20px; color: #96979f; }
.no-categories h2 { color: #4e4e4e; margin-bottom: 12px; }

.btn-admin {
    display: inline-block;
    background: #ff9701;
    color: #fff;
    padding: 8px 20px;
    border-radius: 10px;
    border: 3px solid #bababa;
    margin: 8px 4px;
    font-size: 14px;
}

.btn-back { color: #ff9701; font-size: 14px; font-weight: 500; }
.taxonomy-back { margin-top: 20px; text-align: center; }

/* ==========================================================================
   Mobile optimizations
   ========================================================================== */
@media (max-width: 991px) {
    .categories-grid {
        padding: 0 8px 16px;
        gap: 10px;
    }

    .category-container {
        height: auto;
        min-height: 240px;
        max-height: min(var(--category-height, 320px), 72vh);
    }

    .category-container .category-header h2 {
        font-size: 13px;
        height: 44px;
        line-height: 44px;
    }

    .category-container .category-item {
        height: auto;
        min-height: 28px;
        padding-inline: 8px 12px;
        font-size: 13px;
    }

    .category-container .category-bottom {
        height: 34px;
        font-size: 13px;
    }

    .footer-bottom {
        padding: 16px 12px;
    }

    .footer .socials {
        gap: 8px;
    }

    .footer .socials-link {
        width: 36px;
        height: 36px;
    }

    .footer-links {
        gap: 6px 12px;
    }

    .footer-links .link {
        font-size: 12px;
    }

    .single-page, .taxonomy-page, .search-page {
        padding: 12px 8px 32px;
    }

    .taxonomy-header, .taxonomy-sites-list, .search-page-header, .search-results-list {
        border-width: 2px;
    }
}

@media (max-width: 374px) {
    .hometitle {
        font-size: 12px;
    }

    .search-form.search-form-top .search-input {
        font-size: 13px;
        padding-inline: 12px 40px;
    }
}

/* ==========================================================================
   Breadcrumb
   ========================================================================== */
.pd-crumb,
.ld-crumb {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px 10px;
    margin-bottom: 18px;
    font-size: 13px;
    line-height: 1.4;
    color: rgba(255, 255, 255, 0.7);
}

.pd-crumb a,
.ld-crumb a {
    color: #fff;
    transition: color 0.2s;
}

.pd-crumb a:hover,
.ld-crumb a:hover { color: #ff9701; }

.pd-crumb__sep,
.ld-crumb__sep {
    color: rgba(255, 255, 255, 0.35);
    user-select: none;
}

.pd-crumb__current,
.ld-crumb__current {
    color: rgba(255, 255, 255, 0.5);
    max-width: min(280px, 50vw);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.pd-crumb a:focus-visible,
.ld-crumb a:focus-visible {
    outline: 2px solid #ff9701;
    outline-offset: 2px;
}

@media (max-width: 991px) {
    .pd-crumb__current,
    .ld-crumb__current { max-width: 160px; }
}

/* ==========================================================================
   404 page
   ========================================================================== */
.page-404 { padding: 20px 10px 48px; }

.page-404-card {
    background: #fdfdfd;
    border: 3px solid #bababa;
    border-radius: 10px;
    padding: 40px 24px;
    text-align: center;
}

.page-404-title {
    font-size: 48px;
    font-weight: 700;
    color: #ff9701;
    line-height: 1;
    margin-bottom: 12px;
}

.page-404-desc {
    color: #666;
    font-size: 15px;
    margin-bottom: 24px;
}

.page-404-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.page-404-search {
    width: 100%;
    max-width: 360px;
}

.page-404-search .search-input {
    width: 100%;
}

/* ==========================================================================
   Dark mode
   ========================================================================== */
body.dark { background-color: var(--pd-bg-color-dark); }
body.dark .top-bar { background-color: #2a2b31; border-color: #43444b; }
body.dark .top-bar .hometitle { color: #ccc; }
body.dark .header-date,
body.dark .header-date-mob { color: #aaa; }
body.dark .category-container { background-color: #2a2b31; }
body.dark .category-text-block { color: #bbb; }
body.dark .category-container .category-header::before { background-color: #17191d; }
body.dark .search-input { background-color: #1a1b1f; color: #ccc; border-color: #43444b; }
body.dark .mob-menu { background-color: #2a2b31; color: #ddd; }
body.dark .mob-menu-header { border-color: #43444b; }
body.dark .mob-menu-list a { color: #ccc; }
body.dark .mob-menu-list a:hover { color: #ff9701; background: #23242a; }
body.dark .taxonomy-header,
body.dark .taxonomy-sites-list,
body.dark .search-page-header,
body.dark .search-results-list,
body.dark .page-404-card {
    background-color: #2a2b31;
    border-color: #43444b;
}
body.dark .taxonomy-header h1 { color: rgb(var(--category-rgb, 200, 200, 200)); }
body.dark .taxonomy-desc,
body.dark .full-site-desc,
body.dark .search-result-item .desc,
body.dark .page-404-desc,
body.dark .no-results,
body.dark .no-sites { color: #aaa; }
body.dark .full-site-item { border-color: #43444b; }
body.dark .search-result-item { border-color: #43444b; }
body.dark .search-page-header h1 { color: #ddd; }
body.dark .page-404-title { color: #ff9701; }
body.dark .footer { background-color: #17191d; }
body.dark .footer-links .link { color: #aaa; }
body.dark .footer-links .link:hover { color: #ff9701; }
body.dark .pagination .page-numbers {
    background-color: #2a2b31;
    color: #ccc;
    border-color: #43444b;
}
body.dark .pagination .page-numbers:hover { color: #ff9701; }
body.dark .btn-back { color: #ccc; border-color: #43444b; }
body.dark .btn-back:hover { color: #ff9701; border-color: #ff9701; }
body.dark .pd-crumb,
body.dark .ld-crumb { color: rgba(255, 255, 255, 0.7); }
body.dark .pd-crumb a,
body.dark .ld-crumb a { color: #fff; }

/* ==========================================================================
   Animations & pagination
   ========================================================================== */
@keyframes fadeEffect { from { opacity: 0; } to { opacity: 1; } }

.pagination { display: flex; justify-content: center; gap: 4px; padding: 20px 0; }
.pagination .page-numbers {
    display: flex; align-items: center; justify-content: center;
    width: 36px; height: 36px; border-radius: 6px;
    background: #fdfdfd; color: #4e4e4e; font-size: 14px;
    border: 3px solid #bababa;
}
.pagination .page-numbers.current { background: #ff9701; color: #fff; border-color: transparent; }
