:root {
    /* 2026 Color System - Defaults (overridden by color schemes) */
    --primary: #ff3d5a;
    --primary-rgb: 255, 61, 90;
    --hover: #ff5c75;
    --accent: #ff6b9d;
    --background: #0a0a0f;
    --surface: rgba(255, 255, 255, 0.03);
    --surface-solid: #111118;
    --surface-hover: rgba(255, 255, 255, 0.06);
    --text: #f4f4f7;
    --text-muted: #8e8ea0;
    --border: rgba(255, 255, 255, 0.08);

    /* Accessibility Colors */
    --footer-text-color: #c8c8d0;

    --success: #00ff88;
    --error: #ff3333;

    /* Gradients - Built from primary/hover so color schemes auto-adapt */
    --gradient-primary: linear-gradient(135deg, var(--primary), var(--hover));
    --gradient-surface: linear-gradient(135deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.01));
    --gradient-glow: linear-gradient(135deg, rgba(var(--primary-rgb), 0.15), rgba(var(--primary-rgb), 0.06));

    /* Layout */
    --container-max-width: 1500px;
    --header-height: 64px;
    --radius: 12px;
    --radius-sm: 8px;
    --radius-pill: 50px;
    --shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
    --shadow-glow: 0 0 30px rgba(var(--primary-rgb), 0.12);
    --glow: 0 0 40px rgba(var(--primary-rgb), 0.1);
    --transition: all 0.3s cubic-bezier(0.22, 1, 0.36, 1);
    --transition-fast: all 0.15s cubic-bezier(0.22, 1, 0.36, 1);
}

/* Reset & Base */
*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    background: var(--background);
    color: var(--text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Branded Text Selection */
::selection {
    background: rgba(var(--primary-rgb), 0.3);
    color: #fff;
}

::-moz-selection {
    background: rgba(var(--primary-rgb), 0.3);
    color: #fff;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: var(--background);
}

::-webkit-scrollbar-thumb {
    background: rgba(var(--primary-rgb), 0.3);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(var(--primary-rgb), 0.5);
}

a {
    color: var(--text);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--primary);
}

ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

button {
    border: none;
    background: none;
    cursor: pointer;
    color: inherit;
    font: inherit;
    outline: none;
}

.container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 24px;
}

/* Header - 2026 Glassmorphism */
.site-header {
    height: var(--header-height);
    background: rgba(10, 10, 15, 0.75);
    backdrop-filter: blur(24px) saturate(1.8);
    -webkit-backdrop-filter: blur(24px) saturate(1.8);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    position: sticky;
    top: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
}

.admin-bar .site-header {
    top: 32px;
}

@media screen and (max-width: 782px) {
    .admin-bar .site-header {
        top: 46px;
    }
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.site-title {
    margin: 0;
    font-size: 22px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: -0.5px;
}

.site-title a {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Navigation */
.main-navigation {
    flex: 1;
    margin-left: 50px;
}

.main-navigation ul {
    display: flex;
    gap: 25px;
}

.main-navigation a {
    font-weight: 700;
    font-size: 13px;
    text-transform: uppercase;
    color: var(--text-muted);
    position: relative;
    padding-bottom: 4px;
}

.main-navigation a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    border-radius: 2px;
    transition: all 0.3s cubic-bezier(0.22, 1, 0.36, 1);
    transform: translateX(-50%);
}

.main-navigation a:hover {
    color: #fff;
}

.main-navigation a:hover::after {
    width: 100%;
}

/* Search - Modern Pill */
.search-input-group {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-pill);
    padding: 4px 16px;
    width: 260px;
    transition: var(--transition);
}

.search-input-group:focus-within {
    border-color: rgba(var(--primary-rgb), 0.4);
    background: rgba(var(--primary-rgb), 0.04);
    box-shadow: 0 0 20px rgba(var(--primary-rgb), 0.08);
}

.search-field {
    background: transparent;
    border: none;
    color: var(--text);
    width: 100%;
    padding: 6px;
    outline: none;
    font-size: 13px;
}

/* Grid Item - 2026 Glass Cards */
.video-item {
    display: flex;
    flex-direction: column;
    background: var(--gradient-surface);
    border-radius: var(--radius);
    overflow: hidden;
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.05);
    will-change: transform;
    position: relative;
    /* Reset line-height to prevent gaps */
    line-height: 0;
}

/* Card Bottom Gradient Accent removed */
/*
.video-item::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--gradient-primary);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.video-item:hover::after {
    opacity: 1;
}
*/

.video-item:hover {
    border-color: rgba(var(--primary-rgb), 0.3);
    transform: translateY(-6px) scale(1.01);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 30px rgba(var(--primary-rgb), 0.08);
}

.video-thumb-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 16/9;
    background: #08080c;
    overflow: hidden;
    isolation: isolate;
    border-radius: var(--radius) var(--radius) 0 0;
    /* Fix sub-pixel rendering/clipping artifacts */
    transform: translate3d(0, 0, 0);
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

/* Base Link - Covers everything */
.thumb-link {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10;
    text-decoration: none;
}

.video-thumb,
.video-thumb-wrapper img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    transition: transform 0.4s ease;
}

/* Thumbnail Zoom on Hover */
.video-item:hover .video-thumb,
.video-item:hover .video-thumb-wrapper img,
.video-item:hover .video-preview {
    transform: scale(1.05);
}

.video-preview {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 2;
    /* Above thumb (z-1), below overlay (z-5) */
    opacity: 0;
    transition: opacity 0.3s ease, transform 0.4s ease;
    pointer-events: none;
    will-change: transform, opacity;
}

.video-preview.is-playing {
    opacity: 1;
}



/* Play Button Overlay - 2026 Gradient */
.thumb-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 5;
    pointer-events: none;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(0deg, rgba(10, 10, 15, 0.8) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.video-item:hover .thumb-overlay {
    opacity: 1;
}

.play-button-icon {
    width: 48px;
    height: 48px;
    background: rgba(var(--primary-rgb), 0.2);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 2px solid rgba(255, 255, 255, 0.6);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    transition: var(--transition);
    transform: scale(0.8);
}

/* Play Button Grows on Hover */
.video-item:hover .play-button-icon {
    transform: scale(1);
    background: rgba(var(--primary-rgb), 0.4);
    border-color: rgba(var(--primary-rgb), 0.8);
    box-shadow: 0 0 24px rgba(var(--primary-rgb), 0.3);
}

.play-button-icon svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
    margin-left: 3px;
}

/* Video Info Section - 2026 Clean */
.video-info {
    padding: 10px 12px 12px;
    background: transparent;
}

.video-title {
    margin: 0 0 4px 0;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.45;
    color: var(--text);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 38px;
}

.video-title a {
    color: var(--text);
    transition: var(--transition-fast);
}

.video-title a:hover {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Meta - Subdued */
.video-meta-main {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 11px;
    color: var(--text-muted);
    font-weight: 500;
}

.sep {
    display: none;
}

.video-duration {
    position: absolute;
    bottom: 8px;
    right: 8px;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    color: #fff;
    padding: 3px 8px;
    font-size: 11px;
    font-weight: 700;
    border-radius: 6px;
    z-index: 15;
    letter-spacing: 0.3px;
}

/* Video Quality Badge */
.video-quality {
    position: absolute;
    top: 8px;
    left: 8px;
    background: var(--gradient-primary);
    color: #fff;
    padding: 2px 8px;
    font-size: 10px;
    font-weight: 800;
    border-radius: 6px;
    z-index: 15;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Pagination - 2026 Pill Style */
.pagination,
.nav-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
    margin: 20px 0;
    padding: 0;
}

.pagination a,
.pagination span,
.nav-links a,
.nav-links span {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 38px;
    height: 38px;
    padding: 0 14px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--radius-pill);
    color: var(--text-muted);
    font-weight: 600;
    font-size: 13px;
    transition: var(--transition);
}

.pagination a:hover,
.nav-links a:hover {
    background: rgba(var(--primary-rgb), 0.15);
    border-color: rgba(var(--primary-rgb), 0.3);
    color: var(--primary);
}

.pagination .current,
.nav-links .current {
    background: var(--gradient-primary);
    border-color: transparent;
    color: #fff;
    font-weight: 700;
}

.pagination .prev,
.pagination .next,
.nav-links .prev,
.nav-links .next {
    padding: 0 18px;
}

/* Single Page Layout */
.single-video-container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 30px 24px;
}

/* No sidebars - 80% width centered */
.single-video-container:not(.has-left-sidebar):not(.has-right-sidebar):not(.has-both-sidebars) {
    max-width: calc(var(--container-max-width) * 0.8);
}

/* With sidebars - use full width */
.single-video-container.has-left-sidebar,
.single-video-container.has-right-sidebar,
.single-video-container.has-both-sidebars {
    display: grid;
    gap: 30px;
}

.single-video-container.has-left-sidebar {
    grid-template-columns: 300px 1fr;
}

.single-video-container.has-right-sidebar {
    grid-template-columns: 1fr 300px;
}

.single-video-container.has-both-sidebars {
    grid-template-columns: 300px 1fr 300px;
}

.single-video-content {
    min-width: 0;
}

/* Sidebar styles - 2026 */
.site-sidebar {
    background: rgba(255, 255, 255, 0.02);
    border-radius: var(--radius);
    padding: 20px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    height: fit-content;
}

.site-sidebar .widget-title {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: 0 0 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

/* Responsive sidebar behavior */
@media (max-width: 1200px) {

    .single-video-container.has-left-sidebar,
    .single-video-container.has-right-sidebar,
    .single-video-container.has-both-sidebars {
        grid-template-columns: 1fr;
    }

    .site-sidebar {
        width: 100%;
        order: 2;
    }
}

/* Ad Zones - CLS Optimization */
.ad-zone {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 20px auto;
    background: var(--surface);
    min-height: 280px;
    /* Default reserve for 300x250 + padding */
    border-radius: 4px;
    overflow: hidden;
    text-align: center;
    /* Helper for inline-block children */
}

/* Ensure widget content is centered */
.ad-zone .widget,
.ad-zone .textwidget,
.ad-zone>div {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin: 0;
}


/* Specific Ad Sizes based on location */
.ad-above-player,
.ad-below-player,
.ad-footer-single,
.ad-above-grid,
.ad-above-pagination,
.ad-footer-archive {
    min-height: 250px;
    /* Mobile first: 300x250 */
    max-width: 300px;
}

@media (min-width: 768px) {

    .ad-above-player,
    .ad-below-player,
    .ad-footer-single,
    .ad-above-grid,
    .ad-above-pagination,
    .ad-footer-archive {
        min-height: 90px;
        /* Desktop: 720x90 */
        max-width: 728px;
    }
}

/* Sidebar Ads */
.site-sidebar .widget {
    margin-bottom: 20px;
}

.video-player-wrapper {
    margin-bottom: 20px;
    border-radius: 8px;
    overflow: hidden;
}

.responsive-embed {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
}

.responsive-embed iframe,
.responsive-embed video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.entry-header {
    margin-bottom: 20px;
}

.entry-title {
    font-size: 24px;
    font-weight: 700;
    margin: 0 0 15px;
    line-height: 1.3;
}

/* Video Toolbar - Single Line Layout */
.video-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: nowrap;
    gap: 20px;
    padding: 12px 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.video-stats-line {
    display: flex;
    align-items: center;
    gap: 20px;
    font-size: 14px;
    color: var(--text-muted);
    flex-shrink: 0;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 6px;
}

.stat-item.duration {
    color: var(--primary);
    font-weight: 600;
}

.video-actions-group {
    display: flex;
    gap: 12px;
    align-items: center;
    flex-shrink: 0;
}

.vote-group {
    display: flex;
    background: var(--surface);
    border-radius: 4px;
    border: 1px solid var(--border);
    overflow: hidden;
}

.vote-btn {
    padding: 8px 16px;
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 600;
    font-size: 13px;
    background: transparent;
    transition: var(--transition);
}

.vote-btn:hover {
    background: var(--surface-hover);
}

.vote-btn:first-child {
    border-right: 1px solid var(--border);
}

.vote-btn.like-btn .icon {
    color: var(--success);
}

.vote-btn.dislike-btn .icon {
    color: var(--error);
}

.tool-group {
    display: flex;
    gap: 8px;
}

.action-btn {
    background: var(--surface);
    width: 36px;
    height: 36px;
    border-radius: 4px;
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    transition: var(--transition);
}

.action-btn:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: var(--surface-hover);
}

.entry-content-wrapper {
    background: var(--surface);
    border-radius: 8px;
    padding: 20px;
    border: 1px solid var(--border);
    margin-bottom: 30px;
}

.description-box {
    font-size: 15px;
    line-height: 1.7;
    color: var(--text-muted);
    margin-bottom: 20px;
}

.video-tags-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    border-top: 1px solid var(--border);
    padding-top: 20px;
}

.video-tags-list .tag-label {
    font-size: 12px;
    color: var(--text-muted);
    text-transform: uppercase;
}

.tag-pill {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 5px 14px;
    border-radius: var(--radius-pill);
    font-size: 12px;
    color: var(--text-muted);
    transition: var(--transition);
}

.tag-pill:hover {
    background: rgba(var(--primary-rgb), 0.15);
    border-color: rgba(var(--primary-rgb), 0.3);
    color: var(--primary);
}

/* Grid Layout */
.video-grid {
    display: grid;
    gap: 16px;
    grid-template-columns: repeat(1, 1fr);
    margin: 20px 0;
}

@media (min-width: 768px) {
    .video-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 1200px) {
    .video-grid {
        grid-template-columns: repeat(5, 1fr);
    }
}

/* Related Videos Section */
.related-videos {
    margin-top: 30px;
}

.related-videos .section-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border);
}

@media (max-width: 768px) {
    .header-container {
        flex-direction: column;
        height: auto;
        padding: 15px;
    }

    .main-navigation {
        margin: 15px 0;
    }

    .search-input-group {
        width: 100%;
    }

    /* Mobile: Stack toolbar items */
    .video-toolbar {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .video-stats-line,
    .video-actions-group {
        width: 100%;
        justify-content: space-between;
    }
}

/* Actors List - Pill Boxes */
.video-actors-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    margin-bottom: 15px;
}

.video-actors-list .actor-label {
    font-size: 12px;
    color: var(--text-muted);
    text-transform: uppercase;
}

.actor-pill {
    background: rgba(0, 200, 200, 0.08);
    border: 1px solid rgba(0, 200, 200, 0.2);
    padding: 5px 14px;
    border-radius: var(--radius-pill);
    font-size: 12px;
    color: #00c8c8;
    transition: var(--transition);
    text-decoration: none;
}

.actor-pill:hover {
    background: rgba(0, 200, 200, 0.2);
    border-color: rgba(0, 200, 200, 0.5);
    color: #fff;
    box-shadow: 0 0 16px rgba(0, 200, 200, 0.15);
}

/* Categories List - Above Tags */
.video-categories-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    margin-bottom: 15px;
}

.video-categories-list .category-label {
    font-size: 12px;
    color: var(--text-muted);
    text-transform: uppercase;
}

.category-pill {
    background: rgba(var(--primary-rgb), 0.08);
    border: 1px solid rgba(var(--primary-rgb), 0.2);
    padding: 5px 14px;
    border-radius: var(--radius-pill);
    font-size: 12px;
    color: var(--primary);
    transition: var(--transition);
}

.category-pill:hover {
    background: rgba(var(--primary-rgb), 0.2);
    border-color: rgba(var(--primary-rgb), 0.5);
    color: #fff;
    box-shadow: 0 0 16px rgba(var(--primary-rgb), 0.15);
}

/* Lights Off / Cinema Mode */
#lights-off-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 9998;
}

body.lights-off {
    overflow: hidden;
}

body.lights-off .site-header,
body.lights-off .site-footer,
body.lights-off .video-details,
body.lights-off .related-videos,
body.lights-off .comments-area,
body.lights-off .site-sidebar {
    opacity: 0.08;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

body.lights-off .video-player-wrapper {
    position: relative;
    z-index: 9999;
    box-shadow: 0 0 80px rgba(0, 0, 0, 0.9);
}

/* Comments Section Styling - 2026 */
.comments-area {
    background: rgba(255, 255, 255, 0.02);
    border-radius: var(--radius);
    padding: 24px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    margin-top: 30px;
}

.comments-title {
    font-size: 20px;
    font-weight: 700;
    margin: 0 0 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--border);
}

.comment-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.comment-list>li {
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border);
}

.comment-list>li:last-child {
    border-bottom: none;
}

.comment-body {
    display: flex;
    gap: 15px;
}

.comment-author .avatar {
    border-radius: 50%;
    width: 48px;
    height: 48px;
}

.comment-meta {
    margin-bottom: 10px;
}

.comment-author .fn {
    font-weight: 600;
    color: var(--text);
}

.comment-metadata {
    font-size: 12px;
    color: var(--text-muted);
    margin-top: 4px;
}

.comment-metadata a {
    color: var(--text-muted);
}

.comment-content {
    color: #ccc;
    line-height: 1.6;
}

.comment-content p {
    margin: 0 0 10px;
}

.reply {
    margin-top: 10px;
}

.reply a {
    font-size: 12px;
    color: var(--primary);
    text-transform: uppercase;
    font-weight: 600;
}

/* Comment Form */
.comment-respond {
    margin-top: 30px;
    padding-top: 30px;
    border-top: 1px solid var(--border);
}

.comment-reply-title {
    font-size: 18px;
    font-weight: 700;
    margin: 0 0 15px;
}

.comment-form label {
    display: block;
    font-size: 14px;
    margin-bottom: 5px;
    color: var(--text-muted);
}

.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
    width: 100%;
    padding: 12px;
    background: var(--background);
    border: 1px solid var(--border);
    border-radius: 8px;
    color: var(--text);
    font-family: inherit;
}

.comment-form input:focus,
.comment-form textarea:focus {
    outline: none;
    border-color: var(--primary);
}

.comment-form .form-submit {
    margin-top: 15px;
}

.comment-form .submit {
    background: var(--gradient-primary);
    color: #fff;
    padding: 12px 32px;
    border-radius: var(--radius-pill);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    border: none;
    transition: var(--transition);
}

.comment-form .submit:hover {
    box-shadow: 0 0 24px rgba(var(--primary-rgb), 0.3);
    transform: translateY(-1px);
}

.no-comments {
    color: var(--text-muted);
    font-style: italic;
}

/* Footer - 2026 Gradient Separator */
.site-footer {
    background: rgba(255, 255, 255, 0.02);
    padding: 50px 0 35px;
    margin-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    text-align: center;
    position: relative;
}

.site-footer::before {
    content: '';
    position: absolute;
    top: -1px;
    left: 20%;
    right: 20%;
    height: 1px;
    background: var(--gradient-primary);
    opacity: 0.4;
}

.site-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 25px;
}

.footer-navigation ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px 30px;
}

.footer-navigation a {
    color: var(--text-muted);
    font-size: 14px;
    font-weight: 500;
    transition: var(--transition);
}

.footer-navigation a:hover {
    color: var(--primary);
}

.copyright {
    color: var(--text-muted);
    font-size: 14px;
}

.footer-disclaimer {
    max-width: 600px;
    margin: 4px auto 0;
    /* Small top margin for optical separation, remove heavy spacing */
    font-size: 12px;
    color: #666;
    line-height: 1.6;
}

.footer-disclaimer p {
    margin: 0;
}

/* Accessibility: Focus Visibility - 2026 Glow Ring */
:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 4px;
    box-shadow: 0 0 0 6px rgba(var(--primary-rgb), 0.15);
}

/* Tactile Button Press Effect */
.pagination a:active,
.tag-pill:active,
.category-pill:active,
.actor-pill:active,
.comment-form .submit:active,
.main-navigation a:active {
    transform: scale(0.95);
    transition-duration: 0.1s;
}

/* Accessibility: Skip Link */
.skip-link {
    position: absolute;
    top: -9999px;
    left: 0;
    color: var(--primary);
    background: var(--background);
    padding: 15px 20px;
    z-index: 9999;
    border: 1px solid var(--border);
    font-weight: 700;
}

.skip-link:focus {
    top: 20px;
    left: 20px;
}

/* Improved Contrast for Accessibility */
/* Background is #181818, text must be at least 7.0:1 for AAA or 4.5:1 for AA */
.footer-navigation a,
.copyright,
.copyright a,
.footer-disclaimer,
.footer-disclaimer p {
    color: var(--footer-text-color);
    /* Dynamically calculated for contrast */
}

.footer-navigation a:hover,
.copyright a:hover {
    color: var(--primary);
    /* Contrast Ratio: 5.12:1 (AA) */
    text-decoration: underline;
}

/* =========================================
   AGGRESSIVE SPACING REDUCTION & AD FIXES
   ========================================= */

/* Ensure grid display and reduce bottom margin */
.video-grid {
    display: grid;
    gap: 20px;
    margin-bottom: 20px !important;
    /* Force smaller margin */
    padding-bottom: 0 !important;
}

.related-videos .video-grid {
    /* Auto-adjust columns to keep cards from being smooshed. Matches index card size roughly. */
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)) !important;
}

/* Reduce Pagination Spacing by ~50% more */
/* Previous was 20px, now 10px */
.pagination,
.nav-links {
    margin: 10px 0 !important;
    padding: 0 !important;
    gap: 8px;
}

/* Reduce Header Spacing */
.page-header {
    margin-bottom: 15px !important;
    padding-bottom: 0 !important;
}

/* Ad Zone Centering */
.ad-zone {
    margin: 15px auto !important;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Helper to center widget content inside ad zones */
.ad-zone .widget,
.ad-zone .textwidget,
.ad-zone>div {
    margin: 0 !important;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* =========================================
   REMOVE WIDGET BACKGROUNDS
   ========================================= */
.widget,
.ad-zone,
.site-sidebar,
.site-sidebar .widget {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    /* Maintain padding for layout if needed, but remove visual box */
}