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

:root {
    --bg-primary: #0b0b0b;
    --bg-secondary: #181818;
    --bg-card: #161616;
    --bg-card-hover: #1e1e1e;
    --accent: #ff9000;
    --accent-hover: #ffab40;
    --accent-dark: #e07800;
    --text-primary: #ffffff;
    --text-secondary: #aaaaaa;
    --text-muted: #666666;
    --border: #272727;
    --premium: #ffd700;
    --radius: 8px;
    --radius-sm: 6px;
    --shadow: 0 2px 12px rgba(0,0,0,0.5);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.5;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    -webkit-font-smoothing: antialiased;
}

a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.2s;
}

a:hover {
    color: var(--accent);
}

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

/* ===================== */
/*  HEADER               */
/* ===================== */
.header {
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    height: 60px;
    display: flex;
    align-items: center;
    gap: 20px;
}

.logo {
    display: flex;
    align-items: center;
    font-size: 1.6rem;
    font-weight: 700;
    text-decoration: none;
    flex-shrink: 0;
}

.logo-v {
    background: var(--accent);
    color: #000;
    padding: 2px 8px;
    border-radius: 4px;
    margin-right: 2px;
}

.logo-tube {
    color: var(--text-primary);
}

/* Search Bar */
.search-bar {
    flex: 1;
    max-width: 520px;
    display: flex;
    position: relative;
}

.search-bar input {
    width: 100%;
    padding: 10px 16px;
    padding-right: 46px;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    background: var(--bg-primary);
    color: var(--text-primary);
    font-size: 0.9rem;
    transition: border-color 0.2s;
}

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

.search-bar input:focus {
    border-color: var(--accent);
    outline: none;
}

.search-bar button {
    position: absolute;
    right: 4px;
    top: 50%;
    transform: translateY(-50%);
    background: var(--accent);
    color: #000;
    border: none;
    border-radius: var(--radius-sm);
    width: 36px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}

.search-bar button:hover {
    background: var(--accent-hover);
}

/* Language Selector */
.lang-selector {
    position: relative;
    flex-shrink: 0;
}

.lang-btn {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 6px 10px;
    background: transparent;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    color: var(--text-secondary);
    font-size: 0.8rem;
    font-weight: 500;
    cursor: pointer;
    transition: border-color 0.2s, color 0.2s;
}

.lang-btn:hover {
    border-color: var(--text-muted);
    color: var(--text-primary);
}

.lang-btn svg {
    width: 14px;
    height: 14px;
    opacity: 0.6;
}

.lang-btn .lang-arrow {
    width: 10px;
    height: 10px;
    transition: transform 0.2s;
}

.lang-selector.open .lang-arrow {
    transform: rotate(180deg);
}

.lang-dropdown {
    display: none;
    position: absolute;
    top: calc(100% + 6px);
    right: 0;
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    min-width: 160px;
    max-height: 320px;
    overflow-y: auto;
    z-index: 1001;
    box-shadow: 0 8px 24px rgba(0,0,0,0.4);
}

.lang-selector.open .lang-dropdown {
    display: block;
}

.lang-dropdown-title {
    padding: 10px 14px 6px;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text-primary);
    border-bottom: 1px solid var(--border);
    margin-bottom: 4px;
}

.lang-option {
    display: block;
    padding: 7px 14px;
    font-size: 0.78rem;
    color: var(--text-secondary);
    text-decoration: none;
    transition: background 0.15s, color 0.15s;
    cursor: pointer;
}

.lang-option:hover {
    background: rgba(255,255,255,0.05);
    color: var(--text-primary);
}

.lang-option.active {
    color: var(--accent);
    font-weight: 600;
}

.lang-dropdown::-webkit-scrollbar {
    width: 4px;
}

.lang-dropdown::-webkit-scrollbar-thumb {
    background: var(--border);
    border-radius: 2px;
}

/* Nav Links */
.nav-links {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
}

.nav-link {
    padding: 8px 14px;
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-secondary);
    transition: all 0.2s;
    white-space: nowrap;
}

.nav-link:hover,
.nav-link.active {
    color: var(--text-primary);
    background: rgba(255,255,255,0.06);
}

.nav-link.btn-premium {
    background: var(--accent);
    color: #000;
    font-weight: 600;
}

.nav-link.btn-premium:hover {
    background: var(--accent-hover);
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    padding: 4px;
}

.mobile-menu-btn span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: all 0.3s;
}

.mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Nav */
.mobile-nav {
    display: none;
    flex-direction: column;
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--border);
    padding: 10px 20px;
}

.mobile-nav.open {
    display: flex;
}

.mobile-nav-link {
    padding: 12px 0;
    font-size: 0.95rem;
    color: var(--text-secondary);
    border-bottom: 1px solid var(--border);
}

.mobile-nav-link:last-child {
    border-bottom: none;
}

.mobile-nav-link.btn-premium {
    color: var(--accent);
    font-weight: 600;
}

/* ===================== */
/*  CATEGORIES BAR       */
/* ===================== */
.categories-bar {
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--border);
    overflow: hidden;
}

.categories-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 10px 20px;
    display: flex;
    gap: 8px;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.categories-inner::-webkit-scrollbar {
    display: none;
}

.cat-btn {
    padding: 7px 16px;
    border-radius: 20px;
    background: rgba(255,255,255,0.06);
    color: var(--text-secondary);
    font-size: 0.8rem;
    font-weight: 500;
    white-space: nowrap;
    transition: all 0.2s;
    border: 1px solid transparent;
}

.cat-btn:hover {
    background: rgba(255,255,255,0.1);
    color: var(--text-primary);
}

.cat-btn.active {
    background: var(--accent);
    color: #000;
    font-weight: 600;
}

/* ===================== */
/*  MAIN CONTENT         */
/* ===================== */
.main-content {
    max-width: 1400px;
    width: 100%;
    margin: 0 auto;
    padding: 20px;
    flex: 1;
}

/* Featured Banner */
.featured-banner {
    border-radius: var(--radius);
    overflow: hidden;
    position: relative;
    height: 220px;
    background: linear-gradient(135deg, #1a1a1a 0%, #0d0d0d 50%, #1a0a00 100%);
    margin-bottom: 24px;
}

.featured-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 40px;
    background: linear-gradient(90deg, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.3) 70%, transparent 100%);
}

.featured-badge {
    background: var(--accent);
    color: #000;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 4px;
    width: fit-content;
    margin-bottom: 12px;
    letter-spacing: 0.5px;
}

.featured-title {
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 8px;
    max-width: 500px;
}

.featured-desc {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 16px;
    max-width: 400px;
}

.btn-watch {
    background: var(--accent);
    color: #000;
    font-weight: 600;
    font-size: 0.9rem;
    padding: 10px 28px;
    border-radius: var(--radius-sm);
    width: fit-content;
    transition: background 0.2s;
}

.btn-watch:hover {
    background: var(--accent-hover);
}

/* Sort Bar */
.sort-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}

.section-title {
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--text-primary);
}

.sort-options select {
    background: var(--bg-secondary);
    color: var(--text-primary);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 8px 14px;
    font-size: 0.85rem;
    cursor: pointer;
}

.sort-options select:focus {
    outline: none;
    border-color: var(--accent);
}

/* ===================== */
/*  CATEGORY SLIDER      */
/* ===================== */
.cat-slider-wrap {
    position: relative;
    margin-bottom: 12px;
    padding: 0 44px;
}

.cat-slider {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding: 8px 0;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    scroll-behavior: smooth;
}

.cat-slider::-webkit-scrollbar {
    display: none;
}

.cat-slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #2a2a2a;
    color: #999;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    z-index: 3;
    font-size: 0;
    transition: background 0.2s, color 0.2s;
}

.cat-slider-arrow:hover {
    background: #3a3a3a;
    color: #fff;
}

.cat-slider-arrow::after {
    content: '';
    width: 9px;
    height: 9px;
    border-right: 2.5px solid currentColor;
    border-bottom: 2.5px solid currentColor;
}

.cat-slider-arrow.left {
    left: 0;
}

.cat-slider-arrow.left::after {
    transform: rotate(135deg);
    margin-left: 3px;
}

.cat-slider-arrow.right {
    right: 0;
}

.cat-slider-arrow.right::after {
    transform: rotate(-45deg);
    margin-right: 3px;
}

.cat-slider-wrap::before,
.cat-slider-wrap::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 48px;
    z-index: 2;
    pointer-events: none;
}

.cat-slider-wrap::before {
    left: 40px;
    background: linear-gradient(90deg, var(--bg-primary) 0%, transparent 100%);
}

.cat-slider-wrap::after {
    right: 40px;
    background: linear-gradient(-90deg, var(--bg-primary) 0%, transparent 100%);
}

.cat-slider-tag {
    display: inline-block;
    padding: 6px 16px;
    background: var(--bg-card);
    color: var(--text-secondary);
    font-size: 0.78rem;
    font-weight: 500;
    border-radius: 20px;
    border: 1px solid var(--border);
    white-space: nowrap;
    text-decoration: none;
    transition: background 0.2s, color 0.2s, border-color 0.2s;
    flex-shrink: 0;
}

.cat-slider-tag:hover {
    background: var(--accent);
    color: #000;
    border-color: var(--accent);
}

/* ===================== */
/*  PAGINATION           */
/* ===================== */
.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 24px 0;
}

.page-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 36px;
    padding: 0 10px;
    background: var(--bg-card);
    color: var(--text-secondary);
    font-size: 0.82rem;
    font-weight: 500;
    border-radius: 6px;
    border: 1px solid var(--border);
    text-decoration: none;
    transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.page-btn:hover {
    background: var(--bg-card-hover);
    color: var(--text-primary);
    border-color: var(--text-muted);
}

.page-btn.active {
    background: var(--accent);
    color: #000;
    border-color: var(--accent);
    font-weight: 700;
}

.page-next {
    padding: 0 16px;
    font-size: 0.78rem;
}

.page-dots {
    color: var(--text-muted);
    font-size: 0.9rem;
    padding: 0 4px;
}

/* CodeIgniter Pagination Wrapper */
.ci-pagination-wrapper ul {
    display: flex;
    gap: 6px;
    justify-content: center;
    margin: 24px 0;
    padding: 0;
    list-style: none;
}

.ci-pagination-wrapper li {
    margin: 0;
}

.ci-pagination-wrapper a,
.ci-pagination-wrapper .active a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 36px;
    padding: 0 10px;
    background: var(--bg-card);
    color: var(--text-secondary);
    font-size: 0.82rem;
    font-weight: 500;
    border-radius: 6px;
    border: 1px solid var(--border);
    text-decoration: none;
    transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.ci-pagination-wrapper a:hover {
    background: var(--bg-card-hover);
    color: var(--text-primary);
    border-color: var(--text-muted);
}

.ci-pagination-wrapper .active a {
    background: var(--accent);
    color: #000;
    border-color: var(--accent);
    font-weight: 700;
    pointer-events: none;
}

.ci-pagination-wrapper svg {
    width: 18px;
    height: 18px;
}

/* ===================== */
/*  VIDEO GRID           */
/* ===================== */
.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 24px 16px;
    margin-bottom: 24px;
}

/* Video Card */
.video-card {
    background: transparent;
    border-radius: 0;
    overflow: visible;
    transition: transform 0.2s;
    cursor: pointer;
    display: block;
    text-decoration: none;
    color: inherit;
}

.video-card:hover {
    transform: translateY(-2px);
}

.video-thumb {
    position: relative;
    width: 100%;
    padding-top: 56.25%;
    overflow: hidden;
    border-radius: var(--radius);
    background: #111;
}

.video-preview {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.video-card:hover .video-preview {
    transform: scale(1.03);
    transition: transform 0.3s;
}

.video-duration {
    position: absolute;
    bottom: 8px;
    right: 8px;
    background: rgba(0,0,0,0.85);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 2px 6px;
    border-radius: 4px;
    z-index: 3;
}

.video-preview-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: rgba(255,255,255,0.1);
}

.video-preview-bar .bar-fill {
    height: 100%;
    background: var(--accent);
    width: 0%;
    transition: width 0.3s;
}

.video-card:hover .bar-fill {
    width: 100%;
    transition: width 3s linear;
}

.video-info {
    padding: 10px 0;
}

.video-title {
    font-size: 0.88rem;
    font-weight: 500;
    line-height: 1.3;
    margin-bottom: 6px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    color: var(--text-primary);
}

.video-meta {
    display: flex;
    align-items: center;
    gap: 0;
    font-size: 0.78rem;
    color: var(--text-muted);
}

.video-meta .channel {
    color: var(--text-secondary);
    font-weight: 500;
}

.video-meta .channel:hover {
    color: var(--accent);
}

.meta-sep {
    margin: 0 6px;
    color: var(--text-muted);
}

/* ===================== */
/*  LOAD MORE            */
/* ===================== */
.load-more-wrap {
    text-align: center;
    margin: 20px 0 40px;
}

.btn-load-more {
    background: transparent;
    color: var(--accent);
    border: 2px solid var(--accent);
    border-radius: var(--radius);
    padding: 12px 40px;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.2s;
}

.btn-load-more:hover {
    background: var(--accent);
    color: #000;
}

/* ===================== */
/*  CHANNELS GRID        */
/* ===================== */
.channels-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 14px;
    margin-bottom: 40px;
}

.channel-card {
    background: var(--bg-card);
    border-radius: var(--radius);
    padding: 20px 16px;
    text-align: center;
    transition: transform 0.2s, background 0.2s;
    cursor: pointer;
}

.channel-card:hover {
    transform: translateY(-2px);
    background: var(--bg-card-hover);
}

.channel-avatar {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    margin: 0 auto 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: #000;
}

.channel-name {
    font-size: 0.88rem;
    font-weight: 600;
    margin-bottom: 4px;
}

.channel-count {
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* ===================== */
/*  FOOTER               */
/* ===================== */
.footer {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border);
    margin-top: auto;
    width: 100%;
}

.footer-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 40px 20px;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 30px;
}

.footer-logo {
    margin-bottom: 12px;
}

.footer-desc {
    font-size: 0.82rem;
    color: var(--text-muted);
    line-height: 1.6;
    max-width: 300px;
}

.footer-col h4 {
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 14px;
    color: var(--text-primary);
}

.footer-col a {
    display: block;
    font-size: 0.82rem;
    color: var(--text-muted);
    padding: 4px 0;
    transition: color 0.2s;
}

.footer-col a:hover {
    color: var(--accent);
}

.footer-bottom {
    border-top: 1px solid var(--border);
    padding: 16px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    max-width: 1400px;
    margin: 0 auto;
    flex-wrap: wrap;
}

.footer-bottom p {
    font-size: 0.78rem;
    color: var(--text-muted);
}

.footer-rta {
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer-rta-logo {
    display: flex;
    align-items: center;
}

.footer-rta-logo svg {
    height: 28px;
    width: auto;
}

.footer-rta-btn {
    display: inline-flex;
    align-items: center;
    padding: 6px 16px;
    background: var(--accent);
    color: #000;
    font-size: 0.75rem;
    font-weight: 700;
    border-radius: 4px;
    text-decoration: none;
    white-space: nowrap;
    transition: opacity 0.2s;
}

.footer-rta-btn:hover {
    opacity: 0.85;
    color: #000;
}

/* ===================== */
/*  WATCH / PLAYER PAGE  */
/* ===================== */
.watch-page {
    max-width: 1400px;
}

.watch-layout {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 20px;
    align-items: start;
}

.player-wrap {
    width: 100%;
    background: #000;
    border-radius: 6px;
    overflow: hidden;
    aspect-ratio: 16 / 9;
}

.player-wrap video {
    width: 100%;
    height: 100%;
    display: block;
}

/* Video info below player */
.watch-info {
    padding: 12px 0 8px;
}

.watch-title {
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.4;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.watch-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
}

.watch-meta-left {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.8rem;
    color: var(--text-muted);
}

.watch-channel {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--accent);
    text-decoration: none;
}

.watch-channel:hover {
    text-decoration: underline;
}

.watch-meta-actions {
    display: flex;
    gap: 8px;
}

.watch-action-btn {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 6px 14px;
    background: rgba(255,255,255,0.07);
    color: var(--text-secondary);
    border: none;
    border-radius: 4px;
    font-size: 0.78rem;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.2s;
}

.watch-action-btn:hover {
    background: rgba(255,255,255,0.12);
    color: var(--text-primary);
}

.watch-action-btn svg {
    width: 14px;
    height: 14px;
}

/* Banner ad below info */
.watch-ad-banner {
    margin: 10px 0;
}

.ad-banner-placeholder {
    width: 100%;
    height: 90px;
    background: rgba(255,255,255,0.015);
    border: 1px dashed rgba(255,255,255,0.06);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.1);
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Category tags */
.watch-cats {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    padding: 10px 0;
    align-items: center;
}

.watch-cats-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-right: 4px;
}

.watch-cat-tag {
    display: inline-block;
    padding: 4px 12px;
    background: rgba(255,255,255,0.06);
    color: var(--text-secondary);
    font-size: 0.72rem;
    border-radius: 4px;
    text-decoration: none;
    transition: background 0.2s, color 0.2s;
}

.watch-cat-tag:hover {
    background: var(--accent);
    color: #000;
}

.watch-cat-tag.active {
    background: var(--accent);
    color: #000;
    font-weight: 600;
}

/* Tabs */
.watch-tabs {
    display: flex;
    gap: 0;
    border-bottom: 1px solid var(--border);
    margin-bottom: 16px;
}

.watch-tab {
    padding: 10px 16px;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-muted);
    cursor: pointer;
    border-bottom: 2px solid transparent;
    transition: color 0.2s;
    letter-spacing: 0.3px;
}

.watch-tab:hover {
    color: var(--text-primary);
}

.watch-tab.active {
    color: var(--text-primary);
    border-bottom-color: var(--accent);
}

/* Mobile-only ad banners */
.watch-mobile-ad {
    display: none;
    margin: 8px 0;
}

/* Related videos - full width below layout */
.watch-related {
    padding-top: 20px;
    margin-top: 10px;
    border-top: 1px solid var(--border);
}

.watch-related-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 18px;
}

.related-card {
    text-decoration: none;
    color: inherit;
    transition: transform 0.15s;
}

.related-card:hover {
    transform: translateY(-2px);
}

.related-card-thumb {
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 6px;
    overflow: hidden;
    background: #111;
    position: relative;
    margin-bottom: 8px;
}

.related-card-thumb video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.related-card-dur {
    position: absolute;
    bottom: 4px;
    right: 4px;
    background: rgba(0,0,0,0.85);
    color: #fff;
    font-size: 0.62rem;
    font-weight: 600;
    padding: 1px 5px;
    border-radius: 3px;
}

.related-card-channel {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 4px;
}

.related-card-channel-name {
    font-size: 0.68rem;
    color: var(--text-muted);
}

.related-card-title {
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--text-primary);
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 4px;
}

.related-card-meta {
    font-size: 0.7rem;
    color: var(--text-muted);
}

/* ===================== */
/*  WATCH SIDEBAR        */
/* ===================== */
.watch-sidebar {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.sidebar-ad {
    margin-bottom: 0;
}

.ad-square-placeholder {
    width: 100%;
    height: 250px;
    background: rgba(255,255,255,0.015);
    border: 1px dashed rgba(255,255,255,0.06);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.1);
    font-size: 0.7rem;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}


/* ===================== */
/*  SHARE POPUP          */
/* ===================== */
.share-popup {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.75);
    z-index: 1000;
    align-items: center;
    justify-content: center;
}

.share-popup.open {
    display: flex;
}

.share-popup-inner {
    background: var(--bg-secondary);
    border-radius: 12px;
    padding: 32px 28px 24px;
    width: 90%;
    max-width: 420px;
    text-align: center;
    position: relative;
    border: 1px solid var(--border);
}

.share-popup-close {
    position: absolute;
    top: 12px;
    right: 16px;
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    font-size: 1.4rem;
    line-height: 1;
}

.share-popup-close:hover {
    color: #fff;
}

.share-popup-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 12px;
    background: rgba(255,144,0,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.share-popup-icon svg {
    width: 26px;
    height: 26px;
    stroke: var(--accent);
}

.share-popup-heading {
    font-size: 1.2rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 6px;
}

.share-popup-video-title {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 20px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.share-social-icons {
    display: flex;
    justify-content: center;
    gap: 14px;
    margin-bottom: 22px;
}

.share-social-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    cursor: pointer;
    transition: transform 0.15s, opacity 0.15s;
}

.share-social-btn:hover {
    transform: scale(1.1);
    opacity: 0.9;
}

.share-social-btn svg {
    width: 22px;
    height: 22px;
    fill: #fff;
}

.share-social-btn.fb { background: #1877f2; }
.share-social-btn.tw { background: #000; }
.share-social-btn.wa { background: #25d366; }
.share-social-btn.tg { background: #0088cc; }
.share-social-btn.rd { background: #ff4500; }

.share-url-wrap {
    display: flex;
    align-items: center;
    gap: 0;
    background: rgba(255,255,255,0.06);
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.1);
}

.share-url-icon {
    padding: 0 12px;
    display: flex;
    align-items: center;
}

.share-url-icon svg {
    width: 18px;
    height: 18px;
    stroke: var(--text-muted);
}

.share-url-input {
    flex: 1;
    background: transparent;
    border: none;
    padding: 12px 0;
    color: var(--text-secondary);
    font-size: 0.8rem;
    outline: none;
    min-width: 0;
}

.share-copy-btn {
    padding: 12px 20px;
    background: rgba(255,255,255,0.1);
    color: var(--text-primary);
    border: none;
    border-left: 1px solid rgba(255,255,255,0.1);
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}

.share-copy-btn:hover {
    background: rgba(255,255,255,0.18);
}

/* Watch responsive */
@media (max-width: 1100px) {
    .watch-layout {
        grid-template-columns: 1fr;
    }
    .watch-sidebar {
        flex-direction: row;
        justify-content: center;
        flex-wrap: wrap;
    }
    .watch-related-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 768px) {
    .watch-sidebar {
        display: none;
    }
    .watch-mobile-ad {
        display: block;
    }
    .watch-related-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 14px;
    }
}

@media (max-width: 600px) {
    .watch-title {
        font-size: 0.88rem;
    }
    .watch-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    .watch-related-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    .watch-ad-banner {
        display: none;
    }
    .watch-mobile-ad .ad-banner-placeholder {
        height: 50px;
        font-size: 0.6rem;
    }
    .watch-cats {
        gap: 5px;
    }
    .watch-cat-tag {
        font-size: 0.65rem;
        padding: 3px 8px;
    }
}

/* ===================== */
/*  SEARCH RESULTS PAGE  */
/* ===================== */
.search-results-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.search-results-count {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.no-results {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 80px 20px;
    gap: 12px;
    text-align: center;
}

.no-results h3 {
    font-size: 1.2rem;
    color: var(--text-secondary);
}

.no-results p {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* ===================== */
/*  CATEGORIES PAGE      */
/* ===================== */

/* Popular Categories - Large cards with arrow */
.popular-cats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 16px;
    margin-bottom: 30px;
}

.popular-cat-card {
    display: flex;
    align-items: center;
    background: var(--bg-card);
    border-radius: var(--radius);
    overflow: hidden;
    text-decoration: none;
    transition: transform 0.2s, background 0.2s;
    position: relative;
    height: 100px;
}

.popular-cat-card:hover {
    transform: translateY(-2px);
    background: var(--bg-card-hover);
}

.popular-cat-card img {
    width: 140px;
    height: 100%;
    object-fit: cover;
    flex-shrink: 0;
}

.popular-cat-info {
    flex: 1;
    padding: 14px 16px;
}

.popular-cat-name {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.popular-cat-count {
    font-size: 0.78rem;
    color: var(--text-muted);
}

.popular-cat-arrow {
    padding: 0 16px;
    flex-shrink: 0;
}

/* All Categories Divider */
.all-cats-divider {
    text-align: center;
    margin: 10px 0 24px;
    position: relative;
}

.all-cats-divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--border);
}

.all-cats-divider span {
    position: relative;
    background: var(--bg-primary);
    padding: 0 20px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-secondary);
    letter-spacing: 1px;
}

/* All Categories Grid */
.all-cats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
    gap: 14px;
    margin-bottom: 40px;
}

.all-cat-card {
    background: var(--bg-card);
    border-radius: var(--radius);
    overflow: hidden;
    text-decoration: none;
    transition: transform 0.2s, background 0.2s;
    cursor: pointer;
}

.all-cat-card:hover {
    transform: translateY(-2px);
    background: var(--bg-card-hover);
}

.all-cat-thumb {
    width: 100%;
    aspect-ratio: 16 / 10;
    overflow: hidden;
}

.all-cat-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.all-cat-card:hover .all-cat-thumb img {
    transform: scale(1.05);
}

.all-cat-name {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text-primary);
    padding: 10px 10px 2px;
}

.all-cat-count {
    font-size: 0.72rem;
    color: var(--text-muted);
    padding: 0 10px 10px;
}

/* ===================== */
/*  PAGE SUBTITLE        */
/* ===================== */
.page-subtitle {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 24px;
    line-height: 1.5;
}

/* ===================== */
/*  PORNSTARS PAGE       */
/* ===================== */
.pornstars-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
    gap: 16px;
}

.pornstar-card {
    text-decoration: none;
    text-align: center;
    transition: transform 0.2s;
    display: block;
}

.pornstar-card:hover {
    transform: translateY(-3px);
}

.pornstar-thumb {
    width: 100%;
    aspect-ratio: 3 / 4;
    border-radius: var(--radius);
    overflow: hidden;
    margin-bottom: 8px;
    background: var(--bg-card);
}

.pornstar-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.pornstar-card:hover .pornstar-thumb img {
    transform: scale(1.05);
}

.pornstar-name {
    font-size: 0.82rem;
    font-weight: 500;
    color: var(--text-primary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* ===================== */
/*  CHANNELS PAGE        */
/* ===================== */
.channels-page-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 16px;
}

.channel-page-card {
    background: var(--bg-card);
    border-radius: var(--radius);
    padding: 28px 16px 20px;
    text-align: center;
    text-decoration: none;
    transition: transform 0.2s, background 0.2s;
    display: block;
}

.channel-page-card:hover {
    transform: translateY(-3px);
    background: var(--bg-card-hover);
}

.channel-page-logo {
    width: 80px;
    height: 80px;
    margin: 0 auto 14px;
    border-radius: 50%;
    overflow: hidden;
}

.channel-page-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.channel-page-name {
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 6px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.channel-page-link {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.channel-page-card:hover .channel-page-link {
    color: var(--accent);
}

/* ===================== */
/*  CHANNEL DETAIL PAGE  */
/* ===================== */
.channel-detail-header {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 24px;
    background: var(--bg-card);
    border-radius: var(--radius);
    margin-bottom: 24px;
}

.ch-detail-logo {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
}

.ch-detail-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ch-detail-info {
    flex: 1;
    min-width: 0;
}

.ch-detail-name {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.ch-detail-desc {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.ch-detail-stats {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.ch-detail-stats span {
    background: rgba(255,255,255,0.06);
    padding: 4px 12px;
    border-radius: 20px;
}

/* ===================== */
/*  INFO TAB NAVIGATION  */
/* ===================== */
.info-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 0;
    background: var(--bg-card);
    border-bottom: 1px solid var(--border);
    margin-bottom: 30px;
    border-radius: var(--radius) var(--radius) 0 0;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.info-tabs::-webkit-scrollbar {
    display: none;
}

.info-tab {
    padding: 12px 18px;
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--text-muted);
    text-decoration: none;
    white-space: nowrap;
    border-bottom: 2px solid transparent;
    transition: color 0.2s, border-color 0.2s;
}

.info-tab:hover {
    color: var(--text-primary);
}

.info-tab.active {
    color: var(--text-primary);
    border-bottom-color: var(--accent);
    font-weight: 600;
}

/* ===================== */
/*  STATIC PAGES         */
/* ===================== */
.static-page {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 0 40px;
}

.static-page-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 6px;
    color: var(--text-primary);
}

.static-page-date {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 20px;
    font-style: italic;
}

.static-page-note {
    font-size: 0.82rem;
    color: var(--text-muted);
    background: rgba(255,144,0,0.06);
    border-left: 3px solid var(--accent);
    padding: 12px 16px;
    margin-bottom: 24px;
    border-radius: 0 var(--radius) var(--radius) 0;
}

.static-page h2 {
    font-size: 1.1rem;
    font-weight: 600;
    margin: 28px 0 10px;
    color: var(--text-primary);
}

.static-page h3 {
    font-size: 0.95rem;
    font-weight: 600;
    margin: 18px 0 8px;
    color: var(--text-secondary);
}

.static-page p {
    font-size: 0.88rem;
    line-height: 1.75;
    color: var(--text-secondary);
    margin-bottom: 12px;
}

.static-page ul, .static-page ol {
    padding-left: 24px;
    margin-bottom: 16px;
}

.static-page li {
    font-size: 0.88rem;
    line-height: 1.75;
    color: var(--text-secondary);
    margin-bottom: 6px;
}

.static-page a {
    color: var(--accent);
}

.static-page a:hover {
    text-decoration: underline;
}

.static-page table {
    width: 100%;
    border-collapse: collapse;
    margin: 16px 0;
    font-size: 0.85rem;
}

.static-page th, .static-page td {
    padding: 10px 14px;
    text-align: left;
    border: 1px solid var(--border);
    color: var(--text-secondary);
}

.static-page th {
    background: rgba(255,255,255,0.04);
    color: var(--text-primary);
    font-weight: 600;
}

/* ===================== */
/*  PORNSTAR DETAIL PAGE */
/* ===================== */
.pornstar-detail-header {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 24px;
    background: var(--bg-card);
    border-radius: var(--radius);
    margin-bottom: 24px;
}

.pornstar-detail-avatar {
    width: 100px;
    height: 130px;
    border-radius: var(--radius);
    overflow: hidden;
    flex-shrink: 0;
}

.pornstar-detail-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.pornstar-detail-info {
    flex: 1;
    min-width: 0;
}

.pornstar-detail-name {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.pornstar-detail-stats {
    display: flex;
    gap: 10px;
    font-size: 0.8rem;
    color: var(--text-muted);
}

.pornstar-detail-stats span {
    background: rgba(255,255,255,0.06);
    padding: 4px 12px;
    border-radius: 20px;
}

/* ===================== */
/*  CATEGORY DETAIL PAGE */
/* ===================== */
.category-detail-header {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 24px;
    background: var(--bg-card);
    border-radius: var(--radius);
    margin-bottom: 24px;
}

.category-detail-thumb {
    width: 120px;
    height: 80px;
    border-radius: var(--radius);
    overflow: hidden;
    flex-shrink: 0;
}

.category-detail-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.category-detail-info {
    flex: 1;
    min-width: 0;
}

.category-detail-name {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.category-detail-stats {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.category-detail-stats span {
    background: rgba(255,255,255,0.06);
    padding: 4px 12px;
    border-radius: 20px;
}

/* ===================== */
/*  COOKIE CONSENT       */
/* ===================== */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #1a1a1a;
    border-top: 1px solid var(--border);
    z-index: 9998;
    padding: 12px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    font-size: 0.78rem;
    color: var(--text-secondary);
    box-shadow: 0 -4px 20px rgba(0,0,0,0.5);
}

.cookie-banner p {
    margin: 0;
    line-height: 1.4;
}

.cookie-banner a {
    color: var(--accent);
}

.cookie-btns {
    display: flex;
    gap: 8px;
    flex-shrink: 0;
}

.cookie-accept {
    padding: 6px 18px;
    background: var(--accent);
    color: #000;
    border: none;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    cursor: pointer;
}

.cookie-accept:hover {
    background: var(--accent-hover);
}

.cookie-reject {
    padding: 6px 14px;
    background: transparent;
    color: var(--text-muted);
    border: 1px solid var(--border);
    border-radius: 4px;
    font-size: 0.75rem;
    cursor: pointer;
}

.cookie-reject:hover {
    color: var(--text-primary);
    border-color: var(--text-muted);
}

@media (max-width: 600px) {
    .cookie-banner {
        flex-direction: column;
        gap: 10px;
        padding: 14px 16px;
        text-align: center;
        font-size: 0.72rem;
    }
}

/* ===================== */
/*  AGE VERIFICATION     */
/* ===================== */
.age-gate {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.92);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.age-gate-box {
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 36px 32px;
    max-width: 420px;
    width: 90%;
    text-align: center;
}

.age-gate-logo {
    margin-bottom: 20px;
    font-size: 1.8rem;
    font-weight: 700;
}

.age-gate-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 16px;
    background: rgba(255,144,0,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
}

.age-gate-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.age-gate-text {
    font-size: 0.82rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 24px;
}

.age-gate-buttons {
    display: flex;
    gap: 12px;
    justify-content: center;
}

.age-gate-enter {
    padding: 12px 36px;
    background: var(--accent);
    color: #000;
    border: none;
    border-radius: var(--radius);
    font-size: 0.9rem;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s;
}

.age-gate-enter:hover {
    background: var(--accent-hover);
}

.age-gate-exit {
    padding: 12px 28px;
    background: rgba(255,255,255,0.06);
    color: var(--text-secondary);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.2s;
}

.age-gate-exit:hover {
    background: rgba(255,255,255,0.1);
}

.age-gate-disclaimer {
    margin-top: 18px;
    font-size: 0.68rem;
    color: var(--text-muted);
    line-height: 1.5;
}

.age-gate-disclaimer a {
    color: var(--accent);
}

/* ===================== */
/*  RESPONSIVE           */
/* ===================== */
@media (max-width: 900px) {
    .nav-links {
        display: none;
    }
    .mobile-menu-btn {
        display: flex;
    }
    .footer-inner {
        grid-template-columns: 1fr 1fr;
    }
    .popular-cats-grid {
        grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    }
    .channels-page-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    }
    .channel-detail-header,
    .pornstar-detail-header,
    .category-detail-header {
        flex-direction: column;
        text-align: center;
    }
    .lang-selector {
        order: 1;
    }
    .info-tabs {
        flex-wrap: nowrap;
    }
}

@media (max-width: 600px) {
    .header-inner {
        gap: 8px;
        padding: 0 12px;
    }
    .search-bar {
        max-width: none;
        flex: 1;
    }
    .search-bar input {
        padding: 8px 12px;
        padding-right: 40px;
        font-size: 0.82rem;
    }
    .search-bar button {
        width: 32px;
        height: 30px;
    }
    .logo {
        font-size: 1.2rem;
    }
    .logo-v {
        padding: 1px 6px;
    }
    .lang-btn {
        padding: 5px 8px;
        font-size: 0.72rem;
    }
    .cat-slider-arrow {
        display: none;
    }
    .cat-slider-wrap {
        padding: 0;
    }
    .cat-slider-wrap::before,
    .cat-slider-wrap::after {
        display: none;
    }
    .cat-slider {
        padding: 8px 0;
        gap: 6px;
    }
    .cat-slider-tag {
        padding: 5px 12px;
        font-size: 0.7rem;
    }
    .video-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    .video-info {
        padding: 6px 0;
    }
    .video-title {
        font-size: 0.78rem;
        margin-bottom: 4px;
    }
    .video-meta {
        font-size: 0.68rem;
    }
    .video-duration {
        font-size: 0.65rem;
        padding: 1px 4px;
    }
    .section-title {
        font-size: 1rem;
    }
    .pagination {
        gap: 4px;
        padding: 16px 0;
    }
    .page-btn {
        min-width: 32px;
        height: 32px;
        font-size: 0.75rem;
        padding: 0 8px;
    }
    .page-next {
        padding: 0 10px;
        font-size: 0.7rem;
    }
    .footer-inner {
        grid-template-columns: 1fr;
        padding: 24px 16px;
        gap: 20px;
    }
    .footer-bottom {
        flex-direction: column;
        gap: 12px;
        padding: 12px 16px;
    }
    .main-content {
        padding: 12px;
    }
    .popular-cats-grid {
        grid-template-columns: 1fr;
    }
    .all-cats-grid {
        grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
        gap: 8px;
    }
    .pornstars-grid {
        grid-template-columns: repeat(auto-fill, minmax(90px, 1fr));
        gap: 8px;
    }
    .channels-page-grid {
        grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
        gap: 8px;
    }
    .channel-page-logo {
        width: 56px;
        height: 56px;
    }
    .age-gate-box {
        padding: 24px 18px;
    }
    .age-gate-buttons {
        flex-direction: column;
    }
    .age-gate-enter, .age-gate-exit {
        width: 100%;
    }
    .static-page {
        padding: 0 0 20px;
    }
    .static-page-title {
        font-size: 1.2rem;
    }
    .info-tabs {
        margin-bottom: 20px;
        padding: 0 4px;
    }
    .info-tab {
        padding: 10px 12px;
        font-size: 0.72rem;
    }
}

@media (max-width: 400px) {
    .video-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    .header-inner {
        height: 50px;
    }
    .logo {
        font-size: 1.1rem;
    }
}

/* Scrollbar styling */
::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: var(--bg-primary);
}

::-webkit-scrollbar-thumb {
    background: #333;
    border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
    background: #555;
}
