-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
598 lines (545 loc) · 36.3 KB
/
index.html
File metadata and controls
598 lines (545 loc) · 36.3 KB
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
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
<!DOCTYPE html>
<html lang="fr">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>StreamIt</title>
<link href="medias/logo.png" rel="icon" />
<meta name="description" content="Organisez, explorez et regardez vos films et séries préférés avec StreamIt." />
<meta name="keywords" content="movies, series, streaming, StreamIt, films, TV shows" />
<meta name="author" content="LoupesDEV" />
<meta name="theme-color" content="#181818" />
<meta property="og:title" content="StreamIt" />
<meta property="og:description"
content="Organisez, explorez et regardez vos films et séries préférés avec StreamIt." />
<meta property="og:image" content="https://www.matheo-pichotmoise.fr/StreamIt/medias/logo.png" />
<meta property="og:type" content="website" />
<meta property="og:url" content="https://www.matheo-pichotmoise.fr/StreamIt/" />
<script src="https://cdn.tailwindcss.com"></script>
<link href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css" rel="stylesheet">
<link rel="stylesheet" href="css/variables.css">
<link rel="stylesheet" href="css/style.css">
<link rel="stylesheet" href="css/responsive.css">
<link rel="stylesheet" href="css/video-player.css">
</head>
<body class="min-h-screen relative selection:bg-red-600 selection:text-white text-white">
<!-- Animated Background Blobs -->
<div class="fixed inset-0 overflow-hidden pointer-events-none z-0">
<div class="liquid-blob bg-red-900/40 w-[800px] h-[800px] -top-[20%] -left-[10%]"></div>
<div class="liquid-blob bg-red-800/30 w-[600px] h-[600px] bottom-[-10%] right-[-10%] animation-delay-2000">
</div>
</div>
<!-- Main Navigation Bar -->
<nav class="fixed top-0 w-full z-50 glass-nav transition-all duration-300" id="navbar">
<div class="container mx-auto px-6 h-20 flex items-center justify-between relative z-50">
<div class="flex items-center gap-4 md:gap-12">
<button id="mobileMenuBtn" class="md:hidden text-gray-300 hover:text-white focus:outline-none">
<i class="fas fa-bars text-2xl"></i>
</button>
<div class="text-3xl font-black tracking-tighter cursor-pointer select-none" onclick="router('home')">
STREAM<span class="text-red-600">IT</span>
</div>
<div class="hidden md:flex gap-8 text-sm font-semibold text-gray-400 tracking-wide">
<button onclick="router('home')" class="hover:text-white transition-colors"
id="nav-home">Accueil</button>
<button onclick="router('films')" class="hover:text-white transition-colors"
id="nav-films">Films</button>
<button onclick="router('series')" class="hover:text-white transition-colors"
id="nav-series">Séries</button>
<button onclick="router('actors')" class="hover:text-white transition-colors"
id="nav-actors">Acteurs</button>
<button onclick="router('collections')" class="hover:text-white transition-colors"
id="nav-collections">Collections</button>
</div>
</div>
<div class="flex items-center gap-4 md:gap-6">
<div class="relative group hidden md:block">
<input type="text" id="searchInput" placeholder="Rechercher..."
class="glass-input rounded-full px-5 py-2 w-48 focus:w-72 text-sm pl-11 placeholder-gray-500">
<i
class="fas fa-search absolute left-4 top-3 text-gray-400 group-focus-within:text-red-500 transition-colors"></i>
</div>
<button id="mobileSearchBtn" class="md:hidden text-gray-300 hover:text-white">
<i class="fas fa-search text-xl"></i>
</button>
<div class="relative flex items-center gap-2">
<div class="relative">
<button onclick="toggleNotifs()"
class="relative p-2 hover:bg-white/5 rounded-full transition-colors group">
<i class="fas fa-bell text-gray-300 group-hover:text-white transition-colors"></i>
<span id="notifBadge"
class="hidden absolute top-1 right-1 w-2.5 h-2.5 bg-red-600 rounded-full border border-black shadow-[0_0_5px_red]"></span>
</button>
<div id="notifDropdown"
class="notif-dropdown absolute right-0 mt-4 w-80 bg-[#111111] rounded-xl overflow-hidden shadow-2xl border border-white/10 z-50">
<div class="p-4 border-b border-white/5 bg-[#1a1a1a]">
<h4 class="font-bold text-sm text-gray-200">Notifications</h4>
</div>
<div id="notifList" class="max-h-64 overflow-y-auto custom-scrollbar bg-[#111111]">
<div class="p-4 text-center text-gray-500 text-xs">Chargement...</div>
</div>
</div>
</div>
<div class="relative">
<button onclick="toggleSettings()"
class="relative p-2 hover:bg-white/5 rounded-full transition-colors group">
<i class="fas fa-gear text-gray-300 group-hover:text-white transition-colors"></i>
</button>
<div id="settingsDropdown"
class="notif-dropdown absolute right-0 mt-4 w-80 bg-[#111111] rounded-xl overflow-hidden shadow-2xl border border-white/10 z-50">
<div class="p-4 border-b border-white/5 bg-[#1a1a1a]">
<h4 class="font-bold text-sm text-gray-200">Paramètres</h4>
</div>
<div class="bg-[#111111] divide-y divide-white/5">
<button onclick="downloadProgressBackup()"
class="w-full text-left px-4 py-3 hover:bg-white/5 transition-colors flex items-center gap-3">
<span
class="w-10 h-10 rounded-lg bg-red-600/10 text-red-400 flex items-center justify-center">
<i class="fas fa-download"></i>
</span>
<span class="flex-1">
<div class="font-bold text-sm text-gray-200">Exporter la progression</div>
<div class="text-xs text-gray-500">Télécharger le suivi des films et séries
</div>
</span>
</button>
<button onclick="openProgressImport()"
class="w-full text-left px-4 py-3 hover:bg-white/5 transition-colors flex items-center gap-3">
<span
class="w-10 h-10 rounded-lg bg-emerald-600/10 text-emerald-400 flex items-center justify-center">
<i class="fas fa-file-import"></i>
</span>
<span class="flex-1">
<div class="font-bold text-sm text-gray-200">Importer une progression</div>
<div class="text-xs text-gray-500">Recharger un fichier de sauvegarde JSON</div>
</span>
</button>
</div>
<input id="progressImportInput" type="file" accept="application/json" class="hidden">
</div>
</div>
</div>
</div>
</div>
<!-- Mobile Search Panel -->
<div id="mobileSearchPanel"
class="hidden md:hidden absolute top-20 left-0 w-full bg-[#050505] border-b border-white/10 p-4 animate-fade-in-up">
<div class="relative">
<input type="text" id="mobileSearchInput" placeholder="Rechercher un titre..."
class="glass-input w-full rounded-lg px-4 py-3 pl-10 text-sm">
<i class="fas fa-search absolute left-3.5 top-3.5 text-gray-400"></i>
</div>
</div>
<!-- Mobile Menu Panel -->
<div id="mobileMenuPanel"
class="fixed left-0 right-0 top-20 bg-black z-40 transform translate-x-[-100%] transition-transform duration-300 md:hidden flex flex-col p-8 gap-6 border-b border-white/10 rounded-b-2xl shadow-2xl">
<button onclick="router('home')"
class="text-2xl font-bold text-gray-300 hover:text-white hover:pl-4 transition-all">Accueil</button>
<button onclick="router('films')"
class="text-2xl font-bold text-gray-300 hover:text-white hover:pl-4 transition-all">Films</button>
<button onclick="router('series')"
class="text-2xl font-bold text-gray-300 hover:text-white hover:pl-4 transition-all">Séries</button>
<button onclick="router('actors')"
class="text-2xl font-bold text-gray-300 hover:text-white hover:pl-4 transition-all">Acteurs</button>
<button onclick="router('collections')"
class="text-2xl font-bold text-gray-300 hover:text-white hover:pl-4 transition-all">Collections</button>
</div>
</nav>
<!-- Main Content Area -->
<main class="pt-20 min-h-screen pb-24 relative z-10">
<!-- Hero Section -->
<div id="heroSection" class="relative min-h-[85vh] w-full hidden group overflow-hidden flex items-center">
<div class="absolute inset-0 z-0">
<img id="heroImage" src=""
class="w-full h-full object-cover transition-transform duration-[10s] group-hover:scale-105"
alt="Hero">
<div class="absolute inset-0 bg-gradient-to-r from-[#050505] via-[#050505]/70 to-transparent"></div>
<div class="absolute inset-0 bg-gradient-to-t from-[#050505] via-transparent to-transparent"></div>
</div>
<div class="container mx-auto px-6 relative z-10 py-32">
<div class="max-w-3xl animate-fade-in-up space-y-8">
<div class="flex items-center gap-3">
<span
class="bg-red-600 text-white px-3 py-1 text-[10px] font-black uppercase tracking-widest rounded-sm shadow-lg shadow-red-900/20">À
la une</span>
<span id="heroType" class="text-gray-300 text-sm font-bold uppercase tracking-wider"></span>
</div>
<h1 id="heroTitle"
class="text-7xl md:text-9xl font-black leading-[0.85] text-transparent bg-clip-text bg-gradient-to-br from-white via-gray-200 to-gray-500 drop-shadow-2xl">
</h1>
<div class="flex items-center gap-6 text-sm font-bold text-gray-300">
<span
class="flex items-center gap-1.5 text-green-400 bg-green-900/20 px-2 py-1 rounded-md backdrop-blur-sm"><i
class="fas fa-star text-xs"></i> <span id="heroRating"></span> IMDb</span>
<span id="heroYear"></span>
<span id="heroDuration" class="border border-white/20 px-2 py-1 rounded-md"></span>
<span id="heroGenre" class="text-red-400"></span>
</div>
<p id="heroDesc"
class="text-xl text-gray-200 leading-relaxed line-clamp-3 max-w-2xl text-shadow-lg font-light">
</p>
<div class="flex gap-5 pt-6">
<button id="heroPlayBtn"
class="bg-white text-black px-10 py-4 rounded-xl font-bold flex items-center gap-3 hover:bg-red-600 hover:text-white transition-all transform hover:scale-105 shadow-[0_0_30px_rgba(255,255,255,0.1)]">
<i class="fas fa-play text-2xl"></i> <span class="text-lg">Lecture</span>
</button>
<button id="heroInfoBtn"
class="glass-button text-white px-10 py-4 rounded-xl font-bold flex items-center gap-3 hover:scale-105 transform">
<i class="fas fa-info-circle text-2xl"></i> <span class="text-lg">Plus d'infos</span>
</button>
</div>
</div>
</div>
</div>
<!-- Filter Section -->
<div id="filterSection" class="container mx-auto px-6 py-10 hidden">
<div class="glass-panel p-6 rounded-2xl animate-fade-in-up">
<div class="flex flex-wrap gap-4 items-end justify-between">
<div class="flex flex-wrap gap-4">
<div class="space-y-2 w-full sm:w-auto">
<label class="text-xs font-bold text-gray-400 uppercase tracking-wider">Trier par</label>
<select id="sortBy"
class="glass-input rounded-lg px-4 py-2.5 w-full sm:w-40 bg-[#0a0a0a] text-sm appearance-none cursor-pointer">
<option value="alpha_asc">Alphabétique (A-Z)</option>
<option value="alpha_desc">Alphabétique (Z-A)</option>
<option value="date_desc">Plus récents</option>
<option value="date_asc">Plus anciens</option>
<option value="rating_desc">Meilleure note</option>
</select>
</div>
<div class="space-y-2 w-full sm:w-auto">
<label class="text-xs font-bold text-gray-400 uppercase tracking-wider">Genre</label>
<select id="filterGenre"
class="glass-input rounded-lg px-4 py-2.5 w-full sm:w-40 bg-[#0a0a0a] text-sm appearance-none cursor-pointer">
<option value="">Tous les genres</option>
</select>
</div>
<div class="space-y-2 w-full sm:w-auto">
<label class="text-xs font-bold text-gray-400 uppercase tracking-wider">Réalisation</label>
<select id="filterDirector"
class="glass-input rounded-lg px-4 py-2.5 w-full sm:w-48 bg-[#0a0a0a] text-sm appearance-none cursor-pointer">
<option value="">Tous</option>
</select>
</div>
<div class="space-y-2 w-full sm:w-auto">
<label class="text-xs font-bold text-gray-400 uppercase tracking-wider">Année</label>
<select id="filterYear"
class="glass-input rounded-lg px-4 py-2.5 w-full sm:w-32 bg-[#0a0a0a] text-sm appearance-none cursor-pointer">
<option value="">Toutes</option>
</select>
</div>
<div class="space-y-2 w-full sm:w-auto">
<label class="text-xs font-bold text-gray-400 uppercase tracking-wider">Note IMDb +</label>
<input type="number" id="filterImdb" min="0" max="10" step="0.5" placeholder="0"
class="glass-input rounded-lg px-4 py-2.5 w-full sm:w-24 text-sm">
</div>
</div>
<div class="flex gap-3 mt-4 lg:mt-0 w-full lg:w-auto">
<button onclick="applyFilters()"
class="bg-red-600 hover:bg-red-700 text-white px-6 py-2.5 rounded-lg font-bold text-sm transition-colors flex-1 lg:flex-none justify-center">Appliquer</button>
<button onclick="resetFilters()"
class="hover:bg-white/10 text-gray-300 px-4 py-2.5 rounded-lg font-medium text-sm transition-colors flex-1 lg:flex-none justify-center">Réinitialiser</button>
</div>
</div>
</div>
</div>
<!-- Home Page Content -->
<div id="homePageContent" class="container mx-auto px-6 mt-12 space-y-16 hidden animate-fade-in-up">
<!-- Featured Films Section -->
<section>
<h2 class="text-2xl font-bold mb-6 flex items-center gap-3">
<span class="w-1.5 h-8 bg-red-600 rounded-full shadow-[0_0_15px_#dc2626]"></span>
<span class="tracking-tight">Films à la une</span>
</h2>
<div id="homeFilmsRow" class="flex gap-6 overflow-x-auto pb-8 hide-scrollbar scroll-smooth snap-x pl-1">
</div>
</section>
<!-- Trending Series Section -->
<section>
<h2 class="text-2xl font-bold mb-6 flex items-center gap-3">
<span class="w-1.5 h-8 bg-red-600 rounded-full shadow-[0_0_15px_#dc2626]"></span>
<span class="tracking-tight">Séries du moment</span>
</h2>
<div id="homeSeriesRow"
class="flex gap-6 overflow-x-auto pb-8 hide-scrollbar scroll-smooth snap-x pl-1"></div>
</section>
</div>
<!-- Collections Content -->
<div id="collectionsContent" class="container mx-auto px-6 mt-12 space-y-20 hidden animate-fade-in-up"></div>
<!-- Actors Content -->
<div id="actorsContent" class="container mx-auto px-6 mt-12 space-y-10 hidden animate-fade-in-up"></div>
<!-- Generic Grid Container -->
<div id="genericGridContainer" class="container mx-auto px-6 mt-8 hidden animate-fade-in-up">
<h2 id="sectionTitle" class="text-2xl font-bold mb-8 flex items-center gap-3">
<span class="w-1 h-8 bg-red-600 rounded-full shadow-[0_0_15px_#dc2626]"></span>
<span id="titleText" class="tracking-tight">Résultats</span>
</h2>
<div id="contentGrid" class="grid grid-cols-2 md:grid-cols-3 lg:grid-cols-4 xl:grid-cols-5 gap-6 gap-y-10">
</div>
</div>
<div id="actorsContent" class="container mx-auto px-6 mt-12 space-y-10 hidden animate-fade-in-up"></div>
</main>
<!-- Media Details Overlay -->
<div id="detailsOverlay" class="fixed inset-0 z-[60] bg-[#050505] hidden overflow-y-auto custom-scrollbar">
<button onclick="closeDetails()"
class="fixed top-8 right-8 z-[80] w-12 h-12 rounded-full bg-black/40 backdrop-blur-xl flex items-center justify-center hover:bg-red-600 transition-all group border border-white/10 shadow-2xl">
<i class="fas fa-times text-white text-xl group-hover:rotate-90 transition-transform duration-300"></i>
</button>
<div class="relative w-full h-[75vh]">
<div class="absolute inset-0">
<img id="detailHeroImg" src="" class="w-full h-full object-cover object-top" alt="Detail Hero">
<div class="absolute inset-0 bg-gradient-to-t from-[#050505] via-[#050505]/80 to-transparent"></div>
<div class="absolute inset-0 bg-gradient-to-r from-[#050505] via-[#050505]/50 to-transparent"></div>
<div class="absolute inset-0 bg-gradient-to-b from-black/60 via-transparent to-transparent h-32"></div>
</div>
<div class="absolute bottom-0 left-0 w-full p-6 md:p-16 z-10">
<div class="container mx-auto animate-fade-in-up">
<div class="max-w-4xl">
<h1 id="detailTitle"
class="text-5xl md:text-8xl font-black mb-6 drop-shadow-2xl leading-none text-transparent bg-clip-text bg-gradient-to-br from-white to-gray-400">
</h1>
<div class="flex flex-wrap items-center gap-6 text-base font-bold text-gray-300 mb-10">
<span id="detailMatch"
class="text-green-400 bg-green-900/20 px-3 py-1 rounded-full backdrop-blur-md">Recommandé
à 98%</span>
<span class="flex items-center gap-2"><i class="fas fa-calendar-alt text-red-500"></i> <span
id="detailYear"></span></span>
<span id="detailDuration" class="border-2 border-white/20 px-3 py-1 rounded-full"></span>
<div id="detailGenrePills" class="flex flex-wrap gap-2"></div>
</div>
<div class="flex flex-wrap gap-5">
<button id="detailPlayBtn" onclick="playCurrentMedia()"
class="bg-red-600 text-white px-12 py-4 rounded-xl font-bold hover:bg-red-700 transition-all flex items-center gap-3 hover:scale-105 transform">
<i class="fas fa-play text-2xl"></i> <span class="text-xl">Lecture</span>
</button>
</div>
</div>
</div>
</div>
</div>
<div class="container mx-auto px-6 py-12 animate-fade-in-up" style="animation-delay: 0.2s">
<div class="flex flex-col lg:flex-row gap-16">
<div class="flex-1 space-y-16 order-2 lg:order-1">
<div>
<h3 class="text-2xl font-bold mb-6 text-gray-200">Synopsis</h3>
<p id="detailDesc"
class="text-gray-300 text-xl leading-relaxed font-light tracking-wide max-w-4xl"></p>
</div>
<!-- Series Episodes Section -->
<div id="seriesSection" class="hidden">
<div class="flex items-center justify-between mb-8">
<h3 class="text-3xl font-bold flex items-center gap-3">
<span class="w-1.5 h-8 bg-red-600 rounded-full shadow-[0_0_15px_#dc2626]"></span>
Épisodes
</h3>
<div class="relative z-20">
<select id="seasonSelect"
class="appearance-none bg-black/60 backdrop-blur-xl border border-white/20 text-white font-bold py-3 pl-6 pr-12 rounded-xl cursor-pointer focus:outline-none focus:border-red-500 transition-colors shadow-xl">
<option value="1">Saison 1</option>
</select>
<i
class="fas fa-chevron-down absolute right-4 top-1/2 -translate-y-1/2 text-gray-400 pointer-events-none"></i>
</div>
</div>
<div id="episodesList" class="space-y-4"></div>
</div>
</div>
<!-- Metadata Sidebar -->
<div class="lg:w-1/3 space-y-10 order-1 lg:order-2">
<div class="glass-panel p-8 rounded-2xl space-y-8">
<div>
<span
class="block text-red-500 text-sm font-black uppercase tracking-widest mb-3">Distributions</span>
<div id="detailCast" class="flex flex-wrap gap-2"></div>
</div>
<div>
<span
class="block text-red-500 text-sm font-black uppercase tracking-widest mb-3">Réalisation</span>
<div id="detailCreators" class="text-white text-lg font-medium"></div>
</div>
</div>
</div>
</div>
<div
class="mt-32 py-12 border-t border-white/5 text-center text-gray-500 text-sm font-medium tracking-wider uppercase">
StreamIt<br>© 2026 LoupesDEV. Tous droits réservés.
</div>
</div>
</div>
<!-- Actor Details Overlay -->
<div id="actorOverlay" class="fixed inset-0 z-[70] bg-[#050505]/95 hidden overflow-y-auto custom-scrollbar">
<button onclick="closeActorDetails()"
class="fixed top-8 right-8 z-[90] w-12 h-12 rounded-full bg-black/40 backdrop-blur-xl flex items-center justify-center hover:bg-red-600 transition-all group border border-white/10 shadow-2xl">
<i class="fas fa-times text-white text-xl group-hover:rotate-90 transition-transform duration-300"></i>
</button>
<div class="container mx-auto px-6 py-16">
<div class="glass-panel rounded-3xl overflow-hidden border border-white/10 shadow-2xl">
<div class="grid grid-cols-1 lg:grid-cols-[320px_1fr] gap-10">
<div class="p-6 bg-black/40 space-y-6">
<div class="rounded-2xl overflow-hidden shadow-2xl bg-black/60">
<img id="actorDetailPhoto" src="" alt="Acteur" class="w-full h-full object-cover">
</div>
<div class="space-y-3">
<div class="flex items-center justify-between gap-3">
<div>
<div class="text-[11px] uppercase tracking-[0.18em] text-gray-400 font-black">Genre
</div>
<div id="actorDetailGender" class="font-bold text-lg text-white">-</div>
</div>
<span id="actorDetailAge"
class="px-3 py-1 rounded-full text-sm font-bold bg-white/10 border border-white/15">-</span>
</div>
<div>
<div class="text-[11px] uppercase tracking-[0.18em] text-gray-400 font-black">Date de
Naissance</div>
<div id="actorDetailBirth" class="font-semibold text-white">-</div>
</div>
<div>
<div class="text-[11px] uppercase tracking-[0.18em] text-gray-400 font-black">Lieu de
Naissance</div>
<div id="actorDetailNationality" class="font-semibold text-white">-</div>
</div>
</div>
</div>
<div class="p-6 lg:p-10 space-y-6">
<div class="space-y-3">
<h3 id="actorDetailName" class="text-3xl md:text-4xl font-black text-white leading-tight">
</h3>
<p id="actorDetailBio" class="text-gray-300 leading-relaxed"></p>
<div class="flex flex-wrap gap-3 text-sm font-bold text-gray-300">
<span id="actorDetailProjects"
class="px-3 py-1 rounded-full bg-red-600/15 text-red-300 border border-red-500/30"></span>
</div>
</div>
<div class="actor-timeline glass-panel p-4 md:p-6 rounded-2xl">
<div class="flex items-center justify-between mb-4">
<div class="flex items-center gap-2 text-white font-bold text-lg">
<span class="w-1 h-6 bg-red-600 rounded-full shadow-[0_0_12px_#dc2626]"></span>
Filmographie
</div>
</div>
<div id="actorTimeline" class="timeline"></div>
</div>
</div>
</div>
</div>
</div>
</div>
<!-- Video Player Overlay -->
<div id="videoOverlay"
class="fixed inset-0 z-[100] bg-black hidden flex flex-col justify-center transition-opacity duration-300">
<button onclick="closeVideo()"
class="absolute top-8 right-8 z-[110] text-white/50 hover:text-white transition-colors p-4 bg-black/20 rounded-full backdrop-blur-md video-control">
<i class="fas fa-times text-3xl shadow-black drop-shadow-md"></i>
</button>
<!-- Custom Video Player -->
<div id="customVideoPlayer" class="relative w-full h-full flex items-center justify-center">
<video id="mainPlayer" controlslist="nodownload noremoteplayback" disablepictureinpicture playsinline
class="w-full h-full object-contain focus:outline-none bg-black"></video>
<!-- Video Title Overlay -->
<div id="videoTitleOverlay"
class="video-control absolute top-0 left-0 right-0 p-8 bg-gradient-to-b from-black/80 via-black/40 to-transparent">
<div id="videoTitle" class="text-white">
<div id="videoSeriesInfo" class="text-sm font-semibold text-gray-300 mb-1"></div>
<div id="videoMainTitle" class="text-2xl md:text-3xl font-bold"></div>
</div>
</div>
<!-- Custom Controls -->
<div id="videoControls" class="video-control absolute bottom-0 left-0 right-0">
<!-- Progress Bar Container -->
<div id="progressContainer" class="relative px-8 pb-3 cursor-pointer group">
<div
class="relative h-1 bg-white/20 rounded-full overflow-hidden transition-all duration-200 group-hover:h-2">
<!-- Buffered Progress -->
<div id="bufferedProgress" class="absolute top-0 left-0 h-full bg-white/30 rounded-full"></div>
<!-- Playback Progress -->
<div id="playbackProgress"
class="absolute top-0 left-0 h-full bg-red-600 rounded-full transition-all duration-75">
</div>
<!-- Progress Handle -->
<div id="progressHandle"
class="absolute top-1/2 -translate-y-1/2 w-4 h-4 bg-red-600 rounded-full opacity-0 group-hover:opacity-100 transition-opacity shadow-lg"
style="left: 0%;"></div>
</div>
<!-- Time Tooltip -->
<div id="timeTooltip"
class="absolute bottom-full mb-2 px-2 py-1 bg-black/90 text-white text-xs rounded opacity-0 pointer-events-none whitespace-nowrap">
</div>
</div>
<!-- Control Buttons -->
<div class="px-8 pb-6 bg-gradient-to-t from-black via-black/80 to-transparent">
<div class="flex items-center justify-between">
<!-- Left Controls -->
<div class="flex items-center gap-4">
<button id="playPauseBtn" class="text-white hover:scale-110 transition-transform">
<i class="fas fa-play text-3xl"></i>
</button>
<button id="rewindBtn" class="text-white hover:scale-110 transition-transform">
<i class="fas fa-backward text-xl"></i>
</button>
<button id="forwardBtn" class="text-white hover:scale-110 transition-transform">
<i class="fas fa-forward text-xl"></i>
</button>
<div class="flex items-center gap-3 ml-2">
<button id="volumeBtn" class="text-white hover:scale-110 transition-transform">
<i class="fas fa-volume-up text-xl"></i>
</button>
<div class="relative group/volume">
<input type="range" id="volumeSlider" min="0" max="100" value="100"
class="w-0 group-hover/volume:w-24 opacity-0 group-hover/volume:opacity-100 transition-all duration-200 h-1 bg-white/20 rounded-full appearance-none cursor-pointer
[&::-webkit-slider-thumb]:appearance-none [&::-webkit-slider-thumb]:w-3 [&::-webkit-slider-thumb]:h-3 [&::-webkit-slider-thumb]:rounded-full [&::-webkit-slider-thumb]:bg-white [&::-webkit-slider-thumb]:cursor-pointer
[&::-moz-range-thumb]:w-3 [&::-moz-range-thumb]:h-3 [&::-moz-range-thumb]:rounded-full [&::-moz-range-thumb]:bg-white [&::-moz-range-thumb]:border-0 [&::-moz-range-thumb]:cursor-pointer">
</div>
</div>
<span id="currentTime" class="text-white text-sm font-semibold">0:00</span>
<span class="text-white/50 text-sm">/</span>
<span id="duration" class="text-white text-sm font-semibold">0:00</span>
</div>
<!-- Right Controls -->
<div class="flex items-center gap-4">
<button id="speedBtn"
class="text-white hover:scale-110 transition-transform text-sm font-bold px-2 py-1 rounded bg-white/10 hover:bg-white/20">
1x
</button>
<button id="qualityBtn"
class="text-white hover:scale-110 transition-transform text-sm font-bold">
<i class="fas fa-cog text-xl"></i>
</button>
<button id="fullscreenBtn" class="text-white hover:scale-110 transition-transform">
<i class="fas fa-expand text-xl"></i>
</button>
</div>
</div>
</div>
</div>
<!-- Center Play Button (appears when paused) -->
<div id="centerPlayBtn"
class="absolute inset-0 flex items-center justify-center pointer-events-none opacity-0 transition-opacity duration-300">
<div class="w-20 h-20 bg-black/50 rounded-full flex items-center justify-center backdrop-blur-sm">
<i class="fas fa-play text-white text-3xl ml-1"></i>
</div>
</div>
<!-- Loading Spinner -->
<div id="videoLoader"
class="absolute inset-0 flex items-center justify-center pointer-events-none opacity-0 transition-opacity">
<div class="w-16 h-16 border-4 border-white/20 border-t-red-600 rounded-full animate-spin"></div>
</div>
</div>
</div>
<!-- Loading Screen -->
<div id="loader"
class="fixed inset-0 bg-[#050505] z-[200] flex flex-col items-center justify-center transition-opacity duration-700">
<div class="relative w-32 h-32 mb-8">
<div class="absolute inset-0 border-4 border-red-900/20 rounded-full scale-110 blur-md"></div>
<div
class="absolute inset-0 border-[6px] border-t-red-600 border-r-red-600 border-b-transparent border-l-transparent rounded-full animate-spin">
</div>
<i
class="fas fa-play absolute inset-0 m-auto text-red-600 text-3xl flex items-center justify-center drop-shadow-[0_0_15px_rgba(220,38,38,0.8)]"></i>
</div>
<div class="text-4xl font-black tracking-tighter animate-pulse">STREAM<span class="text-red-600">IT</span></div>
</div>
<script type="module" src="js/main.js"></script>
<script type="module" src="js/errorHandler.js"></script>
</body>
</html>