/* ============================================================
   GayFeed Portal - Modern Dark Theme CSS (Mobile-First Ready)
   ============================================================ */

:root {
    --bg-main: #0b0f19;
    --bg-card: #151e2e;
    --bg-card-hover: #1c273c;
    --bg-header: #101626;
    --bg-strip: #0d1220;
    --border-color: #233044;
    --border-light: #334155;
    
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --text-dim: #64748b;
    
    --accent: #6366f1;
    --accent-hover: #4f46e5;
    --accent-glow: rgba(99, 102, 241, 0.2);
    
    --danger: #f43f5e;
    --success: #10b981;
    --warning: #f59e0b;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background-color: var(--bg-main);
    color: var(--text-main);
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    line-height: 1.5;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    padding-bottom: 0;
}

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

.container {
    width: 100%;
    max-width: 1360px;
    margin: 0 auto;
    padding: 0 16px;
}

/* ============================================================
   Header & Navigation
   ============================================================ */

.site-header {
    background: var(--bg-header);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(8px);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    height: 64px;
}

.site-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 20px;
    font-weight: 800;
    letter-spacing: -0.5px;
    flex-shrink: 0;
}

.logo-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: var(--accent);
    color: #fff;
    border-radius: 8px;
    font-size: 14px;
}

.text-accent {
    color: var(--accent);
}

.header-search {
    flex: 1;
    max-width: 480px;
    display: flex;
    gap: 6px;
}

.search-input-wrap {
    flex: 1;
    position: relative;
    display: flex;
    align-items: center;
}

.search-icon {
    position: absolute;
    left: 12px;
    color: var(--text-muted);
    pointer-events: none;
}

.search-input-wrap input {
    width: 100%;
    padding: 8px 12px 8px 36px;
    background: #090d16;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: #fff;
    font-size: 13px;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.search-input-wrap input:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--accent-glow);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 14px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: all 0.2s ease;
}

.btn-search {
    background: var(--accent);
    color: #fff;
}

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

.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-hover); }

.btn-secondary { background: #334155; color: #fff; }
.btn-secondary:hover { background: #475569; }

.btn-danger { background: var(--danger); color: #fff; }

.btn-block {
    width: 100%;
    padding: 12px;
    font-size: 15px;
}

.btn-outline-danger {
    background: transparent;
    border: 1px solid var(--danger);
    color: var(--danger);
}
.btn-outline-danger:hover {
    background: var(--danger);
    color: #fff;
}

.btn-sm {
    padding: 6px 12px;
    font-size: 13px;
}

.header-nav {
    display: flex;
    align-items: center;
    gap: 14px;
}

.nav-link {
    color: var(--text-muted);
    font-weight: 500;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.nav-link:hover, .nav-link.active {
    color: #fff;
}

.nav-random {
    color: #38bdf8;
    font-weight: 600;
}
.nav-random:hover {
    color: #7dd3fc;
}

.badge-fav-count {
    background: var(--danger);
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    padding: 1px 6px;
    border-radius: 10px;
    margin-left: 2px;
}

/* Category Strip */
.category-strip {
    background: var(--bg-strip);
    border-top: 1px solid rgba(255,255,255,0.03);
    overflow-x: auto;
    white-space: nowrap;
    scrollbar-width: thin;
    -webkit-overflow-scrolling: touch;
}

.category-strip-inner {
    display: flex;
    gap: 8px;
    padding: 8px 16px;
}

.category-pill {
    padding: 5px 12px;
    background: rgba(255,255,255,0.05);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
    color: var(--text-muted);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
}

.category-pill:hover, .category-pill.active {
    background: var(--accent);
    color: #fff;
    border-color: var(--accent);
}

.badge-count {
    background: rgba(0,0,0,0.3);
    padding: 1px 6px;
    border-radius: 10px;
    font-size: 11px;
}

/* ============================================================
   Main Layout & Headings
   ============================================================ */

.main-content {
    flex: 1;
    padding-top: 20px;
    padding-bottom: 48px;
}

.page-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
    flex-wrap: wrap;
    gap: 12px;
}

.page-title {
    font-size: 22px;
    font-weight: 800;
    letter-spacing: -0.3px;
}

.text-muted {
    color: var(--text-muted);
    font-size: 13px;
}

.sorting-controls {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--text-muted);
}

.form-select-sm {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    color: #fff;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 13px;
    outline: none;
    cursor: pointer;
}

/* ============================================================
   Video Grid & Cards (Hover Preview & Scrubbing)
   ============================================================ */

.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}

.video-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    position: relative;
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.video-card:hover {
    transform: translateY(-4px);
    border-color: var(--border-light);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.4);
}

.thumbnail-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #000;
    overflow: hidden;
    display: block;
}

.video-thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: opacity 0.2s ease;
}

.video-fallback-preview {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    background: #000;
}

.thumb-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #151e2e 0%, #0b0f19 100%);
    color: var(--text-dim);
    gap: 6px;
}

.thumb-placeholder .placeholder-icon {
    font-size: 24px;
    color: var(--accent);
    opacity: 0.8;
}

.thumb-placeholder .placeholder-text {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.5px;
    color: var(--text-muted);
}

.video-hover-preview {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: none;
    pointer-events: none;
}

.scrub-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: rgba(255,255,255,0.2);
    display: none;
}

.scrub-progress {
    height: 100%;
    width: 0%;
    background: var(--accent);
}

.thumb-overlay-bottom {
    position: absolute;
    bottom: 8px;
    right: 8px;
    left: 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    pointer-events: none;
}

.badge {
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 600;
    backdrop-filter: blur(4px);
}

.badge-views {
    background: rgba(0, 0, 0, 0.75);
    color: #fff;
}

.badge-duration {
    background: rgba(0, 0, 0, 0.85);
    color: #f8fafc;
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.btn-remove-fav {
    position: absolute;
    top: 8px;
    right: 8px;
    background: rgba(0, 0, 0, 0.8);
    color: #f43f5e;
    border: 1px solid rgba(244, 63, 94, 0.4);
    border-radius: 6px;
    padding: 4px 8px;
    font-size: 11px;
    font-weight: 600;
    cursor: pointer;
    z-index: 10;
    transition: all 0.2s;
}

.btn-remove-fav:hover {
    background: #f43f5e;
    color: #fff;
}

.video-info {
    padding: 10px 12px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.video-title {
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 4px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

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

.video-meta {
    margin-top: auto;
    font-size: 12px;
    color: var(--text-dim);
}

/* ============================================================
   Models Directory & Performer Profile Cards
   ============================================================ */

.model-search-form {
    display: flex;
    gap: 8px;
    align-items: center;
}

.form-control-sm {
    background: #090d16;
    border: 1px solid var(--border-color);
    color: #fff;
    padding: 7px 12px;
    border-radius: 6px;
    font-size: 13px;
    outline: none;
}

.form-control-sm:focus {
    border-color: var(--accent);
}

.alphabet-strip {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    gap: 6px;
    margin-bottom: 24px;
    background: var(--bg-card);
    padding: 10px 14px;
    border-radius: 10px;
    border: 1px solid var(--border-color);
    -webkit-overflow-scrolling: touch;
}

.alpha-pill {
    padding: 4px 10px;
    background: rgba(255, 255, 255, 0.04);
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-muted);
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.alpha-pill:hover, .alpha-pill.active {
    background: var(--accent);
    color: #fff;
}

.models-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
    gap: 18px;
}

.model-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    text-align: center;
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.model-card:hover {
    transform: translateY(-4px);
    border-color: var(--accent);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.4);
}

.model-thumb-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    background: #000;
    overflow: hidden;
}

.model-thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

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

.model-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #151e2e, #0b0f19);
    font-size: 36px;
    color: var(--accent);
}

.model-badge-videos {
    position: absolute;
    bottom: 8px;
    right: 8px;
    background: rgba(0, 0, 0, 0.8);
    color: #fff;
    padding: 3px 8px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 700;
    backdrop-filter: blur(4px);
}

.model-info {
    padding: 10px 8px;
}

.model-name {
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.model-count {
    font-size: 11px;
    color: var(--text-dim);
}

/* ============================================================
   Watch Page (Responsive 16:9 Player & Layout)
   ============================================================ */

.watch-container {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 28px;
    transition: grid-template-columns 0.3s ease;
}

/* Theater Mode (Full Width Expansion) */
.watch-container.theater-active {
    grid-template-columns: 100% !important;
}

.watch-container.theater-active .watch-main {
    width: 100%;
}

.watch-container.theater-active .player-card {
    width: 100%;
    margin-bottom: 24px;
}

.watch-container.theater-active .watch-sidebar {
    margin-top: 24px;
}

.player-card {
    background: #000;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    box-shadow: 0 10px 30px rgba(0,0,0,0.6);
    transition: all 0.3s ease;
}

/* Lights Off Dimmer Overlay */
#lights-off-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.94);
    z-index: 9998;
    backdrop-filter: blur(4px);
    cursor: pointer;
}

body.lights-dimmed {
    overflow-x: hidden;
}

body.lights-dimmed .main-content {
    position: relative;
    z-index: 9999 !important;
}

body.lights-dimmed .player-card {
    position: relative;
    z-index: 10000 !important;
    box-shadow: 0 0 80px rgba(0, 0, 0, 1);
}

.video-responsive-wrap {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    background: #000;
}

.video-responsive-wrap iframe,
.video-responsive-wrap embed,
.video-responsive-wrap object {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.watch-meta-box {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 20px;
    margin-top: 18px;
}

.watch-title {
    font-size: 20px;
    font-weight: 800;
    margin-bottom: 12px;
    line-height: 1.3;
}

.watch-stats-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 14px;
    margin-bottom: 16px;
    border-bottom: 1px solid var(--border-color);
    flex-wrap: wrap;
    gap: 12px;
}

.stats-left {
    display: flex;
    align-items: center;
    gap: 14px;
    color: var(--text-muted);
    font-size: 13px;
    flex-wrap: wrap;
}

.stats-right {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.btn-action-sm {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--border-color);
    color: var(--text-main);
    padding: 7px 12px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s ease;
}

.btn-action-sm:hover {
    background: rgba(99, 102, 241, 0.15);
    border-color: var(--accent);
    color: #fff;
}

.btn-action-sm.active {
    background: var(--accent);
    border-color: var(--accent);
    color: #fff;
}

.btn-favorite.active {
    background: rgba(244, 63, 94, 0.15);
    border-color: var(--danger);
    color: #fca5a5;
}

.btn-favorite.active .fav-icon {
    color: var(--danger);
}

.taxonomy-row {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 12px;
    font-size: 13px;
}

.taxonomy-label {
    color: var(--text-dim);
    font-weight: 600;
    min-width: 80px;
}

.tag-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.chip {
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 500;
    border: 1px solid var(--border-color);
    background: rgba(255,255,255,0.03);
}

.chip:hover {
    border-color: var(--accent);
    color: #fff;
}

.chip-category { color: #38bdf8; }
.chip-model { color: #f472b6; }
.chip-tag { color: #a78bfa; }

.watch-description {
    margin-top: 18px;
    padding-top: 14px;
    border-top: 1px solid var(--border-color);
}

.watch-description h4 {
    font-size: 13px;
    color: var(--text-dim);
    text-transform: uppercase;
    margin-bottom: 6px;
}

.watch-description p {
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.6;
}

/* Related Videos Sidebar */
.watch-sidebar {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.sidebar-title {
    font-size: 16px;
    font-weight: 700;
}

.related-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.related-card {
    display: flex;
    gap: 10px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
    padding: 6px;
    transition: transform 0.2s, border-color 0.2s;
}

.related-card:hover {
    transform: translateX(3px);
    border-color: var(--accent);
}

.related-thumb-wrap {
    width: 110px;
    aspect-ratio: 16 / 9;
    background: #000;
    border-radius: 4px;
    overflow: hidden;
    flex-shrink: 0;
}

.related-thumb-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.related-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
}

.related-title {
    font-size: 12px;
    font-weight: 600;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 4px;
}

.related-views {
    font-size: 11px;
    color: var(--text-dim);
}

/* ============================================================
   Pagination & AJAX "Load More"
   ============================================================ */

.load-more-wrap {
    text-align: center;
    margin-top: 32px;
}

.btn-load-more {
    padding: 12px 28px;
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    border-radius: 10px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s ease;
}

.btn-load-more:hover {
    background: var(--accent);
    border-color: var(--accent);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(99, 102, 241, 0.3);
}

.btn-load-more.loading {
    opacity: 0.7;
    pointer-events: none;
}

.pagination {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin-top: 24px;
    flex-wrap: wrap;
}

.page-num, .page-btn {
    padding: 7px 12px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-muted);
}

.page-num:hover, .page-btn:hover, .page-num.active {
    background: var(--accent);
    color: #fff;
    border-color: var(--accent);
}

.empty-state {
    text-align: center;
    padding: 60px 20px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    max-width: 600px;
    margin: 40px auto;
}

.empty-icon {
    font-size: 48px;
    margin-bottom: 12px;
}

.empty-state h3 {
    font-size: 20px;
    margin-bottom: 8px;
}

.empty-state p {
    color: var(--text-muted);
    font-size: 14px;
    margin-bottom: 16px;
}

.empty-state a {
    color: var(--accent);
    text-decoration: underline;
}

/* ============================================================
   Legal, DMCA, Terms & Contact Pages
   ============================================================ */

.legal-container {
    max-width: 860px;
    margin: 20px auto 40px;
}

.legal-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 14px;
    padding: 36px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.legal-title {
    font-size: 26px;
    font-weight: 800;
    margin-bottom: 6px;
    letter-spacing: -0.5px;
}

.legal-subtitle {
    color: var(--text-dim);
    font-size: 13px;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border-color);
}

.legal-body {
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.7;
}

.legal-body h2 {
    color: var(--text-main);
    font-size: 18px;
    font-weight: 700;
    margin-top: 24px;
    margin-bottom: 10px;
}

.legal-body p {
    margin-bottom: 14px;
}

.legal-body ul {
    margin-bottom: 16px;
    padding-left: 24px;
}

.legal-body li {
    margin-bottom: 8px;
}

.legal-alert {
    background: rgba(99, 102, 241, 0.1);
    border-left: 4px solid var(--accent);
    padding: 14px 18px;
    border-radius: 6px;
    margin-bottom: 20px;
    color: var(--text-main);
    font-size: 13px;
}

.contact-box {
    background: #090d16;
    border: 1px solid var(--border-color);
    padding: 16px 20px;
    border-radius: 8px;
    margin: 16px 0;
}

.contact-box p {
    margin-bottom: 6px;
}

/* Contact Form */
.contact-form {
    margin-top: 20px;
    margin-bottom: 28px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-group {
    margin-bottom: 16px;
}

.form-group label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 6px;
    color: var(--text-main);
}

.form-control {
    width: 100%;
    padding: 10px 14px;
    background: #090d16;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: #fff;
    font-size: 14px;
    outline: none;
    font-family: inherit;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.form-control:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--accent-glow);
}

.alert {
    padding: 14px 18px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-size: 14px;
}

.alert-success {
    background: rgba(16, 185, 129, 0.15);
    border: 1px solid var(--success);
    color: #6ee7b7;
}

.alert-danger {
    background: rgba(244, 63, 94, 0.15);
    border: 1px solid var(--danger);
    color: #fca5a5;
}

.contact-direct-box {
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
    font-size: 13px;
    color: var(--text-dim);
}

.contact-direct-box h4 {
    color: var(--text-main);
    margin-bottom: 6px;
}

/* ============================================================
   Footer
   ============================================================ */

.site-footer {
    background: var(--bg-header);
    border-top: 1px solid var(--border-color);
    padding: 40px 0 24px;
    margin-top: auto;
}

.footer-inner {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 32px;
}

.footer-brand-col {
    max-width: 440px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 18px;
    font-weight: 800;
    margin-bottom: 10px;
}

.footer-tagline {
    color: var(--text-muted);
    font-size: 13px;
    margin-bottom: 8px;
}

.footer-disclaimer {
    color: var(--text-dim);
    font-size: 11px;
    line-height: 1.5;
    margin-bottom: 12px;
}

.footer-copy {
    color: var(--text-dim);
    font-size: 12px;
}

.footer-title {
    font-size: 14px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 12px;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 8px;
}

.footer-links a {
    color: var(--text-muted);
    font-size: 13px;
}

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

/* ============================================================
   Sticky Mobile Bottom Navigation Bar (Mobile Only)
   ============================================================ */

.mobile-bottom-nav {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100vw;
    height: 60px;
    background: rgba(16, 22, 38, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-top: 1px solid var(--border-color);
    z-index: 999;
    justify-content: space-around;
    align-items: center;
    padding-bottom: env(safe-area-inset-bottom);
}

.mobile-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--text-dim);
    font-size: 10px;
    font-weight: 600;
    text-decoration: none;
    flex: 1;
    height: 100%;
    gap: 2px;
    transition: color 0.15s ease;
}

.mobile-nav-item .nav-icon {
    font-size: 18px;
    line-height: 1;
}

.mobile-nav-item:hover, .mobile-nav-item.active {
    color: var(--accent);
}

.badge-fav-count-mobile {
    position: absolute;
    top: -4px;
    right: -10px;
    background: var(--danger);
    color: #fff;
    font-size: 9px;
    font-weight: 700;
    padding: 1px 4px;
    border-radius: 8px;
    line-height: 1;
}

/* ============================================================
   Responsive Mobile Breakpoints (Phones & Tablets)
   ============================================================ */

@media (max-width: 900px) {
    .watch-container {
        grid-template-columns: 1fr;
    }
    .footer-inner {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    .legal-card {
        padding: 24px 18px;
    }
    .form-row {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .desktop-only {
        display: none !important;
    }
    .mobile-bottom-nav {
        display: flex;
    }
    body {
        padding-bottom: 64px; /* Prevent footer clipping behind sticky nav */
    }
    .site-header {
        position: sticky;
        top: 0;
    }
    .header-inner {
        height: 56px;
        gap: 10px;
    }
    .site-logo {
        font-size: 17px;
    }
    .logo-icon {
        width: 28px;
        height: 28px;
        font-size: 12px;
    }
    .search-input-wrap input {
        font-size: 12px;
        padding: 6px 10px 6px 30px;
    }
    .search-icon {
        left: 8px;
        width: 14px;
        height: 14px;
    }
    .btn-search {
        padding: 6px 10px;
        font-size: 12px;
    }
}

@media (max-width: 600px) {
    .container {
        padding: 0 10px;
    }
    .main-content {
        padding-top: 14px;
        padding-bottom: 24px;
    }
    .page-title {
        font-size: 18px;
    }
    .page-heading {
        margin-bottom: 14px;
    }

    /* 2-Column High-Density Mobile Card Grid */
    .video-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .video-card {
        border-radius: 8px;
    }

    .video-info {
        padding: 8px;
    }

    .video-title {
        font-size: 12px;
        margin-bottom: 2px;
        line-height: 1.3;
    }

    .video-meta {
        font-size: 11px;
    }

    .badge {
        font-size: 9px;
        padding: 2px 4px;
    }

    /* Models 2-Column Mobile Grid */
    .models-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .model-card {
        border-radius: 8px;
    }

    .model-info {
        padding: 6px 4px;
    }

    .model-name {
        font-size: 12px;
    }

    .model-count {
        font-size: 10px;
    }

    /* Watch Page Mobile Full-Bleed */
    .watch-title {
        font-size: 17px;
    }

    .watch-meta-box {
        padding: 14px;
        border-radius: 8px;
    }

    .stats-right {
        width: 100%;
        justify-content: flex-start;
    }

    .btn-action-sm {
        flex: 1;
        justify-content: center;
        padding: 6px 8px;
        font-size: 12px;
    }
}