   /* Reset and Variables */
        :root {
            --bg-primary: #0a0a0a;
            --bg-secondary: #1a1a1a;
            --bg-card: #222222;
            --text-primary: #ffffff;
            --text-secondary: #aaaaaa;
            --accent-red: #ff1744;
            --accent-hover: #ff4569;
            --border-color: #333333;
            --shadow: 0 2px 8px rgba(0,0,0,0.5);
        }
        
        /* Light mode variables */
        :root.light-mode {
            --bg-primary: #f5f5f5;
            --bg-secondary: #ffffff;
            --bg-card: #ffffff;
            --text-primary: #212121;
            --text-secondary: #666666;
            --accent-red: #ff1744;
            --accent-hover: #ff4569;
            --border-color: #e0e0e0;
            --shadow: 0 2px 8px rgba(0,0,0,0.1);
        }
        
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }
        
        body {
            font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
            background-color: var(--bg-primary);
            color: var(--text-primary);
            line-height: 1.6;
            overflow-x: hidden;
            transition: background-color 0.3s, color 0.3s;
        }
        
        a {
            color: inherit;
            text-decoration: none;
        }
        

        
        /* Header Styles */
        .header {
            background-color: var(--bg-secondary);
            box-shadow: var(--shadow);
            position: sticky;
            top: 0;
            z-index: 1000;
        }
        
        .header-top {
            border-bottom: 1px solid var(--border-color);
        }
        
        .header-container {
            max-width: 1400px;
            margin: 0 auto;
            padding: 15px 20px;
            display: flex;
            align-items: center;
            gap: 30px;
        }
        
        .logo {
            display: flex;
            align-items: center;
            gap: 5px;
            font-size: 28px;
            font-weight: bold;
            flex-shrink: 0;
        }
        
        .logo i {
            font-size: 32px;
            color: var(--accent-red);
        }
        
        .logo-cam {
            color: var(--text-primary);
        }
        
        .logo-record {
            color: var(--accent-red);
        }
        
        .search-container {
            flex: 1;
            max-width: 600px;
        }
        
        .search-form {
            display: flex;
            background-color: var(--bg-card);
            border-radius: 25px;
            overflow: hidden;
            border: 1px solid var(--border-color);
            transition: border-color 0.3s;
        }
        
        .search-form:focus-within {
            border-color: var(--accent-red);
        }
        
        .search-input {
            flex: 1;
            background: none;
            border: none;
            color: var(--text-primary);
            padding: 12px 20px;
            font-size: 16px;
            outline: none;
        }
        
        .search-input::placeholder {
            color: var(--text-secondary);
        }
        
        .search-button {
            background-color: var(--accent-red);
            border: none;
            padding: 0 25px;
            color: white;
            cursor: pointer;
            transition: background-color 0.3s;
        }
        
        .search-button:hover {
            background-color: var(--accent-hover);
        }
        
        .user-menu {
            display: flex;
            gap: 20px;
            align-items: center;
        }
        
        .user-menu-item {
            color: var(--text-secondary);
            transition: color 0.3s;
            font-size: 20px;
        }
        
        .user-menu-item:hover {
            color: var(--text-primary);
        }
        
        .theme-toggle {
            background: none;
            border: none;
            color: var(--text-secondary);
            font-size: 20px;
            cursor: pointer;
            transition: color 0.3s;
        }
        
        .theme-toggle:hover {
            color: var(--text-primary);
        }
        
        /* Navigation */
        .nav {
            background-color: var(--bg-secondary);
            border-bottom: 1px solid var(--border-color);
        }
        
        .nav-container {
            max-width: 1400px;
            margin: 0 auto;
            padding: 0 20px;
            display: flex;
            gap: 30px;
            overflow-x: auto;
            scrollbar-width: none;
        }
        
        .nav-container::-webkit-scrollbar {
            display: none;
        }
        
        .nav-link {
            display: flex;
            align-items: center;
            gap: 8px;
            padding: 15px 0;
            color: var(--text-secondary);
            white-space: nowrap;
            transition: color 0.3s;
            font-weight: 500;
        }
        
        .nav-link:hover, .nav-link.active {
            color: var(--accent-red);
        }
        
        /* Main Content */
        .main {
            max-width: 1400px;
            margin: 0 auto;
            padding: 20px;
        }
        
        /* Filters Section */
        .filters-section {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 20px;
            gap: 20px;
            flex-wrap: wrap;
        }
        
        .section-header {
            flex: 1;
        }
        
        .section-title {
            font-size: 24px;
            font-weight: 500;
        }
        
        .platform-filters {
            display: flex;
            gap: 10px;
            flex-wrap: wrap;
        }
        
        .platform-filter-btn {
            padding: 8px 16px;
            background-color: var(--bg-card);
            border-radius: 20px;
            color: var(--text-secondary);
            font-size: 14px;
            transition: all 0.3s;
            border: 1px solid var(--border-color);
        }
        
        .platform-filter-btn:hover {
            background-color: var(--accent-red);
            color: white;
            border-color: var(--accent-red);
        }
        
        .platform-filter-btn.active {
            background-color: var(--accent-red);
            color: white;
            border-color: var(--accent-red);
        }
        
        /* Date Filter Display */
        .date-filter-display {
            background-color: var(--bg-card);
            color: var(--text-primary);
            padding: 15px 20px;
            border-radius: 8px;
            margin-bottom: 20px;
            text-align: center;
            font-size: 16px;
            border: 1px solid var(--border-color);
            display: flex;
            justify-content: center;
            align-items: center;
            gap: 15px;
        }
        
        .date-filter-display a {
            color: var(--accent-red);
            text-decoration: none;
            padding: 4px 12px;
            border: 1px solid var(--accent-red);
            border-radius: 4px;
            transition: all 0.3s;
        }
        
        .date-filter-display a:hover {
            background-color: var(--accent-red);
            color: white;
        }
        
        /* Video Grid */
        .video-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
            gap: 15px;
            margin-bottom: 40px;
        }
        
        .video-card {
            background-color: var(--bg-card);
            border-radius: 8px;
            overflow: hidden;
            transition: transform 0.3s, box-shadow 0.3s;
            cursor: pointer;
            border: 1px solid var(--border-color);
            position: relative;
        }
        
        .video-card:hover {
            transform: translateY(-4px);
            box-shadow: 0 8px 20px rgba(0,0,0,0.3);
        }
        
        .light-mode .video-card:hover {
            box-shadow: 0 8px 20px rgba(0,0,0,0.1);
        }
        
        .thumbnail-wrapper {
            position: relative;
            padding-bottom: 56.25%;
            background-color: #000;
            overflow: hidden;
        }
        
        .thumbnail {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.3s;
        }
        
        .video-preview {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            object-fit: cover;
            opacity: 0;
            transition: opacity 0.3s;
            z-index: 1;
        }
        
        .video-preview.visible {
            opacity: 1;
        }
        
        .video-card:hover .thumbnail {
            transform: scale(1.05);
        }
        
        .duration {
            position: absolute;
            bottom: 8px;
            right: 8px;
            background-color: rgba(0,0,0,0.8);
            color: white;
            padding: 4px 8px;
            border-radius: 4px;
            font-size: 12px;
            font-weight: 500;
            z-index: 2;
        }
        
        .quality-badge {
            position: absolute;
            top: 8px;
            left: 8px;
            background-color: var(--accent-red);
            color: white;
            padding: 4px 8px;
            border-radius: 4px;
            font-size: 12px;
            font-weight: bold;
            z-index: 2;
        }
        
        .new-ribbon {
            position: absolute;
            top: 8px;
            right: 8px;
            background-color: #00ff00;
            color: #000;
            padding: 4px 8px;
            border-radius: 4px;
            font-size: 12px;
            font-weight: bold;
            z-index: 2;
        }
        
        .video-info {
            padding: 12px;
        }
        
        .video-title {
            font-size: 14px;
            line-height: 1.4;
            height: 2.8em;
            overflow: hidden;
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
            margin-bottom: 8px;
            color: var(--text-primary);
        }
        
        .video-meta {
            display: flex;
            justify-content: space-between;
            align-items: center;
            font-size: 13px;
            color: var(--text-secondary);
            gap: 10px;
            margin: 0 -2px;
        }
        
        .video-meta-item {
            display: flex;
            align-items: center;
            gap: 4px;
            margin-left: auto;
        }
        
        .model-link {
            color: var(--accent-red);
            transition: color 0.3s;
            display: inline-flex;
            align-items: center;
            gap: 4px;
            margin-right: auto;
            margin-left: -4px;
            flex: 1;
        }
        
        .model-link i {
            font-size: 12px;
            color: var(--text-secondary);
        }
        
        .model-link:hover {
            color: var(--accent-hover);
            text-decoration: underline;
        }
        
        /* No Results */
        .no-results {
            grid-column: 1 / -1;
            text-align: center;
            padding: 80px 20px;
            background-color: var(--bg-card);
            border-radius: 8px;
            border: 1px solid var(--border-color);
        }
        
        .no-results i {
            font-size: 60px;
            color: var(--text-secondary);
            margin-bottom: 20px;
        }
        
        .no-results h2 {
            font-size: 24px;
            margin-bottom: 10px;
        }
        
        .no-results p {
            color: var(--text-secondary);
        }
        
        /* Pagination */
        .pagination {
            display: flex;
            justify-content: center;
            align-items: center;
            gap: 5px;
            margin: 40px 0;
            flex-wrap: wrap;
        }
        
        .pagination a, .pagination span {
            min-width: 40px;
            height: 40px;
            display: flex;
            align-items: center;
            justify-content: center;
            background-color: var(--bg-card);
            color: var(--text-primary);
            border-radius: 4px;
            font-weight: 500;
            transition: all 0.3s;
            border: 1px solid var(--border-color);
        }
        
        .pagination a:hover {
            background-color: var(--accent-red);
            color: white;
            border-color: var(--accent-red);
        }
        
        .pagination span {
            background-color: var(--accent-red);
            color: white;
            border-color: var(--accent-red);
        }
        
        .pagination .dots {
            background: none;
            color: var(--text-secondary);
            border: none;
        }
        
        /* Footer */
        .footer {
            background-color: var(--bg-secondary);
            border-top: 1px solid var(--border-color);
            margin-top: 60px;
        }
        
        .footer-content {
            max-width: 1400px;
            margin: 0 auto;
            padding: 40px 20px;
        }
        
        .footer-top {
            display: grid;
            grid-template-columns: 2fr 1fr 1fr;
            gap: 40px;
            margin-bottom: 30px;
        }
        
        .footer-section h3 {
            color: var(--accent-red);
            margin-bottom: 15px;
            font-size: 18px;
            display: flex;
            align-items: center;
            gap: 8px;
        }
        
        .footer-section .logo {
            font-size: 20px;
            margin-bottom: 15px;
            gap: 3px;
        }
        
        .footer-section .logo i {
            font-size: 24px;
        }
        
        .footer-links {
            display: flex;
            flex-direction: column;
            gap: 10px;
        }
        
        .footer-links a {
            color: var(--text-secondary);
            transition: color 0.3s;
        }
        
        .footer-links a:hover {
            color: var(--text-primary);
        }
        
        .footer-bottom {
            padding-top: 30px;
            border-top: 1px solid var(--border-color);
            text-align: center;
            color: var(--text-secondary);
        }
        
        /* Mobile Responsive */
        @media (max-width: 768px) {
            .header-container {
                flex-wrap: wrap;
                gap: 15px;
            }
            
            .logo {
                font-size: 24px;
            }
            
            .logo i {
                font-size: 28px;
            }
            
            .search-container {
                order: 3;
                flex: 1 1 100%;
                max-width: none;
            }
            
            .user-menu {
                margin-left: auto;
            }
            
            .nav-container {
                padding: 0 10px;
                gap: 20px;
            }
            
            .video-grid {
                grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
                gap: 10px;
            }
            
            .video-title {
                font-size: 13px;
            }
            
            .video-meta {
                font-size: 12px;
            }
            
            .footer-top {
                grid-template-columns: 1fr;
                gap: 30px;
            }
            
            .pagination {
                gap: 3px;
            }
            
            .pagination a, .pagination span {
                min-width: 35px;
                height: 35px;
                font-size: 14px;
            }
            
            .pagination .dots {
                min-width: 20px;
            }
            
            .filters-section {
                flex-direction: column;
                align-items: flex-start;
            }
            
            .platform-filters {
                width: 100%;
                justify-content: center;
            }
            
            .new-ribbon {
                display: none;
            }
        }
        
        @media (max-width: 480px) {
            .main {
                padding: 10px;
            }
            
            .section-title {
                font-size: 20px;
            }
            
            .video-grid {
                grid-template-columns: repeat(2, 1fr);
            }
            
            .pagination {
                gap: 2px;
            }
            
            .pagination a, .pagination span {
                min-width: 30px;
                height: 30px;
                font-size: 12px;
            }
            
            .platform-filter-btn {
                font-size: 13px;
                padding: 6px 12px;
            }
            
            .date-filter-display {
                font-size: 14px;
                padding: 10px 15px;
                flex-direction: column;
                gap: 10px;
            }
            
            .new-ribbon {
                display: none;
            }
        }