/* Fetish Site — Dark Red Theme */

/* ─── Reset ──────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { background: #fdf2f8; color: #333; font-family: system-ui, -apple-system, 'Segoe UI', sans-serif; }
a { color: #e91e63; text-decoration: none; transition: color 0.2s; }
a:hover { color: #FFA500; }
img { max-width: 100%; height: auto; }

/* ─── Layout ─────────────────────────────────── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 15px; }

/* ─── Header ─────────────────────────────────── */
.site-header {
    background: #fff;
    border-bottom: 2px solid #e91e63;
    padding: 12px 0;
    position: sticky;
    top: 0;
    z-index: 100;
}
.site-header .container {
    display: flex;
    align-items: center;
    gap: 20px;
}
.site-logo {
    font-size: 24px;
    font-weight: 900;
    color: #e91e63;
    letter-spacing: 1px;
    white-space: nowrap;
}
.site-logo span { color: #e91e63; }
.site-logo img { height: 60px; width: auto; display: block; }
.site-search {
    flex: 1;
    max-width: 400px;
}
.site-search form {
    display: flex;
    gap: 0;
}
.site-search input[type="text"] {
    flex: 1;
    background: #fff;
    border: 1px solid #333;
    border-right: none;
    border-radius: 6px 0 0 6px;
    padding: 8px 14px;
    color: #333;
    font-size: 14px;
}
.site-search input[type="text"]:focus {
    outline: none;
    border-color: #e91e63;
}
.site-search button {
    background: #e91e63;
    border: 1px solid #e91e63;
    border-radius: 0 6px 6px 0;
    color: #fff;
    padding: 8px 16px;
    cursor: pointer;
    font-weight: 700;
}
.site-search button:hover { background: #e91e63; }

/* ─── Navigation ─────────────────────────────── */
.site-nav {
    background: #fff;
    border-bottom: 1px solid #eee;
    padding: 0;
}
.site-nav .container {
    display: flex;
    gap: 0;
    overflow: visible;
    flex-wrap: wrap;
}
.hamburger { display: none; }
.nav-links { display: flex; gap: 0; flex-wrap: wrap; }
.site-nav a {
    display: block;
    padding: 10px 18px;
    color: #666;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
    border-bottom: 2px solid transparent;
    transition: all 0.2s;
}
.site-nav a:hover, .site-nav a.active {
    color: #e91e63;
    border-bottom-color: #e91e63;
}

/* ─── Video Grid ─────────────────────────────── */
.section-title {
    color: #e91e63;
    font-size: 20px;
    font-weight: 700;
    margin: 25px 0 15px;
    padding-left: 12px;
    border-left: 4px solid #e91e63;
}
.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 16px;
    margin-bottom: 30px;
}
.video-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.2s, box-shadow 0.2s;
}
.video-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(233, 30, 99, 0.15);
}
.video-thumb {
    position: relative;
    aspect-ratio: 16/9;
    background: #000;
    overflow: hidden;
}
.video-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.video-thumb .duration {
    position: absolute;
    bottom: 6px;
    right: 6px;
    background: rgba(0,0,0,0.8);
    color: #e91e63;
    padding: 2px 6px;
    border-radius: 3px;
    font-size: 11px;
    font-weight: 700;
}
.video-thumb .views-badge {
    position: absolute;
    top: 6px;
    left: 6px;
    background: rgba(139, 0, 0, 0.9);
    color: #fff;
    padding: 2px 8px;
    border-radius: 3px;
    font-size: 11px;
    font-weight: 600;
}
.video-info {
    padding: 10px 12px;
}
.video-title {
    font-size: 14px;
    font-weight: 600;
    color: #333;
    margin-bottom: 4px;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.video-meta {
    font-size: 12px;
    color: #888;
}
.video-meta .rating {
    color: #e91e63;
}

/* ─── Pagination ─────────────────────────────── */
.pagination {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin: 30px 0;
}
.pagination a, .pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 36px;
    padding: 0 10px;
    background: #fff;
    border: 1px solid #333;
    border-radius: 6px;
    color: #555;
    font-size: 14px;
    font-weight: 600;
}
.pagination a:hover { background: #e91e63; border-color: #e91e63; color: #000; }
.pagination .active { background: #e91e63; border-color: #e91e63; color: #000; }
.pagination .dots { background: transparent; border: none; color: #666; min-width: auto; padding: 0 4px; }

/* ─── Single Video ───────────────────────────── */
.single-wrap {
    max-width: 1000px;
    margin: 0 auto;
    padding: 20px 15px;
}
.video-player-wrap {
    position: relative;
    background: #000;
    border-radius: 10px;
    overflow: hidden;
    border: 2px solid #e91e63;
    margin-bottom: 20px;
}
.video-player {
    width: 100%;
    aspect-ratio: 16/9;
    display: block;
}
.video-player::-webkit-media-controls-enclosure { overflow: hidden; }
.video-player::-webkit-media-controls-panel { opacity: 0; transition: opacity 0.3s; }
.video-player:hover::-webkit-media-controls-panel { opacity: 1; }

/* VAST overlay */
.vast-wrap {
    position: absolute;
    inset: 0;
    z-index: 20;
    background: #000;
    display: none;
}
.vast-wrap.active { display: block; }
.vast-video { width: 100%; height: 100%; object-fit: contain; }
.vast-label {
    position: absolute;
    top: 10px;
    left: 10px;
    background: rgba(139, 0, 0, 0.9);
    color: #fff;
    padding: 3px 10px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 700;
    z-index: 25;
}
.vast-timer {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(0,0,0,0.7);
    color: #e91e63;
    padding: 3px 10px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 700;
    z-index: 25;
}
.vast-skip {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background: rgba(0,0,0,0.7);
    color: #fff;
    border: 2px solid #e91e63;
    padding: 8px 18px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 700;
    z-index: 25;
    display: none;
    transition: all 0.2s;
}
.vast-skip:hover { background: #e91e63; color: #fff; }
.vast-skip.visible { display: block; }
.vast-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 3px;
    background: #e91e63;
    z-index: 25;
    transition: width 0.3s;
}

/* Play overlay */
.play-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    background: rgba(0,0,0,0.35);
    transition: opacity 0.3s;
}
.play-overlay:hover { background: rgba(0,0,0,0.5); }
.play-overlay.hidden { opacity: 0; pointer-events: none; }
.play-btn {
    position: relative;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.play-ring {
    position: absolute;
    inset: 0;
    border: 3px solid rgba(204, 0, 0, 0.6);
    border-radius: 50%;
    transition: border-color 0.2s;
}
.play-overlay:hover .play-ring { border-color: #e91e63; }
.play-triangle {
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 15px 0 15px 28px;
    border-color: transparent transparent transparent #e91e63;
    margin-left: 5px;
}

/* Video details */
.video-title-single {
    font-size: 22px;
    font-weight: 700;
    color: #333;
    margin-bottom: 10px;
}
.video-meta-row {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 15px;
    color: #666;
    font-size: 14px;
}
.video-meta-row .views { color: #e91e63; font-weight: 700; }
.video-desc {
    color: #555;
    line-height: 1.7;
    margin-bottom: 20px;
    max-width: 80ch;
}
.video-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 25px;
}
.video-tags a {
    background: rgba(139, 0, 0, 0.15);
    color: #e91e63;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    border: 1px solid rgba(233, 30, 99, 0.15);
    transition: all 0.2s;
}
.video-tags a:hover { background: #e91e63; color: #fff; }

/* ─── Footer ─────────────────────────────────── */
.site-footer {
    background: #fff;
    border-top: 1px solid #eee;
    padding: 20px 0;
    margin-top: 40px;
    text-align: center;
    color: #666;
    font-size: 13px;
}
.site-footer a { color: #888; }
.site-footer a:hover { color: #e91e63; }

/* ─── Report Block ────────────────────────────── */
.report-wrap {
    margin: 15px 0;
    padding: 10px 0;
}
.report-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-size: 13px;
    color: #999;
}
.report-label:hover { color: #e91e63; }
.report-check {
    accent-color: #e91e63;
    width: 16px;
    height: 16px;
    cursor: pointer;
}
.report-text { font-weight: 600; }
.report-tooltip {
    display: none;
    margin-top: 8px;
    padding: 10px 14px;
    background: #fff5f5;
    border: 1px solid #fce4e4;
    border-radius: 6px;
    color: #666;
    font-size: 13px;
    line-height: 1.5;
}
.report-check:checked ~ .report-tooltip,
.report-label:hover .report-tooltip {
    display: block;
}
.report-feedback {
    display: block;
    margin-top: 6px;
    color: #4caf50;
    font-size: 13px;
    font-weight: 600;
}

/* ─── Responsive ─────────────────────────────── */
@media (max-width: 768px) {
    .video-grid { grid-template-columns: 1fr; gap: 12px; }
    .site-header .container { flex-wrap: wrap; }
    .site-search { max-width: 100%; order: 3; width: 100%; }
    .video-title-single { font-size: 18px; }
    .main-with-sidebar { padding-left: 0 !important; }
    .main-with-sidebar > .ad-sidebar { display: none; }
    .container { padding: 0 10px; }

    /* Hamburger menu */
    .hamburger {
        display: block;
        background: none;
        border: 2px solid #e91e63;
        color: #e91e63;
        font-size: 22px;
        padding: 4px 10px;
        border-radius: 6px;
        cursor: pointer;
        margin: 8px 15px;
    }
    .nav-links {
        display: none;
        width: 100%;
    }
    .nav-links.open {
        display: flex;
        flex-direction: column;
    }
    .nav-links a {
        padding: 12px 15px;
        border-bottom: 1px solid #eee;
        font-size: 14px;
    }
    .nav-sites { width: 100%; }
    .nav-sites-label { display: block; padding: 12px 15px !important; }
    .nav-sites-menu { position: static !important; box-shadow: none !important; border: none !important; margin: 0 !important; }
}

/* ─── No Results ─────────────────────────────── */
.no-results {
    text-align: center;
    padding: 60px 20px;
    color: #666;
    font-size: 18px;
}

/* ─── Ad Containers ───────────────────────────── */
.ad-container { text-align: center; }
.ad-container a { display: block; text-decoration: none; }
.ad-container img { max-width: 100%; height: auto; }

.ad-header {
    padding: 10px 0;
    border-bottom: 1px solid #eee;
}
.ad-footer {
    padding: 15px 0;
    border-top: 1px solid #eee;
}
.ad-player {
    margin-bottom: 10px;
}
.ad-ingrid {
    grid-column: 1 / -1;
    padding: 10px 0;
}

/* Flex layout for sidebar */
.main-with-sidebar {
    display: flex;
    align-items: flex-start;
    padding-left: 150px;
}
.main-with-sidebar > .container { flex: 1 1 0; min-width: 0; max-width: none; margin: 0; }
.main-with-sidebar > .ad-sidebar { width: 300px; flex-shrink: 0; margin-top: 70px; margin-left: 30px; margin-right: 30px; }
.main-with-sidebar > .ad-sidebar .ad-container {
    margin-bottom: 15px;
}
.main-with-sidebar > .ad-sidebar .ad-container:last-child {
    margin-bottom: 0;
}
@media (max-width: 900px) {
    .main-with-sidebar { flex-direction: column; padding-left: 0 !important; }
    .main-with-sidebar > .ad-sidebar { width: 100%; position: static; margin-top: 20px; text-align: center; }
}


/* ─── Rating Widget ─────────────────────────── */
.rating-widget {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    margin: 8px 0 16px;
    border-top: 1px solid #333;
    border-bottom: 1px solid #333;
}

.rating-stars {
    display: flex;
    gap: 4px;
}

.rating-stars .star {
    font-size: 28px;
    color: #444;
    cursor: pointer;
    transition: color 0.15s, transform 0.15s;
    user-select: none;
}

.rating-stars .star:hover,
.rating-stars .star.active {
    color: #e91e63;
    transform: scale(1.15);
}

.rating-text {
    font-size: 14px;
    color: #aaa;
}

.rating-text span {
    color: #e91e63;
}

/* On video cards — inline rating */
.video-meta .rating {
    color: #e91e63;
    font-weight: 600;
}

/* Hide "0.0" when no ratings yet */
.video-meta .rating[data-zero="true"] {
    color: #555;
}

/* ─── Favorites / Heart Button ─────────────────────────── */
.fav-btn {
    position: absolute;
    top: 6px;
    right: 6px;
    background: rgba(0,0,0,0.7);
    border: none;
    color: #666;
    font-size: 20px;
    cursor: pointer;
    z-index: 5;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s, transform 0.2s, background 0.2s;
    line-height: 1;
    padding: 0;
}
.fav-btn:hover {
    color: #ff4444;
    transform: scale(1.15);
    background: rgba(0,0,0,0.9);
}
.fav-btn.favorited {
    color: #ff2222;
}
.fav-btn.favorited:hover {
    color: #e91e63;
}

/* Video page — larger heart */
.rating-widget .fav-toggle {
    background: none;
    border: 2px solid #444;
    color: #666;
    font-size: 22px;
    cursor: pointer;
    border-radius: 50%;
    width: 40px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s, border-color 0.2s, transform 0.2s;
    line-height: 1;
    padding: 0;
    flex-shrink: 0;
}
.rating-widget .fav-toggle:hover {
    color: #ff4444;
    border-color: #ff4444;
    transform: scale(1.1);
}
.rating-widget .fav-toggle.favorited {
    color: #ff2222;
    border-color: #ff2222;
}
/* Dropdown sites menu */
.nav-sites-menu { display: none; }
.nav-sites-menu.show { display: block !important; }
.nav-sites { margin-left: auto; }
