File size: 27,830 Bytes
89043d7
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>SpooQube - Video Sharing Platform</title>
    <script src="https://cdn.tailwindcss.com"></script>
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
    <style>
        /* Custom scrollbar */
        ::-webkit-scrollbar {
            width: 8px;
        }
        ::-webkit-scrollbar-track {
            background: #f1f1f1;
        }
        ::-webkit-scrollbar-thumb {
            background: #888;
            border-radius: 4px;
        }
        ::-webkit-scrollbar-thumb:hover {
            background: #555;
        }
        
        /* Video card hover effect */
        .video-card:hover .thumbnail-overlay {
            opacity: 1;
        }
        
        /* Dark mode toggle transition */
        .dark-mode-toggle {
            transition: all 0.3s ease;
        }
        
        /* Custom animations */
        @keyframes pulse {
            0%, 100% {
                opacity: 1;
            }
            50% {
                opacity: 0.5;
            }
        }
        .animate-pulse {
            animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
        }
    </style>
</head>
<body class="bg-gray-100 dark:bg-gray-900 text-gray-900 dark:text-gray-100 transition-colors duration-300">
    <!-- Header -->
    <header class="sticky top-0 z-50 bg-white dark:bg-gray-800 shadow-sm">
        <div class="container mx-auto px-4 py-3 flex items-center justify-between">
            <!-- Logo and Menu -->
            <div class="flex items-center space-x-4">
                <button class="p-2 rounded-full hover:bg-gray-200 dark:hover:bg-gray-700">
                    <i class="fas fa-bars text-xl"></i>
                </button>
                <div class="flex items-center">
                    <i class="fab fa-youtube text-red-600 text-3xl mr-1"></i>
                    <span class="text-xl font-bold">SpooQube</span>
                </div>
            </div>
            
            <!-- Search Bar -->
            <div class="hidden md:flex flex-1 max-w-2xl mx-4">
                <div class="relative w-full">
                    <input type="text" placeholder="Search" class="w-full px-4 py-2 border border-gray-300 dark:border-gray-600 rounded-l-full focus:outline-none focus:ring-2 focus:ring-blue-500 dark:bg-gray-700">
                    <button class="absolute right-0 top-0 h-full px-5 bg-gray-200 dark:bg-gray-600 rounded-r-full border-l border-gray-300 dark:border-gray-600 hover:bg-gray-300 dark:hover:bg-gray-500">
                        <i class="fas fa-search"></i>
                    </button>
                </div>
                <button class="ml-2 p-2 bg-gray-200 dark:bg-gray-700 rounded-full hover:bg-gray-300 dark:hover:bg-gray-600">
                    <i class="fas fa-microphone"></i>
                </button>
            </div>
            
            <!-- User Controls -->
            <div class="flex items-center space-x-3">
                <button class="p-2 rounded-full hover:bg-gray-200 dark:hover:bg-gray-700 md:hidden">
                    <i class="fas fa-search text-xl"></i>
                </button>
                <button class="p-2 rounded-full hover:bg-gray-200 dark:hover:bg-gray-700">
                    <i class="fas fa-video text-xl"></i>
                </button>
                <button class="p-2 rounded-full hover:bg-gray-200 dark:hover:bg-gray-700">
                    <i class="fas fa-bell text-xl"></i>
                </button>
                <button id="darkModeToggle" class="p-2 rounded-full hover:bg-gray-200 dark:hover:bg-gray-700 dark-mode-toggle">
                    <i class="fas fa-moon text-xl dark:hidden"></i>
                    <i class="fas fa-sun text-xl hidden dark:block"></i>
                </button>
                <div class="w-8 h-8 rounded-full bg-purple-500 flex items-center justify-center text-white font-medium cursor-pointer">
                    S
                </div>
            </div>
        </div>
        
        <!-- Mobile Search (hidden on larger screens) -->
        <div class="md:hidden px-4 pb-3">
            <div class="relative w-full">
                <input type="text" placeholder="Search" class="w-full px-4 py-2 border border-gray-300 dark:border-gray-600 rounded-full focus:outline-none focus:ring-2 focus:ring-blue-500 dark:bg-gray-700">
                <button class="absolute right-3 top-1/2 transform -translate-y-1/2">
                    <i class="fas fa-search"></i>
                </button>
            </div>
        </div>
    </header>

    <!-- Main Content -->
    <div class="container mx-auto px-4 py-6 flex flex-col md:flex-row">
        <!-- Sidebar -->
        <aside class="hidden md:block w-64 pr-4">
            <div class="space-y-1 sticky top-20">
                <div class="p-3 rounded-lg hover:bg-gray-200 dark:hover:bg-gray-700 flex items-center space-x-4 cursor-pointer bg-gray-200 dark:bg-gray-700">
                    <i class="fas fa-home text-xl"></i>
                    <span>Home</span>
                </div>
                <div class="p-3 rounded-lg hover:bg-gray-200 dark:hover:bg-gray-700 flex items-center space-x-4 cursor-pointer">
                    <i class="fas fa-compass text-xl"></i>
                    <span>Explore</span>
                </div>
                <div class="p-3 rounded-lg hover:bg-gray-200 dark:hover:bg-gray-700 flex items-center space-x-4 cursor-pointer">
                    <i class="fas fa-subscript text-xl"></i>
                    <span>Subscriptions</span>
                </div>
                <hr class="border-gray-300 dark:border-gray-700 my-2">
                <div class="p-3 rounded-lg hover:bg-gray-200 dark:hover:bg-gray-700 flex items-center space-x-4 cursor-pointer">
                    <i class="fas fa-photo-video text-xl"></i>
                    <span>Library</span>
                </div>
                <div class="p-3 rounded-lg hover:bg-gray-200 dark:hover:bg-gray-700 flex items-center space-x-4 cursor-pointer">
                    <i class="fas fa-history text-xl"></i>
                    <span>History</span>
                </div>
                <div class="p-3 rounded-lg hover:bg-gray-200 dark:hover:bg-gray-700 flex items-center space-x-4 cursor-pointer">
                    <i class="fas fa-clock text-xl"></i>
                    <span>Watch Later</span>
                </div>
                <div class="p-3 rounded-lg hover:bg-gray-200 dark:hover:bg-gray-700 flex items-center space-x-4 cursor-pointer">
                    <i class="fas fa-thumbs-up text-xl"></i>
                    <span>Liked Videos</span>
                </div>
                <hr class="border-gray-300 dark:border-gray-700 my-2">
                <h3 class="px-3 py-2 font-medium">SUBSCRIPTIONS</h3>
                <div class="p-3 rounded-lg hover:bg-gray-200 dark:hover:bg-gray-700 flex items-center space-x-4 cursor-pointer">
                    <div class="w-6 h-6 rounded-full bg-red-500"></div>
                    <span>Tech Channel</span>
                </div>
                <div class="p-3 rounded-lg hover:bg-gray-200 dark:hover:bg-gray-700 flex items-center space-x-4 cursor-pointer">
                    <div class="w-6 h-6 rounded-full bg-blue-500"></div>
                    <span>Coding Tutorials</span>
                </div>
                <div class="p-3 rounded-lg hover:bg-gray-200 dark:hover:bg-gray-700 flex items-center space-x-4 cursor-pointer">
                    <div class="w-6 h-6 rounded-full bg-green-500"></div>
                    <span>Gaming Hub</span>
                </div>
                <div class="p-3 rounded-lg hover:bg-gray-200 dark:hover:bg-gray-700 flex items-center space-x-4 cursor-pointer">
                    <div class="w-6 h-6 rounded-full bg-yellow-500"></div>
                    <span>Music Vibes</span>
                </div>
                <hr class="border-gray-300 dark:border-gray-700 my-2">
                <div class="p-3 rounded-lg hover:bg-gray-200 dark:hover:bg-gray-700 flex items-center space-x-4 cursor-pointer">
                    <i class="fas fa-cog text-xl"></i>
                    <span>Settings</span>
                </div>
            </div>
        </aside>

        <!-- Main Video Content -->
        <main class="flex-1">
            <!-- Categories -->
            <div class="flex space-x-2 overflow-x-auto pb-4 hide-scrollbar mb-4">
                <button class="px-3 py-1 bg-gray-800 dark:bg-gray-700 text-white rounded-full whitespace-nowrap">All</button>
                <button class="px-3 py-1 bg-gray-200 dark:bg-gray-700 rounded-full whitespace-nowrap">Gaming</button>
                <button class="px-3 py-1 bg-gray-200 dark:bg-gray-700 rounded-full whitespace-nowrap">Music</button>
                <button class="px-3 py-1 bg-gray-200 dark:bg-gray-700 rounded-full whitespace-nowrap">Live</button>
                <button class="px-3 py-1 bg-gray-200 dark:bg-gray-700 rounded-full whitespace-nowrap">Programming</button>
                <button class="px-3 py-1 bg-gray-200 dark:bg-gray-700 rounded-full whitespace-nowrap">Recently uploaded</button>
                <button class="px-3 py-1 bg-gray-200 dark:bg-gray-700 rounded-full whitespace-nowrap">Watched</button>
                <button class="px-3 py-1 bg-gray-200 dark:bg-gray-700 rounded-full whitespace-nowrap">New to you</button>
            </div>

            <!-- Featured Video -->
            <div class="mb-8">
                <div class="relative w-full aspect-video bg-black rounded-xl overflow-hidden">
                    <img src="https://source.unsplash.com/random/1280x720/?technology" alt="Featured Video" class="w-full h-full object-cover">
                    <div class="absolute inset-0 bg-gradient-to-t from-black/70 to-transparent flex items-end p-4">
                        <div>
                            <h2 class="text-xl font-bold text-white">The Future of AI Technology in 2023</h2>
                            <p class="text-gray-300">1.2M views • 3 days ago</p>
                        </div>
                    </div>
                    <div class="absolute top-4 right-4 bg-black/70 text-white p-2 rounded-full">
                        <i class="fas fa-volume-up"></i>
                    </div>
                </div>
            </div>

            <!-- Video Grid -->
            <div class="grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-3 xl:grid-cols-4 gap-4">
                <!-- Video Card 1 -->
                <div class="video-card bg-white dark:bg-gray-800 rounded-xl overflow-hidden shadow-sm hover:shadow-md transition-shadow duration-300">
                    <div class="relative">
                        <img src="https://source.unsplash.com/random/300x169/?gaming" alt="Video Thumbnail" class="w-full aspect-video object-cover">
                        <div class="thumbnail-overlay absolute inset-0 bg-black/30 opacity-0 transition-opacity duration-300 flex items-center justify-center">
                            <button class="bg-white/80 text-black p-3 rounded-full hover:bg-white">
                                <i class="fas fa-play text-lg"></i>
                            </button>
                        </div>
                        <span class="absolute bottom-2 right-2 bg-black/80 text-white text-xs px-1.5 py-0.5 rounded">10:15</span>
                    </div>
                    <div class="p-3">
                        <div class="flex space-x-2">
                            <div class="w-9 h-9 rounded-full bg-blue-500 flex-shrink-0"></div>
                            <div>
                                <h3 class="font-medium line-clamp-2">How to Build a Gaming PC in 2023 - Ultimate Guide</h3>
                                <p class="text-sm text-gray-600 dark:text-gray-400">Tech Reviews</p>
                                <p class="text-xs text-gray-500 dark:text-gray-500">245K views • 2 weeks ago</p>
                            </div>
                        </div>
                    </div>
                </div>

                <!-- Video Card 2 -->
                <div class="video-card bg-white dark:bg-gray-800 rounded-xl overflow-hidden shadow-sm hover:shadow-md transition-shadow duration-300">
                    <div class="relative">
                        <img src="https://source.unsplash.com/random/300x169/?music" alt="Video Thumbnail" class="w-full aspect-video object-cover">
                        <div class="thumbnail-overlay absolute inset-0 bg-black/30 opacity-0 transition-opacity duration-300 flex items-center justify-center">
                            <button class="bg-white/80 text-black p-3 rounded-full hover:bg-white">
                                <i class="fas fa-play text-lg"></i>
                            </button>
                        </div>
                        <span class="absolute bottom-2 right-2 bg-black/80 text-white text-xs px-1.5 py-0.5 rounded">5:42</span>
                    </div>
                    <div class="p-3">
                        <div class="flex space-x-2">
                            <div class="w-9 h-9 rounded-full bg-red-500 flex-shrink-0"></div>
                            <div>
                                <h3 class="font-medium line-clamp-2">Top 10 Songs of the Week - Music Chart Update</h3>
                                <p class="text-sm text-gray-600 dark:text-gray-400">Music Vibes</p>
                                <p class="text-xs text-gray-500 dark:text-gray-500">1.1M views • 1 day ago</p>
                            </div>
                        </div>
                    </div>
                </div>

                <!-- Video Card 3 -->
                <div class="video-card bg-white dark:bg-gray-800 rounded-xl overflow-hidden shadow-sm hover:shadow-md transition-shadow duration-300">
                    <div class="relative">
                        <img src="https://source.unsplash.com/random/300x169/?programming" alt="Video Thumbnail" class="w-full aspect-video object-cover">
                        <div class="thumbnail-overlay absolute inset-0 bg-black/30 opacity-0 transition-opacity duration-300 flex items-center justify-center">
                            <button class="bg-white/80 text-black p-3 rounded-full hover:bg-white">
                                <i class="fas fa-play text-lg"></i>
                            </button>
                        </div>
                        <span class="absolute bottom-2 right-2 bg-black/80 text-white text-xs px-1.5 py-0.5 rounded">15:30</span>
                    </div>
                    <div class="p-3">
                        <div class="flex space-x-2">
                            <div class="w-9 h-9 rounded-full bg-green-500 flex-shrink-0"></div>
                            <div>
                                <h3 class="font-medium line-clamp-2">Learn JavaScript in 15 Minutes - Quick Tutorial</h3>
                                <p class="text-sm text-gray-600 dark:text-gray-400">Code Masters</p>
                                <p class="text-xs text-gray-500 dark:text-gray-500">356K views • 3 weeks ago</p>
                            </div>
                        </div>
                    </div>
                </div>

                <!-- Video Card 4 -->
                <div class="video-card bg-white dark:bg-gray-800 rounded-xl overflow-hidden shadow-sm hover:shadow-md transition-shadow duration-300">
                    <div class="relative">
                        <img src="https://source.unsplash.com/random/300x169/?travel" alt="Video Thumbnail" class="w-full aspect-video object-cover">
                        <div class="thumbnail-overlay absolute inset-0 bg-black/30 opacity-0 transition-opacity duration-300 flex items-center justify-center">
                            <button class="bg-white/80 text-black p-3 rounded-full hover:bg-white">
                                <i class="fas fa-play text-lg"></i>
                            </button>
                        </div>
                        <span class="absolute bottom-2 right-2 bg-black/80 text-white text-xs px-1.5 py-0.5 rounded">22:08</span>
                    </div>
                    <div class="p-3">
                        <div class="flex space-x-2">
                            <div class="w-9 h-9 rounded-full bg-purple-500 flex-shrink-0"></div>
                            <div>
                                <h3 class="font-medium line-clamp-2">Bali Travel Guide - Best Places to Visit in 2023</h3>
                                <p class="text-sm text-gray-600 dark:text-gray-400">Travel Adventures</p>
                                <p class="text-xs text-gray-500 dark:text-gray-500">789K views • 1 month ago</p>
                            </div>
                        </div>
                    </div>
                </div>

                <!-- Video Card 5 -->
                <div class="video-card bg-white dark:bg-gray-800 rounded-xl overflow-hidden shadow-sm hover:shadow-md transition-shadow duration-300">
                    <div class="relative">
                        <img src="https://source.unsplash.com/random/300x169/?cooking" alt="Video Thumbnail" class="w-full aspect-video object-cover">
                        <div class="thumbnail-overlay absolute inset-0 bg-black/30 opacity-0 transition-opacity duration-300 flex items-center justify-center">
                            <button class="bg-white/80 text-black p-3 rounded-full hover:bg-white">
                                <i class="fas fa-play text-lg"></i>
                            </button>
                        </div>
                        <span class="absolute bottom-2 right-2 bg-black/80 text-white text-xs px-1.5 py-0.5 rounded">8:45</span>
                    </div>
                    <div class="p-3">
                        <div class="flex space-x-2">
                            <div class="w-9 h-9 rounded-full bg-yellow-500 flex-shrink-0"></div>
                            <div>
                                <h3 class="font-medium line-clamp-2">5 Easy Dinner Recipes for Busy Weeknights</h3>
                                <p class="text-sm text-gray-600 dark:text-gray-400">Foodie Channel</p>
                                <p class="text-xs text-gray-500 dark:text-gray-500">432K views • 5 days ago</p>
                            </div>
                        </div>
                    </div>
                </div>

                <!-- Video Card 6 -->
                <div class="video-card bg-white dark:bg-gray-800 rounded-xl overflow-hidden shadow-sm hover:shadow-md transition-shadow duration-300">
                    <div class="relative">
                        <img src="https://source.unsplash.com/random/300x169/?fitness" alt="Video Thumbnail" class="w-full aspect-video object-cover">
                        <div class="thumbnail-overlay absolute inset-0 bg-black/30 opacity-0 transition-opacity duration-300 flex items-center justify-center">
                            <button class="bg-white/80 text-black p-3 rounded-full hover:bg-white">
                                <i class="fas fa-play text-lg"></i>
                            </button>
                        </div>
                        <span class="absolute bottom-2 right-2 bg-black/80 text-white text-xs px-1.5 py-0.5 rounded">12:20</span>
                    </div>
                    <div class="p-3">
                        <div class="flex space-x-2">
                            <div class="w-9 h-9 rounded-full bg-pink-500 flex-shrink-0"></div>
                            <div>
                                <h3 class="font-medium line-clamp-2">30-Minute Full Body Workout at Home - No Equipment</h3>
                                <p class="text-sm text-gray-600 dark:text-gray-400">FitLife</p>
                                <p class="text-xs text-gray-500 dark:text-gray-500">1.5M views • 2 months ago</p>
                            </div>
                        </div>
                    </div>
                </div>

                <!-- Video Card 7 -->
                <div class="video-card bg-white dark:bg-gray-800 rounded-xl overflow-hidden shadow-sm hover:shadow-md transition-shadow duration-300">
                    <div class="relative">
                        <img src="https://source.unsplash.com/random/300x169/?technology" alt="Video Thumbnail" class="w-full aspect-video object-cover">
                        <div class="thumbnail-overlay absolute inset-0 bg-black/30 opacity-0 transition-opacity duration-300 flex items-center justify-center">
                            <button class="bg-white/80 text-black p-3 rounded-full hover:bg-white">
                                <i class="fas fa-play text-lg"></i>
                            </button>
                        </div>
                        <span class="absolute bottom-2 right-2 bg-black/80 text-white text-xs px-1.5 py-0.5 rounded">18:32</span>
                    </div>
                    <div class="p-3">
                        <div class="flex space-x-2">
                            <div class="w-9 h-9 rounded-full bg-blue-500 flex-shrink-0"></div>
                            <div>
                                <h3 class="font-medium line-clamp-2">iPhone 15 Pro Max Review - Is It Worth It?</h3>
                                <p class="text-sm text-gray-600 dark:text-gray-400">Tech Today</p>
                                <p class="text-xs text-gray-500 dark:text-gray-500">2.3M views • 1 week ago</p>
                            </div>
                        </div>
                    </div>
                </div>

                <!-- Video Card 8 -->
                <div class="video-card bg-white dark:bg-gray-800 rounded-xl overflow-hidden shadow-sm hover:shadow-md transition-shadow duration-300">
                    <div class="relative">
                        <img src="https://source.unsplash.com/random/300x169/?science" alt="Video Thumbnail" class="w-full aspect-video object-cover">
                        <div class="thumbnail-overlay absolute inset-0 bg-black/30 opacity-0 transition-opacity duration-300 flex items-center justify-center">
                            <button class="bg-white/80 text-black p-3 rounded-full hover:bg-white">
                                <i class="fas fa-play text-lg"></i>
                            </button>
                        </div>
                        <span class="absolute bottom-2 right-2 bg-black/80 text-white text-xs px-1.5 py-0.5 rounded">25:15</span>
                    </div>
                    <div class="p-3">
                        <div class="flex space-x-2">
                            <div class="w-9 h-9 rounded-full bg-indigo-500 flex-shrink-0"></div>
                            <div>
                                <h3 class="font-medium line-clamp-2">The Science Behind Black Holes - Explained Simply</h3>
                                <p class="text-sm text-gray-600 dark:text-gray-400">Science Channel</p>
                                <p class="text-xs text-gray-500 dark:text-gray-500">876K views • 3 weeks ago</p>
                            </div>
                        </div>
                    </div>
                </div>
            </div>

            <!-- Load More Button -->
            <div class="mt-8 flex justify-center">
                <button class="px-6 py-2 bg-gray-200 dark:bg-gray-700 rounded-full hover:bg-gray-300 dark:hover:bg-gray-600 flex items-center space-x-2">
                    <i class="fas fa-redo"></i>
                    <span>Load More</span>
                </button>
            </div>
        </main>
    </div>

    <!-- Mobile Bottom Navigation -->
    <div class="md:hidden fixed bottom-0 left-0 right-0 bg-white dark:bg-gray-800 border-t border-gray-200 dark:border-gray-700 flex justify-around py-3 z-50">
        <button class="flex flex-col items-center text-blue-600 dark:text-blue-400">
            <i class="fas fa-home text-xl"></i>
            <span class="text-xs mt-1">Home</span>
        </button>
        <button class="flex flex-col items-center text-gray-600 dark:text-gray-400">
            <i class="fas fa-compass text-xl"></i>
            <span class="text-xs mt-1">Explore</span>
        </button>
        <button class="flex flex-col items-center text-gray-600 dark:text-gray-400">
            <i class="fas fa-plus-circle text-xl"></i>
            <span class="text-xs mt-1">Create</span>
        </button>
        <button class="flex flex-col items-center text-gray-600 dark:text-gray-400">
            <i class="fas fa-subscript text-xl"></i>
            <span class="text-xs mt-1">Subscriptions</span>
        </button>
        <button class="flex flex-col items-center text-gray-600 dark:text-gray-400">
            <i class="fas fa-photo-video text-xl"></i>
            <span class="text-xs mt-1">Library</span>
        </button>
    </div>

    <script>
        // Dark mode toggle functionality
        const darkModeToggle = document.getElementById('darkModeToggle');
        const html = document.documentElement;
        
        // Check for saved user preference or use system preference
        const userPrefersDark = window.matchMedia && window.matchMedia('(prefers-color-scheme: dark)').matches;
        const savedMode = localStorage.getItem('darkMode');
        
        if (savedMode === 'dark' || (!savedMode && userPrefersDark)) {
            html.classList.add('dark');
        }
        
        darkModeToggle.addEventListener('click', () => {
            html.classList.toggle('dark');
            const isDark = html.classList.contains('dark');
            localStorage.setItem('darkMode', isDark ? 'dark' : 'light');
        });
        
        // Simulate loading more videos
        const loadMoreBtn = document.querySelector('button:contains("Load More")');
        if (loadMoreBtn) {
            loadMoreBtn.addEventListener('click', () => {
                loadMoreBtn.innerHTML = '<i class="fas fa-spinner animate-spin"></i><span>Loading...</span>';
                setTimeout(() => {
                    // In a real app, you would fetch more videos here
                    loadMoreBtn.innerHTML = '<i class="fas fa-redo"></i><span>Load More</span>';
                    alert('More videos would load here in a real application!');
                }, 1500);
            });
        }
        
        // Video card hover effect
        document.querySelectorAll('.video-card').forEach(card => {
            card.addEventListener('mouseenter', () => {
                card.querySelector('.thumbnail-overlay').style.opacity = '1';
            });
            card.addEventListener('mouseleave', () => {
                card.querySelector('.thumbnail-overlay').style.opacity = '0';
            });
        });
    </script>
<p style="border-radius: 8px; text-align: center; font-size: 12px; color: #fff; margin-top: 16px;position: fixed; left: 8px; bottom: 8px; z-index: 10; background: rgba(0, 0, 0, 0.8); padding: 4px 8px;">Made with <img src="https://enzostvs-deepsite.hf.space/logo.svg" alt="DeepSite Logo" style="width: 16px; height: 16px; vertical-align: middle;display:inline-block;margin-right:3px;filter:brightness(0) invert(1);"><a href="https://enzostvs-deepsite.hf.space" style="color: #fff;text-decoration: underline;" target="_blank" >DeepSite</a> - 🧬 <a href="https://enzostvs-deepsite.hf.space?remix=Spooke/spooqube" style="color: #fff;text-decoration: underline;" target="_blank" >Remix</a></p></body>
</html>