docto41 commited on
Commit
ea11244
·
verified ·
1 Parent(s): ebe6085

Add 2 files

Browse files
Files changed (2) hide show
  1. index.html +438 -209
  2. prompts.txt +2 -1
index.html CHANGED
@@ -3,36 +3,96 @@
3
  <head>
4
  <meta charset="UTF-8">
5
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
6
- <title>CineMax - La plus grande bibliothèque de films</title>
7
  <script src="https://cdn.tailwindcss.com"></script>
8
  <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
9
  <style>
 
 
 
 
 
 
 
 
10
  .hero-gradient {
11
- background: linear-gradient(to right, rgba(0,0,0,0.9), rgba(0,0,0,0.5));
12
  }
13
- .scrollbar-hide::-webkit-scrollbar {
14
- display: none;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
15
  }
 
16
  .film-card:hover .film-overlay {
17
  opacity: 1;
18
  }
19
- .animate-bounce-slow {
20
- animation: bounce-slow 3s infinite;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
21
  }
22
- @keyframes bounce-slow {
23
- 0%, 100% { transform: translateY(0); }
24
- 50% { transform: translateY(-10px); }
 
 
 
 
 
25
  }
26
  </style>
27
  </head>
28
- <body class="bg-gray-900 text-white">
29
  <!-- Navigation -->
30
- <nav class="bg-black bg-opacity-90 fixed w-full z-50 shadow-xl">
31
  <div class="container mx-auto px-6 py-3 flex justify-between items-center">
32
  <div class="flex items-center space-x-10">
33
  <a href="#" class="flex items-center">
34
  <i class="fas fa-film text-red-600 text-3xl mr-2"></i>
35
- <span class="text-2xl font-bold bg-gradient-to-r from-red-600 to-purple-600 bg-clip-text text-transparent">CineMax</span>
36
  </a>
37
  <div class="hidden lg:flex space-x-8">
38
  <a href="#" class="hover:text-red-400 transition duration-300 flex items-center">
@@ -55,6 +115,9 @@
55
  <i class="fas fa-search absolute left-3 top-3 text-gray-400"></i>
56
  </div>
57
  <div class="flex items-center space-x-4">
 
 
 
58
  <div class="relative group">
59
  <img src="https://randomuser.me/api/portraits/women/44.jpg" alt="Profil" class="w-10 h-10 rounded-full cursor-pointer border-2 border-transparent group-hover:border-red-500 transition duration-300">
60
  <div class="absolute right-0 mt-2 w-48 bg-gray-800 rounded-md shadow-lg py-1 hidden group-hover:block">
@@ -76,11 +139,15 @@
76
  </div>
77
  <div class="container mx-auto px-6 relative z-10 h-full flex items-center">
78
  <div class="max-w-2xl">
79
- <h1 class="text-5xl md:text-6xl font-bold mb-6 leading-tight">Découvrez plus de 20,500 films</h1>
 
 
 
 
80
  <p class="text-xl mb-8">La plus grande bibliothèque de streaming en français. Films récents, classiques, indépendants et blockbusters.</p>
81
  <div class="flex space-x-4">
82
- <button class="bg-red-600 hover:bg-red-700 px-8 py-3 rounded-full font-bold flex items-center transition duration-300 transform hover:scale-105">
83
- <i class="fas fa-play mr-2"></i> Commencer
84
  </button>
85
  <button class="bg-gray-800 bg-opacity-70 hover:bg-opacity-90 px-8 py-3 rounded-full font-bold flex items-center transition duration-300">
86
  <i class="fas fa-info-circle mr-2"></i> Plus d'infos
@@ -89,7 +156,7 @@
89
  <div class="mt-12 flex items-center space-x-6">
90
  <div class="flex items-center">
91
  <i class="fas fa-check-circle text-green-500 mr-2"></i>
92
- <span>Qualité Full HD</span>
93
  </div>
94
  <div class="flex items-center">
95
  <i class="fas fa-check-circle text-green-500 mr-2"></i>
@@ -102,56 +169,117 @@
102
  </div>
103
  </div>
104
  </div>
105
- <div class="absolute bottom-10 left-0 right-0 flex justify-center animate-bounce-slow">
106
- <i class="fas fa-chevron-down text-2xl text-white cursor-pointer"></i>
107
- </div>
108
  </section>
109
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
110
  <!-- Catalogue de films -->
111
- <section class="py-16 bg-gray-900">
112
  <div class="container mx-auto px-6">
 
 
 
 
 
 
 
 
 
 
 
 
 
 
113
  <!-- Barre de filtres -->
114
- <div class="mb-12 bg-gray-800 rounded-xl p-6 shadow-lg">
115
- <h2 class="text-2xl font-bold mb-6">Trouvez vos films préférés</h2>
116
- <div class="grid grid-cols-1 md:grid-cols-4 gap-6">
117
- <div>
118
- <label class="block text-gray-400 mb-2">Genre</label>
119
- <select class="w-full bg-gray-700 rounded-lg px-4 py-2 focus:outline-none focus:ring-2 focus:ring-red-500">
120
- <option>Tous les genres</option>
121
- <option>Action</option>
122
- <option>Comédie</option>
123
- <option>Drame</option>
124
- <option>Science-fiction</option>
125
- <option>Horreur</option>
126
- </select>
127
- </div>
128
- <div>
129
- <label class="block text-gray-400 mb-2">Année</label>
130
- <select class="w-full bg-gray-700 rounded-lg px-4 py-2 focus:outline-none focus:ring-2 focus:ring-red-500">
131
- <option>Toutes les années</option>
132
- <option>2020-2024</option>
133
- <option>2010-2019</option>
134
- <option>2000-2009</option>
135
- <option>Avant 2000</option>
136
- </select>
137
- </div>
138
- <div>
139
- <label class="block text-gray-400 mb-2">Note</label>
140
- <select class="w-full bg-gray-700 rounded-lg px-4 py-2 focus:outline-none focus:ring-2 focus:ring-red-500">
141
- <option>Toutes les notes</option>
142
- <option>4+ étoiles</option>
143
- <option>3+ étoiles</option>
144
- <option>2+ étoiles</option>
145
- </select>
146
- </div>
147
- <div>
148
- <label class="block text-gray-400 mb-2">Tri</label>
149
- <select class="w-full bg-gray-700 rounded-lg px-4 py-2 focus:outline-none focus:ring-2 focus:ring-red-500">
150
- <option>Populaire</option>
151
- <option>Récent</option>
152
- <option>Ancien</option>
153
- <option>Alphabétique</option>
154
- </select>
155
  </div>
156
  </div>
157
  </div>
@@ -173,168 +301,180 @@
173
  <!-- Grille de films -->
174
  <div class="grid grid-cols-2 sm:grid-cols-3 md:grid-cols-4 lg:grid-cols-6 gap-6">
175
  <!-- Film 1 -->
176
- <div class="film-card relative rounded-xl overflow-hidden shadow-lg transition duration-300 transform hover:scale-105">
177
- <img src="https://image.tmdb.org/t/p/w500/8Vt6mWEReuy4Of61Lnj5Xj704m8.jpg" alt="Dune" class="w-full h-80 object-cover">
178
- <div class="film-overlay absolute inset-0 bg-black bg-opacity-70 flex flex-col justify-between p-4 opacity-0 transition duration-300">
179
- <div class="flex justify-end">
180
- <button class="bg-red-600 hover:bg-red-700 rounded-full w-10 h-10 flex items-center justify-center">
181
- <i class="fas fa-play"></i>
182
- </button>
183
- </div>
184
- <div>
185
- <h4 class="font-bold text-lg mb-1">Dune : Partie Deux</h4>
186
- <div class="flex items-center text-sm text-gray-300 mb-2">
187
- <span>2024</span>
188
- <span class="mx-2">•</span>
189
- <span>2h 46m</span>
190
- </div>
191
- <div class="flex mb-2">
192
- <i class="fas fa-star text-yellow-400 mr-1"></i>
193
- <span>8.7/10</span>
194
  </div>
195
- <div class="flex flex-wrap gap-1">
196
- <span class="text-xs bg-gray-700 px-2 py-1 rounded">Science-fiction</span>
197
- <span class="text-xs bg-gray-700 px-2 py-1 rounded">Aventure</span>
 
 
 
 
 
 
 
 
 
 
 
 
198
  </div>
199
  </div>
200
  </div>
201
  </div>
202
 
203
  <!-- Film 2 -->
204
- <div class="film-card relative rounded-xl overflow-hidden shadow-lg transition duration-300 transform hover:scale-105">
205
- <img src="https://image.tmdb.org/t/p/w500/1pdfLvkbY9ohJlCjQHlyCZ8O7C4.jpg" alt="Furiosa" class="w-full h-80 object-cover">
206
- <div class="film-overlay absolute inset-0 bg-black bg-opacity-70 flex flex-col justify-between p-4 opacity-0 transition duration-300">
207
- <div class="flex justify-end">
208
- <button class="bg-red-600 hover:bg-red-700 rounded-full w-10 h-10 flex items-center justify-center">
209
- <i class="fas fa-play"></i>
210
- </button>
211
- </div>
212
- <div>
213
- <h4 class="font-bold text-lg mb-1">Furiosa</h4>
214
- <div class="flex items-center text-sm text-gray-300 mb-2">
215
- <span>2024</span>
216
- <span class="mx-2">•</span>
217
- <span>2h 30m</span>
218
- </div>
219
- <div class="flex mb-2">
220
- <i class="fas fa-star text-yellow-400 mr-1"></i>
221
- <span>8.1/10</span>
222
  </div>
223
- <div class="flex flex-wrap gap-1">
224
- <span class="text-xs bg-gray-700 px-2 py-1 rounded">Action</span>
225
- <span class="text-xs bg-gray-700 px-2 py-1 rounded">Science-fiction</span>
 
 
 
 
 
 
 
 
 
 
 
 
226
  </div>
227
  </div>
228
  </div>
229
  </div>
230
 
231
  <!-- Film 3 -->
232
- <div class="film-card relative rounded-xl overflow-hidden shadow-lg transition duration-300 transform hover:scale-105">
233
- <img src="https://image.tmdb.org/t/p/w500/4uH7T0vOGQmVfZQZgYnxoMXzQmU.jpg" alt="Joker" class="w-full h-80 object-cover">
234
- <div class="film-overlay absolute inset-0 bg-black bg-opacity-70 flex flex-col justify-between p-4 opacity-0 transition duration-300">
235
- <div class="flex justify-end">
236
- <button class="bg-red-600 hover:bg-red-700 rounded-full w-10 h-10 flex items-center justify-center">
237
- <i class="fas fa-play"></i>
238
- </button>
239
- </div>
240
- <div>
241
- <h4 class="font-bold text-lg mb-1">Joker: Folie à Deux</h4>
242
- <div class="flex items-center text-sm text-gray-300 mb-2">
243
- <span>2024</span>
244
- <span class="mx-2">•</span>
245
- <span>2h 30m</span>
246
- </div>
247
- <div class="flex mb-2">
248
- <i class="fas fa-star text-yellow-400 mr-1"></i>
249
- <span>8.5/10</span>
250
  </div>
251
- <div class="flex flex-wrap gap-1">
252
- <span class="text-xs bg-gray-700 px-2 py-1 rounded">Drame</span>
253
- <span class="text-xs bg-gray-700 px-2 py-1 rounded">Thriller</span>
 
 
 
 
 
 
 
 
 
 
 
 
254
  </div>
255
  </div>
256
  </div>
257
  </div>
258
 
259
  <!-- Film 4 -->
260
- <div class="film-card relative rounded-xl overflow-hidden shadow-lg transition duration-300 transform hover:scale-105">
261
- <img src="https://image.tmdb.org/t/p/w500/kDp1vUBnMpe8ak4rjgl3cLELqjU.jpg" alt="Gladiator" class="w-full h-80 object-cover">
262
- <div class="film-overlay absolute inset-0 bg-black bg-opacity-70 flex flex-col justify-between p-4 opacity-0 transition duration-300">
263
- <div class="flex justify-end">
264
- <button class="bg-red-600 hover:bg-red-700 rounded-full w-10 h-10 flex items-center justify-center">
265
- <i class="fas fa-play"></i>
266
- </button>
267
- </div>
268
- <div>
269
- <h4 class="font-bold text-lg mb-1">Gladiator 2</h4>
270
- <div class="flex items-center text-sm text-gray-300 mb-2">
271
- <span>2024</span>
272
- <span class="mx-2">•</span>
273
- <span>2h 45m</span>
274
- </div>
275
- <div class="flex mb-2">
276
- <i class="fas fa-star text-yellow-400 mr-1"></i>
277
- <span>8.9/10</span>
278
  </div>
279
- <div class="flex flex-wrap gap-1">
280
- <span class="text-xs bg-gray-700 px-2 py-1 rounded">Action</span>
281
- <span class="text-xs bg-gray-700 px-2 py-1 rounded">Historique</span>
 
 
 
 
 
 
 
 
 
 
 
 
282
  </div>
283
  </div>
284
  </div>
285
  </div>
286
 
287
  <!-- Film 5 -->
288
- <div class="film-card relative rounded-xl overflow-hidden shadow-lg transition duration-300 transform hover:scale-105">
289
- <img src="https://image.tmdb.org/t/p/w500/5mzr6JZbrqnqD8rCEvPhuCE5Fw2.jpg" alt="The Batman" class="w-full h-80 object-cover">
290
- <div class="film-overlay absolute inset-0 bg-black bg-opacity-70 flex flex-col justify-between p-4 opacity-0 transition duration-300">
291
- <div class="flex justify-end">
292
- <button class="bg-red-600 hover:bg-red-700 rounded-full w-10 h-10 flex items-center justify-center">
293
- <i class="fas fa-play"></i>
294
- </button>
295
- </div>
296
- <div>
297
- <h4 class="font-bold text-lg mb-1">The Batman Part II</h4>
298
- <div class="flex items-center text-sm text-gray-300 mb-2">
299
- <span>2025</span>
300
- <span class="mx-2">•</span>
301
- <span>2h 55m</span>
302
- </div>
303
- <div class="flex mb-2">
304
- <i class="fas fa-star text-yellow-400 mr-1"></i>
305
- <span>8.3/10</span>
306
  </div>
307
- <div class="flex flex-wrap gap-1">
308
- <span class="text-xs bg-gray-700 px-2 py-1 rounded">Action</span>
309
- <span class="text-xs bg-gray-700 px-2 py-1 rounded">Policier</span>
 
 
 
 
 
 
 
 
 
 
 
 
310
  </div>
311
  </div>
312
  </div>
313
  </div>
314
 
315
  <!-- Film 6 -->
316
- <div class="film-card relative rounded-xl overflow-hidden shadow-lg transition duration-300 transform hover:scale-105">
317
- <img src="https://image.tmdb.org/t/p/w500/1X7Y7g7GqZ6KjZgQbbZ4JkZkZmZ.jpg" alt="Deadpool" class="w-full h-80 object-cover">
318
- <div class="film-overlay absolute inset-0 bg-black bg-opacity-70 flex flex-col justify-between p-4 opacity-0 transition duration-300">
319
- <div class="flex justify-end">
320
- <button class="bg-red-600 hover:bg-red-700 rounded-full w-10 h-10 flex items-center justify-center">
321
- <i class="fas fa-play"></i>
322
- </button>
323
- </div>
324
- <div>
325
- <h4 class="font-bold text-lg mb-1">Deadpool & Wolverine</h4>
326
- <div class="flex items-center text-sm text-gray-300 mb-2">
327
- <span>2024</span>
328
- <span class="mx-2">•</span>
329
- <span>2h 10m</span>
330
- </div>
331
- <div class="flex mb-2">
332
- <i class="fas fa-star text-yellow-400 mr-1"></i>
333
- <span>8.6/10</span>
334
  </div>
335
- <div class="flex flex-wrap gap-1">
336
- <span class="text-xs bg-gray-700 px-2 py-1 rounded">Action</span>
337
- <span class="text-xs bg-gray-700 px-2 py-1 rounded">Comédie</span>
 
 
 
 
 
 
 
 
 
 
 
 
338
  </div>
339
  </div>
340
  </div>
@@ -361,12 +501,12 @@
361
  </section>
362
 
363
  <!-- Section Abonnement -->
364
- <section class="py-16 bg-gray-800">
365
  <div class="container mx-auto px-6">
366
  <h2 class="text-3xl font-bold text-center mb-12">Choisissez votre abonnement</h2>
367
  <div class="grid grid-cols-1 md:grid-cols-3 gap-8 max-w-5xl mx-auto">
368
  <!-- Offre 1 -->
369
- <div class="bg-gray-900 rounded-xl p-8 shadow-lg border border-gray-700 hover:border-red-500 transition duration-300">
370
  <h3 class="text-xl font-bold mb-4">Basique</h3>
371
  <div class="mb-6">
372
  <span class="text-3xl font-bold">9,99€</span>
@@ -396,7 +536,7 @@
396
  </div>
397
 
398
  <!-- Offre 2 (mise en avant) -->
399
- <div class="bg-gray-900 rounded-xl p-8 shadow-lg border-2 border-red-500 relative transform hover:scale-105 transition duration-300">
400
  <div class="absolute top-0 right-0 bg-red-500 text-white px-4 py-1 rounded-bl-lg rounded-tr-lg text-sm font-bold">
401
  POPULAIRE
402
  </div>
@@ -429,7 +569,7 @@
429
  </div>
430
 
431
  <!-- Offre 3 -->
432
- <div class="bg-gray-900 rounded-xl p-8 shadow-lg border border-gray-700 hover:border-red-500 transition duration-300">
433
  <h3 class="text-xl font-bold mb-4">Premium</h3>
434
  <div class="mb-6">
435
  <span class="text-3xl font-bold">19,99€</span>
@@ -462,31 +602,31 @@
462
  </section>
463
 
464
  <!-- Section Appareils -->
465
- <section class="py-16 bg-gray-900">
466
  <div class="container mx-auto px-6">
467
  <h2 class="text-3xl font-bold text-center mb-12">Disponible sur tous vos appareils</h2>
468
  <div class="grid grid-cols-2 md:grid-cols-4 gap-8 max-w-4xl mx-auto">
469
  <div class="flex flex-col items-center">
470
- <div class="bg-gray-800 p-6 rounded-full mb-4">
471
- <i class="fas fa-tv text-4xl text-red-500"></i>
472
  </div>
473
  <h3 class="font-bold">TV</h3>
474
  </div>
475
  <div class="flex flex-col items-center">
476
- <div class="bg-gray-800 p-6 rounded-full mb-4">
477
- <i class="fas fa-laptop text-4xl text-red-500"></i>
478
  </div>
479
  <h3 class="font-bold">Ordinateur</h3>
480
  </div>
481
  <div class="flex flex-col items-center">
482
- <div class="bg-gray-800 p-6 rounded-full mb-4">
483
- <i class="fas fa-tablet-alt text-4xl text-red-500"></i>
484
  </div>
485
  <h3 class="font-bold">Tablette</h3>
486
  </div>
487
  <div class="flex flex-col items-center">
488
- <div class="bg-gray-800 p-6 rounded-full mb-4">
489
- <i class="fas fa-mobile-alt text-4xl text-red-500"></i>
490
  </div>
491
  <h3 class="font-bold">Smartphone</h3>
492
  </div>
@@ -495,7 +635,7 @@
495
  </section>
496
 
497
  <!-- Footer -->
498
- <footer class="bg-black py-12">
499
  <div class="container mx-auto px-6">
500
  <div class="grid grid-cols-1 md:grid-cols-4 gap-8 mb-8">
501
  <div>
@@ -541,14 +681,108 @@
541
  </div>
542
  </div>
543
  <div class="border-t border-gray-800 pt-8">
544
- <p class="text-gray-400 text-center">© 2024 CineMax. Tous droits réservés.</p>
545
  </div>
546
  </div>
547
  </footer>
548
 
549
  <script>
550
- // Simulation de chargement de films
551
  document.addEventListener('DOMContentLoaded', function() {
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
552
  // Animation pour les cartes de films
553
  const filmCards = document.querySelectorAll('.film-card');
554
 
@@ -560,11 +794,6 @@
560
  card.addEventListener('mouseleave', function() {
561
  this.querySelector('img').style.transform = 'scale(1)';
562
  });
563
-
564
- // Simulation de clic pour voir le film
565
- card.addEventListener('click', function() {
566
- alert('Fonctionnalité de lecture simulée. Sur une vraie plateforme, cela chargerait le film sélectionné.');
567
- });
568
  });
569
 
570
  // Simulation de recherche
@@ -576,7 +805,7 @@
576
  });
577
 
578
  // Simulation d'abonnement
579
- const subscriptionButtons = document.querySelectorAll('section.bg-gray-800 button');
580
  subscriptionButtons.forEach(button => {
581
  button.addEventListener('click', function() {
582
  alert('Fonctionnalité d\'abonnement simulée. Sur une vraie plateforme, cela redirigerait vers le processus de paiement.');
 
3
  <head>
4
  <meta charset="UTF-8">
5
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
6
+ <title>CineMax Pro - 20,500 films en streaming</title>
7
  <script src="https://cdn.tailwindcss.com"></script>
8
  <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
9
  <style>
10
+ @import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');
11
+
12
+ body {
13
+ font-family: 'Poppins', sans-serif;
14
+ background: #0f0f0f;
15
+ color: #ffffff;
16
+ }
17
+
18
  .hero-gradient {
19
+ background: linear-gradient(135deg, rgba(229,9,20,0.8) 0%, rgba(0,0,0,0.9) 70%);
20
  }
21
+
22
+ .film-card {
23
+ transition: all 0.3s ease;
24
+ perspective: 1000px;
25
+ }
26
+
27
+ .film-inner {
28
+ transition: transform 0.6s;
29
+ transform-style: preserve-3d;
30
+ }
31
+
32
+ .film-card:hover .film-inner {
33
+ transform: rotateY(10deg) scale(1.03);
34
+ }
35
+
36
+ .film-overlay {
37
+ background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.3) 50%);
38
+ opacity: 0;
39
+ transition: opacity 0.3s ease;
40
  }
41
+
42
  .film-card:hover .film-overlay {
43
  opacity: 1;
44
  }
45
+
46
+ .glow {
47
+ box-shadow: 0 0 15px rgba(229, 9, 20, 0.5);
48
+ }
49
+
50
+ .player-gradient {
51
+ background: linear-gradient(to bottom, #000000 0%, #1a1a1a 100%);
52
+ }
53
+
54
+ .progress-bar {
55
+ height: 4px;
56
+ background: rgba(255,255,255,0.2);
57
+ }
58
+
59
+ .progress-fill {
60
+ height: 100%;
61
+ background: #e50914;
62
+ width: 0%;
63
+ transition: width 0.1s linear;
64
+ }
65
+
66
+ .scrollbar-hide::-webkit-scrollbar {
67
+ display: none;
68
+ }
69
+
70
+ .category-tab {
71
+ transition: all 0.3s ease;
72
+ }
73
+
74
+ .category-tab:hover {
75
+ transform: translateY(-3px);
76
  }
77
+
78
+ @keyframes pulse {
79
+ 0%, 100% { opacity: 1; }
80
+ 50% { opacity: 0.5; }
81
+ }
82
+
83
+ .animate-pulse-slow {
84
+ animation: pulse 2s infinite;
85
  }
86
  </style>
87
  </head>
88
+ <body class="bg-black text-white">
89
  <!-- Navigation -->
90
+ <nav class="bg-black bg-opacity-90 fixed w-full z-50 shadow-xl border-b border-gray-800">
91
  <div class="container mx-auto px-6 py-3 flex justify-between items-center">
92
  <div class="flex items-center space-x-10">
93
  <a href="#" class="flex items-center">
94
  <i class="fas fa-film text-red-600 text-3xl mr-2"></i>
95
+ <span class="text-2xl font-bold bg-gradient-to-r from-red-600 to-purple-600 bg-clip-text text-transparent">CineMax Pro</span>
96
  </a>
97
  <div class="hidden lg:flex space-x-8">
98
  <a href="#" class="hover:text-red-400 transition duration-300 flex items-center">
 
115
  <i class="fas fa-search absolute left-3 top-3 text-gray-400"></i>
116
  </div>
117
  <div class="flex items-center space-x-4">
118
+ <button class="bg-red-600 hover:bg-red-700 px-4 py-2 rounded-full font-bold text-sm transition duration-300">
119
+ S'abonner
120
+ </button>
121
  <div class="relative group">
122
  <img src="https://randomuser.me/api/portraits/women/44.jpg" alt="Profil" class="w-10 h-10 rounded-full cursor-pointer border-2 border-transparent group-hover:border-red-500 transition duration-300">
123
  <div class="absolute right-0 mt-2 w-48 bg-gray-800 rounded-md shadow-lg py-1 hidden group-hover:block">
 
139
  </div>
140
  <div class="container mx-auto px-6 relative z-10 h-full flex items-center">
141
  <div class="max-w-2xl">
142
+ <div class="flex items-center mb-4">
143
+ <span class="bg-red-600 text-white px-3 py-1 rounded-full text-sm font-bold mr-3">Nouveau</span>
144
+ <span class="text-gray-300">Sortie cette semaine</span>
145
+ </div>
146
+ <h1 class="text-5xl md:text-6xl font-bold mb-6 leading-tight">Découvrez 20,500 films</h1>
147
  <p class="text-xl mb-8">La plus grande bibliothèque de streaming en français. Films récents, classiques, indépendants et blockbusters.</p>
148
  <div class="flex space-x-4">
149
+ <button id="playRandomBtn" class="bg-red-600 hover:bg-red-700 px-8 py-3 rounded-full font-bold flex items-center transition duration-300 transform hover:scale-105 glow">
150
+ <i class="fas fa-random mr-2"></i> Lecture aléatoire
151
  </button>
152
  <button class="bg-gray-800 bg-opacity-70 hover:bg-opacity-90 px-8 py-3 rounded-full font-bold flex items-center transition duration-300">
153
  <i class="fas fa-info-circle mr-2"></i> Plus d'infos
 
156
  <div class="mt-12 flex items-center space-x-6">
157
  <div class="flex items-center">
158
  <i class="fas fa-check-circle text-green-500 mr-2"></i>
159
+ <span>Qualité 4K HDR</span>
160
  </div>
161
  <div class="flex items-center">
162
  <i class="fas fa-check-circle text-green-500 mr-2"></i>
 
169
  </div>
170
  </div>
171
  </div>
 
 
 
172
  </section>
173
 
174
+ <!-- Lecteur vidéo (caché par défaut) -->
175
+ <div id="videoPlayer" class="fixed inset-0 z-50 bg-black hidden">
176
+ <div class="absolute inset-0 flex flex-col">
177
+ <!-- Barre de contrôle supérieure -->
178
+ <div class="bg-black bg-opacity-70 p-4 flex justify-between items-center">
179
+ <button id="closePlayerBtn" class="text-white text-2xl">
180
+ <i class="fas fa-times"></i>
181
+ </button>
182
+ <div class="text-white">
183
+ <span id="currentFilmTitle" class="font-bold">Dune : Partie Deux</span>
184
+ </div>
185
+ <div class="w-8"></div> <!-- Espaceur -->
186
+ </div>
187
+
188
+ <!-- Zone de vidéo -->
189
+ <div class="flex-grow flex items-center justify-center">
190
+ <div class="text-center">
191
+ <i class="fas fa-play-circle text-6xl text-red-500 mb-4 animate-pulse-slow"></i>
192
+ <p class="text-xl">Lecture en cours...</p>
193
+ </div>
194
+ </div>
195
+
196
+ <!-- Barre de contrôle inférieure -->
197
+ <div class="bg-black bg-opacity-70 p-4">
198
+ <div class="progress-bar mb-2">
199
+ <div id="progressFill" class="progress-fill"></div>
200
+ </div>
201
+ <div class="flex justify-between items-center">
202
+ <div class="flex items-center space-x-4">
203
+ <button class="text-white text-xl">
204
+ <i class="fas fa-pause"></i>
205
+ </button>
206
+ <button class="text-white text-xl">
207
+ <i class="fas fa-step-backward"></i>
208
+ </button>
209
+ <button class="text-white text-xl">
210
+ <i class="fas fa-step-forward"></i>
211
+ </button>
212
+ <span id="currentTime" class="text-sm">00:00</span>
213
+ <span class="text-sm">/</span>
214
+ <span id="totalTime" class="text-sm">02:30:00</span>
215
+ </div>
216
+ <div class="flex items-center space-x-4">
217
+ <button class="text-white text-xl">
218
+ <i class="fas fa-volume-up"></i>
219
+ </button>
220
+ <button class="text-white text-xl">
221
+ <i class="fas fa-closed-captioning"></i>
222
+ </button>
223
+ <button class="text-white text-xl">
224
+ <i class="fas fa-expand"></i>
225
+ </button>
226
+ </div>
227
+ </div>
228
+ </div>
229
+ </div>
230
+ </div>
231
+
232
  <!-- Catalogue de films -->
233
+ <section class="py-16 bg-black">
234
  <div class="container mx-auto px-6">
235
+ <!-- Catégories -->
236
+ <div class="mb-8 overflow-x-auto scrollbar-hide">
237
+ <div class="flex space-x-4 pb-2">
238
+ <button class="category-tab bg-red-600 text-white px-6 py-2 rounded-full font-bold">Tous</button>
239
+ <button class="category-tab bg-gray-800 hover:bg-gray-700 px-6 py-2 rounded-full">Action</button>
240
+ <button class="category-tab bg-gray-800 hover:bg-gray-700 px-6 py-2 rounded-full">Comédie</button>
241
+ <button class="category-tab bg-gray-800 hover:bg-gray-700 px-6 py-2 rounded-full">Drame</button>
242
+ <button class="category-tab bg-gray-800 hover:bg-gray-700 px-6 py-2 rounded-full">Science-fiction</button>
243
+ <button class="category-tab bg-gray-800 hover:bg-gray-700 px-6 py-2 rounded-full">Horreur</button>
244
+ <button class="category-tab bg-gray-800 hover:bg-gray-700 px-6 py-2 rounded-full">Animation</button>
245
+ <button class="category-tab bg-gray-800 hover:bg-gray-700 px-6 py-2 rounded-full">Documentaire</button>
246
+ </div>
247
+ </div>
248
+
249
  <!-- Barre de filtres -->
250
+ <div class="mb-8 bg-gray-900 rounded-xl p-6 shadow-lg">
251
+ <div class="flex flex-col md:flex-row justify-between items-start md:items-center">
252
+ <h2 class="text-2xl font-bold mb-4 md:mb-0">Trouvez vos films préférés</h2>
253
+ <div class="grid grid-cols-2 md:grid-cols-4 gap-4 w-full md:w-auto">
254
+ <div>
255
+ <select class="w-full bg-gray-800 rounded-lg px-4 py-2 focus:outline-none focus:ring-2 focus:ring-red-500 text-sm">
256
+ <option>Tous les genres</option>
257
+ <option>Action</option>
258
+ <option>Comédie</option>
259
+ <option>Drame</option>
260
+ </select>
261
+ </div>
262
+ <div>
263
+ <select class="w-full bg-gray-800 rounded-lg px-4 py-2 focus:outline-none focus:ring-2 focus:ring-red-500 text-sm">
264
+ <option>Toutes les années</option>
265
+ <option>2020-2024</option>
266
+ <option>2010-2019</option>
267
+ </select>
268
+ </div>
269
+ <div>
270
+ <select class="w-full bg-gray-800 rounded-lg px-4 py-2 focus:outline-none focus:ring-2 focus:ring-red-500 text-sm">
271
+ <option>Toutes les notes</option>
272
+ <option>4+ étoiles</option>
273
+ <option>3+ étoiles</option>
274
+ </select>
275
+ </div>
276
+ <div>
277
+ <select class="w-full bg-gray-800 rounded-lg px-4 py-2 focus:outline-none focus:ring-2 focus:ring-red-500 text-sm">
278
+ <option>Populaire</option>
279
+ <option>Récent</option>
280
+ <option>Ancien</option>
281
+ </select>
282
+ </div>
 
 
 
 
 
 
 
 
283
  </div>
284
  </div>
285
  </div>
 
301
  <!-- Grille de films -->
302
  <div class="grid grid-cols-2 sm:grid-cols-3 md:grid-cols-4 lg:grid-cols-6 gap-6">
303
  <!-- Film 1 -->
304
+ <div class="film-card relative rounded-xl overflow-hidden shadow-lg">
305
+ <div class="film-inner">
306
+ <img src="https://image.tmdb.org/t/p/w500/8Vt6mWEReuy4Of61Lnj5Xj704m8.jpg" alt="Dune" class="w-full h-80 object-cover">
307
+ <div class="film-overlay absolute inset-0 flex flex-col justify-between p-4">
308
+ <div class="flex justify-end">
309
+ <button class="play-btn bg-red-600 hover:bg-red-700 rounded-full w-10 h-10 flex items-center justify-center" data-title="Dune : Partie Deux" data-duration="02:46:00">
310
+ <i class="fas fa-play"></i>
311
+ </button>
 
 
 
 
 
 
 
 
 
 
312
  </div>
313
+ <div>
314
+ <h4 class="font-bold text-lg mb-1">Dune : Partie Deux</h4>
315
+ <div class="flex items-center text-sm text-gray-300 mb-2">
316
+ <span>2024</span>
317
+ <span class="mx-2">•</span>
318
+ <span>2h 46m</span>
319
+ </div>
320
+ <div class="flex mb-2">
321
+ <i class="fas fa-star text-yellow-400 mr-1"></i>
322
+ <span>8.7/10</span>
323
+ </div>
324
+ <div class="flex flex-wrap gap-1">
325
+ <span class="text-xs bg-gray-700 px-2 py-1 rounded">Science-fiction</span>
326
+ <span class="text-xs bg-gray-700 px-2 py-1 rounded">Aventure</span>
327
+ </div>
328
  </div>
329
  </div>
330
  </div>
331
  </div>
332
 
333
  <!-- Film 2 -->
334
+ <div class="film-card relative rounded-xl overflow-hidden shadow-lg">
335
+ <div class="film-inner">
336
+ <img src="https://image.tmdb.org/t/p/w500/1pdfLvkbY9ohJlCjQHlyCZ8O7C4.jpg" alt="Furiosa" class="w-full h-80 object-cover">
337
+ <div class="film-overlay absolute inset-0 flex flex-col justify-between p-4">
338
+ <div class="flex justify-end">
339
+ <button class="play-btn bg-red-600 hover:bg-red-700 rounded-full w-10 h-10 flex items-center justify-center" data-title="Furiosa" data-duration="02:30:00">
340
+ <i class="fas fa-play"></i>
341
+ </button>
 
 
 
 
 
 
 
 
 
 
342
  </div>
343
+ <div>
344
+ <h4 class="font-bold text-lg mb-1">Furiosa</h4>
345
+ <div class="flex items-center text-sm text-gray-300 mb-2">
346
+ <span>2024</span>
347
+ <span class="mx-2">•</span>
348
+ <span>2h 30m</span>
349
+ </div>
350
+ <div class="flex mb-2">
351
+ <i class="fas fa-star text-yellow-400 mr-1"></i>
352
+ <span>8.1/10</span>
353
+ </div>
354
+ <div class="flex flex-wrap gap-1">
355
+ <span class="text-xs bg-gray-700 px-2 py-1 rounded">Action</span>
356
+ <span class="text-xs bg-gray-700 px-2 py-1 rounded">Science-fiction</span>
357
+ </div>
358
  </div>
359
  </div>
360
  </div>
361
  </div>
362
 
363
  <!-- Film 3 -->
364
+ <div class="film-card relative rounded-xl overflow-hidden shadow-lg">
365
+ <div class="film-inner">
366
+ <img src="https://image.tmdb.org/t/p/w500/4uH7T0vOGQmVfZQZgYnxoMXzQmU.jpg" alt="Joker" class="w-full h-80 object-cover">
367
+ <div class="film-overlay absolute inset-0 flex flex-col justify-between p-4">
368
+ <div class="flex justify-end">
369
+ <button class="play-btn bg-red-600 hover:bg-red-700 rounded-full w-10 h-10 flex items-center justify-center" data-title="Joker: Folie à Deux" data-duration="02:30:00">
370
+ <i class="fas fa-play"></i>
371
+ </button>
 
 
 
 
 
 
 
 
 
 
372
  </div>
373
+ <div>
374
+ <h4 class="font-bold text-lg mb-1">Joker: Folie à Deux</h4>
375
+ <div class="flex items-center text-sm text-gray-300 mb-2">
376
+ <span>2024</span>
377
+ <span class="mx-2">•</span>
378
+ <span>2h 30m</span>
379
+ </div>
380
+ <div class="flex mb-2">
381
+ <i class="fas fa-star text-yellow-400 mr-1"></i>
382
+ <span>8.5/10</span>
383
+ </div>
384
+ <div class="flex flex-wrap gap-1">
385
+ <span class="text-xs bg-gray-700 px-2 py-1 rounded">Drame</span>
386
+ <span class="text-xs bg-gray-700 px-2 py-1 rounded">Thriller</span>
387
+ </div>
388
  </div>
389
  </div>
390
  </div>
391
  </div>
392
 
393
  <!-- Film 4 -->
394
+ <div class="film-card relative rounded-xl overflow-hidden shadow-lg">
395
+ <div class="film-inner">
396
+ <img src="https://image.tmdb.org/t/p/w500/kDp1vUBnMpe8ak4rjgl3cLELqjU.jpg" alt="Gladiator" class="w-full h-80 object-cover">
397
+ <div class="film-overlay absolute inset-0 flex flex-col justify-between p-4">
398
+ <div class="flex justify-end">
399
+ <button class="play-btn bg-red-600 hover:bg-red-700 rounded-full w-10 h-10 flex items-center justify-center" data-title="Gladiator 2" data-duration="02:45:00">
400
+ <i class="fas fa-play"></i>
401
+ </button>
 
 
 
 
 
 
 
 
 
 
402
  </div>
403
+ <div>
404
+ <h4 class="font-bold text-lg mb-1">Gladiator 2</h4>
405
+ <div class="flex items-center text-sm text-gray-300 mb-2">
406
+ <span>2024</span>
407
+ <span class="mx-2">•</span>
408
+ <span>2h 45m</span>
409
+ </div>
410
+ <div class="flex mb-2">
411
+ <i class="fas fa-star text-yellow-400 mr-1"></i>
412
+ <span>8.9/10</span>
413
+ </div>
414
+ <div class="flex flex-wrap gap-1">
415
+ <span class="text-xs bg-gray-700 px-2 py-1 rounded">Action</span>
416
+ <span class="text-xs bg-gray-700 px-2 py-1 rounded">Historique</span>
417
+ </div>
418
  </div>
419
  </div>
420
  </div>
421
  </div>
422
 
423
  <!-- Film 5 -->
424
+ <div class="film-card relative rounded-xl overflow-hidden shadow-lg">
425
+ <div class="film-inner">
426
+ <img src="https://image.tmdb.org/t/p/w500/5mzr6JZbrqnqD8rCEvPhuCE5Fw2.jpg" alt="The Batman" class="w-full h-80 object-cover">
427
+ <div class="film-overlay absolute inset-0 flex flex-col justify-between p-4">
428
+ <div class="flex justify-end">
429
+ <button class="play-btn bg-red-600 hover:bg-red-700 rounded-full w-10 h-10 flex items-center justify-center" data-title="The Batman Part II" data-duration="02:55:00">
430
+ <i class="fas fa-play"></i>
431
+ </button>
 
 
 
 
 
 
 
 
 
 
432
  </div>
433
+ <div>
434
+ <h4 class="font-bold text-lg mb-1">The Batman Part II</h4>
435
+ <div class="flex items-center text-sm text-gray-300 mb-2">
436
+ <span>2025</span>
437
+ <span class="mx-2">•</span>
438
+ <span>2h 55m</span>
439
+ </div>
440
+ <div class="flex mb-2">
441
+ <i class="fas fa-star text-yellow-400 mr-1"></i>
442
+ <span>8.3/10</span>
443
+ </div>
444
+ <div class="flex flex-wrap gap-1">
445
+ <span class="text-xs bg-gray-700 px-2 py-1 rounded">Action</span>
446
+ <span class="text-xs bg-gray-700 px-2 py-1 rounded">Policier</span>
447
+ </div>
448
  </div>
449
  </div>
450
  </div>
451
  </div>
452
 
453
  <!-- Film 6 -->
454
+ <div class="film-card relative rounded-xl overflow-hidden shadow-lg">
455
+ <div class="film-inner">
456
+ <img src="https://image.tmdb.org/t/p/w500/1X7Y7g7GqZ6KjZgQbbZ4JkZkZmZ.jpg" alt="Deadpool" class="w-full h-80 object-cover">
457
+ <div class="film-overlay absolute inset-0 flex flex-col justify-between p-4">
458
+ <div class="flex justify-end">
459
+ <button class="play-btn bg-red-600 hover:bg-red-700 rounded-full w-10 h-10 flex items-center justify-center" data-title="Deadpool & Wolverine" data-duration="02:10:00">
460
+ <i class="fas fa-play"></i>
461
+ </button>
 
 
 
 
 
 
 
 
 
 
462
  </div>
463
+ <div>
464
+ <h4 class="font-bold text-lg mb-1">Deadpool & Wolverine</h4>
465
+ <div class="flex items-center text-sm text-gray-300 mb-2">
466
+ <span>2024</span>
467
+ <span class="mx-2">•</span>
468
+ <span>2h 10m</span>
469
+ </div>
470
+ <div class="flex mb-2">
471
+ <i class="fas fa-star text-yellow-400 mr-1"></i>
472
+ <span>8.6/10</span>
473
+ </div>
474
+ <div class="flex flex-wrap gap-1">
475
+ <span class="text-xs bg-gray-700 px-2 py-1 rounded">Action</span>
476
+ <span class="text-xs bg-gray-700 px-2 py-1 rounded">Comédie</span>
477
+ </div>
478
  </div>
479
  </div>
480
  </div>
 
501
  </section>
502
 
503
  <!-- Section Abonnement -->
504
+ <section class="py-16 bg-gray-900">
505
  <div class="container mx-auto px-6">
506
  <h2 class="text-3xl font-bold text-center mb-12">Choisissez votre abonnement</h2>
507
  <div class="grid grid-cols-1 md:grid-cols-3 gap-8 max-w-5xl mx-auto">
508
  <!-- Offre 1 -->
509
+ <div class="bg-gray-800 rounded-xl p-8 shadow-lg border border-gray-700 hover:border-red-500 transition duration-300">
510
  <h3 class="text-xl font-bold mb-4">Basique</h3>
511
  <div class="mb-6">
512
  <span class="text-3xl font-bold">9,99€</span>
 
536
  </div>
537
 
538
  <!-- Offre 2 (mise en avant) -->
539
+ <div class="bg-gray-800 rounded-xl p-8 shadow-lg border-2 border-red-500 relative transform hover:scale-105 transition duration-300">
540
  <div class="absolute top-0 right-0 bg-red-500 text-white px-4 py-1 rounded-bl-lg rounded-tr-lg text-sm font-bold">
541
  POPULAIRE
542
  </div>
 
569
  </div>
570
 
571
  <!-- Offre 3 -->
572
+ <div class="bg-gray-800 rounded-xl p-8 shadow-lg border border-gray-700 hover:border-red-500 transition duration-300">
573
  <h3 class="text-xl font-bold mb-4">Premium</h3>
574
  <div class="mb-6">
575
  <span class="text-3xl font-bold">19,99€</span>
 
602
  </section>
603
 
604
  <!-- Section Appareils -->
605
+ <section class="py-16 bg-black">
606
  <div class="container mx-auto px-6">
607
  <h2 class="text-3xl font-bold text-center mb-12">Disponible sur tous vos appareils</h2>
608
  <div class="grid grid-cols-2 md:grid-cols-4 gap-8 max-w-4xl mx-auto">
609
  <div class="flex flex-col items-center">
610
+ <div class="bg-gray-800 p-6 rounded-full mb-4 hover:bg-red-500 transition duration-300">
611
+ <i class="fas fa-tv text-4xl text-white"></i>
612
  </div>
613
  <h3 class="font-bold">TV</h3>
614
  </div>
615
  <div class="flex flex-col items-center">
616
+ <div class="bg-gray-800 p-6 rounded-full mb-4 hover:bg-red-500 transition duration-300">
617
+ <i class="fas fa-laptop text-4xl text-white"></i>
618
  </div>
619
  <h3 class="font-bold">Ordinateur</h3>
620
  </div>
621
  <div class="flex flex-col items-center">
622
+ <div class="bg-gray-800 p-6 rounded-full mb-4 hover:bg-red-500 transition duration-300">
623
+ <i class="fas fa-tablet-alt text-4xl text-white"></i>
624
  </div>
625
  <h3 class="font-bold">Tablette</h3>
626
  </div>
627
  <div class="flex flex-col items-center">
628
+ <div class="bg-gray-800 p-6 rounded-full mb-4 hover:bg-red-500 transition duration-300">
629
+ <i class="fas fa-mobile-alt text-4xl text-white"></i>
630
  </div>
631
  <h3 class="font-bold">Smartphone</h3>
632
  </div>
 
635
  </section>
636
 
637
  <!-- Footer -->
638
+ <footer class="bg-black py-12 border-t border-gray-800">
639
  <div class="container mx-auto px-6">
640
  <div class="grid grid-cols-1 md:grid-cols-4 gap-8 mb-8">
641
  <div>
 
681
  </div>
682
  </div>
683
  <div class="border-t border-gray-800 pt-8">
684
+ <p class="text-gray-400 text-center">© 2024 CineMax Pro. Tous droits réservés.</p>
685
  </div>
686
  </div>
687
  </footer>
688
 
689
  <script>
690
+ // Simulation de lecture robotisée
691
  document.addEventListener('DOMContentLoaded', function() {
692
+ const videoPlayer = document.getElementById('videoPlayer');
693
+ const closePlayerBtn = document.getElementById('closePlayerBtn');
694
+ const playRandomBtn = document.getElementById('playRandomBtn');
695
+ const progressFill = document.getElementById('progressFill');
696
+ const currentTime = document.getElementById('currentTime');
697
+ const totalTime = document.getElementById('totalTime');
698
+ const currentFilmTitle = document.getElementById('currentFilmTitle');
699
+ const playButtons = document.querySelectorAll('.play-btn');
700
+
701
+ // Films disponibles pour la lecture aléatoire
702
+ const films = [
703
+ { title: "Dune : Partie Deux", duration: "02:46:00" },
704
+ { title: "Furiosa", duration: "02:30:00" },
705
+ { title: "Joker: Folie à Deux", duration: "02:30:00" },
706
+ { title: "Gladiator 2", duration: "02:45:00" },
707
+ { title: "The Batman Part II", duration: "02:55:00" },
708
+ { title: "Deadpool & Wolverine", duration: "02:10:00" }
709
+ ];
710
+
711
+ // Ouvrir le lecteur vidéo
712
+ function openPlayer(title, duration) {
713
+ currentFilmTitle.textContent = title;
714
+ totalTime.textContent = duration;
715
+ currentTime.textContent = "00:00";
716
+ progressFill.style.width = "0%";
717
+ videoPlayer.classList.remove('hidden');
718
+ document.body.style.overflow = 'hidden';
719
+
720
+ // Simuler la progression de la lecture
721
+ let seconds = 0;
722
+ const totalSeconds = convertDurationToSeconds(duration);
723
+
724
+ const interval = setInterval(() => {
725
+ seconds++;
726
+ const percent = (seconds / totalSeconds) * 100;
727
+ progressFill.style.width = `${percent}%`;
728
+
729
+ // Mettre à jour le temps actuel
730
+ const hours = Math.floor(seconds / 3600);
731
+ const minutes = Math.floor((seconds % 3600) / 60);
732
+ const secs = seconds % 60;
733
+ currentTime.textContent = `${String(hours).padStart(2, '0')}:${String(minutes).padStart(2, '0')}:${String(secs).padStart(2, '0')}`;
734
+
735
+ if (seconds >= totalSeconds) {
736
+ clearInterval(interval);
737
+ }
738
+ }, 1000);
739
+
740
+ // Stocker l'intervalle pour le nettoyer plus tard
741
+ videoPlayer.dataset.interval = interval;
742
+ }
743
+
744
+ // Fermer le lecteur vidéo
745
+ function closePlayer() {
746
+ videoPlayer.classList.add('hidden');
747
+ document.body.style.overflow = '';
748
+
749
+ // Nettoyer l'intervalle de progression
750
+ if (videoPlayer.dataset.interval) {
751
+ clearInterval(parseInt(videoPlayer.dataset.interval));
752
+ }
753
+ }
754
+
755
+ // Convertir une durée HH:MM:SS en secondes
756
+ function convertDurationToSeconds(duration) {
757
+ const parts = duration.split(':');
758
+ return parseInt(parts[0]) * 3600 + parseInt(parts[1]) * 60 + parseInt(parts[2]);
759
+ }
760
+
761
+ // Écouteurs d'événements
762
+ closePlayerBtn.addEventListener('click', closePlayer);
763
+
764
+ // Lecture aléatoire
765
+ playRandomBtn.addEventListener('click', function() {
766
+ const randomFilm = films[Math.floor(Math.random() * films.length)];
767
+ openPlayer(randomFilm.title, randomFilm.duration);
768
+ });
769
+
770
+ // Lecture depuis les cartes de film
771
+ playButtons.forEach(button => {
772
+ button.addEventListener('click', function() {
773
+ const title = this.dataset.title;
774
+ const duration = this.dataset.duration;
775
+ openPlayer(title, duration);
776
+ });
777
+ });
778
+
779
+ // Fermer le lecteur en cliquant à l'extérieur
780
+ videoPlayer.addEventListener('click', function(e) {
781
+ if (e.target === this) {
782
+ closePlayer();
783
+ }
784
+ });
785
+
786
  // Animation pour les cartes de films
787
  const filmCards = document.querySelectorAll('.film-card');
788
 
 
794
  card.addEventListener('mouseleave', function() {
795
  this.querySelector('img').style.transform = 'scale(1)';
796
  });
 
 
 
 
 
797
  });
798
 
799
  // Simulation de recherche
 
805
  });
806
 
807
  // Simulation d'abonnement
808
+ const subscriptionButtons = document.querySelectorAll('section.bg-gray-900 button');
809
  subscriptionButtons.forEach(button => {
810
  button.addEventListener('click', function() {
811
  alert('Fonctionnalité d\'abonnement simulée. Sur une vraie plateforme, cela redirigerait vers le processus de paiement.');
prompts.txt CHANGED
@@ -1,4 +1,5 @@
1
  Films et séries illimités en streaming Regardez vos films et séries préférés où que vous soyez. Sans publicité. Sans engagement. ajouter 2000 film 2024 et 2025 a regarder en entier film complet,avec base de donner de 54000 film nouveauté en automatique et lecture des film en automatique
2
  activer les mode lecture en automatique
3
  je veux regarder des vrai site reel complet et en francais
4
- je veux une base de données de 20500 film complet a regarder en entier avec les images des affiches des film avec une tres belle interface
 
 
1
  Films et séries illimités en streaming Regardez vos films et séries préférés où que vous soyez. Sans publicité. Sans engagement. ajouter 2000 film 2024 et 2025 a regarder en entier film complet,avec base de donner de 54000 film nouveauté en automatique et lecture des film en automatique
2
  activer les mode lecture en automatique
3
  je veux regarder des vrai site reel complet et en francais
4
+ je veux une base de données de 20500 film complet a regarder en entier avec les images des affiches des film avec une tres belle interface
5
+ configure le site en mode lecture robotisé et avec une tres belle interfface