/* Folgenp - xHamster Style Theme */

/* ========================================
   Reset & Base
======================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg-dark: #1b1b1b;
    --bg-sidebar: #111111;
    --bg-card: #242424;
    --bg-hover: #2d2d2d;
    --bg-header: #0d0d0d;
    --text-primary: #ffffff;
    --text-secondary: #a0a0a0;
    --text-muted: #666666;
    --accent-red: #ff4444;
    --accent-orange: #ff6633;
    --accent-gold: #ffc107;
    --border-color: #333333;
    --sidebar-width: 220px;
    --sidebar-width-collapsed: 220px;
    --sidebar-width-expanded: 220px;
    --header-height: 60px;
}

html {
    font-size: 14px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-primary);
    line-height: 1.5;
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s;
}

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

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

ul, ol {
    list-style: none;
}

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

/* ========================================
   Scrollbar
======================================== */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

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

::-webkit-scrollbar-thumb {
    background: #444;
    border-radius: 4px;
}

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

/* ========================================
   WordPress Admin Bar Fix
======================================== */
body.admin-bar .beeg-header {
    top: 32px;
}

body.admin-bar .beeg-sidebar {
    top: calc(32px + var(--header-height));
}

body.admin-bar .beeg-layout {
    padding-top: calc(var(--header-height) + 32px);
}

body.admin-bar .sidebar-toggle {
    top: calc(var(--header-height) + 32px + 1rem);
}

@media screen and (max-width: 782px) {
    body.admin-bar .beeg-header {
        top: 46px;
    }
    
    body.admin-bar .beeg-sidebar {
        top: calc(46px + var(--header-height));
    }
    
    body.admin-bar .beeg-layout {
        padding-top: calc(var(--header-height) + 46px);
    }
    
    body.admin-bar .sidebar-toggle {
        top: calc(var(--header-height) + 46px + 1rem);
    }
}

/* ========================================
   Header - xHamster Style
======================================== */
.beeg-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--header-height);
    background: var(--bg-header);
    border-bottom: 1px solid #222;
    z-index: 1000;
}

.beeg-header__inner {
    display: flex;
    align-items: center;
    height: 100%;
    padding: 0 20px;
    gap: 20px;
    max-width: 100%;
}

/* Logo */
.beeg-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-primary);
    flex-shrink: 0;
    width: auto;
    padding-left: 10px;
}

.beeg-logo__img {
    max-height: 36px;
    width: auto;
    object-fit: contain;
}

.beeg-logo span {
    color: var(--accent-red);
}

/* Search */
.beeg-search {
    flex: 1;
    max-width: 560px;
    position: relative;
    display: flex;
}

.beeg-search input {
    width: 100%;
    padding: 14px 56px 14px 20px;
    background: linear-gradient(135deg, #1e1e1e 0%, #252525 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 28px;
    color: var(--text-primary);
    font-size: 0.95rem;
    transition: all 0.3s ease;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.2);
}

.beeg-search input:focus {
    outline: none;
    border-color: var(--accent-red);
    background: linear-gradient(135deg, #222 0%, #2a2a2a 100%);
    box-shadow: 0 0 0 3px rgba(230, 57, 70, 0.15), inset 0 2px 4px rgba(0, 0, 0, 0.2);
}

.beeg-search input::placeholder {
    color: #666;
    font-weight: 400;
}

.beeg-search i {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
}

.beeg-search__btn {
    position: absolute;
    right: 5px;
    top: 50%;
    transform: translateY(-50%);
    width: 42px;
    height: 42px;
    background: linear-gradient(135deg, var(--accent-red) 0%, #c0392b 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(230, 57, 70, 0.3);
}

.beeg-search__btn:hover {
    background: linear-gradient(135deg, #ff4757 0%, var(--accent-red) 100%);
    transform: translateY(-50%) scale(1.05);
    box-shadow: 0 6px 16px rgba(230, 57, 70, 0.4);
}

.beeg-search__btn i {
    position: static;
    transform: none;
    color: white;
    font-size: 0.95rem;
}

/* Header Nav */
.beeg-header__nav {
    display: flex;
    align-items: center;
    gap: 4px;
}

.beeg-header__nav a {
    padding: 8px 14px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-secondary);
    border-radius: 4px;
    transition: all 0.2s;
    white-space: nowrap;
}

.beeg-header__nav a:hover {
    color: var(--text-primary);
    background: rgba(255,255,255,0.05);
}

.beeg-header__nav a.active {
    color: var(--text-primary);
}

.beeg-header__nav a.premium {
    color: var(--accent-gold);
}

.beeg-header__nav a .badge {
    background: var(--accent-red);
    color: white;
    font-size: 0.65rem;
    padding: 2px 5px;
    border-radius: 3px;
    margin-left: 4px;
}

/* Header Actions */
.beeg-header__actions {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-left: auto;
}

.beeg-header__user {
    color: var(--text-secondary);
    font-size: 1.2rem;
    padding: 8px;
}

.beeg-header__user:hover {
    color: var(--text-primary);
}

.beeg-header__btn {
    padding: 8px 16px;
    border-radius: 4px;
    font-size: 0.9rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s;
}

.beeg-header__btn--login {
    color: var(--text-secondary);
}

.beeg-header__btn--login:hover {
    color: var(--text-primary);
}

.beeg-header__btn--signup {
    background: var(--accent-red);
    color: white;
}

.beeg-header__btn--signup:hover {
    background: #ff3333;
    color: white;
}

/* ========================================
   Layout
======================================== */
.beeg-layout {
    display: flex;
    padding-top: var(--header-height);
    min-height: 100vh;
}

/* ========================================
   Sidebar - xHamster Style
======================================== */
.beeg-sidebar {
    position: fixed;
    top: var(--header-height);
    left: 0;
    width: var(--sidebar-width);
    height: calc(100vh - var(--header-height));
    background: var(--bg-sidebar);
    border-right: 1px solid #222;
    overflow-y: auto;
    overflow-x: hidden;
    z-index: 900;
    padding: 15px 0;
    transition: transform 0.3s, width 0.3s;
}

.sidebar-nav {
    padding: 0 8px;
}

.sidebar-nav__section {
    margin-bottom: 20px;
}

.sidebar-nav__title {
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
    padding: 0 12px;
}

.sidebar-nav__link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    color: var(--text-secondary);
    font-size: 0.9rem;
    border-radius: 6px;
    transition: all 0.2s;
}

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

.sidebar-nav__link.active {
    background: rgba(255, 68, 68, 0.1);
    color: var(--accent-red);
}

.sidebar-nav__link i {
    width: 20px;
    font-size: 1rem;
    text-align: center;
}

.sidebar-nav__link .badge {
    margin-left: auto;
    background: var(--accent-red);
    color: white;
    font-size: 0.65rem;
    padding: 2px 6px;
    border-radius: 10px;
}

/* Sidebar Category Filter */
.sidebar-filter {
    padding: 0 12px;
    margin-bottom: 10px;
}

.sidebar-filter input {
    width: 100%;
    padding: 8px 12px;
    background: rgba(255,255,255,0.05);
    border: 1px solid #333;
    border-radius: 4px;
    color: var(--text-primary);
    font-size: 0.85rem;
}

.sidebar-filter input:focus {
    outline: none;
    border-color: #444;
}

.sidebar-filter input::placeholder {
    color: var(--text-muted);
}

/* Category List */
.sidebar-categories {
    max-height: 400px;
    overflow-y: auto;
    padding: 0 8px;
}

.category-link {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    color: var(--text-secondary);
    font-size: 0.85rem;
    border-radius: 4px;
    transition: all 0.15s;
}

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

.category-link img {
    width: 18px;
    height: 14px;
    border-radius: 2px;
}

.category-link .count {
    margin-left: auto;
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* ========================================
   Main Content
======================================== */
.beeg-main {
    flex: 1;
    margin-left: var(--sidebar-width);
    padding: 20px 25px;
    min-width: 0;
}

/* Page Header */
.page-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #333;
}

.page-header__title {
    font-size: 1.4rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
}

.page-header__title i {
    color: var(--accent-red);
}

/* Filter Bar */
.filter-bar {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 20px;
}

.filter-btn {
    padding: 8px 16px;
    background: rgba(255,255,255,0.05);
    border: 1px solid transparent;
    border-radius: 20px;
    color: var(--text-secondary);
    font-size: 0.85rem;
    font-weight: 500;
    transition: all 0.2s;
}

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

.filter-btn.active {
    background: var(--accent-red);
    color: white;
}

.filter-bar select {
    padding: 8px 32px 8px 12px;
    background: var(--bg-card);
    border: 1px solid #333;
    border-radius: 6px;
    color: var(--text-primary);
    font-size: 0.9rem;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%23888' viewBox='0 0 16 16'%3E%3Cpath d='M8 11L3 6h10l-5 5z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 10px center;
    cursor: pointer;
}

.filter-bar select:focus {
    outline: none;
    border-color: #444;
}

/* ========================================
   Video Grid - xHamster Style
======================================== */
.videos-grid,
.beeg-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

@media (max-width: 1600px) {
    .videos-grid,
    .beeg-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 1400px) {
    .videos-grid,
    .beeg-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 1100px) {
    .videos-grid,
    .beeg-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ========================================
   Video Card - xHamster Style
======================================== */
.video-card {
    background: transparent;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.2s;
}

/* Hide video icon on cards */
.video-card > .fas.fa-video,
.video-card > i.fa-video,
.video-card__info > .fas.fa-video,
.video-card__info > i.fa-video,
.video-card .fa-video-camera {
    display: none !important;
}

/* Hide broken images - show nothing instead of alt text */
.video-card__channel-avatar {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    object-fit: cover;
}

.video-card__channel-avatar[alt]::before {
    display: none;
}

/* Hide broken images entirely */
.video-card__channel img:not([src]),
.video-card__channel img[src=""],
.video-card__models img:not([src]),
.video-card__models img[src=""] {
    display: none;
}

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

.video-card__thumb {
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: 8px;
    background: #1a1a1a;
}

.video-card__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s, opacity 0.3s;
}

.video-card:hover .video-card__thumb img {
    transform: scale(1.05);
}

/* Video Preview on Hover */
.video-card__preview {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.3s;
    background: #000;
    pointer-events: none;
    z-index: 2;
}

.video-card.previewing .video-card__thumb img {
    opacity: 0;
}

.video-card.previewing .video-card__preview {
    opacity: 1;
}

/* Hide video controls on preview */
.video-card__preview::-webkit-media-controls {
    display: none !important;
}

.video-card__preview::-webkit-media-controls-enclosure {
    display: none !important;
}

.video-card__preview::-webkit-media-controls-panel {
    display: none !important;
}

/* Duration Badge */
.video-card__duration {
    position: absolute;
    bottom: 8px;
    right: 8px;
    background: rgba(0, 0, 0, 0.85);
    color: white;
    padding: 3px 6px;
    border-radius: 3px;
    font-size: 0.75rem;
    font-weight: 600;
}

/* Quality Badges */
.video-card__badges {
    position: absolute;
    bottom: 8px;
    left: 8px;
    display: flex;
    gap: 4px;
}

.video-card__badge {
    padding: 3px 6px;
    border-radius: 3px;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
}

.video-card__badge--4k {
    background: linear-gradient(135deg, #ffd700, #ff8c00);
    color: #000;
}

.video-card__badge--hd {
    background: rgba(255,255,255,0.2);
    color: white;
}

.video-card__badge--vr {
    background: #9c27b0;
    color: white;
}

/* Video Info */
.video-card__info {
    padding: 10px 4px;
}

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

.video-card:hover .video-card__title {
    color: var(--accent-red);
}

.video-card__meta {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8rem;
    color: var(--text-muted);
}

.video-card__channel {
    display: flex;
    align-items: center;
    gap: 6px;
}

.video-card__channel-avatar {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    object-fit: cover;
}

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

.video-card__channel-name:hover {
    color: var(--text-primary);
}

.video-card__stats {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-muted);
}

.video-card__stats span {
    display: flex;
    align-items: center;
    gap: 4px;
}

/* Models as links under video */
.video-card__models {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-top: 4px;
    font-size: 0.8rem;
}

.video-card__models a {
    color: var(--text-secondary);
}

.video-card__models a:hover {
    color: var(--accent-red);
}

/* ========================================
   Archive Header
======================================== */
.archive-header {
    margin-bottom: 24px;
}

.archive-header h1 {
    font-size: 28px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.archive-header p {
    font-size: 14px;
    color: var(--text-secondary);
}

/* ========================================
   Models Filters
======================================== */
.models-filters {
    margin-bottom: 24px;
}

.models-filter-form {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    align-items: center;
}

.models-search-inline {
    position: relative;
    flex: 1;
    min-width: 200px;
    max-width: 300px;
}

.models-search-inline i {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    font-size: 14px;
}

.models-search-inline input {
    width: 100%;
    padding: 10px 12px 10px 36px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-primary);
    font-size: 14px;
    outline: none;
    transition: border-color 0.2s;
}

.models-search-inline input:focus {
    border-color: var(--accent-red);
}

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

.models-sort select {
    padding: 10px 32px 10px 12px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-primary);
    font-size: 14px;
    cursor: pointer;
    outline: none;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23666'%3E%3Cpath d='M7 10l5 5 5-5z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 8px center;
    background-size: 20px;
}

.models-sort select:focus {
    border-color: var(--accent-red);
}

/* ========================================
   Models/Creators Grid
======================================== */
.models-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
}

@media (max-width: 1400px) {
    .models-grid {
        grid-template-columns: repeat(5, 1fr);
    }
}

@media (max-width: 1100px) {
    .models-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 768px) {
    .models-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    /* Model Profile Header Mobile */
    .model-profile-header {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 20px;
        gap: 20px;
    }
    
    .model-profile-avatar {
        width: 150px;
        height: 150px;
    }
    
    .model-profile-header__top {
        flex-direction: column;
        gap: 12px;
    }
    
    .model-profile-name {
        font-size: 1.5rem;
    }
    
    .model-profile-stats {
        justify-content: center;
        gap: 20px;
    }
    
    .model-profile-stat__value {
        font-size: 1.25rem;
    }
    
    .model-profile-social {
        justify-content: center;
    }
    
    .model-view-toggle {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .models-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .model-profile-avatar {
        width: 120px;
        height: 120px;
    }
    
    .model-profile-name {
        font-size: 1.3rem;
    }
    
    .model-profile-stats {
        gap: 16px;
    }
    
    .model-profile-stat__value {
        font-size: 1.1rem;
    }
    
    .model-follow-btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    
    .model-view-btn {
        padding: 10px 16px;
        font-size: 0.9rem;
    }
}

.model-card {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 16px;
    background: var(--bg-card);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.model-card:hover {
    background: var(--bg-hover);
}

.model-card__avatar {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 12px;
    border: 3px solid var(--border-color);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.model-card:hover .model-card__avatar {
    border-radius: 12px;
    border-color: var(--accent-red);
    transform: scale(1.08);
    box-shadow: 0 8px 24px rgba(255, 68, 68, 0.3);
}

.model-card__thumb {
    position: relative;
    width: 100%;
    aspect-ratio: 1;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 10px;
    background: var(--bg-card);
}

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

.model-card:hover .model-card__thumb img {
    transform: scale(1.05);
}

.model-card__badge {
    position: absolute;
    top: 8px;
    right: 8px;
    background: rgba(0,0,0,0.7);
    color: white;
    font-size: 0.7rem;
    padding: 3px 8px;
    border-radius: 4px;
}

.model-card__name {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.model-card:hover .model-card__name {
    color: var(--accent-red);
}

.model-card__videos {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* ========================================
   Pagination - xHamster Style
======================================== */
.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-top: 30px;
    padding: 20px 0;
}

.pagination a,
.pagination span {
    min-width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-card);
    border: 1px solid #333;
    border-radius: 6px;
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.2s;
}

.pagination a:hover {
    background: var(--bg-hover);
    color: var(--text-primary);
    border-color: #444;
}

.pagination .current {
    background: var(--accent-red);
    border-color: var(--accent-red);
    color: white;
}

.pagination .next,
.pagination .prev {
    background: var(--accent-red);
    border-color: var(--accent-red);
    color: white;
    padding: 0 20px;
    gap: 6px;
}

.pagination .next:hover,
.pagination .prev:hover {
    background: #ff3333;
}

.pagination .dots {
    background: transparent;
    border: none;
    color: var(--text-muted);
}

/* ========================================
   Single Video Page
======================================== */
.video-single {
    max-width: 1400px;
}

.video-player-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #000;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 20px;
}

.video-player-wrapper video,
.video-player-wrapper iframe {
    width: 100%;
    height: 100%;
}

.video-embed-container {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
}

.video-embed-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Plyr customization */
.plyr--video {
    border-radius: 8px;
}

.plyr--full-ui input[type=range] {
    color: var(--accent-red);
}

.plyr__control--overlaid {
    background: var(--accent-red);
}

.plyr__control--overlaid:hover {
    background: #ff3333;
}

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

.video-title {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 12px;
    line-height: 1.3;
}

.video-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 16px;
}

.video-meta span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.video-meta i {
    color: var(--text-muted);
}

/* Video Actions */
.video-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 0;
    border-top: 1px solid #333;
    border-bottom: 1px solid #333;
    flex-wrap: wrap;
}

.action-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    background: var(--bg-card);
    border: 1px solid #333;
    border-radius: 6px;
    color: var(--text-secondary);
    font-size: 0.9rem;
    transition: all 0.2s;
}

.action-btn:hover {
    background: var(--bg-hover);
    color: var(--text-primary);
}

.action-btn.liked,
.action-btn.active {
    background: rgba(255, 68, 68, 0.1);
    border-color: var(--accent-red);
    color: var(--accent-red);
}

.action-btn i {
    font-size: 1rem;
}

/* Model Info on Video Page */
.video-model-section {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px 0;
    border-bottom: 1px solid #333;
}

.video-model-avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #333;
}

.video-model-details {
    flex: 1;
}

.video-model-name {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 4px;
}

.video-model-name a:hover {
    color: var(--accent-red);
}

.video-model-stats {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.follow-btn {
    padding: 10px 24px;
    background: var(--accent-red);
    color: white;
    border-radius: 6px;
    font-weight: 600;
    transition: background 0.2s;
}

.follow-btn:hover {
    background: #ff3333;
    color: white;
}

/* Tags */
.video-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 16px 0;
}

.video-tags a {
    padding: 6px 12px;
    background: var(--bg-card);
    border: 1px solid #333;
    border-radius: 4px;
    color: var(--text-secondary);
    font-size: 0.85rem;
    transition: all 0.2s;
}

.video-tags a:hover {
    background: var(--bg-hover);
    color: var(--text-primary);
    border-color: #444;
}

/* Related Videos */
.related-videos {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #333;
}

.related-videos__title {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 16px;
}

/* ========================================
   Model/Channel Page
======================================== */
.model-header {
    display: flex;
    align-items: flex-start;
    gap: 24px;
    padding: 24px;
    background: var(--bg-card);
    border-radius: 12px;
    margin-bottom: 24px;
}

/* Model Profile Header - New Design */
.model-profile-header {
    display: flex;
    gap: 30px;
    padding: 30px;
    background: linear-gradient(135deg, var(--bg-card) 0%, rgba(30,30,30,0.8) 100%);
    border-radius: 16px;
    margin-bottom: 24px;
    border: 1px solid rgba(255,255,255,0.05);
}

.model-profile-header__left {
    flex-shrink: 0;
}

.model-profile-avatar {
    width: 200px;
    height: 200px;
    border-radius: 16px;
    object-fit: cover;
    border: 3px solid var(--accent-red);
    box-shadow: 0 8px 32px rgba(0,0,0,0.4);
}

.model-profile-header__right {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.model-profile-header__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

.model-profile-name {
    font-size: 2rem;
    font-weight: 700;
    margin: 0;
    color: var(--text-primary);
}

/* Follow Button */
.model-follow-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    background: var(--accent-red);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.model-follow-btn:hover {
    background: #ff3355;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255,51,85,0.4);
}

.model-follow-btn.following {
    background: transparent;
    border: 2px solid var(--accent-red);
    color: var(--accent-red);
}

.model-follow-btn.following:hover {
    background: rgba(255,51,85,0.1);
    transform: translateY(-2px);
}

.model-follow-btn i {
    font-size: 0.9rem;
}

/* Profile Stats */
.model-profile-stats {
    display: flex;
    gap: 32px;
    flex-wrap: wrap;
}

.model-profile-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.model-profile-stat__value {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent-red);
}

.model-profile-stat__label {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Bio */
.model-profile-bio {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.7;
    max-width: 600px;
}

/* Social Links */
.model-profile-social {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.model-profile-social__link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(255,255,255,0.05);
    border-radius: 20px;
    color: var(--text-secondary);
    font-size: 0.9rem;
    transition: all 0.2s;
}

.model-profile-social__link:hover {
    background: rgba(255,255,255,0.1);
    color: var(--text-primary);
}

.model-profile-social__link--instagram:hover {
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
    color: white;
}

.model-profile-social__link--twitter:hover {
    background: #1da1f2;
    color: white;
}

.model-profile-social__link i {
    font-size: 1.1rem;
}

/* View Toggle */
.model-view-toggle {
    display: flex;
    gap: 4px;
    margin-bottom: 24px;
    background: var(--bg-card);
    padding: 6px;
    border-radius: 10px;
    width: fit-content;
}

.model-view-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    color: var(--text-secondary);
    font-weight: 500;
    border-radius: 8px;
    transition: all 0.2s;
}

.model-view-btn:hover {
    color: var(--text-primary);
    background: rgba(255,255,255,0.05);
}

.model-view-btn.active {
    background: var(--accent-red);
    color: white;
}

.model-view-btn i {
    font-size: 0.9rem;
}

/* Legacy styles */
.model-avatar {
    width: 150px;
    height: 150px;
    border-radius: 12px;
    object-fit: cover;
    flex-shrink: 0;
}

.model-info {
    flex: 1;
}

.model-name {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.model-stats {
    display: flex;
    gap: 24px;
    margin-bottom: 16px;
}

.model-stat {
    text-align: center;
}

.model-stat__value {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent-red);
}

.model-stat__label {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-transform: uppercase;
}

.model-bio {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Profile Tabs */
.profile-tabs {
    display: flex;
    gap: 4px;
    margin-bottom: 20px;
    border-bottom: 1px solid #333;
}

.profile-tab {
    padding: 12px 20px;
    color: var(--text-secondary);
    font-weight: 500;
    border-bottom: 2px solid transparent;
    margin-bottom: -1px;
    transition: all 0.2s;
}

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

.profile-tab.active {
    color: var(--accent-red);
    border-bottom-color: var(--accent-red);
}

/* ========================================
   Footer - xHamster Style
======================================== */
.beeg-footer {
    background: var(--bg-header);
    border-top: 1px solid #222;
    padding: 40px 0 20px;
    margin-left: var(--sidebar-width);
    margin-top: 60px;
}

.beeg-footer__inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 25px;
}

.beeg-footer__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    margin-bottom: 40px;
}

.beeg-footer__col h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.beeg-footer__col a {
    display: block;
    padding: 6px 0;
    color: var(--text-muted);
    font-size: 0.9rem;
    transition: color 0.2s;
}

.beeg-footer__col a:hover {
    color: var(--text-primary);
}

.beeg-footer__bottom {
    padding-top: 20px;
    border-top: 1px solid #222;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.85rem;
}

/* ========================================
   Comments
======================================== */
.comments-section {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #333;
}

.comments-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.comment {
    display: flex;
    gap: 12px;
    padding: 16px 0;
    border-bottom: 1px solid #2a2a2a;
}

.comment__avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

.comment__content {
    flex: 1;
}

.comment__header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 6px;
}

.comment__author {
    font-weight: 600;
    font-size: 0.9rem;
}

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

.comment__text {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* Comment Form */
.comment-form {
    margin-bottom: 24px;
}

.comment-form textarea {
    width: 100%;
    padding: 12px 16px;
    background: var(--bg-card);
    border: 1px solid #333;
    border-radius: 8px;
    color: var(--text-primary);
    font-size: 0.9rem;
    resize: vertical;
    min-height: 80px;
    margin-bottom: 12px;
}

.comment-form textarea:focus {
    outline: none;
    border-color: var(--accent-red);
}

.comment-form button {
    padding: 12px 24px;
    background: var(--accent-red);
    color: white;
    border-radius: 8px;
    font-weight: 600;
}

.comment-form button:hover {
    background: #ff3333;
}

/* ts-comment styles */
.ts-comment {
    display: flex;
    gap: 12px;
    padding: 16px 0;
    border-bottom: 1px solid #2a2a2a;
}

.ts-comment__body {
    flex: 1;
}

.ts-comment__header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 6px;
}

.ts-comment__avatar img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
}

.ts-comment__author {
    font-weight: 600;
    font-size: 0.9rem;
}

.ts-comment__author a {
    color: var(--text-primary);
}

.ts-comment__op-badge {
    background: var(--accent-red);
    color: white;
    font-size: 0.65rem;
    padding: 2px 6px;
    border-radius: 3px;
    margin-left: 6px;
}

.ts-comment__date {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.ts-comment__content {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.5;
    margin-bottom: 8px;
}

.ts-comment__footer {
    display: flex;
    gap: 16px;
}

.ts-comment__action {
    font-size: 0.8rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
}

.ts-comment__action:hover {
    color: var(--text-primary);
}

/* ========================================
   Search Results
======================================== */
.search-results {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg-card);
    border: 1px solid #333;
    border-radius: 8px;
    margin-top: 4px;
    max-height: 400px;
    overflow-y: auto;
    z-index: 100;
    display: none;
}

.search-results.active {
    display: block;
}

.search-result {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    transition: background 0.15s;
}

.search-result:hover {
    background: var(--bg-hover);
}

.search-result__thumb {
    width: 80px;
    height: 45px;
    border-radius: 4px;
    object-fit: cover;
    flex-shrink: 0;
}

.search-result__info {
    flex: 1;
    min-width: 0;
}

.search-result__title {
    font-size: 0.9rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.search-result__meta {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* ========================================
   Gallery
======================================== */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}

.gallery-item {
    aspect-ratio: 1;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
}

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

.gallery-item:hover img {
    transform: scale(1.05);
}

@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 480px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Lightbox */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.95);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
}

.lightbox.active {
    opacity: 1;
    visibility: visible;
}

.lightbox__close {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 2rem;
    color: white;
    cursor: pointer;
}

.lightbox__image {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
}

/* ========================================
   Account Pages
======================================== */
.account-container {
    max-width: 500px;
    margin: 40px auto;
    padding: 0 20px;
}

.account-card {
    background: var(--bg-card);
    border-radius: 12px;
    padding: 32px;
}

.account-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 24px;
    text-align: center;
}

.account-form .form-group {
    margin-bottom: 20px;
}

.account-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--text-secondary);
}

.account-form input {
    width: 100%;
    padding: 12px 16px;
    background: var(--bg-dark);
    border: 1px solid #333;
    border-radius: 8px;
    color: var(--text-primary);
    font-size: 1rem;
}

.account-form input:focus {
    outline: none;
    border-color: var(--accent-red);
}

.account-form button[type="submit"] {
    width: 100%;
    padding: 14px;
    background: var(--accent-red);
    color: white;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    margin-top: 8px;
    border: none;
    cursor: pointer;
}

.account-form button[type="submit"]:hover {
    background: #ff3333;
}

.account-links {
    text-align: center;
    margin-top: 20px;
    color: var(--text-muted);
}

.account-links a {
    color: var(--accent-red);
}

/* ========================================
   Empty State
======================================== */
.empty-state {
    text-align: center;
    padding: 60px 20px;
    color: var(--text-muted);
}

.empty-state i {
    font-size: 3rem;
    margin-bottom: 16px;
    opacity: 0.5;
}

.empty-state h3 {
    font-size: 1.2rem;
    margin-bottom: 8px;
    color: var(--text-secondary);
}

/* ========================================
   Loading & Infinite Scroll
======================================== */
.infinite-scroll-loader {
    text-align: center;
    padding: 30px;
    color: var(--text-muted);
}

.infinite-scroll-loader i {
    font-size: 1.5rem;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    100% { transform: rotate(360deg); }
}

.skeleton {
    background: linear-gradient(90deg, #2a2a2a 0%, #333 50%, #2a2a2a 100%);
    background-size: 200% 100%;
    animation: skeleton-loading 1.5s infinite;
    border-radius: 4px;
}

@keyframes skeleton-loading {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* ========================================
   Mobile Toggle
======================================== */
.sidebar-toggle {
    display: none;
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background: var(--accent-red);
    border-radius: 50%;
    color: white;
    font-size: 1.2rem;
    z-index: 1001;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
    align-items: center;
    justify-content: center;
}

.sidebar-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.5);
    z-index: 899;
}

.sidebar-overlay.active {
    display: block;
}

/* ========================================
   Toast Notifications
======================================== */
.toast {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    padding: 12px 24px;
    background: var(--bg-card);
    border: 1px solid #333;
    border-radius: 8px;
    color: var(--text-primary);
    font-size: 0.9rem;
    z-index: 9999;
    animation: toast-in 0.3s;
}

@keyframes toast-in {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}

/* ========================================
   Mobile Responsive
======================================== */
@media (max-width: 1024px) {
    .beeg-sidebar {
        transform: translateX(-100%);
    }
    
    .beeg-sidebar.open {
        transform: translateX(0);
    }
    
    .beeg-main {
        margin-left: 0;
    }
    
    .beeg-footer {
        margin-left: 0;
    }
    
    .beeg-header__nav {
        display: none;
    }
    
    .sidebar-toggle {
        display: flex;
    }
}

@media (max-width: 768px) {
    .beeg-header__inner {
        padding: 0 12px;
        gap: 12px;
    }
    
    .beeg-search {
        max-width: none;
        flex: 1;
    }
    
    .beeg-search input {
        padding: 12px 50px 12px 16px;
        font-size: 0.9rem;
    }
    
    .beeg-search__btn {
        width: 36px;
        height: 36px;
    }
    
    .beeg-search__btn i {
        font-size: 0.85rem;
    }
    
    .beeg-main {
        padding: 15px;
    }
    
    .videos-grid,
    .beeg-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    
    .beeg-footer__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
    
    .model-header {
        flex-direction: column;
        text-align: center;
    }
    
    .model-stats {
        justify-content: center;
    }
    
    .video-actions {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .beeg-logo span {
        display: none;
    }
    
    .videos-grid,
    .beeg-grid {
        grid-template-columns: 1fr;
    }
    
    .beeg-footer__grid {
        grid-template-columns: 1fr;
    }
    
    .video-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
}

/* ========================================
   Print Styles
======================================== */
@media print {
    .beeg-header,
    .beeg-sidebar,
    .beeg-footer,
    .sidebar-toggle {
        display: none !important;
    }
    
    .beeg-main {
        margin-left: 0 !important;
    }
}

/* ========================================
   Utility Classes
======================================== */
.text-red { color: var(--accent-red); }
.text-gold { color: var(--accent-gold); }
.text-muted { color: var(--text-muted); }
.bg-card { background: var(--bg-card); }
.rounded { border-radius: 8px; }
.shadow { box-shadow: 0 4px 12px rgba(0,0,0,0.3); }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }

/* ========================================
   Top Blur Section - xHamster Style
======================================== */
.top-blur-section {
    margin-bottom: 24px;
}

/* ========================================
   Models Row - xHamster Style
======================================== */
.models-row {
    padding: 16px 0;
    overflow: hidden;
}

.models-row__inner {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding-bottom: 8px;
}

.models-row__inner::-webkit-scrollbar {
    display: none;
}

.model-avatar-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
    text-decoration: none;
}

.model-avatar-link__img {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid transparent;
    transition: all 0.2s;
}

.model-avatar-link:hover .model-avatar-link__img {
    border-color: var(--accent-red);
    transform: scale(1.05);
}

.model-avatar-link__name {
    font-size: 11px;
    color: var(--text-secondary);
    text-align: center;
    max-width: 64px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.model-avatar-link:hover .model-avatar-link__name {
    color: var(--text-primary);
}

/* ========================================
   Channels Row - xHamster Style
======================================== */
.channels-row {
    padding: 8px 0 16px;
    overflow: hidden;
}

.channels-row__inner {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.channels-row__inner::-webkit-scrollbar {
    display: none;
}

.channel-pill {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    background: var(--bg-card);
    border-radius: 20px;
    flex-shrink: 0;
    transition: all 0.2s;
}

.channel-pill:hover {
    background: var(--bg-hover);
    color: var(--text-primary);
}

.channel-pill__logo {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    object-fit: cover;
}

.channel-pill__initial {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--accent-red);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    font-weight: 600;
    color: white;
}

.channel-pill__name {
    font-size: 13px;
    color: var(--text-secondary);
    white-space: nowrap;
}

.channel-pill:hover .channel-pill__name {
    color: var(--text-primary);
}

/* ========================================
   Category Pills Row - xHamster Style
======================================== */
.category-pills {
    padding: 8px 0;
    overflow: hidden;
    margin-bottom: 16px;
}

.category-pills__inner {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.category-pills__inner::-webkit-scrollbar {
    display: none;
}

.category-pill {
    padding: 8px 16px;
    background: var(--bg-card);
    border-radius: 20px;
    font-size: 13px;
    color: var(--text-secondary);
    white-space: nowrap;
    flex-shrink: 0;
    transition: all 0.2s;
}

.category-pill:hover {
    background: var(--bg-hover);
    color: var(--text-primary);
}

.category-pill.active {
    background: var(--accent-red);
    color: white;
}

/* ========================================
   Pagination - xHamster Style
======================================== */
.beeg-pagination {
    display: flex;
    justify-content: center;
    padding: 32px 0;
}

.beeg-pagination ul {
    display: flex;
    gap: 8px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.beeg-pagination li a,
.beeg-pagination li span {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    background: var(--bg-card);
    border-radius: 8px;
    color: var(--text-secondary);
    font-size: 14px;
    transition: all 0.2s;
}

.beeg-pagination li a:hover {
    background: var(--bg-hover);
    color: var(--text-primary);
}

.beeg-pagination li span.current {
    background: var(--accent-red);
    color: white;
}

.beeg-pagination li.dots span {
    background: transparent;
}

/* ========================================
   Empty State - xHamster Style
======================================== */
.beeg-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 80px 20px;
    text-align: center;
    color: var(--text-muted);
}

.beeg-empty i {
    font-size: 64px;
    margin-bottom: 24px;
    opacity: 0.5;
}

.beeg-empty h3 {
    font-size: 24px;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.beeg-empty p {
    font-size: 14px;
}

/* ========================================
   SEO Content Section
======================================== */
.seo-content {
    margin-top: 48px;
    padding: 32px;
    background: var(--bg-card);
    border-radius: 12px;
}

.seo-content__inner {
    max-width: 900px;
}

.seo-content h2 {
    font-size: 20px;
    color: var(--text-primary);
    margin-bottom: 16px;
}

.seo-content h3 {
    font-size: 16px;
    color: var(--text-primary);
    margin: 24px 0 12px;
}

.seo-content p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 12px;
}

.seo-content ul {
    margin: 12px 0;
    padding-left: 20px;
}

.seo-content li {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.8;
    list-style: disc;
}

.seo-content strong {
    color: var(--text-primary);
}

.seo-content__cta {
    margin-top: 24px;
    padding: 16px;
    background: rgba(255, 68, 68, 0.1);
    border-radius: 8px;
    border-left: 3px solid var(--accent-red);
}

/* ========================================
   Related Videos Section
======================================== */
.related-videos {
    margin-top: 32px;
}

.section-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 16px;
}

/* ========================================
   Single Video Page - xHamster Style
======================================== */
.single-video {
    max-width: 100%;
}

.video-player-wrapper {
    background: #000;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 20px;
    position: relative;
    aspect-ratio: 16/9;
}

.video-player-wrapper video:not(.ts-video),
.video-player-wrapper .plyr {
    width: 100%;
    height: 100%;
}

/* Plyr Controls Fix */
.video-player-wrapper .plyr__controls {
    z-index: 10;
    opacity: 1;
}

.video-player-wrapper .plyr:hover .plyr__controls {
    opacity: 1;
}

.video-player-wrapper .plyr__control {
    color: #fff;
}

.video-player-wrapper .plyr__progress__buffer,
.video-player-wrapper .plyr__volume input[type=range] {
    background: rgba(255,255,255,0.3);
}

.video-player-wrapper .plyr--video .plyr__controls {
    background: linear-gradient(transparent, rgba(0,0,0,0.7));
    padding: 20px 10px 10px;
}

/* Embed Container */
.video-embed-container {
    position: relative;
    width: 100%;
    padding-top: 56.25%;
    background: #000;
    border-radius: 12px;
    overflow: hidden;
}

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

.video-info {
    margin-bottom: 20px;
}

.video-title {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 12px;
    line-height: 1.4;
}

.video-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    color: var(--text-secondary);
    font-size: 13px;
    margin-bottom: 16px;
}

.video-stats span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.video-stats i {
    color: var(--text-muted);
}

.video-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.video-action-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    background: var(--bg-card);
    border-radius: 8px;
    color: var(--text-secondary);
    font-size: 14px;
    transition: all 0.2s;
    cursor: pointer;
}

.video-action-btn:hover {
    background: var(--bg-hover);
    color: var(--text-primary);
}

.video-action-btn.liked,
.video-action-btn.active {
    background: var(--accent-red);
    color: white;
}

.video-action-btn.liked i,
.video-action-btn.active i {
    color: white;
}

/* Video Model Section */
.video-model-section {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 20px;
    padding: 16px 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.video-model-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 16px;
    background: var(--bg-card);
    border-radius: 24px;
    transition: all 0.2s;
}

.video-model-link:hover {
    background: var(--bg-hover);
}

.video-model-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
}

.video-model-initial {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--accent-red);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 600;
    color: white;
}

.video-model-name {
    font-size: 14px;
    color: var(--text-primary);
}

/* Video Tags */
.video-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}

.video-tags .category-pill {
    padding: 6px 12px;
    font-size: 12px;
}

/* Video Description */
.video-description {
    padding: 16px;
    background: var(--bg-card);
    border-radius: 8px;
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.7;
}

.video-description p {
    margin-bottom: 12px;
}

.video-description p:last-child {
    margin-bottom: 0;
}

/* ============================================
   TUBESITE CUSTOM VIDEO PLAYER
   ============================================ */

/* Custom player inside video-player wrapper */
.video-player-wrapper .ts-player {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    aspect-ratio: unset;
    border-radius: 0;
}

.ts-player {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #000;
    border-radius: 12px;
    overflow: hidden;
    user-select: none;
}

.ts-player.ts-fullscreen {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    z-index: 999999 !important;
    border-radius: 0 !important;
    aspect-ratio: unset !important;
}

.ts-video {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #000;
}

/* Loading Spinner */
.ts-loader {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: none;
    z-index: 10;
}

.ts-player.ts-loading .ts-loader {
    display: block;
}

.ts-spinner {
    width: 50px;
    height: 50px;
    border: 3px solid rgba(255, 255, 255, 0.2);
    border-top-color: var(--accent-red);
    border-radius: 50%;
    animation: ts-spin 0.8s linear infinite;
}

@keyframes ts-spin {
    to {
        transform: rotate(360deg);
    }
}

/* Play Overlay */
.ts-play-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.3);
    z-index: 5;
    transition: opacity 0.3s, visibility 0.3s;
}

.ts-player.ts-playing .ts-play-overlay,
.ts-player.ts-loading .ts-play-overlay {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.ts-big-play {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: rgba(255, 68, 68, 0.9);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s, background 0.2s;
}

.ts-big-play:hover {
    transform: scale(1.1);
    background: var(--accent-red);
}

.ts-big-play i {
    font-size: 32px;
    color: #fff;
    margin-left: 4px;
}

/* Controls Container */
.ts-controls {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    padding: 40px 16px 12px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
    z-index: 20;
}

.ts-player:hover .ts-controls,
.ts-player.ts-paused .ts-controls,
.ts-player:not(.ts-playing) .ts-controls,
.ts-player.ts-controls-visible .ts-controls {
    opacity: 1;
    visibility: visible;
}

/* Progress Bar */
.ts-progress-container {
    position: relative;
    margin-bottom: 12px;
    padding: 8px 0;
    cursor: pointer;
}

.ts-progress-bar {
    position: relative;
    height: 4px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 2px;
    transition: height 0.15s;
}

.ts-progress-container:hover .ts-progress-bar {
    height: 6px;
}

.ts-progress-buffered {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 2px;
    width: 0%;
}

.ts-progress-played {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    background: linear-gradient(90deg, var(--accent-red), var(--accent-orange));
    border-radius: 2px;
    width: 0%;
}

.ts-progress-handle {
    position: absolute;
    top: 50%;
    left: 0%;
    width: 14px;
    height: 14px;
    background: #fff;
    border-radius: 50%;
    transform: translate(-50%, -50%) scale(0);
    transition: transform 0.15s;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}

.ts-progress-container:hover .ts-progress-handle {
    transform: translate(-50%, -50%) scale(1);
}

/* Preview Tooltip */
.ts-preview-tooltip {
    position: absolute;
    bottom: 24px;
    left: 0;
    transform: translateX(-50%);
    display: none;
    flex-direction: column;
    align-items: center;
    pointer-events: none;
    z-index: 30;
}

.ts-progress-container:hover .ts-preview-tooltip {
    display: flex;
}

.ts-preview-thumb {
    width: 160px;
    height: 90px;
    background: #0a0a0a;
    border-radius: 6px;
    border: 2px solid rgba(255, 255, 255, 0.15);
    overflow: hidden;
    margin-bottom: 6px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.6);
}

.ts-preview-time {
    background: rgba(0, 0, 0, 0.9);
    color: #fff;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 600;
}

/* Bottom Controls */
.ts-controls-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.ts-controls-left,
.ts-controls-right {
    display: flex;
    align-items: center;
    gap: 4px;
}

/* Buttons */
.ts-btn {
    background: transparent;
    border: none;
    color: #fff;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border-radius: 8px;
    transition: background 0.2s;
    position: relative;
}

.ts-btn:hover {
    background: rgba(255, 255, 255, 0.1);
}

.ts-btn i {
    font-size: 16px;
}

.ts-skip-back,
.ts-skip-forward {
    font-size: 14px;
}

.ts-skip-back span,
.ts-skip-forward span {
    position: absolute;
    font-size: 9px;
    font-weight: 700;
}

/* Volume Control */
.ts-volume-control {
    display: flex;
    align-items: center;
    gap: 4px;
}

.ts-volume-slider {
    width: 0;
    height: 4px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 2px;
    overflow: hidden;
    transition: width 0.2s;
    cursor: pointer;
}

.ts-volume-control:hover .ts-volume-slider {
    width: 70px;
}

.ts-volume-level {
    height: 100%;
    background: #fff;
    width: 100%;
    border-radius: 2px;
}

/* Time Display */
.ts-time {
    color: #fff;
    font-size: 13px;
    font-weight: 500;
    margin-left: 8px;
    white-space: nowrap;
}

.ts-current-time {
    color: #fff;
}

.ts-duration {
    color: rgba(255, 255, 255, 0.6);
}

/* Settings Menu */
.ts-settings-menu {
    position: relative;
}

.ts-settings-panel {
    position: absolute;
    bottom: 50px;
    right: 0;
    background: rgba(20, 20, 20, 0.95);
    border-radius: 10px;
    padding: 12px;
    min-width: 180px;
    display: none;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.ts-settings-menu.ts-open .ts-settings-panel {
    display: block;
}

.ts-settings-group {
    margin-bottom: 12px;
}

.ts-settings-group:last-child {
    margin-bottom: 0;
}

.ts-settings-label {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

.ts-speed-options,
.ts-quality-options {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.ts-speed-options button,
.ts-quality-options button {
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: #fff;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 12px;
    cursor: pointer;
    transition: background 0.2s;
}

.ts-speed-options button:hover,
.ts-quality-options button:hover {
    background: rgba(255, 255, 255, 0.2);
}

.ts-speed-options button.ts-active,
.ts-quality-options button.ts-active {
    background: var(--accent-red);
}

/* Mobile Double Tap Seek Indicator */
.ts-seek-indicator {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    color: white;
    font-size: 14px;
    font-weight: 600;
    opacity: 0;
    transition: opacity 0.2s ease;
    pointer-events: none;
    z-index: 25;
}

.ts-seek-indicator.ts-show {
    opacity: 1;
}

.ts-seek-indicator i {
    font-size: 32px;
    animation: seekPulse 0.4s ease-out;
}

.ts-seek-left {
    left: 15%;
}

.ts-seek-right {
    right: 15%;
}

@keyframes seekPulse {
    0% {
        transform: scale(0.5);
        opacity: 0;
    }
    50% {
        transform: scale(1.2);
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

/* Fullscreen adjustments */
.ts-player.ts-fullscreen .ts-controls {
    padding: 60px 24px 20px;
}

.ts-player.ts-fullscreen .ts-btn {
    width: 48px;
    height: 48px;
}

.ts-player.ts-fullscreen .ts-btn i {
    font-size: 20px;
}

.ts-player.ts-fullscreen .ts-time {
    font-size: 15px;
}

.ts-player.ts-fullscreen .ts-preview-thumb {
    width: 200px;
    height: 112px;
}

/* iOS Video Fullscreen */
.ts-video::-webkit-media-controls {
    display: none !important;
}

/* Mobile Adjustments for Player */
@media (max-width: 640px) {
    .ts-controls {
        padding: 16px 8px 6px;
        background: linear-gradient(transparent, rgba(0, 0, 0, 0.6));
    }
    
    .ts-controls-bottom {
        padding: 0 4px;
        gap: 4px;
    }
    
    .ts-controls-left,
    .ts-controls-right {
        gap: 2px;
    }

    .ts-btn {
        width: 28px;
        height: 28px;
        min-width: 28px;
    }

    .ts-btn i {
        font-size: 11px;
    }
    
    .ts-skip-back,
    .ts-skip-forward {
        display: none !important;
    }
    
    .ts-time {
        font-size: 9px;
    }
    
    .ts-volume-slider {
        display: none;
    }
    
    .ts-progress-container {
        padding: 16px 0 12px;
        margin-bottom: 4px;
        touch-action: none;
    }
}

/* ========================================
   Categories Page
======================================== */
.categories-page {
    padding-bottom: 40px;
}

.archive-hero--categories {
    padding: 30px 0;
    margin-bottom: 30px;
}

.archive-hero__eyebrow {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 12px;
}

.archive-hero__eyebrow a {
    color: var(--text-muted);
    transition: color 0.2s;
}

.archive-hero__eyebrow a:hover {
    color: var(--accent-red);
}

.archive-hero__eyebrow .sep {
    color: var(--text-muted);
    opacity: 0.5;
}

.archive-hero__eyebrow .current {
    color: var(--text-secondary);
}

.archive-hero__title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.archive-hero__subtitle {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.6;
    max-width: 800px;
}

.archive-hero__highlight {
    color: var(--accent-red);
    font-weight: 600;
}

.categories-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Category Grid */
.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
}

.category-card {
    position: relative;
    display: block;
    border-radius: 12px;
    overflow: hidden;
    background: var(--bg-card);
    transition: all 0.3s ease;
}

.category-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.category-card__thumb {
    aspect-ratio: 16/10;
    background-size: cover;
    background-position: center;
    background-color: var(--bg-hover);
    position: relative;
}

.category-card__thumb::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, transparent 60%);
}

.category-card:hover .category-card__thumb::after {
    background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.2) 100%);
}

.category-card__body {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 16px;
    z-index: 2;
}

.category-card__body h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: white;
    margin-bottom: 4px;
    line-height: 1.3;
}

.category-card__body .count {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.7);
}

/* Responsive */
@media (max-width: 768px) {
    .category-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 12px;
    }
    
    .archive-hero__title {
        font-size: 1.5rem;
    }
    
    .archive-hero__subtitle {
        font-size: 0.9rem;
    }
    
    .category-card__body {
        padding: 12px;
    }
    
    .category-card__body h3 {
        font-size: 0.95rem;
    }
}

@media (max-width: 480px) {
    .category-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    
    .category-card__body h3 {
        font-size: 0.85rem;
    }
}

/* ========================================
   Account Dashboard Styles
======================================== */
.account-page {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.account-alert {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-size: 0.95rem;
}

.account-alert--success {
    background: rgba(76, 175, 80, 0.15);
    border: 1px solid rgba(76, 175, 80, 0.3);
    color: #81c784;
}

.account-alert--error {
    background: rgba(244, 67, 54, 0.15);
    border: 1px solid rgba(244, 67, 54, 0.3);
    color: #e57373;
}

.account-auth {
    max-width: 420px;
    margin: 40px auto;
}

.account-auth__card {
    background: var(--bg-card);
    border-radius: 16px;
    padding: 40px 32px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.3);
}

.account-auth__header {
    text-align: center;
    margin-bottom: 28px;
}

.account-auth__header h1 {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.account-auth__header p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.account-auth__footer {
    text-align: center;
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-muted);
}

.account-auth__footer a {
    color: var(--accent-red);
    font-weight: 500;
    margin-left: 6px;
}

.account-auth__footer a:hover {
    text-decoration: underline;
}

/* Account Dashboard */
.account-dashboard {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

/* Tab Navigation */
.account-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 16px;
    background: var(--bg-card);
    border-radius: 12px;
}

.account-tab {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    border-radius: 8px;
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.2s ease;
}

.account-tab:hover {
    background: var(--bg-hover);
    color: var(--text-primary);
}

.account-tab.active {
    background: var(--accent-red);
    color: white;
}

.account-tab i {
    font-size: 1rem;
}

/* Account Content */
.account-content {
    min-height: 400px;
}

.account-section {
    background: var(--bg-card);
    border-radius: 12px;
    padding: 24px;
}

.account-section__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.account-section__header h2 {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.25rem;
    font-weight: 600;
}

.account-section__header h2 i {
    color: var(--accent-red);
}

/* Empty State */
.account-empty {
    text-align: center;
    padding: 60px 20px;
    color: var(--text-muted);
}

.account-empty i {
    font-size: 3.5rem;
    margin-bottom: 16px;
    opacity: 0.4;
    display: block;
}

.account-empty p {
    font-size: 1.1rem;
    margin-bottom: 20px;
    color: var(--text-secondary);
}

/* Channels Grid */
.channels-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 16px;
}

.channel-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px;
    background: var(--bg-hover);
    border-radius: 12px;
    transition: all 0.2s ease;
}

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

.channel-card__logo {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    background: var(--bg-card);
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.channel-card__initial {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--accent-red);
}

.channel-card__info h3 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 4px;
}

.channel-card__info span {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* Subscriptions Grid (Followed Models) */
.subscriptions-grid {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.subscription-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 20px;
    background: var(--bg-hover);
    border-radius: 12px;
    transition: all 0.2s ease;
}

.subscription-card:hover {
    background: var(--bg-dark);
}

.subscription-card__avatar {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    overflow: hidden;
    background: var(--bg-card);
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.subscription-card__avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.subscription-card__initial {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent-red);
}

.subscription-card__info {
    flex: 1;
    min-width: 0;
}

.subscription-card__info h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 6px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.subscription-card__stats {
    display: flex;
    gap: 16px;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.subscription-card__stats span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.subscription-card__stats i {
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.subscription-card__action {
    flex-shrink: 0;
}

.btn-following {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: rgba(76, 175, 80, 0.15);
    color: #81c784;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
}

/* Playlist Grid */
.playlist-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 16px;
}

.playlist-card {
    background: var(--bg-hover);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.2s ease;
}

.playlist-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.playlist-card__thumb {
    aspect-ratio: 16/9;
    position: relative;
    background: var(--bg-dark);
}

.playlist-card__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.playlist-card__placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    font-size: 2.5rem;
    color: var(--text-muted);
    opacity: 0.5;
}

.playlist-card__count {
    position: absolute;
    bottom: 8px;
    right: 8px;
    padding: 4px 10px;
    background: rgba(0, 0, 0, 0.8);
    border-radius: 4px;
    font-size: 0.8rem;
    color: white;
}

.playlist-card__info {
    padding: 14px;
}

.playlist-card__info h3 {
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 6px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.playlist-card__visibility {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* Account Cards */
.account-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.account-card h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.account-card--form {
    margin-bottom: 24px;
}

/* Profile Header */
.profile-header {
    position: relative;
    height: 200px;
    border-radius: 12px;
    overflow: hidden;
    background: linear-gradient(135deg, #1a1a1a 0%, #333 100%);
    background-size: cover;
    background-position: center;
    margin-bottom: 24px;
}

.profile-header__overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, transparent 100%);
    display: flex;
    align-items: flex-end;
    gap: 20px;
}

.profile-avatar-wrap {
    position: relative;
}

.profile-header__avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    border: 3px solid var(--bg-card);
    object-fit: cover;
}

.profile-upload-btn {
    position: absolute;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--accent-red);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    cursor: pointer;
    border: none;
    transition: all 0.2s;
}

.profile-upload-btn:hover {
    background: #ff3333;
    transform: scale(1.1);
}

.profile-upload-btn--avatar {
    bottom: 0;
    right: 0;
}

.profile-upload-btn--cover {
    top: 12px;
    right: 12px;
}

.profile-upload-input {
    display: none;
}

.profile-header__info h1 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.profile-header__info p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 8px;
}

.profile-header__joined {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* Account Actions List */
.account-actions-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.account-action-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border-radius: 8px;
    color: var(--text-secondary);
    transition: all 0.2s;
}

.account-action-link:hover {
    background: var(--bg-hover);
    color: var(--text-primary);
}

.account-action-link i {
    width: 20px;
    text-align: center;
}

/* Buttons */
.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    background: var(--accent-red);
    color: white;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    border: none;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-primary:hover {
    background: #ff3333;
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    background: var(--bg-hover);
    color: var(--text-primary);
    border-radius: 8px;
    font-weight: 500;
    font-size: 0.95rem;
    border: none;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-secondary:hover {
    background: var(--bg-dark);
}

.btn-sm {
    padding: 8px 14px;
    font-size: 0.85rem;
}

/* Form Group Inline */
.form-group--inline {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.checkbox {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

.checkbox input[type="checkbox"] {
    width: auto;
    accent-color: var(--accent-red);
}

.forgot-link {
    color: var(--accent-red);
    font-size: 0.9rem;
}

.forgot-link:hover {
    text-decoration: underline;
}

.form-actions {
    display: flex;
    gap: 12px;
    justify-content: flex-end;
    margin-top: 16px;
}

/* Responsive Account Styles */
@media (max-width: 768px) {
    .account-page {
        padding: 12px;
    }
    
    .account-tabs {
        padding: 12px;
        gap: 6px;
    }
    
    .account-tab {
        padding: 8px 12px;
        font-size: 0.8rem;
    }
    
    .account-tab span {
        display: none;
    }
    
    .account-tab i {
        font-size: 1.1rem;
    }
    
    .account-section {
        padding: 16px;
    }
    
    .account-section__header {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
    
    .channels-grid {
        grid-template-columns: 1fr;
    }
    
    .subscription-card {
        flex-wrap: wrap;
        gap: 12px;
        padding: 14px;
    }
    
    .subscription-card__avatar {
        width: 50px;
        height: 50px;
    }
    
    .subscription-card__info {
        flex: 1 1 calc(100% - 66px);
    }
    
    .subscription-card__action {
        width: 100%;
        text-align: right;
    }
    
    .profile-header {
        height: 160px;
    }
    
    .profile-header__avatar {
        width: 70px;
        height: 70px;
    }
    
    .profile-header__info h1 {
        font-size: 1.2rem;
    }
    
    .account-cards {
        grid-template-columns: 1fr;
    }
    
    .account-auth__card {
        padding: 28px 20px;
    }
}

@media (max-width: 480px) {
    .subscription-card__stats {
        flex-direction: column;
        gap: 6px;
    }
    
    .playlist-grid {
        grid-template-columns: 1fr;
    }
}

/* ========================================
   Channel Detail Page Styles
======================================== */
.channel-profile {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 24px;
    background: var(--bg-card);
    border-radius: 16px;
    margin-bottom: 20px;
}

.channel-profile__logo {
    width: 120px;
    height: 120px;
    border-radius: 12px;
    overflow: hidden;
    background: var(--bg-hover);
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.channel-profile__logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: white;
    padding: 10px;
}

.channel-profile__initial {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--accent-red);
}

.channel-profile__info {
    flex: 1;
    min-width: 0;
}

.channel-profile__header {
    margin-bottom: 16px;
}

.channel-profile__name {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.channel-profile__verified {
    flex-shrink: 0;
}

.channel-profile__stats {
    display: flex;
    gap: 20px;
    font-size: 0.95rem;
    color: var(--text-secondary);
}

.channel-profile__stat {
    display: flex;
    align-items: center;
    gap: 6px;
}

.channel-profile__stat span:first-child {
    font-weight: 600;
    color: var(--text-primary);
}

.channel-profile__actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.channel-profile__follow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: var(--bg-hover);
    color: var(--text-primary);
    border: none;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.channel-profile__follow:hover {
    background: var(--bg-dark);
}

.channel-profile__follow.following {
    background: rgba(76, 175, 80, 0.15);
    color: #81c784;
}

.channel-profile__follow.following:hover {
    background: rgba(244, 67, 54, 0.15);
    color: #e57373;
}

.channel-profile__more {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background: var(--bg-hover);
    color: var(--text-secondary);
    border: none;
    cursor: pointer;
    transition: all 0.2s;
}

.channel-profile__more:hover {
    background: var(--bg-dark);
    color: var(--text-primary);
}

/* Channel Description */
.channel-description {
    padding: 16px 20px;
    background: var(--bg-card);
    border-radius: 12px;
    margin-bottom: 16px;
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Channel Links Row */
.channel-links-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
}

.channel-link-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: var(--bg-card);
    border-radius: 20px;
    color: var(--text-secondary);
    font-size: 0.85rem;
    transition: all 0.2s;
}

.channel-link-pill:hover {
    background: var(--bg-hover);
    color: var(--accent-red);
}

.channel-link-pill i {
    font-size: 1rem;
}

/* Models Row Section */
.models-row {
    margin-bottom: 20px;
    padding: 16px 0;
}

.models-row__inner {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    padding: 4px;
    scrollbar-width: thin;
    scrollbar-color: var(--bg-hover) transparent;
}

.models-row__inner::-webkit-scrollbar {
    height: 6px;
}

.models-row__inner::-webkit-scrollbar-track {
    background: transparent;
}

.models-row__inner::-webkit-scrollbar-thumb {
    background: var(--bg-hover);
    border-radius: 3px;
}

.model-avatar-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
    text-align: center;
    transition: transform 0.2s;
}

.model-avatar-link:hover {
    transform: translateY(-4px);
}

.model-avatar-link__img {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--bg-hover);
    transition: border-color 0.2s;
}

.model-avatar-link:hover .model-avatar-link__img {
    border-color: var(--accent-red);
}

.model-avatar-link__name {
    font-size: 0.75rem;
    color: var(--text-secondary);
    max-width: 70px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Channels Row Section */
.channels-row {
    margin-bottom: 20px;
    padding: 8px 0;
}

.channels-row__inner {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    padding: 4px;
    scrollbar-width: thin;
    scrollbar-color: var(--bg-hover) transparent;
}

.channels-row__inner::-webkit-scrollbar {
    height: 6px;
}

.channels-row__inner::-webkit-scrollbar-track {
    background: transparent;
}

.channels-row__inner::-webkit-scrollbar-thumb {
    background: var(--bg-hover);
    border-radius: 3px;
}

.channel-pill {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 16px;
    background: var(--bg-card);
    border-radius: 24px;
    flex-shrink: 0;
    transition: all 0.2s;
}

.channel-pill:hover {
    background: var(--bg-hover);
}

.channel-pill__logo {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    object-fit: cover;
}

.channel-pill__initial {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--bg-hover);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--accent-red);
}

.channel-pill__name {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-primary);
    white-space: nowrap;
}

/* Category Pills Section */
.category-pills {
    margin-bottom: 20px;
}

.category-pills__inner {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.category-pill {
    display: inline-flex;
    align-items: center;
    padding: 8px 16px;
    background: var(--bg-card);
    border-radius: 20px;
    color: var(--text-secondary);
    font-size: 0.85rem;
    font-weight: 500;
    transition: all 0.2s;
}

.category-pill:hover {
    background: var(--bg-hover);
    color: var(--text-primary);
}

.category-pill.active {
    background: var(--accent-red);
    color: white;
}

/* Channel Profile Link */
.channel-profile-link {
    margin-bottom: 24px;
}

.channel-profile-link a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-primary);
    transition: color 0.2s;
}

.channel-profile-link a:hover {
    color: var(--accent-red);
}

.channel-profile-link a i {
    font-size: 0.8rem;
}

/* Channel SEO Content */
.channel-seo {
    margin-top: 40px;
}

.seo-content {
    background: var(--bg-card);
    border-radius: 12px;
    padding: 32px;
}

.seo-content__inner h2 {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.seo-content__inner h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin: 24px 0 12px;
    color: var(--text-primary);
}

.seo-content__inner p {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 12px;
}

.seo-content__inner ul {
    list-style: none;
    padding: 0;
    margin: 16px 0;
}

.seo-content__inner ul li {
    position: relative;
    padding-left: 24px;
    margin-bottom: 10px;
    color: var(--text-secondary);
    line-height: 1.6;
}

.seo-content__inner ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #4caf50;
    font-weight: bold;
}

.seo-content__inner strong {
    color: var(--text-primary);
}

.seo-content__cta {
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 1.05rem;
}

/* Beeg Card Styles (Video Grid) */
.beeg-card {
    background: var(--bg-card);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.2s ease;
}

.beeg-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.beeg-card__link {
    display: block;
}

.beeg-card__thumb {
    position: relative;
    aspect-ratio: 16/9;
    background: var(--bg-hover);
    overflow: hidden;
}

.beeg-card__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.beeg-card:hover .beeg-card__thumb img {
    transform: scale(1.05);
}

.beeg-card__placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    font-size: 2rem;
    color: var(--text-muted);
}

.beeg-card__duration {
    position: absolute;
    bottom: 8px;
    right: 8px;
    padding: 3px 8px;
    background: rgba(0, 0, 0, 0.85);
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 500;
    color: white;
}

.beeg-card__info {
    padding: 12px;
}

.beeg-card__meta-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
}

.beeg-card__channel-logo {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
}

.beeg-card__channel-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.beeg-card__title {
    font-size: 0.95rem;
    font-weight: 500;
    line-height: 1.4;
    margin-bottom: 8px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.beeg-card__title a {
    color: var(--text-primary);
}

.beeg-card__title a:hover {
    color: var(--accent-red);
}

.beeg-card__stats {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.8rem;
    color: var(--text-muted);
}

.beeg-card__likes {
    display: flex;
    align-items: center;
    gap: 4px;
}

/* Beeg Empty State */
.beeg-empty {
    text-align: center;
    padding: 80px 20px;
    color: var(--text-muted);
}

.beeg-empty i {
    font-size: 4rem;
    margin-bottom: 20px;
    opacity: 0.4;
}

.beeg-empty h3 {
    font-size: 1.3rem;
    margin-bottom: 8px;
    color: var(--text-secondary);
}

.beeg-empty p {
    font-size: 0.95rem;
}

/* Beeg Pagination */
.beeg-pagination {
    margin-top: 32px;
    display: flex;
    justify-content: center;
}

.beeg-pagination ul {
    display: flex;
    gap: 8px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.beeg-pagination li a,
.beeg-pagination li span {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    background: var(--bg-card);
    border-radius: 8px;
    color: var(--text-secondary);
    font-size: 0.9rem;
    transition: all 0.2s;
}

.beeg-pagination li a:hover {
    background: var(--bg-hover);
    color: var(--text-primary);
}

.beeg-pagination li .current {
    background: var(--accent-red);
    color: white;
}

/* Responsive Channel Styles */
@media (max-width: 768px) {
    .channel-profile {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 20px;
    }
    
    .channel-profile__logo {
        width: 100px;
        height: 100px;
    }
    
    .channel-profile__name {
        font-size: 1.4rem;
        justify-content: center;
    }
    
    .channel-profile__stats {
        justify-content: center;
    }
    
    .channel-profile__actions {
        justify-content: center;
    }
    
    .model-avatar-link__img {
        width: 56px;
        height: 56px;
    }
    
    .seo-content {
        padding: 20px;
    }
    
    .seo-content__inner h2 {
        font-size: 1.2rem;
    }
}

@media (max-width: 480px) {
    .channel-profile__stats {
        flex-direction: column;
        gap: 8px;
    }
    
    .channel-profile__actions {
        flex-wrap: wrap;
    }
    
    .channel-profile__follow {
        flex: 1;
        justify-content: center;
    }
}
