File size: 27,877 Bytes
41284c6
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Podcast Player</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">
    <script>
        tailwind.config = {
            theme: {
                extend: {
                    colors: {
                        primary: '#8B5CF6',
                        secondary: '#F43F5E',
                        dark: '#1F2937',
                        light: '#F9FAFB'
                    }
                }
            }
        }
    </script>
    <style>
        @import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');
        
        * {
            font-family: 'Poppins', sans-serif;
        }
        
        .custom-scrollbar::-webkit-scrollbar {
            width: 6px;
        }
        
        .custom-scrollbar::-webkit-scrollbar-track {
            background: #f1f1f1;
        }
        
        .custom-scrollbar::-webkit-scrollbar-thumb {
            background: #8B5CF6;
            border-radius: 3px;
        }
        
        .custom-scrollbar::-webkit-scrollbar-thumb:hover {
            background: #7C3AED;
        }
        
        .podcast-progress {
            -webkit-appearance: none;
            appearance: none;
            width: 100%;
            height: 4px;
            background: #D1D5DB;
            border-radius: 2px;
            outline: none;
        }
        
        .podcast-progress::-webkit-slider-thumb {
            -webkit-appearance: none;
            appearance: none;
            width: 12px;
            height: 12px;
            border-radius: 50%;
            background: #8B5CF6;
            cursor: pointer;
        }
        
        .slide {
            opacity: 0;
            transition: opacity 1s ease-in-out;
            position: absolute;
            width: 100%;
            height: 100%;
        }
        
        .slide.active {
            opacity: 1;
        }
        
        .active-podcast {
            background-color: rgba(139, 92, 246, 0.1);
            border-left: 3px solid #8B5CF6;
        }
        
        .active-music {
            background-color: rgba(244, 63, 94, 0.1);
            border-left: 3px solid #F43F5E;
        }
        
        .active-poem {
            background-color: rgba(139, 92, 246, 0.1);
            border-left: 2px solid #8B5CF6;
        }
    </style>
</head>
<body class="bg-gray-100">
    <div class="min-h-screen flex flex-col">
        <!-- Header -->
        <header class="bg-gradient-to-r from-primary to-secondary text-white p-4 shadow-lg">
            <div class="container mx-auto flex justify-between items-center">
                <h1 class="text-2xl font-bold flex items-center">
                    <i class="fas fa-podcast mr-2"></i>PodVerse
                </h1>
                <div class="flex items-center space-x-4">
                    <button class="bg-white text-primary px-4 py-2 rounded-full font-medium hover:bg-opacity-90 transition">
                        <i class="fas fa-plus mr-1"></i> Add Channel
                    </button>
                    <button class="p-2 rounded-full bg-white bg-opacity-20 hover:bg-opacity-30 transition">
                        <i class="fas fa-cog"></i>
                    </button>
                </div>
            </div>
        </header>

        <main class="flex-1 container mx-auto p-4 md:p-6 grid grid-cols-1 lg:grid-cols-3 gap-6">
            <!-- Left Column - Podcasts -->
            <div class="bg-white rounded-xl shadow-md p-4 lg:col-span-2">
                <h2 class="text-xl font-semibold text-gray-800 mb-4 flex items-center">
                    <i class="fas fa-headphones-alt text-primary mr-2"></i> Podcast Episodes
                </h2>
                
                <!-- Player Controls - Compact -->
                <div class="bg-gray-50 rounded-lg p-3 mb-4">
                    <div class="flex items-center space-x-3 mb-2">
                        <img src="https://picsum.photos/60/60?random=1" alt="Podcast Cover" class="w-12 h-12 rounded-lg shadow">
                        <div class="flex-1 min-w-0">
                            <h3 class="font-medium text-gray-800 text-sm truncate">The Future of AI</h3>
                            <p class="text-xs text-gray-600 truncate">Tech Talk Podcast</p>
                        </div>
                        <button class="text-primary hover:text-purple-700">
                            <i class="fas fa-heart text-lg"></i>
                        </button>
                    </div>
                    
                    <div class="mb-1">
                        <input type="range" min="0" max="100" value="35" class="podcast-progress">
                    </div>
                    
                    <div class="flex justify-between text-xs text-gray-500 mb-2">
                        <span>12:45</span>
                        <span>38:20</span>
                    </div>
                    
                    <div class="flex justify-center items-center space-x-4">
                        <button class="text-gray-600 hover:text-primary text-sm">
                            <i class="fas fa-step-backward"></i>
                        </button>
                        <button class="bg-primary text-white p-2 rounded-full hover:bg-purple-700 transition">
                            <i class="fas fa-play"></i>
                        </button>
                        <button class="text-gray-600 hover:text-primary text-sm">
                            <i class="fas fa-step-forward"></i>
                        </button>
                    </div>
                </div>
                
                <!-- Episodes List -->
                <div class="h-80 overflow-y-auto custom-scrollbar">
                    <div class="space-y-3">
                        <div class="p-3 rounded-lg flex items-center space-x-3 active-podcast">
                            <img src="https://picsum.photos/60/60?random=2" alt="Episode" class="w-12 h-12 rounded">
                            <div class="flex-1">
                                <h4 class="font-medium text-gray-800">The Future of AI</h4>
                                <p class="text-sm text-gray-600">Tech Talk Podcast • 38 min</p>
                            </div>
                            <div class="text-primary">
                                <i class="fas fa-play-circle text-xl"></i>
                            </div>
                        </div>
                        
                        <div class="p-3 rounded-lg flex items-center space-x-3 hover:bg-gray-50 cursor-pointer">
                            <img src="https://picsum.photos/60/60?random=3" alt="Episode" class="w-12 h-12 rounded">
                            <div class="flex-1">
                                <h4 class="font-medium text-gray-800">Digital Nomad Lifestyle</h4>
                                <p class="text-sm text-gray-600">Remote Work Podcast • 45 min</p>
                            </div>
                            <div class="text-gray-400">
                                <i class="fas fa-play-circle text-xl"></i>
                            </div>
                        </div>
                        
                        <div class="p-3 rounded-lg flex items-center space-x-3 hover:bg-gray-50 cursor-pointer">
                            <img src="https://picsum.photos/60/60?random=4" alt="Episode" class="w-12 h-12 rounded">
                            <div class="flex-1">
                                <h4 class="font-medium text-gray-800">Mindfulness Meditation</h4>
                                <p class="text-sm text-gray-600">Wellness Podcast • 28 min</p>
                            </div>
                            <div class="text-gray-400">
                                <i class="fas fa-play-circle text-xl"></i>
                            </div>
                        </div>
                        
                        <div class="p-3 rounded-lg flex items-center space-x-3 hover:bg-gray-50 cursor-pointer">
                            <img src="https://picsum.photos/60/60?random=5" alt="Episode" class="w-12 h-12 rounded">
                            <div class="flex-1">
                                <h4 class="font-medium text-gray-800">Startup Funding Strategies</h4>
                                <p class="text-sm text-gray-600">Business Podcast • 52 min</p>
                            </div>
                            <div class="text-gray-400">
                                <i class="fas fa-play-circle text-xl"></i>
                            </div>
                        </div>
                        
                        <div class="p-3 rounded-lg flex items-center space-x-3 hover:bg-gray-50 cursor-pointer">
                            <img src="https://picsum.photos/60/60?random=6" alt="Episode" class="w-12 h-12 rounded">
                            <div class="flex-1">
                                <h4 class="font-medium text-gray-800">Climate Change Solutions</h4>
                                <p class="text-sm text-gray-600">Science Podcast • 41 min</p>
                            </div>
                            <div class="text-gray-400">
                                <i class="fas fa-play-circle text-xl"></i>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
            
            <!-- Right Column - Gallery, Music and Poetry -->
            <div class="space-y-6">
                <!-- Image Gallery -->
                <div class="bg-white rounded-xl shadow-md p-4">
                    <h2 class="text-xl font-semibold text-gray-800 mb-4 flex items-center">
                        <i class="fas fa-images text-primary mr-2"></i> Gallery
                    </h2>
                    
                    <div class="relative h-48 rounded-lg overflow-hidden mb-4">
                        <div class="slide active">
                            <img src="https://picsum.photos/400/200?random=10" alt="Gallery Image" class="w-full h-full object-cover">
                        </div>
                        <div class="slide">
                            <img src="https://picsum.photos/400/200?random=11" alt="Gallery Image" class="w-full h-full object-cover">
                        </div>
                        <div class="slide">
                            <img src="https://picsum.photos/400/200?random=12" alt="Gallery Image" class="w-full h-full object-cover">
                        </div>
                        
                        <div class="absolute bottom-4 left-0 right-0 flex justify-center space-x-2">
                            <button class="w-2 h-2 rounded-full bg-white opacity-50 slider-dot active-dot"></button>
                            <button class="w-2 h-2 rounded-full bg-white opacity-50 slider-dot"></button>
                            <button class="w-2 h-2 rounded-full bg-white opacity-50 slider-dot"></button>
                        </div>
                        
                        <button class="absolute left-2 top-1/2 transform -translate-y-1/2 text-white bg-black bg-opacity-30 p-1 rounded-full">
                            <i class="fas fa-chevron-left"></i>
                        </button>
                        <button class="absolute right-2 top-1/2 transform -translate-y-1/2 text-white bg-black bg-opacity-30 p-1 rounded-full">
                            <i class="fas fa-chevron-right"></i>
                        </button>
                    </div>
                    
                    <div class="grid grid-cols-3 gap-2">
                        <img src="https://picsum.photos/100/100?random=13" alt="Thumbnail" class="rounded cursor-pointer">
                        <img src="https://picsum.photos/100/100?random=14" alt="Thumbnail" class="rounded cursor-pointer">
                        <img src="https://picsum.photos/100/100?random=15" alt="Thumbnail" class="rounded cursor-pointer">
                    </div>
                </div>
                
                <!-- Music Player -->
                <div class="bg-white rounded-xl shadow-md p-4">
                    <h2 class="text-xl font-semibold text-gray-800 mb-4 flex items-center">
                        <i class="fas fa-music text-secondary mr-2"></i> Music Player
                    </h2>
                    
                    <div class="bg-gray-50 rounded-lg p-2 mb-3">
                        <div class="flex items-center space-x-2 mb-2">
                            <img src="https://picsum.photos/40/40?random=20" alt="Music Cover" class="w-10 h-10 rounded">
                            <div class="flex-1 min-w-0">
                                <h3 class="font-medium text-gray-800 text-sm truncate">Summer Vibes</h3>
                                <p class="text-xs text-gray-600 truncate">Chill Beats</p>
                            </div>
                            <button class="text-secondary hover:text-pink-700 text-sm">
                                <i class="fas fa-heart"></i>
                            </button>
                        </div>
                        
                        <div class="mb-1">
                            <input type="range" min="0" max="100" value="60" class="podcast-progress">
                        </div>
                        
                        <div class="flex justify-between text-xs text-gray-500 mb-2">
                            <span>2:15</span>
                            <span>3:45</span>
                        </div>
                        
                        <div class="flex justify-center items-center space-x-3">
                            <button class="text-gray-600 hover:text-secondary text-sm">
                                <i class="fas fa-step-backward"></i>
                            </button>
                            <button class="bg-secondary text-white p-1 rounded-full hover:bg-pink-700 transition">
                                <i class="fas fa-play text-xs"></i>
                            </button>
                            <button class="text-gray-600 hover:text-secondary text-sm">
                                <i class="fas fa-step-forward"></i>
                            </button>
                        </div>
                    </div>
                    
                    <div class="h-40 overflow-y-auto custom-scrollbar">
                        <div class="space-y-2">
                            <div class="p-2 rounded-lg flex items-center space-x-3 active-music">
                                <img src="https://picsum.photos/40/40?random=21" alt="Music" class="w-10 h-10 rounded">
                                <div class="flex-1">
                                    <h4 class="font-medium text-gray-800">Summer Vibes</h4>
                                    <p class="text-xs text-gray-600">Chill Beats</p>
                                </div>
                                <div class="text-secondary">
                                    <i class="fas fa-play"></i>
                                </div>
                            </div>
                            
                            <div class="p-2 rounded-lg flex items-center space-x-3 hover:bg-gray-50 cursor-pointer">
                                <img src="https://picsum.photos/40/40?random=22" alt="Music" class="w-10 h-10 rounded">
                                <div class="flex-1">
                                    <h4 class="font-medium text-gray-800">Night Drive</h4>
                                    <p class="text-xs text-gray-600">Synthwave</p>
                                </div>
                                <div class="text-gray-400">
                                    <i class="fas fa-play"></i>
                                </div>
                            </div>
                            
                            <div class="p-2 rounded-lg flex items-center space-x-3 hover:bg-gray-50 cursor-pointer">
                                <img src="https://picsum.photos/40/40?random=23" alt="Music" class="w-10 h-10 rounded">
                                <div class="flex-1">
                                    <h4 class="font-medium text-gray-800">Coffee Morning</h4>
                                    <p class="text-xs text-gray-600">Acoustic</p>
                                </div>
                                <div class="text-gray-400">
                                    <i class="fas fa-play"></i>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
                
                <!-- Poetry Section -->
                <div class="bg-white rounded-xl shadow-md p-4">
                    <h2 class="text-xl font-semibold text-gray-800 mb-4 flex items-center">
                        <i class="fas fa-feather-alt text-primary mr-2"></i> Poetry Corner
                    </h2>
                    
                    <div class="bg-gray-50 rounded-lg p-3 mb-3">
                        <h3 class="font-medium text-gray-800 mb-2 text-sm">The Road Not Taken</h3>
                        <p class="text-xs text-gray-700 italic">
                            Two roads diverged in a yellow wood,<br>
                            And sorry I could not travel both<br>
                            And be one traveler, long I stood<br>
                            And looked down one as far as I could...
                        </p>
                        <p class="text-xs text-gray-500 mt-1">- Robert Frost</p>
                    </div>
                    
                    <!-- Poems List -->
                    <div class="h-32 overflow-y-auto custom-scrollbar mb-3">
                        <div class="space-y-2">
                            <div class="p-2 rounded-lg flex items-center space-x-2 hover:bg-gray-50 cursor-pointer active-poem">
                                <div class="bg-primary bg-opacity-10 p-1 rounded">
                                    <i class="fas fa-feather-alt text-primary text-xs"></i>
                                </div>
                                <div class="flex-1 min-w-0">
                                    <h4 class="font-medium text-gray-800 text-sm truncate">The Road Not Taken</h4>
                                    <p class="text-xs text-gray-600 truncate">Robert Frost</p>
                                </div>
                            </div>
                            
                            <div class="p-2 rounded-lg flex items-center space-x-2 hover:bg-gray-50 cursor-pointer">
                                <div class="bg-primary bg-opacity-10 p-1 rounded">
                                    <i class="fas fa-feather-alt text-primary text-xs"></i>
                                </div>
                                <div class="flex-1 min-w-0">
                                    <h4 class="font-medium text-gray-800 text-sm truncate">Sonnet 18</h4>
                                    <p class="text-xs text-gray-600 truncate">William Shakespeare</p>
                                </div>
                            </div>
                            
                            <div class="p-2 rounded-lg flex items-center space-x-2 hover:bg-gray-50 cursor-pointer">
                                <div class="bg-primary bg-opacity-10 p-1 rounded">
                                    <i class="fas fa-feather-alt text-primary text-xs"></i>
                                </div>
                                <div class="flex-1 min-w-0">
                                    <h4 class="font-medium text-gray-800 text-sm truncate">The Raven</h4>
                                    <p class="text-xs text-gray-600 truncate">Edgar Allan Poe</p>
                                </div>
                            </div>
                            
                            <div class="p-2 rounded-lg flex items-center space-x-2 hover:bg-gray-50 cursor-pointer">
                                <div class="bg-primary bg-opacity-10 p-1 rounded">
                                    <i class="fas fa-feather-alt text-primary text-xs"></i>
                                </div>
                                <div class="flex-1 min-w-0">
                                    <h4 class="font-medium text-gray-800 text-sm truncate">If—</h4>
                                    <p class="text-xs text-gray-600 truncate">Rudyard Kipling</p>
                                </div>
                            </div>
                        </div>
                    </div>
                    
                    <button class="w-full bg-primary text-white py-2 rounded-lg hover:bg-purple-700 transition flex items-center justify-center text-sm">
                        <i class="fas fa-plus mr-2 text-xs"></i> Add New Poem
                    </button>
                </div>
                
                <!-- Channels & Links -->
                <div class="bg-white rounded-xl shadow-md p-4">
                    <h2 class="text-xl font-semibold text-gray-800 mb-4 flex items-center">
                        <i class="fas fa-link text-primary mr-2"></i> Channels & Links
                    </h2>
                    
                    <div class="space-y-3">
                        <div class="flex items-center p-2 hover:bg-gray-50 rounded-lg cursor-pointer">
                            <div class="bg-primary bg-opacity-10 p-2 rounded-lg mr-3">
                                <i class="fas fa-podcast text-primary"></i>
                            </div>
                            <span class="text-gray-700">Tech Talk Podcast</span>
                        </div>
                        
                        <div class="flex items-center p-2 hover:bg-gray-50 rounded-lg cursor-pointer">
                            <div class="bg-secondary bg-opacity-10 p-2 rounded-lg mr-3">
                                <i class="fas fa-music text-secondary"></i>
                            </div>
                            <span class="text-gray-700">Chill Beats Channel</span>
                        </div>
                        
                        <div class="flex items-center p-2 hover:bg-gray-50 rounded-lg cursor-pointer">
                            <div class="bg-yellow-500 bg-opacity-10 p-2 rounded-lg mr-3">
                                <i class="fas fa-book text-yellow-500"></i>
                            </div>
                            <span class="text-gray-700">Poetry Society</span>
                        </div>
                    </div>
                    
                    <button class="w-full mt-4 border border-primary text-primary py-2 rounded-lg hover:bg-primary hover:text-white transition flex items-center justify-center">
                        <i class="fas fa-plus mr-2"></i> Add New Channel
                    </button>
                </div>
            </div>
        </main>
        
        <footer class="bg-dark text-gray-400 py-6 mt-8">
            <div class="container mx-auto px-4 text-center">
                <p>© 2023 PodVerse - Your Ultimate Media Experience</p>
                <div class="flex justify-center space-x-4 mt-2">
                    <a href="#" class="hover:text-white"><i class="fab fa-facebook"></i></a>
                    <a href="#" class="hover:text-white"><i class="fab fa-twitter"></i></a>
                    <a href="#" class="hover:text-white"><i class="fab fa-instagram"></i></a>
                    <a href="#" class="hover:text-white"><i class="fab fa-youtube"></i></a>
                </div>
            </div>
        </footer>
    </div>

    <script>
        // Slideshow functionality
        document.addEventListener('DOMContentLoaded', function() {
            let currentSlide = 0;
            const slides = document.querySelectorAll('.slide');
            const dots = document.querySelectorAll('.slider-dot');
            const totalSlides = slides.length;
            
            // Initialize slideshow
            function showSlide(n) {
                slides.forEach(slide => slide.classList.remove('active'));
                dots.forEach(dot => dot.classList.remove('active-dot'));
                
                currentSlide = (n + totalSlides) % totalSlides;
                
                slides[currentSlide].classList.add('active');
                dots[currentSlide].classList.add('active-dot');
            }
            
            // Next/previous controls
            document.querySelector('.fa-chevron-right').parentNode.addEventListener('click', () => {
                showSlide(currentSlide + 1);
            });
            
            document.querySelector('.fa-chevron-left').parentNode.addEventListener('click', () => {
                showSlide(currentSlide - 1);
            });
            
            // Dot controls
            dots.forEach((dot, index) => {
                dot.addEventListener('click', () => {
                    showSlide(index);
                });
            });
            
            // Auto advance slides
            setInterval(() => {
                showSlide(currentSlide + 1);
            }, 5000);
            
            // Play/Pause functionality
            const playButtons = document.querySelectorAll('.fa-play');
            playButtons.forEach(button => {
                button.addEventListener('click', function() {
                    const isPlaying = this.classList.contains('fa-play');
                    const allPlayButtons = document.querySelectorAll('.fa-play, .fa-pause');
                    
                    allPlayButtons.forEach(btn => {
                        btn.classList.remove('fa-pause');
                        btn.classList.add('fa-play');
                    });
                    
                    if (isPlaying) {
                        this.classList.remove('fa-play');
                        this.classList.add('fa-pause');
                    }
                });
            });
            
            // Add channel modal (simplified)
            document.querySelectorAll('button:contains("Add Channel")').forEach(button => {
                button.addEventListener('click', function() {
                    alert('Channel addition feature would open here!');
                });
            });
            
            // Add poem functionality
            document.querySelector('button:contains("Add New Poem")').addEventListener('click', function() {
                alert('Poem addition feature would open here!');
            });
        });
    </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=Mablue/masoudsoft-ir" style="color: #fff;text-decoration: underline;" target="_blank" >Remix</a></p></body>
</html>