/**
 * FrameVault - Main Stylesheet v3.1
 * FULLY RESTORED + Bulletproof Masonry Grid
 *
 * @package FrameVault
 * @version 3.1.0
 */

/* ==========================================
   CSS VARIABLES — v6.0 NEW COLOR COMBINATION
   Default: Cyber Glow — Pink #ff2e97 + Cyan #00e5ff + Yellow #ffe600
   Background: #08080a (deeper, more premium)
   ========================================== */
:root {
    --fv-bg-primary: #08080a;
    --fv-bg-secondary: #121216;
    --fv-bg-tertiary: #1a1a22;
    --fv-bg-card: #15151c;
    --fv-bg-elevated: #1e1e2a;
    --fv-bg-overlay: rgba(0, 0, 0, 0.85);

    --fv-text-primary: #ffffff;
    --fv-text-secondary: #b8b8c0;
    --fv-text-tertiary: #70707a;
    --fv-text-muted: #55555f;

    --fv-accent-primary: #ff2e97;
    --fv-accent-secondary: #00e5ff;
    --fv-accent-hover: #ffe600;
    --fv-accent-gradient: linear-gradient(135deg, #ff2e97, #00e5ff);
    --fv-accent-gradient-hover: linear-gradient(135deg, #00e5ff, #ffe600);

    --fv-border: #22222a;
    --fv-border-light: #2a2a36;

    --fv-gap-xs: 4px;
    --fv-gap-sm: 8px;
    --fv-gap-md: 16px;
    --fv-gap-lg: 24px;
    --fv-gap-xl: 32px;
    --fv-gap-2xl: 48px;
    --fv-gap-3xl: 64px;

    --fv-radius-sm: 6px;
    --fv-radius-md: 10px;
    --fv-radius-lg: 16px;
    --fv-radius-xl: 20px;
    --fv-radius-full: 9999px;

    --fv-shadow-sm: 0 2px 8px rgba(0,0,0,0.3);
    --fv-shadow-md: 0 4px 16px rgba(0,0,0,0.4);
    --fv-shadow-lg: 0 8px 32px rgba(0,0,0,0.5);
    --fv-shadow-glow: 0 0 24px rgba(255,46,151,0.18);

    --fv-font-primary: 'Inter',-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,sans-serif;
    --fv-font-display: 'Space Grotesk','Inter',sans-serif;

    --fv-transition-fast: 0.15s ease;
    --fv-transition: 0.25s ease;
    --fv-transition-slow: 0.4s ease;

    --fv-header-height: 64px;
    --fv-container-max: 1440px;
    --fv-container-narrow: 800px;

    --fv-grid-gutter: 16px;
}

/* ==========================================
   RESET
   ========================================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body.fv-body {
    font-family: var(--fv-font-primary);
    font-size: 15px;
    line-height: 1.6;
    color: var(--fv-text-primary);
    background-color: var(--fv-bg-primary);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

a { color: var(--fv-accent-primary); text-decoration: none; transition: color var(--fv-transition-fast); }
a:hover { color: var(--fv-accent-hover); }
img { max-width: 100%; height: auto; display: block; }
button { cursor: pointer; border: none; background: none; font-family: inherit; color: inherit; }
ul, ol { list-style: none; }

.screen-reader-text {
    clip: rect(1px,1px,1px,1px);
    position: absolute !important;
    height: 1px; width: 1px; overflow: hidden;
}

/* ==========================================
   LAYOUT
   ========================================== */
.fv-container { width: 100%; max-width: var(--fv-container-max); margin: 0 auto; padding: 0 var(--fv-gap-lg); }
.fv-container-narrow { max-width: var(--fv-container-narrow); }
.fv-page { min-height: 100vh; display: flex; flex-direction: column; }
.fv-main { flex: 1; padding-top: var(--fv-header-height); }

/* ==========================================
   HEADER
   ========================================== */
.fv-header {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    height: var(--fv-header-height);
    background: rgba(10,10,10,0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--fv-border);
    transition: background var(--fv-transition), box-shadow var(--fv-transition);
}
.fv-header.scrolled { background: rgba(10,10,10,0.98); box-shadow: var(--fv-shadow-md); }

.fv-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    max-width: var(--fv-container-max);
    margin: 0 auto;
    padding: 0 var(--fv-gap-lg);
    gap: var(--fv-gap-md);
}

/* Header Left */
.fv-header-left { display: flex; align-items: center; gap: var(--fv-gap-md); flex-shrink: 0; }

.fv-menu-toggle {
    display: flex; align-items: center; justify-content: center;
    width: 40px; height: 40px;
    border-radius: var(--fv-radius-full);
    transition: background var(--fv-transition-fast);
}
.fv-menu-toggle:hover { background: var(--fv-bg-tertiary); }
.fv-menu-toggle .fv-icon { width: 22px; height: 22px; }

/* Logo */
.fv-logo-link { display: flex; align-items: center; gap: var(--fv-gap-sm); text-decoration: none; }
.fv-logo-icon { display: flex; align-items: center; }
.fv-logo-icon svg { width: 36px; height: 36px; color: var(--fv-accent-primary); }
.fv-logo-text { font-family: var(--fv-font-display); font-size: 22px; font-weight: 700; color: var(--fv-text-primary); letter-spacing: -0.5px; }
.fv-logo-accent { background: var(--fv-accent-gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }

/* Search */
.fv-header-center { flex: 1; max-width: 580px; margin: 0 var(--fv-gap-lg); }
.fv-search-form { width: 100%; }

.fv-search-wrapper {
    display: flex; align-items: center;
    background: var(--fv-bg-tertiary);
    border: 1px solid var(--fv-border);
    border-radius: var(--fv-radius-full);
    overflow: hidden;
    transition: border-color var(--fv-transition), box-shadow var(--fv-transition);
}
.fv-search-wrapper:focus-within { border-color: var(--fv-accent-primary); box-shadow: 0 0 0 3px rgba(0,212,255,0.1); }
.fv-search-input { flex: 1; padding: 10px 20px; background: transparent; border: none; color: var(--fv-text-primary); font-size: 14px; font-family: inherit; outline: none; }
.fv-search-input::placeholder { color: var(--fv-text-tertiary); }
.fv-search-btn { display: flex; align-items: center; justify-content: center; width: 48px; height: 42px; background: var(--fv-bg-elevated); border-left: 1px solid var(--fv-border); transition: background var(--fv-transition-fast); }
.fv-search-btn:hover { background: var(--fv-accent-primary); }
.fv-search-btn:hover .fv-icon { color: var(--fv-bg-primary); }
.fv-search-btn .fv-icon { width: 18px; height: 18px; color: var(--fv-text-secondary); transition: color var(--fv-transition-fast); }
.fv-search-wrapper-large { max-width: 500px; margin: 0 auto; }
.fv-search-wrapper-large .fv-search-input { padding: 14px 24px; font-size: 16px; }

/* Header Right */
.fv-header-right { display: flex; align-items: center; gap: var(--fv-gap-sm); flex-shrink: 0; }

/* Categories Dropdown */
.fv-nav-categories { position: relative; }
.fv-categories-toggle {
    display: flex; align-items: center; gap: var(--fv-gap-xs);
    padding: 8px 14px; border-radius: var(--fv-radius-full);
    font-size: 13px; font-weight: 500; color: var(--fv-text-secondary);
    transition: all var(--fv-transition-fast);
}
.fv-categories-toggle:hover { color: var(--fv-text-primary); background: var(--fv-bg-tertiary); }
.fv-categories-toggle .fv-icon { width: 14px; height: 14px; }

.fv-categories-dropdown {
    position: absolute; top: 100%; right: 0;
    min-width: 220px;
    background: var(--fv-bg-elevated);
    border: 1px solid var(--fv-border);
    border-radius: var(--fv-radius-md);
    box-shadow: var(--fv-shadow-lg);
    padding: var(--fv-gap-sm) 0;
    opacity: 0; visibility: hidden;
    transform: translateY(10px);
    transition: all var(--fv-transition);
    z-index: 100;
}
.fv-nav-categories:hover .fv-categories-dropdown,
.fv-nav-categories.open .fv-categories-dropdown { opacity: 1; visibility: visible; transform: translateY(4px); }

.fv-categories-menu li a { display: block; padding: 10px 20px; font-size: 14px; color: var(--fv-text-secondary); transition: all var(--fv-transition-fast); }
.fv-categories-menu li a:hover { background: var(--fv-bg-tertiary); color: var(--fv-accent-primary); padding-left: 24px; }

/* Upload Button */
.fv-upload-btn {
    display: flex; align-items: center; gap: var(--fv-gap-sm);
    padding: 8px 18px;
    background: var(--fv-accent-gradient);
    border-radius: var(--fv-radius-full);
    font-size: 13px; font-weight: 600;
    color: var(--fv-bg-primary);
    transition: all var(--fv-transition);
    text-decoration: none;
}
.fv-upload-btn:hover { background: var(--fv-accent-gradient-hover); color: #fff; transform: translateY(-1px); box-shadow: var(--fv-shadow-glow); }
.fv-upload-btn .fv-icon { width: 16px; height: 16px; }

/* Notification */
.fv-notification-btn {
    position: relative;
    display: flex; align-items: center; justify-content: center;
    width: 40px; height: 40px;
    border-radius: var(--fv-radius-full);
    transition: background var(--fv-transition-fast);
}
.fv-notification-btn:hover { background: var(--fv-bg-tertiary); }
.fv-notification-btn .fv-icon { width: 20px; height: 20px; color: var(--fv-text-secondary); }
.fv-notification-dot {
    position: absolute; top: 8px; right: 8px;
    width: 8px; height: 8px;
    background: var(--fv-accent-hover);
    border-radius: 50%;
    border: 2px solid var(--fv-bg-primary);
}

/* User Menu */
.fv-user-menu { position: relative; }
.fv-user-btn { display: flex; align-items: center; border-radius: var(--fv-radius-full); overflow: hidden; transition: box-shadow var(--fv-transition-fast); }
.fv-user-btn:hover { box-shadow: 0 0 0 2px var(--fv-accent-primary); }
.fv-user-btn img { width: 34px; height: 34px; border-radius: 50%; }

.fv-signin-btn {
    display: flex; align-items: center; gap: var(--fv-gap-sm);
    padding: 8px 16px;
    border: 1px solid var(--fv-border-light);
    border-radius: var(--fv-radius-full);
    font-size: 13px; font-weight: 500;
    color: var(--fv-text-secondary);
    transition: all var(--fv-transition-fast);
    text-decoration: none;
}
.fv-signin-btn:hover { border-color: var(--fv-accent-primary); color: var(--fv-accent-primary); }
.fv-signin-btn .fv-icon { width: 16px; height: 16px; }

.fv-user-dropdown {
    position: absolute; top: 100%; right: 0;
    min-width: 240px;
    background: var(--fv-bg-elevated);
    border: 1px solid var(--fv-border);
    border-radius: var(--fv-radius-md);
    box-shadow: var(--fv-shadow-lg);
    padding: var(--fv-gap-sm) 0;
    opacity: 0; visibility: hidden;
    transform: translateY(10px);
    transition: all var(--fv-transition);
    z-index: 100;
}
.fv-user-menu:hover .fv-user-dropdown { opacity: 1; visibility: visible; transform: translateY(4px); }
.fv-user-dropdown-header {
    display: flex; align-items: center; gap: var(--fv-gap-md);
    padding: var(--fv-gap-md) var(--fv-gap-lg);
    border-bottom: 1px solid var(--fv-border);
    margin-bottom: var(--fv-gap-sm);
}
.fv-user-dropdown-header img { width: 42px; height: 42px; border-radius: 50%; }
.fv-user-dropdown-header strong { display: block; font-size: 14px; color: var(--fv-text-primary); }
.fv-user-dropdown-header small { font-size: 12px; color: var(--fv-text-tertiary); }
.fv-user-dropdown > a { display: block; padding: 10px 20px; font-size: 14px; color: var(--fv-text-secondary); transition: all var(--fv-transition-fast); }
.fv-user-dropdown > a:hover { background: var(--fv-bg-tertiary); color: var(--fv-accent-primary); }

/* Mobile Drawer */
.fv-mobile-drawer {
    position: fixed; top: 0; left: -300px;
    width: 280px; height: 100vh;
    background: var(--fv-bg-secondary);
    z-index: 2000;
    transition: left var(--fv-transition-slow);
    display: flex; flex-direction: column;
    overflow-y: auto;
}
.fv-mobile-drawer.open { left: 0; }
.fv-mobile-drawer-header {
    display: flex; align-items: center; justify-content: space-between;
    padding: var(--fv-gap-lg);
    border-bottom: 1px solid var(--fv-border);
}
.fv-drawer-close { display: flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: var(--fv-radius-full); transition: background var(--fv-transition-fast); }
.fv-drawer-close:hover { background: var(--fv-bg-tertiary); }
.fv-drawer-close .fv-icon { width: 20px; height: 20px; }
.fv-mobile-nav { padding: var(--fv-gap-md) 0; }
.fv-mobile-menu li a { display: block; padding: 12px var(--fv-gap-lg); font-size: 15px; color: var(--fv-text-secondary); transition: all var(--fv-transition-fast); }
.fv-mobile-menu li a:hover { color: var(--fv-accent-primary); background: var(--fv-bg-tertiary); }
.fv-mobile-drawer-footer { margin-top: auto; padding: var(--fv-gap-lg); border-top: 1px solid var(--fv-border); }
.fv-mobile-signin { display: block; width: 100%; text-align: center; padding: 12px; background: var(--fv-accent-gradient); border-radius: var(--fv-radius-md); font-weight: 600; color: var(--fv-bg-primary); }
.fv-drawer-overlay {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.7); z-index: 1999;
    opacity: 0; visibility: hidden;
    transition: all var(--fv-transition);
}
.fv-drawer-overlay.open { opacity: 1; visibility: visible; }

/* ==========================================
   FILTER BAR
   ========================================== */
.fv-filter-bar {
    position: sticky; top: var(--fv-header-height);
    z-index: 100;
    background: var(--fv-bg-primary);
    border-bottom: 1px solid var(--fv-border);
    padding: var(--fv-gap-md) 0;
}
.fv-filter-bar-archive { background: var(--fv-bg-secondary); }
.fv-filter-bar-inner { display: flex; align-items: center; justify-content: space-between; gap: var(--fv-gap-md); }

.fv-filter-scroll {
    display: flex; gap: var(--fv-gap-sm);
    overflow-x: auto; scrollbar-width: none;
    -ms-overflow-style: none;
    padding-bottom: 2px;
}
.fv-filter-scroll::-webkit-scrollbar { display: none; }

.fv-filter-chip {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 8px 18px;
    background: var(--fv-bg-tertiary);
    border: 1px solid var(--fv-border);
    border-radius: var(--fv-radius-full);
    font-size: 13px; font-weight: 500;
    color: var(--fv-text-secondary);
    white-space: nowrap;
    transition: all var(--fv-transition-fast);
    cursor: pointer;
}
.fv-filter-chip:hover { background: var(--fv-bg-elevated); border-color: var(--fv-border-light); color: var(--fv-text-primary); }
.fv-filter-chip.active { background: var(--fv-accent-gradient); border-color: transparent; color: var(--fv-bg-primary); font-weight: 600; }
.fv-filter-chip .fv-icon { width: 14px; height: 14px; }

.fv-sort-controls { flex-shrink: 0; }
.fv-sort-select {
    padding: 8px 16px;
    background: var(--fv-bg-tertiary);
    border: 1px solid var(--fv-border);
    border-radius: var(--fv-radius-full);
    color: var(--fv-text-secondary);
    font-size: 13px; font-family: inherit;
    cursor: pointer; outline: none;
    appearance: none; -webkit-appearance: none;
    padding-right: 32px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23707070' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
}
.fv-sort-select:focus { border-color: var(--fv-accent-primary); }

/* ==========================================
   SECTIONS
   ========================================== */
.fv-section { padding: var(--fv-gap-2xl) 0; }
.fv-section + .fv-section { border-top: 1px solid var(--fv-border); }

.fv-section-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: var(--fv-gap-xl); }
.fv-section-title {
    display: flex; align-items: center; gap: var(--fv-gap-sm);
    font-family: var(--fv-font-display);
    font-size: 24px; font-weight: 700;
    color: var(--fv-text-primary);
}
.fv-section-title .fv-icon { width: 24px; height: 24px; color: var(--fv-accent-primary); }

.fv-section-link {
    display: inline-flex; align-items: center; gap: 4px;
    font-size: 14px; font-weight: 500;
    color: var(--fv-accent-primary);
    text-decoration: none;
    transition: all var(--fv-transition-fast);
}
.fv-section-link:hover { color: var(--fv-accent-hover); gap: 8px; }
.fv-section-link .fv-icon { width: 16px; height: 16px; }

.fv-no-content { text-align: center; padding: var(--fv-gap-2xl); color: var(--fv-text-tertiary); font-size: 15px; }

/* ==========================================
   ==========================================

   ██ VIDEO GRID — STABLE PINTEREST MASONRY v5.3 ██

   FIXED: Grid looked good for 1s then collapsed to 1 column.
   Root cause: Masonry.js init with display:none !important sizer
              → sizer width measured as 0 → single column.

   SOLUTION: Pure CSS columns ALWAYS, no absolute conversion.
             - Works 100% without JS
             - Never collapses after load
             - Sizer is invisible but measurable (absolute + hidden)
             - All sections identical (Trending, New, Popular, Archive)

   ==========================================
   ========================================== */

/* GRID CONTAINER — CSS Columns (stable, no collapse) */
.fv-masonry-grid {
    display: block !important;
    width: 100%;
    max-width: 100%;
    column-count: 5;
    column-gap: var(--fv-grid-gutter);
    margin: 0 auto;
    /* Prevent column-fill balancing issues that can cause single column */
    column-fill: initial;
}

/* Sizers — invisible but measurable, never affects columns (absolute) */
.fv-grid-sizer,
.fv-grid-gutter-sizer {
    display: block;
    position: absolute !important;
    visibility: hidden !important;
    pointer-events: none !important;
    height: 0 !important;
    overflow: hidden !important;
    /* Width still defines column for any JS that wants it */
    width: 20%;
}
.fv-grid-gutter-sizer {
    width: var(--fv-grid-gutter);
}

/* When Masonry.js tries to init, KEEP columns — don't unset! */
.fv-masonry-grid.fv-masonry-initialized {
    display: block !important;
    column-count: 5 !important;
    column-gap: var(--fv-grid-gutter) !important;
    position: relative !important;
    width: 100% !important;
}
.fv-masonry-grid.fv-masonry-initialized .fv-grid-item {
    position: relative !important; /* NOT absolute — keep columns */
    top: auto !important;
    left: auto !important;
    transform: none !important;
    width: 100% !important;
    margin: 0 0 var(--fv-grid-gutter) 0 !important;
    will-change: auto !important;
}
.fv-masonry-grid.fv-masonry-initialized .fv-grid-sizer,
.fv-masonry-grid.fv-masonry-initialized .fv-grid-gutter-sizer {
    /* Keep hidden even when initialized */
    display: block !important;
    position: absolute !important;
    visibility: hidden !important;
}

/* GRID ITEMS — Pinterest cards (always 100% of column) */
.fv-grid-item {
    break-inside: avoid;
    -webkit-column-break-inside: avoid;
    page-break-inside: avoid;
    display: block;
    width: 100% !important;
    margin: 0 0 var(--fv-grid-gutter) 0;
    opacity: 0;
    animation: fvItemFadeIn 0.5s ease forwards;
    transform: translateZ(0);
    -webkit-transform: translateZ(0);
    /* Ensure no absolute positioning sneaks in */
    position: relative !important;
    top: auto !important;
    left: auto !important;
}

@keyframes fvItemFadeIn {
    from { opacity: 0; transform: translateY(14px) scale(0.97); }
    to   { opacity: 1; transform: translateY(0) scale(1); }
}

.fv-grid-item:nth-child(1) { animation-delay: 0.02s; }
.fv-grid-item:nth-child(2) { animation-delay: 0.07s; }
.fv-grid-item:nth-child(3) { animation-delay: 0.12s; }
.fv-grid-item:nth-child(4) { animation-delay: 0.17s; }
.fv-grid-item:nth-child(5) { animation-delay: 0.22s; }
.fv-grid-item:nth-child(6) { animation-delay: 0.27s; }
.fv-grid-item:nth-child(7) { animation-delay: 0.32s; }
.fv-grid-item:nth-child(8) { animation-delay: 0.37s; }
.fv-grid-item:nth-child(n+9) { animation-delay: 0.42s; }

/* Ensure ALL section grids share identical behavior — FIX for Trending/Popular inconsistency */
#fv-trending-grid,
#fv-new-grid,
#fv-main-grid,
#fv-archive-grid,
#fv-index-grid,
#fv-search-grid,
#fv-recommended-grid {
    width: 100% !important;
    max-width: 100% !important;
    display: block !important;
}

/* Ready state */
.fv-masonry-grid.fv-masonry-ready {
    opacity: 1;
}
.fv-masonry-grid.fv-masonry-ready .fv-grid-item {
    opacity: 1;
}

/* Responsive — EXACT spec: 6 cols ≥1600, 5 cols 1200-1599, 4 cols 900-1199, 3 cols 640-899, 2 cols 380-639, 1 col <380 */
@media (min-width: 1600px) {
    .fv-masonry-grid,
    .fv-masonry-grid.fv-masonry-initialized { column-count: 6 !important; }
    .fv-grid-sizer { width: 16.666666% !important; }
}
@media (min-width: 1200px) and (max-width: 1599px) {
    .fv-masonry-grid,
    .fv-masonry-grid.fv-masonry-initialized { column-count: 5 !important; }
    .fv-grid-sizer { width: 20% !important; }
}
@media (min-width: 900px) and (max-width: 1199px) {
    .fv-masonry-grid,
    .fv-masonry-grid.fv-masonry-initialized { column-count: 4 !important; }
    .fv-grid-sizer { width: 25% !important; }
}
@media (min-width: 640px) and (max-width: 899px) {
    .fv-masonry-grid,
    .fv-masonry-grid.fv-masonry-initialized { column-count: 3 !important; }
    .fv-grid-sizer { width: 33.333333% !important; }
}
@media (min-width: 380px) and (max-width: 639px) {
    .fv-masonry-grid,
    .fv-masonry-grid.fv-masonry-initialized { column-count: 2 !important; column-gap: 12px !important; }
    .fv-grid-item { margin-bottom: 12px !important; }
    .fv-grid-sizer { width: 50% !important; }
}
@media (max-width: 379px) {
    .fv-masonry-grid,
    .fv-masonry-grid.fv-masonry-initialized { column-count: 1 !important; column-gap: 0 !important; }
    .fv-grid-item { margin-bottom: 16px !important; }
    .fv-grid-sizer { width: 100% !important; }
}

/* ==========================================
   VIDEO CARD — Pinterest Style Clean Cards
   ========================================== */
.fv-card-link {
    display: block;
    text-decoration: none;
    color: inherit;
    border-radius: 12px;
    overflow: hidden;
    background: var(--fv-bg-card);
    transition: transform 0.28s cubic-bezier(0.16,1,0.3,1), box-shadow 0.28s ease;
    position: relative;
    /* Pinterest cards have subtle shadow */
    box-shadow: 0 1px 3px rgba(0,0,0,0.3);
}
.fv-card-link:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.65), var(--fv-shadow-glow);
    z-index: 10;
    color: inherit;
}
.fv-card-link:hover .fv-card-play-overlay { opacity: 1; }
.fv-card-link:hover .fv-card-categories { opacity: 1; transform: translateY(0); }
.fv-card-link:hover .fv-card-title { color: var(--fv-accent-primary); }

/* Thumbnail — Pinterest style: natural height driven by image */
.fv-card-thumb {
    position: relative;
    overflow: hidden;
    background: var(--fv-bg-secondary);
    width: 100%;
    /* No fixed aspect — image drives height, true Pinterest flow */
}

.fv-grid-item-horizontal .fv-card-thumb,
.fv-grid-item-vertical .fv-card-thumb,
.fv-grid-item-square .fv-card-thumb {
    aspect-ratio: auto; /* reset — natural ratio from image */
}

.fv-card-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    transition: filter 0.35s ease, transform 0.55s cubic-bezier(0.16,1,0.3,1);
}

.fv-card-link:hover .fv-card-image {
    filter: brightness(1.12);
    transform: scale(1.06);
}

.fv-thumb-placeholder {
    width: 100%; height: 100%; min-height: 180px;
    display: flex; align-items: center; justify-content: center;
    background: linear-gradient(135deg, var(--fv-bg-secondary), var(--fv-bg-tertiary));
}
.fv-thumb-placeholder.fv-thumb-vertical { min-height: 320px; }
.fv-thumb-placeholder svg { width: 40%; height: 40%; opacity: 0.3; }

/* Play Overlay */
.fv-card-play-overlay {
    position: absolute; inset: 0;
    display: flex; align-items: center; justify-content: center;
    background: rgba(0,0,0,0.4);
    opacity: 0; transition: opacity var(--fv-transition);
}
.fv-play-icon {
    width: 56px; height: 56px;
    display: flex; align-items: center; justify-content: center;
    background: rgba(0,212,255,0.9);
    border-radius: 50%;
    transform: scale(0.8);
    transition: transform var(--fv-transition);
    box-shadow: 0 4px 20px rgba(0,212,255,0.4);
}
.fv-card-link:hover .fv-play-icon { transform: scale(1); }
.fv-play-icon .fv-icon { width: 24px; height: 24px; color: #fff; margin-left: 2px; }

/* Badges */
.fv-duration-badge {
    position: absolute; bottom: 8px; right: 8px;
    padding: 3px 8px;
    background: rgba(0,0,0,0.85);
    border-radius: var(--fv-radius-sm);
    font-size: 12px; font-weight: 600;
    color: #fff; z-index: 2;
}
.fv-premium-badge-small {
    position: absolute; top: 8px; left: 8px;
    width: 28px; height: 28px;
    display: flex; align-items: center; justify-content: center;
    background: linear-gradient(135deg, #ffd700, #ffaa00);
    border-radius: 50%; z-index: 2;
    box-shadow: 0 2px 8px rgba(255,215,0,0.3);
}
.fv-premium-badge-small .fv-icon { width: 14px; height: 14px; color: #1a1a00; }
.fv-orientation-indicator { display: none; }

/* Card Info */
.fv-card-info { padding: var(--fv-gap-md); }
.fv-card-title {
    font-size: 14px; font-weight: 600; line-height: 1.4;
    color: var(--fv-text-primary);
    margin-bottom: var(--fv-gap-sm);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color var(--fv-transition-fast);
}
.fv-card-meta {
    display: flex; align-items: center; gap: var(--fv-gap-md);
    font-size: 12px; color: var(--fv-text-tertiary);
}
.fv-card-views, .fv-card-rating, .fv-card-time { display: inline-flex; align-items: center; gap: 4px; }
.fv-card-views .fv-icon, .fv-card-rating .fv-icon, .fv-card-time .fv-icon { width: 12px; height: 12px; }
.fv-card-rating { color: #ffd700; }
.fv-card-rating .fv-icon { color: #ffd700; }

.fv-card-categories {
    display: flex; gap: 6px; flex-wrap: wrap;
    margin-top: var(--fv-gap-sm);
    opacity: 0; transform: translateY(4px);
    transition: all var(--fv-transition);
}
.fv-category-badge {
    display: inline-block; padding: 3px 10px;
    background: var(--fv-bg-tertiary);
    border-radius: var(--fv-radius-full);
    font-size: 11px; font-weight: 500;
    color: var(--fv-accent-primary);
    text-decoration: none;
    transition: all var(--fv-transition-fast);
}
.fv-category-badge:hover { background: var(--fv-accent-primary); color: var(--fv-bg-primary); }

.fv-grid-item-premium .fv-card-link { border: 1px solid rgba(255,215,0,0.2); }
.fv-grid-item-premium .fv-card-link:hover { box-shadow: 0 12px 40px rgba(0,0,0,0.6), 0 0 20px rgba(255,215,0,0.15); }

/* ==========================================
   REELS / SHORTS SCROLL
   ========================================== */
.fv-reels-scroll {
    display: flex; gap: var(--fv-gap-md);
    overflow-x: auto; scrollbar-width: none;
    padding-bottom: var(--fv-gap-md);
    scroll-snap-type: x mandatory;
}
.fv-reels-scroll::-webkit-scrollbar { display: none; }

.fv-reel-card {
    flex-shrink: 0; width: 180px;
    text-decoration: none; color: inherit;
    scroll-snap-align: start;
    transition: transform var(--fv-transition);
}
.fv-reel-card:hover { transform: translateY(-4px); color: inherit; }
.fv-reel-card:hover .fv-reel-play { opacity: 1; }
.fv-reel-card:hover .fv-reel-thumb img { filter: brightness(1.1); }

.fv-reel-thumb {
    position: relative; width: 180px; height: 320px;
    border-radius: var(--fv-radius-md); overflow: hidden;
    background: var(--fv-bg-tertiary);
    margin-bottom: var(--fv-gap-sm);
}
.fv-reel-thumb img { width: 100%; height: 100%; object-fit: cover; transition: filter var(--fv-transition); }
.fv-reel-play {
    position: absolute; inset: 0;
    display: flex; align-items: center; justify-content: center;
    background: rgba(0,0,0,0.3); opacity: 0;
    transition: opacity var(--fv-transition);
}
.fv-reel-play .fv-icon { width: 40px; height: 40px; color: #fff; filter: drop-shadow(0 2px 8px rgba(0,0,0,0.5)); }
.fv-reel-title {
    font-size: 13px; font-weight: 600; line-height: 1.3;
    margin-bottom: 2px;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
    overflow: hidden;
}
.fv-reel-views { font-size: 12px; color: var(--fv-text-tertiary); }
.fv-no-reels { color: var(--fv-text-tertiary); font-size: 14px; padding: var(--fv-gap-lg); }

/* ==========================================
   CATEGORIES GRID
   ========================================== */
.fv-categories-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: var(--fv-gap-md); }

.fv-category-card {
    position: relative; height: 140px;
    border-radius: var(--fv-radius-lg); overflow: hidden;
    background-size: cover; background-position: center;
    background-color: var(--fv-bg-tertiary);
    text-decoration: none;
    transition: all var(--fv-transition);
}
.fv-category-card:hover { transform: translateY(-4px); box-shadow: var(--fv-shadow-lg); }
.fv-category-card:hover .fv-category-overlay { background: rgba(0,212,255,0.25); }
.fv-category-overlay { position: absolute; inset: 0; background: linear-gradient(135deg, rgba(0,0,0,0.7), rgba(139,92,246,0.3)); transition: background var(--fv-transition); }
.fv-category-info { position: relative; z-index: 2; display: flex; flex-direction: column; justify-content: flex-end; height: 100%; padding: var(--fv-gap-lg); }
.fv-category-info h3 { font-size: 16px; font-weight: 700; color: #fff; margin-bottom: 2px; }
.fv-category-info span { font-size: 12px; color: rgba(255,255,255,0.7); }

/* ==========================================
   SINGLE VIDEO PAGE
   ========================================== */
.fv-single-video { padding-bottom: var(--fv-gap-3xl); }
.fv-player-section { background: #000; }
.fv-player-wrapper { max-width: var(--fv-container-max); margin: 0 auto; }
.fv-player-horizontal { aspect-ratio: 16 / 9; }
.fv-player-vertical { max-width: 420px; aspect-ratio: 9 / 16; }
.fv-video-player { width: 100%; height: 100%; }
.fv-embed-wrapper { width: 100%; height: 100%; position: relative; }
.fv-embed-wrapper iframe { width: 100%; height: 100%; border: none; }
.fv-self-hosted-video { width: 100%; height: 100%; object-fit: contain; background: #000; }
.fv-no-video { display: flex; align-items: center; justify-content: center; min-height: 400px; background: var(--fv-bg-secondary); color: var(--fv-text-tertiary); font-size: 18px; }

.fv-video-info-section { padding: var(--fv-gap-xl) 0; }
.fv-video-info-grid { display: grid; grid-template-columns: 1fr 340px; gap: var(--fv-gap-xl); }

.fv-video-header { margin-bottom: var(--fv-gap-lg); }
.fv-premium-badge {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 6px 14px;
    background: linear-gradient(135deg, #ffd700, #ffaa00);
    border-radius: var(--fv-radius-full);
    font-size: 12px; font-weight: 700; color: #1a1a00;
    margin-bottom: var(--fv-gap-md);
    text-transform: uppercase; letter-spacing: 0.5px;
}
.fv-premium-badge .fv-icon { width: 14px; height: 14px; }

.fv-video-title { font-family: var(--fv-font-display); font-size: 28px; font-weight: 800; line-height: 1.25; color: var(--fv-text-primary); margin-bottom: var(--fv-gap-md); }

.fv-video-meta-row { display: flex; align-items: center; gap: var(--fv-gap-lg); flex-wrap: wrap; }
.fv-meta-item { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; color: var(--fv-text-secondary); }
.fv-meta-item .fv-icon { width: 16px; height: 16px; color: var(--fv-text-tertiary); }
.fv-meta-item.fv-rating { color: #ffd700; }
.fv-meta-item.fv-rating .fv-icon { color: #ffd700; }

/* Actions */
.fv-video-actions { display: flex; gap: var(--fv-gap-md); padding: var(--fv-gap-lg) 0; border-bottom: 1px solid var(--fv-border); margin-bottom: var(--fv-gap-lg); }
.fv-action-btn {
    display: inline-flex; align-items: center; gap: var(--fv-gap-sm);
    padding: 10px 20px;
    background: var(--fv-bg-tertiary);
    border-radius: var(--fv-radius-full);
    font-size: 14px; font-weight: 500;
    color: var(--fv-text-secondary);
    transition: all var(--fv-transition-fast);
}
.fv-action-btn:hover { background: var(--fv-bg-elevated); color: var(--fv-text-primary); }
.fv-action-btn.liked { background: rgba(0,212,255,0.15); color: var(--fv-accent-primary); }
.fv-action-btn.disliked { background: rgba(255,56,56,0.15); color: var(--fv-accent-hover); }
.fv-action-btn .fv-icon { width: 18px; height: 18px; }
.fv-action-count { font-weight: 600; }

/* Description */
.fv-video-description { padding: var(--fv-gap-lg); background: var(--fv-bg-secondary); border-radius: var(--fv-radius-md); margin-bottom: var(--fv-gap-lg); }
.fv-description-toggle { font-size: 14px; line-height: 1.7; color: var(--fv-text-secondary); max-height: 120px; overflow: hidden; position: relative; transition: max-height var(--fv-transition-slow); }
.fv-description-toggle.expanded { max-height: none; }
.fv-description-toggle::after { content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 40px; background: linear-gradient(to top, var(--fv-bg-secondary), transparent); pointer-events: none; }
.fv-description-toggle.expanded::after { display: none; }
.fv-show-more-btn { margin-top: var(--fv-gap-sm); font-size: 13px; font-weight: 600; color: var(--fv-text-secondary); transition: color var(--fv-transition-fast); }
.fv-show-more-btn:hover { color: var(--fv-accent-primary); }

/* Tags */
.fv-video-tags { display: flex; flex-wrap: wrap; gap: var(--fv-gap-sm); margin-bottom: var(--fv-gap-xl); }
.fv-tag { display: inline-block; padding: 6px 14px; background: var(--fv-bg-tertiary); border-radius: var(--fv-radius-full); font-size: 13px; color: var(--fv-accent-primary); text-decoration: none; transition: all var(--fv-transition-fast); }
.fv-tag:hover { background: var(--fv-accent-primary); color: var(--fv-bg-primary); }

/* Sidebar */
.fv-video-info-sidebar { display: flex; flex-direction: column; gap: var(--fv-gap-lg); }
.fv-sidebar-card { padding: var(--fv-gap-lg); background: var(--fv-bg-secondary); border-radius: var(--fv-radius-md); border: 1px solid var(--fv-border); }
.fv-sidebar-card h4 { font-size: 14px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: var(--fv-gap-md); }
.fv-sidebar-cats { display: flex; flex-wrap: wrap; gap: var(--fv-gap-sm); }
.fv-stat-row { display: flex; align-items: center; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid var(--fv-border); }
.fv-stat-row:last-of-type { border-bottom: none; }
.fv-stat-label { font-size: 13px; color: var(--fv-text-tertiary); }
.fv-stat-value { font-size: 14px; font-weight: 600; color: var(--fv-text-primary); }
.fv-stars { color: #ffd700; font-size: 14px; margin-right: 4px; }
.fv-like-ratio-bar { width: 100%; height: 4px; background: var(--fv-bg-tertiary); border-radius: 2px; margin-top: var(--fv-gap-md); overflow: hidden; }
.fv-like-fill { height: 100%; background: var(--fv-accent-gradient); border-radius: 2px; transition: width var(--fv-transition-slow); }
.fv-like-ratio-text { display: block; margin-top: 6px; font-size: 12px; color: var(--fv-text-tertiary); }

/* ==========================================
   COMMENTS
   ========================================== */
.fv-video-comments { margin-top: var(--fv-gap-xl); padding-top: var(--fv-gap-xl); border-top: 1px solid var(--fv-border); }
.fv-comments-title { font-family: var(--fv-font-display); font-size: 20px; font-weight: 700; margin-bottom: var(--fv-gap-lg); }
.fv-comment { display: flex; gap: var(--fv-gap-md); padding: var(--fv-gap-lg) 0; border-bottom: 1px solid var(--fv-border); }
.fv-comment-avatar img { width: 42px; height: 42px; border-radius: 50%; }
.fv-comment-body { flex: 1; }
.fv-comment-meta { display: flex; align-items: center; gap: var(--fv-gap-md); margin-bottom: 6px; }
.fv-comment-author { font-size: 14px; font-weight: 600; color: var(--fv-text-primary); }
.fv-comment-date { font-size: 12px; color: var(--fv-text-tertiary); }
.fv-comment-content { font-size: 14px; line-height: 1.6; color: var(--fv-text-secondary); }
.fv-comment-content p { margin-bottom: var(--fv-gap-sm); }
.fv-reply-link a { font-size: 12px; color: var(--fv-accent-primary); margin-top: 6px; display: inline-block; }
.fv-comment-form { margin-top: var(--fv-gap-xl); }
.fv-comment-form textarea { width: 100%; padding: var(--fv-gap-md); background: var(--fv-bg-secondary); border: 1px solid var(--fv-border); border-radius: var(--fv-radius-md); color: var(--fv-text-primary); font-family: inherit; font-size: 14px; resize: vertical; outline: none; transition: border-color var(--fv-transition); }
.fv-comment-form textarea:focus { border-color: var(--fv-accent-primary); }
.fv-comment-form input[type="text"],
.fv-comment-form input[type="email"],
.fv-comment-form input[type="url"] { width: 100%; padding: 10px var(--fv-gap-md); background: var(--fv-bg-secondary); border: 1px solid var(--fv-border); border-radius: var(--fv-radius-md); color: var(--fv-text-primary); font-family: inherit; font-size: 14px; outline: none; margin-bottom: var(--fv-gap-sm); }
.fv-comment-form input:focus { border-color: var(--fv-accent-primary); }
.fv-comment-submit-btn { display: inline-flex; padding: 10px 24px; background: var(--fv-accent-gradient); border-radius: var(--fv-radius-full); font-size: 14px; font-weight: 600; color: var(--fv-bg-primary); border: none; cursor: pointer; transition: all var(--fv-transition); margin-top: var(--fv-gap-md); }
.fv-comment-submit-btn:hover { transform: translateY(-1px); box-shadow: var(--fv-shadow-glow); }
.fv-no-comments { color: var(--fv-text-tertiary); padding: var(--fv-gap-lg) 0; }
.fv-comment-nav { display: flex; justify-content: space-between; padding: var(--fv-gap-md) 0; }

/* ==========================================
   ARCHIVE PAGES
   ========================================== */
.fv-archive-header { padding: var(--fv-gap-2xl) 0 var(--fv-gap-lg); background: var(--fv-bg-secondary); border-bottom: 1px solid var(--fv-border); }
.fv-archive-title { font-family: var(--fv-font-display); font-size: 32px; font-weight: 800; color: var(--fv-text-primary); margin-bottom: var(--fv-gap-sm); }
.fv-archive-desc { font-size: 15px; color: var(--fv-text-secondary); max-width: 600px; }

/* ==========================================
   LOAD MORE
   ========================================== */
.fv-load-more-wrapper { display: flex; justify-content: center; padding: var(--fv-gap-xl) 0; }
.fv-load-more-btn {
    display: inline-flex; align-items: center; gap: var(--fv-gap-sm);
    padding: 14px 40px;
    background: var(--fv-bg-tertiary);
    border: 1px solid var(--fv-border);
    border-radius: var(--fv-radius-full);
    font-size: 15px; font-weight: 600;
    color: var(--fv-text-secondary);
    transition: all var(--fv-transition);
}
.fv-load-more-btn:hover { background: var(--fv-bg-elevated); border-color: var(--fv-accent-primary); color: var(--fv-accent-primary); box-shadow: var(--fv-shadow-glow); }
.fv-load-more-btn.loading .fv-load-more-text { display: none; }
.fv-load-more-btn.loading .fv-load-more-spinner { display: block; }
.fv-load-more-spinner { display: none; width: 20px; height: 20px; border: 2px solid var(--fv-border); border-top-color: var(--fv-accent-primary); border-radius: 50%; animation: fvSpin 0.8s linear infinite; }
@keyframes fvSpin { to { transform: rotate(360deg); } }

/* ==========================================
   NO RESULTS / 404
   ========================================== */
.fv-no-results { text-align: center; padding: var(--fv-gap-3xl) var(--fv-gap-lg); }
.fv-no-results-icon { font-size: 64px; margin-bottom: var(--fv-gap-lg); }
.fv-no-results h2 { font-family: var(--fv-font-display); font-size: 24px; font-weight: 700; margin-bottom: var(--fv-gap-md); }
.fv-no-results p { color: var(--fv-text-secondary); margin-bottom: var(--fv-gap-xl); }

.fv-btn-primary { display: inline-flex; align-items: center; gap: var(--fv-gap-sm); padding: 12px 28px; background: var(--fv-accent-gradient); border-radius: var(--fv-radius-full); font-size: 15px; font-weight: 600; color: var(--fv-bg-primary); text-decoration: none; transition: all var(--fv-transition); }
.fv-btn-primary:hover { transform: translateY(-2px); box-shadow: var(--fv-shadow-glow); color: var(--fv-bg-primary); }
.fv-btn-large { padding: 16px 36px; font-size: 16px; }

.fv-404-page { padding: var(--fv-gap-3xl) 0; }
.fv-404-content { text-align: center; max-width: 600px; margin: 0 auto; }
.fv-404-glitch {
    font-family: var(--fv-font-display); font-size: 120px; font-weight: 900;
    background: var(--fv-accent-gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
    line-height: 1; margin-bottom: var(--fv-gap-md);
}
.fv-404-content h1 { font-family: var(--fv-font-display); font-size: 28px; font-weight: 700; margin-bottom: var(--fv-gap-md); }
.fv-404-content > p { color: var(--fv-text-secondary); margin-bottom: var(--fv-gap-xl); }
.fv-404-search { margin-bottom: var(--fv-gap-xl); }
.fv-404-trending { margin-top: var(--fv-gap-3xl); text-align: left; }
.fv-404-trending h3 { font-size: 18px; font-weight: 600; margin-bottom: var(--fv-gap-lg); text-align: center; }
.fv-404-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--fv-gap-md); }
.fv-404-grid .fv-grid-item {
    width: 100% !important;
    margin-bottom: 0 !important;
    animation: none !important;
    opacity: 1 !important;
    position: relative !important;
    top: auto !important;
    left: auto !important;
    break-inside: auto !important;
    -webkit-column-break-inside: auto !important;
    transform: none !important;
}

/* ==========================================
   ARTICLES / PAGES
   ========================================== */
.fv-page-content { padding: var(--fv-gap-2xl) 0; }
.fv-article { max-width: 800px; margin: 0 auto; }
.fv-article-header { margin-bottom: var(--fv-gap-xl); }
.fv-article-thumb { border-radius: var(--fv-radius-lg); overflow: hidden; margin-bottom: var(--fv-gap-lg); }
.fv-article-thumb img { width: 100%; }
.fv-article-title { font-family: var(--fv-font-display); font-size: 36px; font-weight: 800; line-height: 1.2; margin-bottom: var(--fv-gap-md); }
.fv-article-meta { display: flex; gap: var(--fv-gap-md); color: var(--fv-text-tertiary); font-size: 14px; }
.fv-article-content { font-size: 16px; line-height: 1.8; color: var(--fv-text-secondary); }
.fv-article-content p { margin-bottom: var(--fv-gap-md); }
.fv-article-content h2, .fv-article-content h3 { color: var(--fv-text-primary); margin: var(--fv-gap-xl) 0 var(--fv-gap-md); }
.fv-article-content a { color: var(--fv-accent-primary); text-decoration: underline; }
.fv-article-tags { margin-top: var(--fv-gap-xl); padding-top: var(--fv-gap-lg); border-top: 1px solid var(--fv-border); }
.fv-tags-label { font-weight: 600; color: var(--fv-text-primary); }

/* Search Results */
.fv-search-result { padding: var(--fv-gap-lg); }
.fv-search-result h3 { font-size: 16px; font-weight: 600; margin-bottom: var(--fv-gap-sm); }
.fv-search-result p { font-size: 14px; color: var(--fv-text-secondary); margin-bottom: var(--fv-gap-sm); }
.fv-search-type { font-size: 12px; color: var(--fv-accent-primary); text-transform: uppercase; font-weight: 600; }

/* Pagination */
.nav-links { display: flex; justify-content: center; gap: var(--fv-gap-sm); padding: var(--fv-gap-xl) 0; }
.page-numbers {
    display: inline-flex; align-items: center; justify-content: center;
    min-width: 40px; height: 40px; padding: 0 12px;
    background: var(--fv-bg-tertiary);
    border: 1px solid var(--fv-border);
    border-radius: var(--fv-radius-md);
    font-size: 14px; font-weight: 500;
    color: var(--fv-text-secondary);
    text-decoration: none;
    transition: all var(--fv-transition-fast);
}
.page-numbers:hover { background: var(--fv-bg-elevated); border-color: var(--fv-accent-primary); color: var(--fv-accent-primary); }
.page-numbers.current { background: var(--fv-accent-gradient); border-color: transparent; color: var(--fv-bg-primary); font-weight: 700; }

/* ==========================================
   FOOTER
   ========================================== */
.fv-footer { background: var(--fv-bg-secondary); border-top: 1px solid var(--fv-border); margin-top: auto; }
.fv-footer-inner { max-width: var(--fv-container-max); margin: 0 auto; padding: 0 var(--fv-gap-lg); }
.fv-footer-widgets { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: var(--fv-gap-2xl); padding: var(--fv-gap-3xl) 0; }
.fv-footer-brand .fv-footer-logo { display: block; font-size: 26px; margin-bottom: var(--fv-gap-md); }
.fv-footer-tagline { font-size: 14px; color: var(--fv-text-tertiary); margin-bottom: var(--fv-gap-lg); line-height: 1.6; }
.fv-footer-social { display: flex; gap: var(--fv-gap-sm); }
.fv-social-link { display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; background: var(--fv-bg-tertiary); border-radius: var(--fv-radius-full); transition: all var(--fv-transition-fast); }
.fv-social-link svg { width: 18px; height: 18px; color: var(--fv-text-secondary); transition: color var(--fv-transition-fast); }
.fv-social-link:hover { background: var(--fv-accent-primary); transform: translateY(-2px); }
.fv-social-link:hover svg { color: var(--fv-bg-primary); }

.footer-widget-title { font-size: 14px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; color: var(--fv-text-primary); margin-bottom: var(--fv-gap-lg); }
.fv-footer-links li { margin-bottom: var(--fv-gap-sm); }
.fv-footer-links li a { font-size: 14px; color: var(--fv-text-tertiary); transition: all var(--fv-transition-fast); }
.fv-footer-links li a:hover { color: var(--fv-accent-primary); padding-left: 4px; }

.fv-footer-bottom { display: flex; align-items: center; justify-content: space-between; padding: var(--fv-gap-lg) 0; border-top: 1px solid var(--fv-border); }
.fv-copyright { font-size: 13px; color: var(--fv-text-muted); }
.fv-footer-menu { display: flex; gap: var(--fv-gap-lg); }
.fv-footer-menu li a { font-size: 13px; color: var(--fv-text-tertiary); }
.fv-footer-menu li a:hover { color: var(--fv-accent-primary); }

/* Widgets */
.fv-widget { margin-bottom: var(--fv-gap-xl); }
.fv-widget-title { font-size: 16px; font-weight: 700; margin-bottom: var(--fv-gap-md); padding-bottom: var(--fv-gap-sm); border-bottom: 2px solid var(--fv-accent-primary); }

/* ==========================================
   RESPONSIVE
   ========================================== */
@media (max-width: 1200px) {
    .fv-footer-widgets { grid-template-columns: 1fr 1fr; gap: var(--fv-gap-xl); }
}
@media (max-width: 1024px) {
    .fv-video-info-grid { grid-template-columns: 1fr; }
    .fv-video-info-sidebar { display: grid; grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
    .fv-404-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
    :root { --fv-header-height: 56px; }
    .fv-header-center { display: none; }
    .fv-header-right .fv-nav-categories,
    .fv-header-right .fv-upload-btn .fv-upload-text { display: none; }
    .fv-video-title { font-size: 22px; }
    .fv-video-info-sidebar { grid-template-columns: 1fr; }
    .fv-video-actions { flex-wrap: wrap; }
    .fv-footer-widgets { grid-template-columns: 1fr; }
    .fv-footer-bottom { flex-direction: column; gap: var(--fv-gap-md); text-align: center; }
    .fv-404-grid { grid-template-columns: 1fr 1fr; }
    .fv-reel-card { width: 150px; }
    .fv-reel-thumb { width: 150px; height: 267px; }
    .fv-section-title { font-size: 20px; }
    .fv-categories-grid { grid-template-columns: 1fr 1fr; }
    .fv-article-title { font-size: 28px; }
}
@media (max-width: 480px) {
    .fv-404-grid { grid-template-columns: 1fr; }
    .fv-404-glitch { font-size: 80px; }
    .fv-archive-title { font-size: 24px; }
    .fv-filter-bar-inner { flex-direction: column; align-items: stretch; }
    .fv-sort-controls { width: 100%; }
    .fv-sort-select { width: 100%; }
    .fv-categories-grid { grid-template-columns: 1fr; }
}

/* ==========================================
   UTILITIES
   ========================================== */
::selection { background: rgba(0,212,255,0.3); color: #fff; }
:focus-visible { outline: 2px solid var(--fv-accent-primary); outline-offset: 2px; }
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: var(--fv-bg-primary); }
::-webkit-scrollbar-thumb { background: var(--fv-bg-elevated); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--fv-text-muted); }
