.container {
            max-width: 1400px;
            margin: 0 auto;
            padding: 20px;
        }
        
        header {
            text-align: center;
            margin-bottom: 40px;
            padding: 30px 0;
            background: linear-gradient(135deg, #3b82f6 0%, #1e40af 100%);
            color: white;
            border-radius: 16px;
            box-shadow: 0 10px 25px rgba(30, 64, 175, 0.2);
            position: relative;
            overflow: hidden;
        }
        
        header::before {
            content: '';
            position: absolute;
            top: -50%;
            left: -50%;
            width: 200%;
            height: 200%;
            background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0) 70%);
            z-index: 0;
        }
        
        h1 {
            font-size: 3rem;
            margin-bottom: 10px;
            font-weight: 700;
            position: relative;
            z-index: 1;
            text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
        }
        
        .description {
            font-size: 1.2rem;
            opacity: 0.9;
            position: relative;
            z-index: 1;
            max-width: 600px;
            margin: 0 auto;
        }
        
        .controls {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 30px;
            flex-wrap: wrap;
            gap: 20px;
            background: #f8fafc;
            padding: 20px;
            border-radius: 12px;
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
            border: 1px solid #e2e8f0;
        }
        
        .category-tabs {
            display: flex;
            gap: 10px;
        }
        
        .tab {
            padding: 12px 24px;
            background: #ffffff;
            border: 1px solid #e2e8f0;
            border-radius: 30px;
            cursor: pointer;
            font-weight: 500;
            transition: all 0.3s ease;
            color: #64748b;
        }
        
        .tab:hover {
            background: #f1f5f9;
            color: #334155;
        }
        
        .tab.active {
            background: #3b82f6;
            color: white;
            box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
            border-color: #3b82f6;
        }
        
        .pagination-controls {
            display: flex;
            align-items: center;
            gap: 20px;
        }
        
        .pagination-controls label {
            font-weight: 500;
            color: #475569;
        }
        
        .pagination-controls select {
            padding: 10px 15px;
            background: #ffffff;
            border: 1px solid #e2e8f0;
            border-radius: 8px;
            color: #334155;
            font-size: 1rem;
        }
        
        .btn1 {
            padding: 12px 24px;
            background: #3b82f6;
            color: white;
            border: none;
            border-radius: 8px;
            cursor: pointer;
            font-weight: 500;
            transition: all 0.3s;
            display: flex;
            align-items: center;
            gap: 8px;
            box-shadow: 0 4px 12px rgba(59, 130, 246, 0.2);
        }
        
        .btn:hover {
            background: #2563eb;
            transform: translateY(-2px);
            box-shadow: 0 6px 15px rgba(59, 130, 246, 0.3);
        }
        
        .btn-random {
            background: #ef4444;
            box-shadow: 0 4px 12px rgba(239, 68, 68, 0.2);
        }
        
        .btn-random:hover {
            background: #dc2626;
            box-shadow: 0 6px 15px rgba(239, 68, 68, 0.3);
        }
        
        .loading {
            text-align: center;
            padding: 60px 30px;
            font-size: 1.3rem;
            color: #64748b;
        }
        
        .loading::after {
            content: '';
            display: inline-block;
            width: 20px;
            height: 20px;
            border: 3px solid rgba(59, 130, 246, 0.3);
            border-radius: 50%;
            border-top-color: #3b82f6;
            animation: spin 1s ease-in-out infinite;
            margin-left: 10px;
            vertical-align: middle;
        }
        
        @keyframes spin {
            to { transform: rotate(360deg); }
        }
        
        .video-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
            gap: 30px;
            margin-bottom: 40px;
        }
        
        .video-card {
            background: #ffffff;
            border-radius: 16px;
            overflow: hidden;
            box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
            transition: all 0.4s ease;
            position: relative;
            border: 1px solid #f1f5f9;
        }
        
        .video-card.has-video:hover {
            transform: translateY(-10px);
            box-shadow: 0 15px 30px rgba(0, 0, 0, 0.12);
        }
        
        .video-thumbnail-container {
            position: relative;
            width: 100%;
            height: 220px;
            overflow: hidden;
        }
        
        .video-thumbnail {
            width: 100%;
            height: 100%;
            object-fit: cover;
            display: block;
        }
        
        .video-preview {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            object-fit: cover;
            opacity: 0;
            transition: opacity 0.5s ease;
        }
        
        .video-card.has-video:hover .video-preview {
            opacity: 1;
        }
        
        .video-card.has-video:hover .video-thumbnail {
            opacity: 0;
        }
        
        .video-info {
            padding: 20px;
        }
        
        .video-title {
            font-size: 1.2rem;
            font-weight: 600;
            margin-bottom: 20px;
            color: #1e293b;
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
            overflow: hidden;
        }
        
        .video-actions {
            display: flex;
            justify-content: space-between;
            margin-top: 10px;
        }
        
        .download-btn {
            background: #f0fdf4;
            color: #16a34a;
            border: 1px solid #dcfce7;
            padding: 10px 18px;
            border-radius: 8px;
            cursor: pointer;
            font-size: 0.9rem;
            display: flex;
            align-items: center;
            gap: 8px;
            transition: all 0.3s;
        }
        
        .download-btn:hover {
            background: #dcfce7;
            transform: translateY(-2px);
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
        }
        
        .video-badge {
            position: absolute;
            top: 15px;
            right: 15px;
            background: rgba(239, 68, 68, 0.9);
            color: white;
            padding: 5px 10px;
            border-radius: 20px;
            font-size: 0.8rem;
            font-weight: 500;
            z-index: 10;
        }
        
        .pagination {
            display: flex;
            justify-content: center;
            align-items: center;
            gap: 15px;
            margin-top: 40px;
        }
        
        .page-btn {
            padding: 12px 20px;
            background: #ffffff;
            border: 1px solid #e2e8f0;
            border-radius: 8px;
            cursor: pointer;
            transition: all 0.3s;
            color: #64748b;
            font-weight: 500;
        }
        
        .page-btn:hover {
            background: #f8fafc;
            color: #334155;
        }
        
        .page-btn.active {
            background: #3b82f6;
            color: white;
            box-shadow: 0 4px 12px rgba(59, 130, 246, 0.2);
            border-color: #3b82f6;
        }
        
        .error-message {
            text-align: center;
            padding: 40px 30px;
            color: #dc2626;
            background: #fef2f2;
            border-radius: 12px;
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
            border: 1px solid #fecaca;
        }
        
        /* ÒÆ¶¯¶ËÊÊÅä */
        @media (max-width: 1024px) {
            .video-grid {
                grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
            }
        }
        
        @media (max-width: 768px) {
            .controls {
                flex-direction: column;
                align-items: stretch;
            }
            
            .category-tabs {
                justify-content: center;
            }
            
            .pagination-controls {
                justify-content: center;
            }
            
            h1 {
                font-size: 2.2rem;
            }
            
            .video-grid {
                grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
                gap: 20px;
            }
        }
        
        @media (max-width: 640px) {
            .video-grid {
                grid-template-columns: 1fr;
                gap: 20px;
            }
            
            .video-thumbnail-container {
                height: 200px;
            }
            
            .video-info {
                padding: 15px;
            }
            
            .video-title {
                font-size: 1.1rem;
            }
            
            .video-actions {
                flex-direction: row;
                gap: 10px;
            }
            
            .download-btn {
                justify-content: center;
                padding: 10px 15px;
                font-size: 0.9rem;
                flex: 1;
            }
        }
        
        @media (max-width: 480px) {
            h1 {
                font-size: 1.8rem;
            }
            
            .container {
                padding: 15px;
            }
            
            .video-grid {
                grid-template-columns: 1fr;
                gap: 15px;
            }
            
            .video-thumbnail-container {
                height: 180px;
            }
            
            .video-info {
                padding: 15px;
            }
            
            .video-title {
                font-size: 1rem;
            }
            
            .video-actions {
                flex-direction: row;
                gap: 8px;
            }
            
            .download-btn {
                padding: 8px 12px;
                font-size: 0.85rem;
            }
        }