@charset "UTF-8";

/* =====================================================
   PROFESSIONAL TUBE SITE CSS v3.0
   Modern, Clean, High-Performance Design
   Inspired by top tube sites with millions of daily visitors
   ===================================================== */

/* ===== FONTS ===== */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

/* ===== CSS CUSTOM PROPERTIES ===== */
:root {
    /* Brand Colors */
    --brand-primary: #ff4757;
    --brand-primary-rgb: 255, 71, 87;
    --brand-secondary: #ff6b81;
    --brand-dark: #e8384f;
    --brand-gradient: linear-gradient(135deg, #ff4757 0%, #ff6b81 100%);

    /* Neutral Colors - Light Theme */
    --bg-body: #f5f5f7;
    --bg-surface: #ffffff;
    --bg-surface-elevated: #ffffff;
    --bg-surface-hover: #f8f9fa;
    --bg-header: #1a1a2e;
    --bg-header-gradient: linear-gradient(180deg, #1a1a2e 0%, #16162a 100%);
    --bg-footer: #1a1a2e;

    /* Text Colors */
    --text-primary: #1a1a2e;
    --text-secondary: #5a5a72;
    --text-tertiary: #8e8e9a;
    --text-inverse: #ffffff;
    --text-link: #ff4757;
    --text-link-hover: #ff6b81;

    /* Border & Dividers */
    --border-light: #e8e8ed;
    --border-medium: #d1d1d6;
    --border-focus: var(--brand-primary);

    /* Shadows - Subtle & Professional */
    --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.04);
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.12);
    --shadow-xl: 0 16px 48px rgba(0, 0, 0, 0.16);
    --shadow-card-hover: 0 12px 32px rgba(255, 71, 87, 0.15);

    /* Overlay */
    --overlay-light: rgba(0, 0, 0, 0.4);
    --overlay-medium: rgba(0, 0, 0, 0.6);
    --overlay-gradient: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.75) 100%);

    /* Badge Colors */
    --badge-dark: rgba(26, 26, 46, 0.9);
    --badge-primary: rgba(255, 71, 87, 0.95);
    --badge-success: #10b981;
    --badge-warning: #f59e0b;

    /* Spacing System */
    --space-1: 4px;
    --space-2: 8px;
    --space-3: 8px;
    --space-4: 16px;
    --space-5: 20px;
    --space-6: 24px;
    --space-8: 32px;
    --space-10: 40px;
    --space-12: 48px;

    /* Border Radius */
    --radius-xs: 4px;
    --radius-sm: 6px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
    --radius-2xl: 20px;
    --radius-full: 9999px;

    /* Typography */
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-size-xs: 11px;
    --font-size-sm: 13px;
    --font-size-base: 14px;
    --font-size-md: 15px;
    --font-size-lg: 16px;
    --font-size-xl: 18px;
    --font-size-2xl: 20px;
    --font-size-3xl: 24px;
    --font-size-4xl: 28px;

    /* Line Heights */
    --leading-tight: 1.25;
    --leading-normal: 1.5;
    --leading-relaxed: 1.625;

    /* Transitions */
    --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-normal: 200ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 300ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: 400ms cubic-bezier(0.34, 1.56, 0.64, 1);

    /* Z-Index Scale */
    --z-dropdown: 1000;
    --z-sticky: 1020;
    --z-modal-backdrop: 1040;
    --z-modal: 1050;
    --z-tooltip: 1070;
}

/* ===== CSS RESET & BASE ===== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    -webkit-text-size-adjust: 100%;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    font-size: var(--font-size-base);
    line-height: var(--leading-normal);
    color: var(--text-primary);
    background-color: #e5e5e5;
    min-height: 100vh;
    overflow-x: hidden;
}

img {
    display: block;
    max-width: 100%;
    height: auto;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color var(--transition-fast);
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

ul, ol {
    list-style: none;
}

input, textarea, select {
    font-family: inherit;
    font-size: inherit;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: var(--leading-tight);
}

/* ===== UTILITY CLASSES ===== */
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* ===== LAYOUT ===== */
.wrapper {
    width: 100%;
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 var(--space-4);
}

/* ===== HEADER ===== */
.header {
    background: var(--bg-header-gradient);
    position: relative;
    box-shadow: var(--shadow-md);
}

.header .wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 56px;
    gap: var(--space-4);
}

/* Logo */
.logo a {
    display: flex;
    align-items: center;
    font-size: 24px;
    font-weight: 700;
    color: var(--text-inverse);
    letter-spacing: -0.5px;
    white-space: nowrap;
}

.logo a span {
    color: var(--brand-primary);
}

.logo a img {
    height: 36px;
    width: auto;
}

/* Navigation */
.header ul {
    display: flex;
    align-items: center;
    gap: var(--space-1);
}

.header li a {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
    height: 40px;
    padding: 0 var(--space-3);
    font-size: var(--font-size-sm);
    font-weight: 500;
    color: var(--text-inverse);
    background: transparent;
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
    cursor: pointer;
}

.header li a:hover {
    background: rgba(255, 255, 255, 0.1);
}

.header li.active a,
.header li a.active {
    background: var(--brand-gradient);
    color: var(--text-inverse);
}

.header li a i {
    font-size: var(--font-size-lg);
    color: var(--brand-primary);
}

.header li.active a i,
.header li a.active i,
.header li a:hover i {
    color: inherit;
}

.header li a span {
    display: none;
}

.header li a span i {
    display: none;
}

/* ===== SEARCH ===== */
.search {
    display: none;
    background: var(--bg-header);
    padding: var(--space-3) var(--space-4);
}

.search form {
    position: relative;
    max-width: 600px;
    margin: 0 auto;
}

.search-input {
    display: flex;
    align-items: center;
    background: var(--bg-surface);
    border-radius: var(--radius-full);
    overflow: hidden;
    transition: box-shadow var(--transition-fast);
    position: relative;
}

.search-input:focus-within {
    box-shadow: 0 0 0 3px rgba(var(--brand-primary-rgb), 0.25);
}

.search input {
    flex: 1;
    height: 44px;
    padding: 0 var(--space-4);
    padding-right: 50px;
    border: none;
    background: transparent;
    font-size: var(--font-size-sm);
    color: var(--text-primary);
    outline: none;
    min-width: 0;
}

.search input::placeholder {
    color: var(--text-tertiary);
}

.search button {
    position: absolute;
    right: 3px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    margin: 0;
    background: var(--brand-gradient);
    color: var(--text-inverse);
    font-size: var(--font-size-md);
    border-radius: var(--radius-full);
    transition: opacity var(--transition-fast);
    flex-shrink: 0;
}

.search button:hover {
    opacity: 0.9;
}

.search button i {
    display: block;
}

/* ===== TOP SITES BAR ===== */
.grannysex-tube {
    background: #0d0d1a;
    padding: var(--space-2) var(--space-4);
    overflow-x: auto;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
}

.grannysex-tube::-webkit-scrollbar {
    display: none;
}

.grannysex-tube span,
.grannysex-tube a {
    display: inline-block;
    font-size: var(--font-size-xs);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-tertiary);
    margin-right: var(--space-3);
    transition: color var(--transition-fast);
}

.grannysex-tube a:hover {
    color: var(--brand-primary);
}

/* ===== TITLE SECTION ===== */
.title {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    margin: var(--space-3) var(--space-2) var(--space-2);
    padding: var(--space-2) var(--space-3);
    background: var(--bg-surface);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
}

.title .icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: var(--brand-gradient);
    border-radius: var(--radius-sm);
    color: var(--text-inverse);
    font-size: var(--font-size-md);
    flex-shrink: 0;
}

.title h1,
.title h2 {
    font-size: var(--font-size-md);
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
    line-height: var(--leading-tight);
}

.title h1 span,
.title h1 b,
.title h2 span,
.title h2 b {
    color: var(--brand-primary);
}

/* ===== THUMBS GRID ===== */
.thumbs-wrapper {
    clear: both;
}

.thumbs-wrapper::after {
    content: "";
    display: table;
    clear: both;
}

.thumb {
    width: 50%;
    float: left;
}

.thumb:empty {
    display: none;
}

.th-in {
    display: block;
    position: relative;
    margin: 10px 5px 0;
    padding-bottom: 1px;
    background: #ffffff;
    overflow: hidden;
}

.th-in:hover {
    opacity: 0.85;
}

/* Thumbnail Image Container */
.thumb-img {
    position: relative;
    padding-bottom: 56.6371%;
    background: #f0f0f0;
    overflow: hidden;
}

.thumb-img img,
.thumb-img picture {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.th-in:hover .thumb-img img {
    transform: scale(1.08);
}

/* Thumbnail Overlay */
.thumb-cov {
    position: absolute;
    inset: 0;
    background: var(--overlay-gradient);
    opacity: 0;
    transition: opacity var(--transition-fast);
}

.th-in:hover .thumb-cov {
    opacity: 1;
}

/* Thumbnail Badges */
.thumb .time,
.thumb .total,
.thumb .view {
    position: absolute;
    color: #FFFFFF;
    font-size: 11px;
    height: 20px;
    line-height: 20px;
    padding: 0 4px;
    border-radius: 3px;
    z-index: 2;
    background: rgba(255, 71, 87, 0.4);
    text-shadow: 1px 1px 0 rgba(0, 0, 0, .5);
}

.thumb .time {
    right: 2px;
    top: 2px;
}

.thumb .view {
    left: 2px;
    top: 2px;
}

.thumb .total {
    right: 2px;
    top: 2px;
    background: rgba(255, 71, 87, 0.4);
}

.thumb .view {
    left: var(--space-2);
    top: var(--space-2);
}

/* Play Icon */
.thumb .icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.8);
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 71, 87, 0.95);
    border-radius: var(--radius-full);
    color: var(--text-inverse);
    font-size: var(--font-size-xl);
    opacity: 0;
    transition: all var(--transition-normal);
    z-index: 3;
    box-shadow: 0 4px 20px rgba(255, 71, 87, 0.4);
}

.th-in:hover .thumb .icon {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

/* Thumbnail Name */
.thumb .name {
    display: block;
    height: 18px;
    line-height: 18px;
    font-size: 14px;
    margin: 7px 10px 0;
    color: #333333;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Category Thumb Variant */
.thumb-2 .name {
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
}

/* Video Meta */
ul.t-d {
    display: block;
    height: 28px;
    line-height: 28px;
    font-size: 12px;
    padding-left: 10px;
    margin-top: 5px;
    color: #666666;
    background: transparent;
}

ul.t-d li {
    float: left;
    margin-right: 15px;
    padding-left: .5px;
}

ul.t-d li i {
    font-size: var(--font-size-sm);
    color: var(--brand-primary);
}

ul.t-d li.likes i {
    color: #16c084;
}

ul.t-d li a {
    display: block;
    padding: 0 5px;
    border-radius: 3px;
    transition: all var(--transition-fast);
}

ul.t-d li a:hover {
    background: var(--brand-primary);
    color: #FFFFFF;
}

/* ===== SEARCHES LIST ===== */
.searches-list {
    margin: var(--space-5) var(--space-2) 0;
    padding: var(--space-4);
    background: var(--bg-surface);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    position: relative;
}

.searches-list ul {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-2);
    max-height: 36px;
    overflow: hidden;
    margin-right: 70px;
}

.searches-list.full ul {
    max-height: none;
    margin-right: 0;
}

.searches-list li {
    display: inline-flex;
}

.searches-list span {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-2) var(--space-3);
    font-size: var(--font-size-sm);
    font-weight: 500;
    color: var(--text-secondary);
}

.searches-list span i {
    color: var(--brand-primary);
}

.searches-list a {
    display: inline-flex;
    align-items: center;
    gap: var(--space-1);
    padding: var(--space-2) var(--space-3);
    font-size: var(--font-size-sm);
    color: var(--text-secondary);
    background: var(--bg-surface-hover);
    border-radius: var(--radius-full);
    transition: all var(--transition-fast);
}

.searches-list a:hover {
    background: var(--brand-primary);
    color: var(--text-inverse);
}

.searches-list a i {
    font-size: var(--font-size-xs);
}

.more-searches,
.less-searches {
    position: absolute;
    right: var(--space-4);
    top: 50%;
    transform: translateY(-50%);
    display: inline-flex;
    align-items: center;
    gap: var(--space-1);
    padding: var(--space-2) var(--space-3);
    font-size: var(--font-size-sm);
    font-weight: 500;
    color: var(--text-inverse);
    background: var(--brand-gradient);
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.more-searches:hover,
.less-searches:hover {
    opacity: 0.9;
    transform: translateY(-50%) scale(1.02);
}

.less-searches {
    display: none;
}

.searches-list.full .more-searches {
    display: none;
}

.searches-list.full .less-searches {
    display: inline-flex;
    position: absolute;
    right: var(--space-4);
    bottom: var(--space-4);
    top: auto;
    transform: none;
}

/* ===== NAVIGATION / PAGINATION ===== */
.navigation {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: var(--space-2);
    margin: var(--space-6) var(--space-2);
    padding: var(--space-4);
    background: var(--bg-surface);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

.navigation li {
    display: inline-flex;
}

.navigation ul {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
}

.navigation a,
.navigation span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    height: 44px;
    padding: 0 var(--space-4);
    font-size: var(--font-size-sm);
    font-weight: 500;
    color: var(--text-secondary);
    background: var(--bg-surface-hover);
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
}

.navigation a:hover {
    background: var(--brand-primary);
    color: var(--text-inverse);
}

.navigation li.active a,
.navigation .active {
    background: var(--brand-gradient);
    color: var(--text-inverse);
}

.navigation li.n-p a {
    padding: 0 var(--space-5);
    gap: var(--space-2);
}

/* ===== FILTERS ===== */
.filters-button {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-2) var(--space-4);
    font-size: var(--font-size-sm);
    font-weight: 500;
    color: var(--text-inverse);
    background: var(--brand-gradient);
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.filters-button:hover,
.filters-button.active {
    opacity: 0.9;
}

.filters {
    display: none;
    padding: var(--space-4);
    background: var(--bg-surface);
    border-radius: var(--radius-lg);
    margin: var(--space-3) var(--space-2) 0;
}

.filters.active {
    display: block;
}

.filters ul {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-2);
}

.filters span {
    display: flex;
    align-items: center;
    padding-right: var(--space-3);
    font-size: var(--font-size-lg);
    color: var(--brand-primary);
}

.filters a {
    display: inline-flex;
    align-items: center;
    padding: var(--space-2) var(--space-4);
    font-size: var(--font-size-sm);
    font-weight: 500;
    color: var(--text-secondary);
    background: var(--bg-surface-hover);
    border-radius: var(--radius-full);
    transition: all var(--transition-fast);
}

.filters a:hover,
.filters a.active,
.filters li.active a {
    background: var(--brand-gradient);
    color: var(--text-inverse);
}

/* ===== VIDEO PAGE ===== */
.video-wrapper {
    max-width: 944px;
    margin: 10px auto;
    background: var(--bg-surface);
    overflow: hidden;
}

.video-wrapper h1 {
    margin: 10px 10px 0 9px;
    padding-left: 1px;
    font-size: 20px;
    font-weight: 400;
    color: var(--text-primary);
    line-height: 26px;
}

.video-tab {
    display: table;
    width: 100%;
}

.video-block {
    padding-top: 10px;
}

.video {
    position: relative;
    width: 100%;
    background: #000;
    overflow: visible !important;
}

.video iframe,
.video video,
.video object,
.video embed,
.video source {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.video div {
    overflow: visible;
}

/* Player Preview */
.video .player-preview {
    position: absolute;
    left: 0;
    top: 0;
    width: 100% !important;
    height: 100% !important;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.video .player-preview img,
.video .player-preview picture {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.video .player-play {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    margin: auto;
    cursor: pointer;
    width: 60px;
    height: 60px;
    border-radius: 50px;
    background: var(--brand-primary);
    transition: all var(--transition-normal);
}

.video .player-play:hover {
    background: var(--brand-secondary);
}

.video .player-play::after {
    content: "";
    position: absolute;
    top: 15px;
    left: 23px;
    border-style: solid;
    border-width: 15px 0 15px 21px;
    border-color: transparent transparent transparent white;
}

/* Video Info */
.video-info {
    display: flex;
    flex-wrap: wrap;
    border-top: 2px solid var(--brand-primary);
    padding-bottom: 10px;
    text-align: center;
}

.full-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: left;
    width: 100%;
    position: relative;
}

.full-meta ul {
    padding: 8px 9px 0;
    display: inline-block;
    vertical-align: top;
}

.full-meta li {
    display: flex;
    vertical-align: top;
    margin: 2px 1px 0;
    font-size: 14px;
    text-align: center;
}

.full-meta a {
    display: block;
    height: 27px;
    line-height: 27px;
    border-radius: 3px;
    padding: 0 10px;
    font-size: var(--font-size-sm);
    color: var(--text-secondary);
    background: var(--bg-surface-hover);
    transition: all var(--transition-fast);
}

.full-meta a:hover {
    background: var(--brand-primary);
    color: var(--text-inverse);
}

.full-meta a:hover i {
    color: inherit;
}

.full-meta i {
    color: var(--brand-primary);
    line-height: normal;
}

.full-meta div {
    display: block;
    height: 27px;
    line-height: 27px;
    border-radius: 3px;
    padding: 0 10px;
}

/* Like/Dislike Buttons */
.full-meta .video-likes {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
}

.full-meta .video-likes li {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    margin: 2px 5px 0 1px;
    font-size: 14px;
    text-align: center;
}

.full-meta .video-likes li.report {
    margin-left: auto;
}

.full-meta .video-likes li.like a {
    background: var(--bg-surface-hover);
    min-width: 15px;
    font-size: 18px;
    cursor: pointer;
}

.full-meta .video-likes li.like a:hover {
    background: #40b840;
    color: #FFFFFF;
}

.full-meta .video-likes li.like a:hover i,
.full-meta .video-likes li.like a:hover span {
    color: #FFFFFF;
}

.full-meta .video-likes li.dislike a {
    background: var(--bg-surface-hover);
    min-width: 15px;
    font-size: 18px;
    cursor: pointer;
}

.full-meta .video-likes li.dislike a:hover {
    background: #cc4040;
    color: #FFFFFF;
}

.full-meta .video-likes li.dislike a:hover i,
.full-meta .video-likes li.dislike a:hover span {
    color: #FFFFFF;
}

/* Video Categories */
.full-meta ul.video-cat {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: left;
    height: 31px;
    padding-right: 46px;
}

.full-meta div.show-cat {
    position: absolute;
    right: 0;
    top: 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    height: auto;
    cursor: pointer;
    margin: 10px 10px 4px 4px;
    text-decoration: none;
    border: 1px solid var(--brand-primary);
    border-radius: 4px;
    padding: 3px 7px;
}

.full-meta div.hide-cat {
    display: none;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    height: auto;
    cursor: pointer;
    margin: 2px 0 0 2px;
    text-decoration: none;
    border: 1px solid var(--brand-primary);
    border-radius: 4px;
    padding: 3px 7px;
}

.full-meta ul.video-cat.active {
    height: auto;
    padding-right: 0;
}

.full-meta div.show-cat.active {
    display: none;
}

.full-meta div.hide-cat.active {
    display: flex !important;
}

/* ===== SEO TEXT SECTION ===== */
.seo-text {
    background: var(--bg-surface);
    padding: 20px 25px;
    margin: 20px 0;
    border-radius: var(--radius-lg);
}

.seo-text p {
    color: var(--text-secondary);
    font-size: var(--font-size-sm);
    line-height: 1.7;
    margin: 0;
    text-align: justify;
}

/* ===== FOOTER ===== */
.footer {
    background: var(--bg-footer);
    color: var(--text-inverse);
    margin-top: var(--space-10);
    padding: var(--space-8) var(--space-4);
}

.footer .wrapper {
    text-align: center;
}

.footer p {
    font-size: var(--font-size-sm);
    color: rgba(255, 255, 255, 0.7);
    line-height: var(--leading-relaxed);
    margin-bottom: var(--space-4);
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.footer p span {
    display: inline-block;
    padding: var(--space-2) var(--space-4);
    background: var(--brand-gradient);
    border-radius: var(--radius-full);
    font-weight: 600;
    color: var(--text-inverse);
    margin-bottom: var(--space-3);
}

.footer ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--space-2);
    margin-top: var(--space-5);
}

.footer a {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-2) var(--space-4);
    font-size: var(--font-size-sm);
    color: rgba(255, 255, 255, 0.8);
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-full);
    transition: all var(--transition-fast);
}

.footer a:hover {
    background: var(--brand-primary);
    color: var(--text-inverse);
}

/* ===== NATIVE AD ===== */
.native-ad {
    margin: var(--space-5) var(--space-2);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.native-ad:empty {
    display: none;
}

/* ===== BANNER ADS ===== */
.brs-300 {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--space-3);
    margin: var(--space-5) var(--space-2);
    padding: var(--space-4);
    background: var(--bg-surface);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

.b-300 {
    width: 300px;
    height: 250px;
    position: relative;
    background: var(--bg-surface-hover);
    border-radius: var(--radius-md);
}

.b-300 .val {
    position: absolute;
    top: var(--space-2);
    right: var(--space-2);
    padding: var(--space-1) var(--space-2);
    font-size: var(--font-size-xs);
    font-weight: 600;
    color: var(--text-inverse);
    background: var(--badge-primary);
    border-radius: var(--radius-xs);
}

.b-300-2, .b-300-3, .b-300-4, .b-300-5 {
    display: none;
}

/* ===== MOBILE ADS ===== */
.mob-300 {
    margin: var(--space-4) var(--space-2);
    padding: var(--space-3);
    background: var(--bg-surface);
    border-radius: var(--radius-lg);
    text-align: center;
}

.mob-300-ins {
    width: 300px;
    height: 100px;
    margin: 0 auto;
    background: var(--bg-surface-hover);
    border-radius: var(--radius-md);
}

/* ===== LIST VIEW ===== */
.list ul {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-2);
    padding: 0 var(--space-2);
}

.list li {
    break-inside: avoid;
}

.list a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--space-3) var(--space-4);
    background: var(--bg-surface);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-xs);
    transition: all var(--transition-fast);
    font-size: var(--font-size-sm);
    color: var(--text-primary);
}

.list a:hover {
    background: var(--bg-surface-hover);
    box-shadow: var(--shadow-sm);
}

.list a i {
    color: var(--brand-primary);
    margin-right: var(--space-2);
}

.list a span.total {
    padding: var(--space-1) var(--space-3);
    font-size: var(--font-size-xs);
    font-weight: 600;
    color: var(--text-tertiary);
    background: var(--bg-surface-hover);
    border-radius: var(--radius-full);
}

.list a:hover span.total {
    background: var(--brand-primary);
    color: var(--text-inverse);
}

/* ===== DESCRIPTION TEXT ===== */
.desc-text,
.categories-footer,
.categories-description,
.content-description {
    margin: var(--space-5) var(--space-2);
    padding: var(--space-5);
    background: var(--bg-surface);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    font-size: var(--font-size-sm);
    line-height: var(--leading-relaxed);
    color: var(--text-secondary);
}

/* ===== IFRAME WRAPPER ===== */
.iframe-wrapper {
    position: relative;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    aspect-ratio: 16 / 9;
    background: #000;
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.iframe-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* ===== MODAL ===== */
.modal {
    z-index: var(--z-modal);
}

.modal__overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-4);
}

.modal__container {
    width: 100%;
    max-width: 500px;
    max-height: 90vh;
    background: var(--bg-surface);
    border-radius: var(--radius-xl);
    padding: var(--space-6);
    overflow-y: auto;
    box-shadow: var(--shadow-xl);
}

.modal__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: var(--space-5);
}

.modal__title {
    font-size: var(--font-size-xl);
    font-weight: 600;
    color: var(--text-primary);
}

.modal__close {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--font-size-xl);
    color: var(--text-tertiary);
    border-radius: var(--radius-full);
    transition: all var(--transition-fast);
}

.modal__close:hover {
    background: var(--bg-surface-hover);
    color: var(--text-primary);
}

.modal__close::before {
    content: "\2715";
}

.modal__content {
    color: var(--text-secondary);
    line-height: var(--leading-relaxed);
}

.modal label {
    display: block;
    margin-bottom: var(--space-2);
    font-size: var(--font-size-sm);
    font-weight: 500;
    color: var(--text-primary);
}

.modal input,
.modal textarea,
.modal select {
    width: 100%;
    padding: var(--space-3) var(--space-4);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    font-size: var(--font-size-base);
    color: var(--text-primary);
    background: var(--bg-surface);
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
    margin-bottom: var(--space-4);
}

.modal input:focus,
.modal textarea:focus,
.modal select:focus {
    outline: none;
    border-color: var(--brand-primary);
    box-shadow: 0 0 0 3px rgba(var(--brand-primary-rgb), 0.15);
}

.modal__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-3) var(--space-6);
    font-size: var(--font-size-base);
    font-weight: 500;
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
}

.modal__btn-primary {
    background: var(--brand-gradient);
    color: var(--text-inverse);
}

.modal__btn-primary:hover {
    opacity: 0.9;
    transform: translateY(-1px);
}

.modal .success {
    padding: var(--space-4);
    background: var(--badge-success);
    color: var(--text-inverse);
    border-radius: var(--radius-md);
    margin-bottom: var(--space-4);
}

.modal .error {
    padding: var(--space-4);
    background: #ef4444;
    color: var(--text-inverse);
    border-radius: var(--radius-md);
    margin-bottom: var(--space-4);
}

/* ===== AUTOCOMPLETE ===== */
.autocomplete {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg-surface);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    margin-top: var(--space-2);
    overflow: hidden;
    z-index: var(--z-dropdown);
}

.autocomplete > div {
    padding: var(--space-3) var(--space-4);
    cursor: pointer;
    transition: background var(--transition-fast);
}

.autocomplete > div:hover,
.autocomplete > div.selected {
    background: var(--brand-primary);
    color: var(--text-inverse);
}

.autocomplete .highlight {
    font-weight: 600;
    color: var(--brand-primary);
}

.autocomplete > div:hover .highlight,
.autocomplete > div.selected .highlight {
    color: inherit;
}

/* ===== DROPDOWN ===== */
.dropdown-content {
    display: none;
    position: absolute;
    min-width: 200px;
    background: var(--bg-surface);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    z-index: var(--z-dropdown);
    overflow: hidden;
}

.dropdown-content.active {
    display: block;
}

.dropdown-content a {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    padding: var(--space-3) var(--space-4);
    font-size: var(--font-size-sm);
    color: var(--text-primary);
    transition: background var(--transition-fast);
}

.dropdown-content li:hover {
    background: var(--bg-surface-hover);
}

.dropdown-content li.selected {
    font-weight: 600;
}

ul.language-select {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
    padding: var(--space-3);
    max-width: 500px;
}

/* ===== ON-PLAYER OVERLAY ===== */
.on-player-pl {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: var(--z-modal-backdrop);
}

.on-player {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 300px;
    height: 250px;
    background: var(--bg-surface);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
    z-index: var(--z-modal);
}

.close,
.bot-close {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--badge-dark);
    color: var(--text-inverse);
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.close:hover,
.bot-close:hover {
    background: var(--brand-primary);
}

.close {
    position: absolute;
    top: var(--space-2);
    right: var(--space-2);
    width: 36px;
    height: 36px;
    font-size: var(--font-size-base);
}

.bot-close {
    position: absolute;
    bottom: var(--space-2);
    left: 50%;
    transform: translateX(-50%);
    padding: var(--space-2) var(--space-5);
    font-size: var(--font-size-sm);
}

/* ===== ANIMATIONS ===== */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes scaleUp {
    0% { transform: scale(1); }
    50% { transform: scale(1.4); }
    100% { transform: scale(1); }
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

.micromodal-slide {
    display: none;
}

.micromodal-slide.is-open {
    display: block;
}

.micromodal-slide[aria-hidden="false"] .modal__overlay {
    animation: fadeIn 0.2s ease-out;
}

.micromodal-slide[aria-hidden="false"] .modal__container {
    animation: slideUp 0.3s ease-out;
}

i.icon-thumbs-up-alt.animate,
i.icon-thumbs-down-alt.animate {
    display: inline-block;
    animation: scaleUp 0.5s ease-out;
}

/* Skeleton Loading */
.skeleton {
    background: linear-gradient(90deg, var(--bg-surface-hover) 25%, var(--bg-surface) 50%, var(--bg-surface-hover) 75%);
    background-size: 200% 100%;
    animation: pulse 1.5s ease-in-out infinite;
}

/* ===== ICON FONT ===== */
@font-face {
    font-family: icon;
    src: url(/fonts/icon.eot?90650214);
    src: url(/fonts/icon.eot?90650214#iefix) format("embedded-opentype"),
         url(/fonts/icon.woff2?90650214) format("woff2"),
         url(/fonts/icon.woff?90650214) format("woff"),
         url(/fonts/icon.ttf?90650214) format("truetype"),
         url(/fonts/icon.svg?90650214#icon) format("svg");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

[class^="icon-"]::before,
[class*=" icon-"]::before {
    font-family: icon;
    font-style: normal;
    font-weight: 400;
    speak: never;
    display: inline-block;
    text-decoration: inherit;
    width: 1em;
    text-align: center;
    font-variant: normal;
    text-transform: none;
    line-height: 1;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.icon-download:before { content: '\e800'; }
.icon-tags:before { content: '\e801'; }
.icon-tag:before { content: '\e802'; }
.icon-bookmark:before { content: '\e803'; }
.icon-flag:before { content: '\e804'; }
.icon-camera:before { content: '\e805'; }
.icon-picture:before { content: '\e806'; }
.icon-videocam:before { content: '\e807'; }
.icon-video:before { content: '\e808'; }
.icon-search:before { content: '\e809'; }
.icon-star:before { content: '\e80a'; }
.icon-clock:before { content: '\e80b'; }
.icon-th-list:before { content: '\e80c'; }
.icon-comment:before { content: '\e80d'; }
.icon-minus:before { content: '\e80e'; }
.icon-plus:before { content: '\e80f'; }
.icon-down-open:before { content: '\e810'; }
.icon-up-open:before { content: '\e811'; }
.icon-fire:before { content: '\e812'; }
.icon-eye:before { content: '\e813'; }
.icon-right-open:before { content: '\e814'; }
.icon-left-open:before { content: '\e815'; }
.icon-home:before { content: '\e816'; }
.icon-user-woman:before { content: '\e817'; }
.icon-award:before { content: '\e818'; }
.icon-edit:before { content: '\e819'; }
.icon-globe:before { content: '\e81a'; }
.icon-rss:before { content: '\f09e'; }
.icon-menu:before { content: '\f0c9'; }
.icon-sort:before { content: '\f0dc'; }
.icon-upload-cloud:before { content: '\f0ee'; }
.icon-angle-circled-left:before { content: '\f137'; }
.icon-angle-circled-right:before { content: '\f138'; }
.icon-angle-circled-up:before { content: '\f139'; }
.icon-angle-circled-down:before { content: '\f13a'; }
.icon-play-circled:before { content: '\f144'; }
.icon-thumbs-up-alt:before { content: '\f164'; }
.icon-thumbs-down-alt:before { content: '\f165'; }
.icon-youtube-play:before { content: '\f16a'; }
.icon-trash:before { content: '\f1f8'; }
.icon-hourglass:before { content: '\f254'; }
.icon-calendar-check-o:before { content: '\f274'; }
.icon-hashtag:before { content: '\f292'; }

/* =====================================================
   RESPONSIVE BREAKPOINTS
   ===================================================== */

/* Small Mobile - Hide descriptions */
@media (max-width: 500px) {
    .categories-description,
    .content-description,
    .category-description {
        display: none;
    }
}

/* Tablet - 3 columns */
@media (min-width: 560px) {
    .thumb {
        width: 33.3333%;
    }

    .header .wrapper {
        height: 64px;
    }

    .header li a {
        height: 44px;
        padding: 0 var(--space-4);
    }

    .logo a {
        font-size: 26px;
    }

    .logo a img {
        height: 44px;
    }

    .navigation li {
        display: block;
    }

    .list ul {
        grid-template-columns: repeat(2, 1fr);
    }

    .b-300-2 {
        display: block !important;
    }

    .on-player-pl {
        display: block;
    }
}

/* Small Desktop - 4 columns */
@media (min-width: 780px) {
    .thumb {
        width: 25%;
    }
}

/* Desktop - 964px */
@media (min-width: 964px) {
    .wrapper {
        max-width: 944px;
    }

    .header .wrapper {
        height: 60px;
    }

    .logo a {
        font-size: 28px;
    }

    .logo a img {
        height: 52px;
    }

    .header li a {
        height: 40px;
        padding: 0 var(--space-5);
        font-size: var(--font-size-base);
    }

    .header li a span {
        display: inline;
    }

    .header li a i {
        font-size: var(--font-size-lg);
    }

    .title {
        padding: var(--space-3) var(--space-4);
    }

    .title .icon {
        width: 40px;
        height: 40px;
        font-size: var(--font-size-lg);
    }

    .title h1,
    .title h2 {
        font-size: var(--font-size-lg);
    }

    .thumb-2 .name {
        font-size: var(--font-size-lg);
    }

    .mob-300 {
        display: none !important;
    }

    .list ul {
        grid-template-columns: repeat(3, 1fr);
    }

    .b-300-3 {
        display: block !important;
    }

    .video-wrapper h1 {
        line-height: 28px;
    }

    .video-block,
    .video-brs {
        display: table-cell;
        vertical-align: top;
    }

    .video-brs {
        width: 310px;
        padding-top: 3px;
    }

    .video-brs .brs-300 {
        background: transparent;
        box-shadow: none;
        padding: 0;
        margin: 0;
    }

    .video-brs .brs-300 .b-300 {
        margin: 7px 10px 0 0;
    }

    .video-info ul.video-likes {
        margin: 8px 0 0 18px;
    }

    .video-info ul.video-likes li {
        margin: 2px 0 0 2px;
    }

    .video-brs .brs-300 .b-300-3 {
        display: none !important;
    }
}

/* Large Desktop - 5 columns */
@media (min-width: 1200px) {
    .wrapper {
        max-width: 1180px;
    }

    .thumb {
        width: 20%;
    }

    .header {
        overflow: visible;
    }

    .header .wrapper {
        overflow: visible;
    }

    .search-button {
        display: none;
    }

    .search {
        display: flex !important;
        background: transparent;
        padding: 0;
        width: 320px;
        margin-left: var(--space-6);
    }

    .search form {
        width: 100%;
        margin: 0;
    }

    .search-input {
        height: 44px;
    }

    .search input {
        height: 44px;
        font-size: var(--font-size-sm);
    }

    .search button {
        width: 40px;
        height: 40px;
        margin: 2px;
    }

    .logo {
        margin-right: var(--space-6);
    }

    .list ul {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* Extra Large - 6 columns */
@media (min-width: 1436px) {
    .wrapper {
        max-width: 1416px;
    }

    .thumb {
        width: 20%;
    }

    .header .wrapper {
        height: 80px;
    }

    .logo a {
        font-size: 32px;
    }

    .logo a img {
        height: 60px;
    }

    .header li a {
        height: 80px;
        padding: 0 var(--space-6);
        font-size: var(--font-size-md);
    }

    .search {
        width: 430px;
    }

    .title h1,
    .title h2 {
        font-size: var(--font-size-xl);
    }

    .title .icon {
        width: 44px;
        height: 44px;
        font-size: var(--font-size-xl);
    }

    .list ul {
        grid-template-columns: repeat(6, 1fr);
    }

    .b-300-4,
    .b-300-5 {
        display: block !important;
    }

    .video-wrapper {
        max-width: 1416px;
    }

    .video-wrapper h1 {
        line-height: 32px;
    }

    .video-brs {
        padding-top: 9px;
    }

    .video-brs .brs-300 .b-300 {
        margin: 1px 10px 0 0;
    }

    .video-brs .brs-300 .b-300-3 {
        display: inline-block !important;
    }

    .iframe-wrapper {
        max-width: 1200px;
    }
}

/* Ultra Wide */
@media (min-width: 1672px) {
    .wrapper {
        max-width: 1652px;
    }

    .thumb {
        width: 20%;
    }

    .search {
        width: 670px;
    }

    .video {
        padding: 0;
    }

    .video-wrapper {
        max-width: 1652px;
    }

    .iframe-wrapper {
        max-width: 1200px;
    }
}

/* Mobile Video */
@media (max-width: 600px) {
    .video-wrapper {
        margin: 10px 0;
        max-width: none;
    }

    .video-wrapper h1 {
        font-size: var(--font-size-lg);
        padding: var(--space-4);
    }

    .iframe-wrapper {
        width: 100%;
        max-width: none;
        height: auto;
        max-height: 50vh;
    }
}

/* Landscape Mobile */
@media (max-width: 600px) and (orientation: landscape) {
    .iframe-wrapper {
        width: 100%;
        height: 100vh;
        max-height: none;
    }
}

@media (max-width: 510px) {
    .iframe-wrapper {
        width: 100%;
    }
}

/* ===== ACCESSIBILITY ===== */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    html {
        scroll-behavior: auto;
    }
}

/* Focus Styles */
:focus-visible {
    outline: 2px solid var(--brand-primary);
    outline-offset: 2px;
}

button:focus-visible,
a:focus-visible,
input:focus-visible {
    outline: 2px solid var(--brand-primary);
    outline-offset: 2px;
}

/* ===== PRINT STYLES ===== */
@media print {
    .header,
    .footer,
    .navigation,
    .brs-300,
    .mob-300,
    .native-ad,
    .searches-list {
        display: none !important;
    }

    body {
        background: white;
        color: black;
    }

    .thumb {
        break-inside: avoid;
        page-break-inside: avoid;
    }
}

/* ===== FAKE EMBED PLAYER - PLAY BUTTON HOVER ===== */
#hlsplayer .big-button {
    transition: transform 0.2s ease;
}

#hlsplayer .big-button:hover {
    transform: scale(1.1);
}

#hlsplayer .big-button:hover img {
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
}