/*
 * Hall-fapper - Main Stylesheet
 * Dark theme Â· responsive Â· tube-site style
 */
/* ââ Reset & Base ââ */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
:root {
    --bg-primary: #0f0f0f;
    --bg-secondary: #1a1a1a;
    --bg-card: #222;
    --bg-hover: #2a2a2a;
    --bg-input: #2a2a2a;
    --text-primary: #eee;
    --text-secondary: #999;
    --text-muted: #666;
    --accent: #f57c00;
    --accent-hover: #ff9800;
    --accent-dim: #e65100;
    --border: #333;
    --danger: #e53935;
    --success: #43a047;
    --featured: #ffd54f;
    --radius: 6px;
    --radius-lg: 10px;
    --shadow: 0 2px 8px rgba(0,0,0,.4);
    --transition: .2s ease;
    --font: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --max-width: 1280px;
}
html { font-size: 15px; scroll-behavior: smooth; }
body {
    font-family: var(--font);
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.5;
    min-height: 100vh;
}
a { color: var(--accent); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--accent-hover); }
img { max-width: 100%; height: auto; display: block; }
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 16px; }
/* ââ Invisible scrollbar (keep function) ââ */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--bg-primary); }
::-webkit-scrollbar-thumb { background: #333; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: #555; }
/* ââ Header / Nav ââ */
#header {
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 100;
}
#header .container {
    display: flex;
    align-items: center;
    gap: 20px;
    padding-top: 0;
    padding-bottom: 0;
    flex-wrap: nowrap;
}
.logo {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--accent) !important;
    text-transform: uppercase;
    letter-spacing: 1px;
    white-space: nowrap;
    padding: 14px 0;
}
.logo:hover { color: var(--accent-hover) !important; }
#header nav {
    display: flex;
    gap: 2px;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
    flex: 1;
}
#header nav::-webkit-scrollbar { display: none; }
#header nav a {
    color: var(--text-secondary);
    font-size: .82rem;
    padding: 16px 10px;
    white-space: nowrap;
    border-bottom: 2px solid transparent;
    transition: all var(--transition);
}
#header nav a:hover {
    color: var(--text-primary);
    background: rgba(255,255,255,.04);
    border-bottom-color: var(--accent);
}
.header-tools { flex-shrink: 0; }
.search-form {
    display: flex;
    align-items: center;
    background: var(--bg-input);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
}
.search-form input {
    background: transparent;
    border: none;
    outline: none;
    color: var(--text-primary);
    padding: 8px 12px;
    width: 200px;
    font-size: .85rem;
}
.search-form input::placeholder { color: var(--text-muted); }
.search-form button {
    background: var(--accent);
    border: none;
    color: #fff;
    padding: 8px 12px;
    cursor: pointer;
    font-size: .85rem;
    transition: background var(--transition);
}
.search-form button:hover { background: var(--accent-hover); }
/* Live Browse nav link */
.nav-live {
    color: var(--accent) !important;
    font-weight: 700 !important;
    position: relative;
}
.nav-live::after {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    background: #e53935;
    border-radius: 50%;
    margin-left: 4px;
    vertical-align: super;
    animation: pulse-dot 1.5s ease-in-out infinite;
}
@keyframes pulse-dot {
    0%, 100% { opacity: 1; }
    50% { opacity: .3; }
}
/* ââ Main Layout ââ */
.main-layout {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 24px;
    padding-top: 20px;
    padding-bottom: 40px;
}
/* ââ Section Title ââ */
.section-title {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 8px;
}
.section-title .page-indicator {
    font-weight: 400;
    color: var(--text-secondary);
    font-size: .9rem;
}
/* ââ Hero Section ââ */
.hero-section { margin-bottom: 24px; }
.hero-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 12px;
}
.hero-card {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    display: block;
    aspect-ratio: 16/9;
}
.hero-thumb {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-color: var(--bg-card);
    position: relative;
}
.hero-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 40px 16px 12px;
    background: linear-gradient(transparent, rgba(0,0,0,.85));
}
.hero-overlay h3 {
    color: #fff;
    font-size: 1.1rem;
    font-weight: 600;
    text-shadow: 0 1px 4px rgba(0,0,0,.5);
}
.hero-side { display: flex; flex-direction: column; gap: 12px; }
.hero-side-card {
    display: flex;
    gap: 10px;
    background: var(--bg-card);
    border-radius: var(--radius);
    overflow: hidden;
    transition: background var(--transition);
}
.hero-side-card:hover { background: var(--bg-hover); }
.hero-side-thumb {
    width: 120px;
    aspect-ratio: 16/9;
    background-size: cover;
    background-position: center;
    background-color: #111;
    flex-shrink: 0;
    position: relative;
}
.hero-side-info {
    padding: 6px 6px 6px 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 4px;
    min-width: 0;
}
.hero-side-info h4 {
    font-size: .82rem;
    font-weight: 500;
    color: var(--text-primary);
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.hero-side-info .views {
    font-size: .75rem;
    color: var(--text-secondary);
}
/* ââ Video Grid ââ */
.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
    gap: 16px;
}
.video-card {
    background: var(--bg-card);
    border-radius: var(--radius);
    overflow: hidden;
    transition: transform var(--transition), box-shadow var(--transition);
}
.video-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,.5);
}
.video-thumb-link { display: block; position: relative; }
.video-thumb {
    aspect-ratio: 16/9;
    background-size: cover;
    background-position: center;
    background-color: #111;
    position: relative;
}
.duration-badge {
    position: absolute;
    bottom: 6px;
    right: 6px;
    background: rgba(0,0,0,.8);
    color: #fff;
    font-size: .75rem;
    padding: 2px 6px;
    border-radius: 3px;
    font-weight: 500;
}
.play-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0,0,0,.25);
    opacity: 0;
    transition: opacity var(--transition);
}
.video-thumb-link:hover .play-overlay { opacity: 1; }
.play-icon {
    font-size: 2.5rem;
    color: #fff;
    text-shadow: 0 2px 8px rgba(0,0,0,.5);
    opacity: .85;
}
.video-info {
    padding: 10px;
}
.video-info h3 {
    font-size: .85rem;
    font-weight: 500;
    line-height: 1.3;
    margin-bottom: 4px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.video-info h3 a { color: var(--text-primary); }
.video-info h3 a:hover { color: var(--accent); }
.video-meta {
    display: flex;
    justify-content: space-between;
    font-size: .75rem;
    color: var(--text-secondary);
}
.category-tag a {
    font-size: .7rem;
    text-transform: uppercase;
    color: var(--accent);
    letter-spacing: .5px;
}
/* ââ Pagination ââ */
.pagination {
    display: flex;
    justify-content: center;
    gap: 4px;
    margin-top: 24px;
    flex-wrap: wrap;
}
.page-link {
    background: var(--bg-card);
    color: var(--text-secondary);
    padding: 8px 14px;
    border-radius: var(--radius);
    font-size: .85rem;
    transition: all var(--transition);
}
.page-link:hover { background: var(--bg-hover); color: var(--text-primary); }
.page-link.active {
    background: var(--accent);
    color: #fff;
}
.page-link.active:hover { background: var(--accent-hover); }
/* ââ Sidebar ââ */
.sidebar { min-width: 0; }
.sidebar-block {
    background: var(--bg-secondary);
    border-radius: var(--radius);
    padding: 16px;
    margin-bottom: 16px;
}
.sidebar-block h3 {
    font-size: .9rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-primary);
}
.cat-list { list-style: none; }
.cat-list li { border-bottom: 1px solid var(--border); }
.cat-list li:last-child { border-bottom: none; }
.cat-list a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    color: var(--text-secondary);
    font-size: .85rem;
    transition: color var(--transition);
}
.cat-list a:hover { color: var(--text-primary); }
.cat-list a.active { color: var(--accent); font-weight: 600; }
.cat-count {
    background: var(--bg-card);
    padding: 1px 8px;
    border-radius: 10px;
    font-size: .75rem;
    color: var(--text-muted);
}
/* ââ Ad Containers ââ */
.ad-container {
    background: var(--bg-secondary);
    border: 1px dashed var(--border);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 16px 0;
    overflow: hidden;
}
.ad-placeholder {
    color: var(--text-muted);
    font-size: .75rem;
    padding: 16px;
    text-align: center;
}
.ad-leaderboard { min-height: 90px; }
.ad-sidebar { min-height: 250px; margin-bottom: 16px; }
.ad-infeed { min-height: 90px; }
.ad-bottom { min-height: 60px; }
/* ââ Video Page ââ */
.video-page { padding-top: 20px; padding-bottom: 40px; }
.player-wrapper {
    background: #000;
    border-radius: var(--radius-lg);
    overflow: hidden;
    margin-bottom: 16px;
}
.player-container {
    position: relative;
    width: 100%;
    aspect-ratio: 16/9;
}
.player-frame {
    position: absolute;
    inset: 0;
}
.player-frame iframe {
    width: 100%;
    height: 100%;
    border: none;
}
.video-info-bar { margin-bottom: 20px; }
.video-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 8px;
}
.video-stats-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 10px;
}
.video-stats-left {
    display: flex;
    gap: 16px;
    align-items: center;
    flex-wrap: wrap;
}
.video-stats-left span {
    font-size: .85rem;
    color: var(--text-secondary);
}
.views-big { color: var(--text-primary) !important; font-weight: 600; }
.video-stats-right {
    display: flex;
    align-items: center;
    gap: 8px;
}
.cat-label {
    font-size: .75rem;
    text-transform: uppercase;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 3px;
    background: var(--accent);
    color: #fff;
}
.source-link {
    font-size: .75rem;
    padding: 3px 8px;
    border-radius: 3px;
    background: var(--bg-card);
    color: var(--text-secondary);
    border: 1px solid var(--border);
    transition: all var(--transition);
}
.source-link:hover {
    background: var(--bg-hover);
    color: var(--accent);
    border-color: var(--accent);
}
.video-tags-row {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}
.tag-badge {
    font-size: .75rem;
    padding: 3px 8px;
    background: var(--bg-card);
    color: var(--text-secondary);
    border-radius: 3px;
    transition: all var(--transition);
}
.tag-badge:hover {
    background: var(--accent);
    color: #fff;
}
/* ââ Static Pages (DMCA) ââ */
.static-page {
    max-width: 800px;
    padding-top: 30px;
    padding-bottom: 40px;
}
.static-page h1 { font-size: 1.6rem; margin-bottom: 20px; }
.static-page h2 {
    font-size: 1.15rem;
    margin-top: 24px;
    margin-bottom: 10px;
    color: var(--accent);
}
.static-page p { color: var(--text-secondary); margin-bottom: 12px; line-height: 1.7; }
.static-page ol, .static-page ul { padding-left: 24px; color: var(--text-secondary); }
.static-page li { margin-bottom: 8px; line-height: 1.6; }
.static-note { margin-top: 24px; padding: 12px 16px; background: var(--bg-card); border-left: 3px solid var(--accent); border-radius: 0 var(--radius) var(--radius) 0; }
/* ââ Search / No Results ââ */
.search-prompt, .no-results {
    padding: 40px 20px;
    text-align: center;
    color: var(--text-secondary);
    background: var(--bg-secondary);
    border-radius: var(--radius);
}
.search-prompt p, .no-results p { font-size: .95rem; }
/* ââ Footer ââ */
#footer {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border);
    padding: 24px 0;
    margin-top: auto;
}
.footer-links {
    display: flex;
    gap: 20px;
    margin-bottom: 12px;
}
.footer-links a { font-size: .82rem; }
.footer-disclaimer {
    font-size: .75rem;
    color: var(--text-muted);
    line-height: 1.6;
}
/* ââ Admin Styles ââ */
.admin-login-body {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    background: var(--bg-primary);
}
.admin-login-container {
    width: 360px;
    background: var(--bg-secondary);
    padding: 32px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
}
.admin-login-container h1 {
    text-align: center;
    margin-bottom: 24px;
    font-size: 1.3rem;
    color: var(--accent);
}
.admin-login-form { display: flex; flex-direction: column; gap: 12px; }
.admin-login-form input {
    padding: 10px 14px;
    background: var(--bg-input);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    color: var(--text-primary);
    font-size: .9rem;
    outline: none;
}
.admin-login-form input:focus { border-color: var(--accent); }
.admin-login-form button {
    padding: 10px;
    background: var(--accent);
    color: #fff;
    border: none;
    border-radius: var(--radius);
    font-size: .95rem;
    font-weight: 600;
    cursor: pointer;
    transition: background var(--transition);
}
.admin-login-form button:hover { background: var(--accent-hover); }
.admin-body { background: var(--bg-primary); }
.admin-header {
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--border);
    padding: 12px 0;
}
.admin-header .container { display: flex; justify-content: space-between; align-items: center; }
.admin-header h1 { font-size: 1.1rem; color: var(--accent); }
.admin-nav { display: flex; gap: 16px; }
.admin-nav a {
    font-size: .85rem;
    color: var(--text-secondary);
    padding: 4px 0;
    border-bottom: 2px solid transparent;
}
.admin-nav a:hover { color: var(--text-primary); border-bottom-color: var(--accent); }
.admin-content { padding-top: 24px; padding-bottom: 40px; }
.admin-content h2 { font-size: 1.15rem; margin-bottom: 16px; }
.admin-success {
    background: rgba(67, 160, 71, .12);
    color: var(--success);
    padding: 10px 16px;
    border-radius: var(--radius);
    margin-bottom: 16px;
    font-size: .9rem;
}
.admin-error {
    background: rgba(229, 57, 53, .12);
    color: var(--danger);
    padding: 10px 16px;
    border-radius: var(--radius);
    margin-bottom: 16px;
    font-size: .9rem;
}
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 12px;
    margin-bottom: 24px;
}
.stat-card {
    background: var(--bg-card);
    padding: 20px;
    border-radius: var(--radius);
    text-align: center;
}
.stat-num {
    display: block;
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--accent);
}
.stat-label {
    font-size: .8rem;
    color: var(--text-secondary);
    margin-top: 4px;
}
.table-responsive { overflow-x: auto; }
.admin-table {
    width: 100%;
    border-collapse: collapse;
    font-size: .82rem;
}
.admin-table th {
    text-align: left;
    padding: 10px 12px;
    background: var(--bg-card);
    color: var(--text-secondary);
    font-weight: 600;
    font-size: .78rem;
    text-transform: uppercase;
    letter-spacing: .5px;
    border-bottom: 1px solid var(--border);
}
.admin-table td {
    padding: 10px 12px;
    border-bottom: 1px solid var(--border);
    color: var(--text-primary);
}
.admin-table tr:hover td { background: rgba(255,255,255,.02); }
.td-title { max-width: 250px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.status-badge {
    display: inline-block;
    font-size: .72rem;
    font-weight: 600;
    padding: 3px 8px;
    border-radius: 3px;
    text-decoration: none !important;
}
.status-badge.featured { background: rgba(255, 213, 79, .15); color: var(--featured); }
.status-badge.not-featured { background: rgba(255,255,255,.05); color: var(--text-muted); }
.status-badge.active { background: rgba(67, 160, 71, .15); color: var(--success); }
.status-badge.inactive { background: rgba(229, 57, 53, .15); color: var(--danger); }
.btn-sm {
    display: inline-block;
    font-size: .72rem;
    padding: 4px 10px;
    border-radius: 3px;
    margin-right: 4px;
    transition: all var(--transition);
}
.btn-edit { background: var(--accent); color: #fff; }
.btn-edit:hover { background: var(--accent-hover); color: #fff; }
.btn-delete { background: var(--danger); color: #fff; }
.btn-delete:hover { background: #c62828; color: #fff; }
.btn-view { background: var(--bg-card); color: var(--text-secondary); }
.btn-view:hover { background: var(--bg-hover); color: var(--text-primary); }
/* Admin Form */
.admin-form {
    background: var(--bg-secondary);
    padding: 24px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    max-width: 700px;
}
.form-group {
    margin-bottom: 16px;
}
.form-group label {
    display: block;
    font-size: .85rem;
    font-weight: 600;
    margin-bottom: 6px;
    color: var(--text-primary);
}
.form-group input[type="text"],
.form-group input[type="url"],
.form-group input[type="number"],
.form-group select {
    width: 100%;
    padding: 10px 12px;
    background: var(--bg-input);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    color: var(--text-primary);
    font-size: .9rem;
    outline: none;
}
.form-group input:focus,
.form-group select:focus { border-color: var(--accent); }
.form-group select { cursor: pointer; }
.form-group small.form-help {
    display: block;
    font-size: .75rem;
    color: var(--text-muted);
    margin-top: 4px;
}
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}
.form-group input[type="checkbox"] {
    margin-right: 8px;
    accent-color: var(--accent);
}
.btn-primary {
    background: var(--accent);
    color: #fff;
    border: none;
    padding: 10px 24px;
    border-radius: var(--radius);
    font-size: .9rem;
    font-weight: 600;
    cursor: pointer;
    transition: background var(--transition);
    display: inline-block;
}
.btn-primary:hover { background: var(--accent-hover); }
.btn-secondary {
    background: var(--bg-card);
    color: var(--text-secondary);
    border: none;
    padding: 10px 24px;
    border-radius: var(--radius);
    font-size: .9rem;
    cursor: pointer;
    transition: all var(--transition);
    display: inline-block;
    margin-left: 8px;
}
.btn-secondary:hover { background: var(--bg-hover); color: var(--text-primary); }
.quick-tips {
    margin-top: 24px;
    background: var(--bg-secondary);
    padding: 20px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    max-width: 700px;
}
.quick-tips h3 { font-size: .95rem; margin-bottom: 10px; color: var(--accent); }
.quick-tips ul { padding-left: 20px; }
.quick-tips li { font-size: .82rem; color: var(--text-secondary); margin-bottom: 6px; line-height: 1.5; }
.quick-tips code { background: var(--bg-card); padding: 1px 5px; border-radius: 3px; font-size: .78rem; color: var(--text-primary); }
/* ââ Responsive ââ */
@media (max-width: 1024px) {
    .main-layout {
        grid-template-columns: 1fr;
    }
    .sidebar { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
    .ad-sidebar { min-height: 90px; margin-bottom: 0; }
}
@media (max-width: 768px) {
    .hero-grid { grid-template-columns: 1fr; }
    .hero-side { display: grid; grid-template-columns: 1fr 1fr; }
    .hero-side-thumb { width: 100%; }
    .hero-side-card { flex-direction: column; }
    .header-tools { display: none; }
    #header .container { flex-wrap: wrap; }
    #header nav { flex: 1 1 100%; order: 3; padding-bottom: 0; }
    #header nav a { padding: 10px 8px; font-size: .75rem; }
    .video-grid { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 10px; }
    .video-stats-left { gap: 10px; }
    .video-title { font-size: 1.1rem; }
    .sidebar { grid-template-columns: 1fr; }
    .form-row { grid-template-columns: 1fr; }
    .admin-header .container { flex-direction: column; gap: 8px; }
    .admin-nav { flex-wrap: wrap; justify-content: center; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
    .video-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
    .hero-side { grid-template-columns: 1fr; }
    .video-info { padding: 8px; }
    .video-info h3 { font-size: .78rem; }
    .container { padding: 0 10px; }
    .logo { font-size: 1.1rem; }
}
/* Ã¢ÂÂÃ¢ÂÂ Enhanced Video Page - Quality Selector Ã¢ÂÂÃ¢ÂÂ */
.quality-toggle {
    position: absolute;
    bottom: 12px;
    right: 12px;
    z-index: 10;
    background: rgba(0,0,0,.8);
    color: #fff;
    border: 1px solid rgba(255,255,255,.2);
    border-radius: 4px;
    padding: 6px 12px;
    font-size: .75rem;
    font-weight: 700;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: .5px;
    transition: all .2s ease;
}
.quality-toggle:hover {
    background: rgba(245,124,0,.85);
    border-color: var(--accent);
}
.quality-selector {
    position: absolute;
    bottom: 44px;
    right: 12px;
    z-index: 10;
    background: rgba(0,0,0,.92);
    border: 1px solid var(--border);
    border-radius: 6px;
    padding: 4px;
    display: none;
    flex-direction: column;
    gap: 2px;
    min-width: 100px;
    backdrop-filter: blur(8px);
}
.quality-selector.open {
    display: flex;
}
.quality-btn {
    background: transparent;
    border: none;
    color: var(--text-secondary);
    padding: 6px 14px;
    font-size: .78rem;
    cursor: pointer;
    border-radius: 3px;
    text-align: left;
    transition: all .15s ease;
    font-family: var(--font);
}
.quality-btn:hover {
    background: rgba(255,255,255,.08);
    color: var(--text-primary);
}
.quality-btn.active {
    background: var(--accent);
    color: #fff;
}
/* Ã¢ÂÂÃ¢ÂÂ Video Description Box Ã¢ÂÂÃ¢ÂÂ */
.video-description-box {
    background: var(--bg-secondary);
    border-radius: var(--radius);
    border: 1px solid var(--border);
    margin-bottom: 16px;
    overflow: hidden;
}
.description-header {
    padding: 10px 16px;
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    gap: 8px;
}
.description-label {
    font-size: .82rem;
    font-weight: 700;
    color: var(--text-primary);
    text-transform: uppercase;
    letter-spacing: .5px;
}
.description-content {
    padding: 14px 16px;
    font-size: .88rem;
    color: var(--text-secondary);
    line-height: 1.7;
    max-height: 200px;
    overflow-y: auto;
}
.description-content p {
    margin-bottom: 8px;
}
/* Ã¢ÂÂÃ¢ÂÂ Video Navigation (prev/next) Ã¢ÂÂÃ¢ÂÂ */
.video-nav-row {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 16px;
}
.video-nav-link {
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 10px 16px;
    font-size: .82rem;
    color: var(--text-secondary);
    flex: 1;
    transition: all .2s ease;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 50%;
}
.video-nav-link:hover {
    background: var(--bg-hover);
    color: var(--accent);
    border-color: var(--accent);
}
.video-nav-link.next {
    text-align: right;
}
/* Ã¢ÂÂÃ¢ÂÂ Embed Fallback Ã¢ÂÂÃ¢ÂÂ */
.embed-fallback {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 5;
    cursor: pointer;
}
.fallback-thumb {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-color: #111;
}
.fallback-overlay-content {
    position: relative;
    z-index: 2;
    text-align: center;
}
.big-play-btn {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    transition: transform var(--transition);
}
.big-play-btn:hover {
    transform: scale(1.05);
}
.big-play-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: rgba(0,0,0,0.65);
    border: 3px solid rgba(255,255,255,0.3);
    font-size: 2.2rem;
    color: #fff;
    transition: all var(--transition);
}
.big-play-btn:hover .big-play-icon {
    background: var(--accent);
    border-color: var(--accent);
}
.big-play-label {
    font-size: .95rem;
    color: rgba(255,255,255,0.85);
    font-weight: 600;
    text-shadow: 0 2px 8px rgba(0,0,0,0.6);
    background: rgba(0,0,0,0.5);
    padding: 6px 16px;
    border-radius: var(--radius);
}

/* Ã¢ÂÂÃ¢ÂÂ Age Verification Modal Ã¢ÂÂÃ¢ÂÂ */
#age-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(0,0,0,.92);
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(8px);
}
.age-modal-box {
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 40px 36px;
    max-width: 440px;
    width: 90%;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0,0,0,.6);
}
.age-modal-box h1 {
    font-size: 1.6rem;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 16px;
}
.age-modal-box p {
    font-size: .95rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 8px;
}
.age-modal-sub {
    font-size: .8rem !important;
    color: var(--text-muted) !important;
    margin-bottom: 24px !important;
}
.age-modal-sub a {
    color: var(--accent);
}
.age-modal-buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.age-btn-yes {
    background: var(--accent);
    color: #fff;
    border: none;
    padding: 14px 20px;
    border-radius: var(--radius);
    font-size: .95rem;
    font-weight: 700;
    cursor: pointer;
    transition: background var(--transition);
}
.age-btn-yes:hover {
    background: var(--accent-hover);
}
.age-btn-no {
    background: transparent;
    color: var(--text-muted);
    border: 1px solid var(--border);
    padding: 10px 20px;
    border-radius: var(--radius);
    font-size: .85rem;
    cursor: pointer;
    transition: all var(--transition);
}
.age-btn-no:hover {
    color: var(--danger);
    border-color: var(--danger);
}
/* Ã¢ÂÂÃ¢ÂÂ Pre-Roll Ad Ã¢ÂÂÃ¢ÂÂ */
.preroll-container {
    position: relative;
    width: 100%;
    aspect-ratio: 16/9;
    max-height: 480px;
    background: #000;
    border-radius: var(--radius-lg);
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.preroll-content {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 20;
    display: flex;
    align-items: center;
    gap: 10px;
}
.preroll-timer {
    background: rgba(0,0,0,.75);
    color: #fff;
    font-size: .78rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 4px;
    text-transform: uppercase;
}
.preroll-skip button {
    background: var(--accent);
    color: #fff;
    border: none;
    padding: 6px 14px;
    border-radius: 4px;
    font-size: .78rem;
    font-weight: 700;
    cursor: pointer;
    transition: background var(--transition);
}
.preroll-skip button:hover {
    background: var(--accent-hover);
}
/* Ã¢ÂÂÃ¢ÂÂ Skin Ad Ã¢ÂÂÃ¢ÂÂ */
.skin-ad-container {
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background: transparent;
}
