 /* 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;
        }
        
        /* Video Container */
        .video-container {
            background-color: var(--bg-card);
            border-radius: 8px;
            overflow: hidden;
            margin-bottom: 30px;
            border: 1px solid var(--border-color);
        }
        
        .video-wrapper {
            position: relative;
            padding-bottom: 56.25%;
            height: 0;
            overflow: hidden;
            background-color: #000;
        }
        
        .video-wrapper video {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
        }
        
        .video-info {
            padding: 20px;
        }
        
        .video-title {
            font-size: 24px;
            margin-bottom: 15px;
            font-weight: 500;
            color: var(--text-primary);
            position: relative;
        }
        
        .video-title.collapsed {
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
            padding-right: 80px;
        }
        
        .show-more-btn {
            position: absolute;
            right: 0;
            top: 50%;
            transform: translateY(-50%);
            background: var(--bg-primary);
            color: var(--text-primary);
            border: 1px solid var(--border-color);
            padding: 4px 10px;
            border-radius: 4px;
            cursor: pointer;
            font-size: 14px;
            white-space: nowrap;
            transition: all 0.3s;
        }
        
        .show-more-btn:hover {
            background: var(--accent-red);
            border-color: var(--accent-red);
            color: white;
        }
        
        /* Loading Overlay */
        .loading-overlay {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: var(--bg-primary);
            display: flex;
            justify-content: center;
            align-items: center;
            z-index: 9999;
            transition: opacity 0.5s;
        }
        
        .spinner {
            width: 50px;
            height: 50px;
            border: 5px solid var(--border-color);
            border-radius: 50%;
            border-top-color: var(--accent-red);
            animation: spin 1s ease-in-out infinite;
        }
        
        @keyframes spin {
            to { transform: rotate(360deg); }
        }
        
        .video-meta {
            display: flex;
            flex-wrap: wrap;
            gap: 20px;
            margin-bottom: 20px;
            font-size: 14px;
            color: var(--text-secondary);
        }
        
        .video-meta-item {
            display: flex;
            align-items: center;
            gap: 5px;
        }
        
        .video-meta-item i {
            font-size: 12px;
        }
        
        .video-meta-item a {
            color: var(--accent-red);
            transition: color 0.3s;
        }
        
        .video-meta-item a:hover {
            color: var(--accent-hover);
            text-decoration: underline;
        }
        
        .video-description {
            margin-bottom: 20px;
            color: var(--text-secondary);
            line-height: 1.6;
        }
        
        .video-tags {
            display: flex;
            flex-wrap: wrap;
            gap: 8px;
        }
        
        .tag {
            display: inline-block;
            background-color: var(--bg-primary);
            color: var(--text-primary);
            padding: 6px 12px;
            border-radius: 20px;
            font-size: 13px;
            border: 1px solid var(--border-color);
            transition: all 0.3s;
        }
        
        .tag:hover {
            background-color: var(--accent-red);
            border-color: var(--accent-red);
            color: white;
        }
        
        /* Section Title */
        .section-header {
            margin-bottom: 20px;
        }
        
        .section-title {
            font-size: 24px;
            font-weight: 500;
            color: var(--text-primary);
        }
        
        /* 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);
        }
        
        .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;
        }
        
        .card-info {
            padding: 12px;
        }
        
        .card-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);
        }
        
        .card-meta {
            display: flex;
            justify-content: space-between;
            align-items: center;
            font-size: 13px;
            color: var(--text-secondary);
        }
        
        .card-meta-item {
            display: flex;
            align-items: center;
            gap: 4px;
        }
        
        .model-link {
            color: var(--accent-red);
            transition: color 0.3s;
        }
        
        .model-link:hover {
            color: var(--accent-hover);
            text-decoration: underline;
        }
        
        /* Popular Models */
        .popular-models {
            margin-bottom: 40px;
        }
        
        .models-grid {
            display: flex;
            flex-wrap: wrap;
            gap: 10px;
        }
        
        .model-item {
            background-color: var(--bg-card);
            border: 1px solid var(--border-color);
            border-radius: 20px;
            padding: 8px 16px;
            font-size: 14px;
            color: var(--text-primary);
            transition: all 0.3s;
        }
        
        .model-item:hover {
            background-color: var(--accent-red);
            border-color: var(--accent-red);
            color: white;
        }
        
        /* 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);
        }
        
        /* No Video Found */
        .no-video {
            text-align: center;
            padding: 80px 20px;
            background-color: var(--bg-card);
            border-radius: 8px;
            border: 1px solid var(--border-color);
        }
        
        .no-video i {
            font-size: 60px;
            color: var(--text-secondary);
            margin-bottom: 20px;
        }
        
        .no-video h1 {
            font-size: 24px;
            margin-bottom: 10px;
            color: var(--text-primary);
        }
        
        .no-video p {
            color: var(--text-secondary);
            margin-bottom: 20px;
        }
        
        .no-video a {
            color: var(--accent-red);
            text-decoration: underline;
        }
        
        /* 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;
            }
            
            .card-title {
                font-size: 13px;
            }
            
            .card-meta {
                font-size: 12px;
            }
            
            .footer-top {
                grid-template-columns: 1fr;
                gap: 30px;
            }
            
            .video-meta {
                gap: 10px;
                font-size: 13px;
            }
            
            .video-title {
                font-size: 20px;
            }
            
            .video-title.collapsed {
                padding-right: 70px;
            }
            
            .show-more-btn {
                font-size: 12px;
                padding: 3px 8px;
            }
        }
        
        @media (max-width: 480px) {
            .main {
                padding: 10px;
            }
            
            .section-title {
                font-size: 20px;
            }
            
            .video-grid {
                grid-template-columns: repeat(2, 1fr);
            }
            
            .video-meta {
                flex-direction: column;
                align-items: flex-start;
                gap: 5px;
            }
        }