Spaces:
Running

File size: 48,342 Bytes
b96e21b
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
5875b35
b96e21b
 
 
5875b35
b96e21b
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
5875b35
b96e21b
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
<!DOCTYPE html>
<html lang="fr">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>AI SportBet Pro - L'expert en paris sportifs</title>
    <script src="https://cdn.tailwindcss.com"></script>
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
    <style>
        .gradient-bg {
            background: linear-gradient(135deg, #1e3a8a 0%, #0ea5e9 100%);
        }
        .stats-card {
            transition: all 0.3s ease;
        }
        .stats-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
        }
        .prediction-meter {
            height: 8px;
            border-radius: 4px;
            background: linear-gradient(90deg, #ef4444 0%, #f59e0b 50%, #10b981 100%);
        }
        .match-card {
            transition: all 0.3s ease;
            border-left: 4px solid transparent;
        }
        .match-card:hover {
            transform: translateX(5px);
        }
        .match-card.highlight {
            border-left-color: #3b82f6;
            background-color: #f8fafc;
        }
        .fade-in {
            animation: fadeIn 0.5s ease-in;
        }
        @keyframes fadeIn {
            from { opacity: 0; }
            to { opacity: 1; }
        }
        #paymentModal {
            z-index: 1000;
        }
    </style>
</head>
<body class="bg-gray-50 font-sans">
    <!-- Header -->
    <header class="gradient-bg text-white shadow-lg">
        <div class="container mx-auto px-4 py-6">
            <div class="flex justify-between items-center">
                <div class="flex items-center space-x-3">
                    <i class="fas fa-robot text-3xl"></i>
                    <h1 class="text-2xl font-bold">DJINE FOOT</h1>
                </div>
                <div class="flex items-center space-x-4">
                    <div class="relative group">
                        <button class="bg-gray-800 text-white px-4 py-2 rounded-lg font-medium hover:bg-gray-700 transition">
                            <i class="fas fa-lock mr-2"></i>Admin
                        </button>
                        <div class="absolute right-0 mt-2 w-64 bg-white rounded-lg shadow-lg p-4 hidden group-hover:block z-50">
                            <h4 class="font-bold mb-2">Connexion Admin</h4>
                            <form id="adminLoginForm">
                                <div class="mb-2">
                                    <input type="text" id="adminUsername" placeholder="djineone" 
                                           class="w-full px-3 py-1 border rounded text-sm">
                                </div>
                                <div class="mb-3">
                                    <input type="password" id="adminPassword" placeholder="Monamour7865" 
                                           class="w-full px-3 py-1 border rounded text-sm">
                                </div>
                                <button type="submit" class="w-full bg-blue-600 text-white py-1 rounded text-sm hover:bg-blue-700">
                                    Se connecter
                                </button>
                            </form>
                        </div>
                    </div>
                    <button class="bg-white text-blue-800 px-4 py-2 rounded-lg font-medium hover:bg-blue-100 transition">
                        <i class="fas fa-user mr-2"></i>Mon compte
                    </button>
                    <button class="bg-blue-600 text-white px-4 py-2 rounded-lg font-medium hover:bg-blue-700 transition">
                        <i class="fas fa-cog mr-2"></i>Préférences
                    </button>
                </div>
            </div>
        </div>
    </header>

    <!-- Main Content -->
    <main class="container mx-auto px-4 py-8">
        <!-- Dashboard -->
        <div class="grid grid-cols-1 lg:grid-cols-4 gap-6 mb-8">
            <!-- Stats Cards -->
            <div class="stats-card bg-white p-6 rounded-xl shadow-md">
                <div class="flex justify-between items-start">
                    <div>
                        <p class="text-gray-500">Précision</p>
                        <h3 class="text-3xl font-bold text-green-600">78%</h3>
                    </div>
                    <div class="bg-green-100 p-3 rounded-full">
                        <i class="fas fa-chart-line text-green-600 text-xl"></i>
                    </div>
                </div>
                <p class="text-sm text-gray-500 mt-2">+2% cette semaine</p>
            </div>

            <div class="stats-card bg-white p-6 rounded-xl shadow-md">
                <div class="flex justify-between items-start">
                    <div>
                        <p class="text-gray-500">Matchs analysés</p>
                        <h3 class="text-3xl font-bold text-blue-600">1,248</h3>
                    </div>
                    <div class="bg-blue-100 p-3 rounded-full">
                        <i class="fas fa-database text-blue-600 text-xl"></i>
                    </div>
                </div>
                <p class="text-sm text-gray-500 mt-2">+42 aujourd'hui</p>
            </div>

            <div class="stats-card bg-white p-6 rounded-xl shadow-md">
                <div class="flex justify-between items-start">
                    <div>
                        <p class="text-gray-500">Gain moyen</p>
                        <h3 class="text-3xl font-bold text-purple-600">19.5%</h3>
                    </div>
                    <div class="bg-purple-100 p-3 rounded-full">
                        <i class="fas fa-coins text-purple-600 text-xl"></i>
                    </div>
                </div>
                <p class="text-sm text-gray-500 mt-2">ROI sur 30 jours</p>
            </div>

            <div class="stats-card bg-white p-6 rounded-xl shadow-md">
                <div class="flex justify-between items-start">
                    <div>
                        <p class="text-gray-500">Alertes</p>
                        <h3 class="text-3xl font-bold text-red-600">3</h3>
                    </div>
                    <div class="bg-red-100 p-3 rounded-full">
                        <i class="fas fa-bell text-red-600 text-xl"></i>
                    </div>
                </div>
                <p class="text-sm text-gray-500 mt-2">Opportunités à saisir</p>
            </div>
        </div>

        <!-- Match Selection -->
        <div class="bg-white rounded-xl shadow-md p-6 mb-8">
            <div class="flex justify-between items-center mb-6">
                <h2 class="text-xl font-bold text-gray-800">Sélectionnez un match à analyser</h2>
                <div class="flex space-x-3">
                    <button id="sortByDateBtn" class="bg-gray-100 text-gray-800 px-3 py-1 rounded-lg text-sm hover:bg-gray-200 transition">
                        <i class="fas fa-sort mr-1"></i>Trier par date
                    </button>
                    <div class="relative">
                        <select class="appearance-none bg-gray-100 border border-gray-300 rounded-lg px-4 py-2 pr-8 focus:outline-none focus:ring-2 focus:ring-blue-500">
                            <option>Toutes les ligues</option>
                            <option>Ligue 1</option>
                            <option>Premier League</option>
                            <option>La Liga</option>
                            <option>Bundesliga</option>
                            <option>Serie A</option>
                        </select>
                        <i class="fas fa-chevron-down absolute right-3 top-3 text-gray-500"></i>
                    </div>
                    <div class="relative">
                        <select class="appearance-none bg-gray-100 border border-gray-300 rounded-lg px-4 py-2 pr-8 focus:outline-none focus:ring-2 focus:ring-blue-500">
                            <option>Prochains 7 jours</option>
                            <option>Aujourd'hui</option>
                            <option>Demain</option>
                            <option>Week-end</option>
                        </select>
                        <i class="fas fa-chevron-down absolute right-3 top-3 text-gray-500"></i>
                    </div>
                </div>
            </div>

            <!-- Match List -->
            <div class="space-y-3">
                <div class="match-card bg-white border border-gray-200 rounded-lg p-4 flex justify-between items-center cursor-pointer highlight" data-date="2023-06-15T20:00">
                    <div class="flex items-center space-x-4">
                        <div class="text-center">
                            <p class="text-gray-500 text-sm">20h00</p>
                            <p class="text-gray-500 text-xs">15/06</p>
                        </div>
                        <div class="text-center">
                            <img src="https://via.placeholder.com/30" alt="PSG" class="mx-auto h-8">
                            <img src="https://via.placeholder.com/20" alt="PSG" class="inline-block mr-2 h-4"> <span class="font-medium">PSG</span>
                        </div>
                        <div class="text-center px-4">
                            <p class="text-gray-500 text-sm">VS</p>
                        </div>
                        <div class="text-center">
                            <img src="https://via.placeholder.com/30" alt="OM" class="mx-auto h-8">
                            <img src="https://via.placeholder.com/20" alt="OM" class="inline-block mr-2 h-4"> <span class="font-medium">OM</span>
                        </div>
                    </div>
                    <div class="flex items-center space-x-4">
                        <span class="bg-blue-100 text-blue-800 text-xs px-3 py-1 rounded-full">Ligue 1</span>
                        <span class="bg-green-100 text-green-800 text-xs px-3 py-1 rounded-full">Analyse prête</span>
                        <i class="fas fa-chevron-right text-gray-400"></i>
                    </div>
                </div>

                <div class="match-card bg-white border border-gray-200 rounded-lg p-4 flex justify-between items-center cursor-pointer" data-date="2023-06-15T21:00">
                    <div class="flex items-center space-x-4">
                        <div class="text-center">
                            <p class="text-gray-500 text-sm">21h00</p>
                            <p class="text-gray-500 text-xs">15/06</p>
                        </div>
                        <div class="text-center">
                            <img src="https://via.placeholder.com/30" alt="Real Madrid" class="mx-auto h-8">
                            <p class="font-medium mt-1">Real Madrid</p>
                        </div>
                        <div class="text-center px-4">
                            <p class="text-gray-500 text-sm">VS</p>
                        </div>
                        <div class="text-center">
                            <img src="https://via.placeholder.com/30" alt="Barcelona" class="mx-auto h-8">
                            <p class="font-medium mt-1">Barcelona</p>
                        </div>
                    </div>
                    <div class="flex items-center space-x-4">
                        <span class="bg-red-100 text-red-800 text-xs px-3 py-1 rounded-full">La Liga</span>
                        <span class="bg-yellow-100 text-yellow-800 text-xs px-3 py-1 rounded-full">En cours d'analyse</span>
                        <i class="fas fa-chevron-right text-gray-400"></i>
                    </div>
                </div>

                <div class="match-card bg-white border border-gray-200 rounded-lg p-4 flex justify-between items-center cursor-pointer" data-date="2023-06-16T20:45">
                    <div class="flex items-center space-x-4">
                        <div class="text-center">
                            <p class="text-gray-500 text-sm">20h45</p>
                            <p class="text-gray-500 text-xs">16/06</p>
                        </div>
                        <div class="text-center">
                            <img src="https://via.placeholder.com/30" alt="Liverpool" class="mx-auto h-8">
                            <p class="font-medium mt-1">Liverpool</p>
                        </div>
                        <div class="text-center px-4">
                            <p class="text-gray-500 text-sm">VS</p>
                        </div>
                        <div class="text-center">
                            <img src="https://via.placeholder.com/30" alt="Man City" class="mx-auto h-8">
                            <p class="font-medium mt-1">Man City</p>
                        </div>
                    </div>
                    <div class="flex items-center space-x-4">
                        <span class="bg-purple-100 text-purple-800 text-xs px-3 py-1 rounded-full">Premier League</span>
                        <span class="bg-green-100 text-green-800 text-xs px-3 py-1 rounded-full">Analyse prête</span>
                        <i class="fas fa-chevron-right text-gray-400"></i>
                    </div>
                </div>
            </div>
        </div>

        <!-- Match Analysis -->
        <div class="grid grid-cols-1 lg:grid-cols-3 gap-6 mb-8">
            <!-- Left Column - Match Info -->
            <div class="bg-white rounded-xl shadow-md p-6">
                <div class="flex justify-between items-center mb-6">
                    <h2 class="text-xl font-bold text-gray-800">PSG vs OM</h2>
                    <span class="bg-blue-100 text-blue-800 text-xs px-3 py-1 rounded-full">Ligue 1</span>
                </div>

                <div class="flex justify-around items-center mb-6">
                    <div class="text-center">
                        <img src="https://via.placeholder.com/60" alt="PSG" class="mx-auto h-16 mb-2">
                        <p class="font-medium">Paris SG</p>
                        <p class="text-sm text-gray-500">Domicile</p>
                    </div>
                    <div class="text-center px-4">
                        <p class="text-gray-500 text-lg">20h00 - 15/06</p>
                        <p class="text-2xl font-bold my-2">VS</p>
                        <p class="text-sm bg-gray-100 px-3 py-1 rounded-full">Stade: Parc des Princes</p>
                    </div>
                    <div class="text-center">
                        <img src="https://via.placeholder.com/60" alt="OM" class="mx-auto h-16 mb-2">
                        <p class="font-medium">Olympique Marseille</p>
                        <p class="text-sm text-gray-500">Extérieur</p>
                    </div>
                </div>

                <div class="mb-6">
                    <h3 class="font-bold mb-2">Conditions météo prévues</h3>
                    <div class="flex items-center bg-gray-50 p-3 rounded-lg">
                        <i class="fas fa-sun text-yellow-500 text-2xl mr-3"></i>
                        <div>
                            <p class="font-medium">Ensoleillé, 22°C</p>
                            <p class="text-sm text-gray-500">Vent faible (10 km/h), humidité 45%</p>
                        </div>
                    </div>
                </div>

                <div>
                    <h3 class="font-bold mb-2">Dernières nouvelles</h3>
                    <div class="space-y-3">
                        <div class="flex items-start">
                            <div class="bg-red-100 p-2 rounded-full mr-3">
                                <i class="fas fa-exclamation text-red-600"></i>
                            </div>
                            <div>
                                <p class="font-medium">Blessure importante</p>
                                <p class="text-sm text-gray-500">Neymar (PSG) absent pour blessure (3 semaines)</p>
                            </div>
                        </div>
                        <div class="flex items-start">
                            <div class="bg-blue-100 p-2 rounded-full mr-3">
                                <i class="fas fa-info-circle text-blue-600"></i>
                            </div>
                            <div>
                                <p class="font-medium">Composition probable</p>
                                <p class="text-sm text-gray-500">Mbappé devrait jouer en pointe</p>
                            </div>
                        </div>
                    </div>
                </div>
            </div>

            <!-- Middle Column - Prediction -->
            <div class="bg-white rounded-xl shadow-md p-6">
                <h2 class="text-xl font-bold text-gray-800 mb-6">Pronostic IA</h2>
                
                <div class="mb-6">
                    <h3 class="font-bold mb-2">Score probable</h3>
                    <div class="flex justify-center items-center space-x-6">
                        <div class="text-center">
                            <div class="bg-blue-100 text-blue-800 text-2xl font-bold rounded-full h-16 w-16 flex items-center justify-center">2</div>
                            <p class="text-sm mt-1">PSG</p>
                        </div>
                        <div class="text-2xl font-bold">-</div>
                        <div class="text-center">
                            <div class="bg-blue-100 text-blue-800 text-2xl font-bold rounded-full h-16 w-16 flex items-center justify-center">1</div>
                            <p class="text-sm mt-1">OM</p>
                        </div>
                    </div>
                </div>

                <div class="mb-6">
                    <h3 class="font-bold mb-2">Probabilités</h3>
                    <div class="space-y-3">
                        <div>
                            <div class="flex justify-between mb-1">
                                <span>Victoire PSG</span>
                                <span class="font-bold">58%</span>
                            </div>
                            <div class="w-full bg-gray-200 rounded-full h-2.5">
                                <div class="bg-blue-600 h-2.5 rounded-full" style="width: 58%"></div>
                            </div>
                        </div>
                        <div>
                            <div class="flex justify-between mb-1">
                                <span>Match nul</span>
                                <span class="font-bold">25%</span>
                            </div>
                            <div class="w-full bg-gray-200 rounded-full h-2.5">
                                <div class="bg-yellow-500 h-2.5 rounded-full" style="width: 25%"></div>
                            </div>
                        </div>
                        <div>
                            <div class="flex justify-between mb-1">
                                <span>Victoire OM</span>
                                <span class="font-bold">17%</span>
                            </div>
                            <div class="w-full bg-gray-200 rounded-full h-2.5">
                                <div class="bg-red-500 h-2.5 rounded-full" style="width: 17%"></div>
                            </div>
                        </div>
                    </div>
                </div>

                <div>
                    <h3 class="font-bold mb-2">Facteurs clés</h3>
                    <div class="space-y-3">
                        <div class="flex items-center">
                            <div class="bg-green-100 p-2 rounded-full mr-3">
                                <i class="fas fa-thumbs-up text-green-600"></i>
                            </div>
                            <div>
                                <p class="font-medium">Forme récente</p>
                                <p class="text-sm text-gray-500">PSG invaincu depuis 5 matchs</p>
                            </div>
                        </div>
                        <div class="flex items-center">
                            <div class="bg-red-100 p-2 rounded-full mr-3">
                                <i class="fas fa-thumbs-down text-red-600"></i>
                            </div>
                            <div>
                                <p class="font-medium">Performances extérieures</p>
                                <p class="text-sm text-gray-500">OM a perdu 3 de ses 5 derniers matchs à l'extérieur</p>
                            </div>
                        </div>
                        <div class="flex items-center">
                            <div class="bg-blue-100 p-2 rounded-full mr-3">
                                <i class="fas fa-history text-blue-600"></i>
                            </div>
                            <div>
                                <p class="font-medium">Historique</p>
                                <p class="text-sm text-gray-500">PSG a gagné 4 des 5 derniers confrontations</p>
                            </div>
                        </div>
                    </div>
                </div>
            </div>

            <!-- Right Column - Bet Suggestions -->
            <div class="bg-white rounded-xl shadow-md p-6">
                <div class="flex justify-between items-center mb-6">
                    <h2 class="text-xl font-bold text-gray-800">Suggestions de paris</h2>
                    <button class="bg-gray-100 text-gray-800 px-3 py-1 rounded-lg text-sm hover:bg-gray-200 transition">
                        <i class="fas fa-sync-alt mr-1"></i>Actualiser
                    </button>
                </div>

                <div class="space-y-4">
                    <div class="border border-green-200 bg-green-50 rounded-lg p-4">
                        <div class="flex justify-between items-start mb-2">
                            <h3 class="font-bold text-green-800">Valeur élevée</h3>
                            <span class="bg-green-200 text-green-800 text-xs px-2 py-1 rounded-full">Confiance: 82%</span>
                        </div>
                        <p class="text-sm mb-3">Victoire PSG avec handicap -1</p>
                        <div class="flex justify-between items-center">
                            <span class="text-sm text-gray-500">Cote: 2.10</span>
                            <button class="bg-green-600 text-white px-3 py-1 rounded-lg text-sm hover:bg-green-700 transition">
                                <i class="fas fa-euro-sign mr-1"></i>Parier
                            </button>
                        </div>
                    </div>

                    <div class="border border-blue-200 bg-blue-50 rounded-lg p-4">
                        <div class="flex justify-between items-start mb-2">
                            <h3 class="font-bold text-blue-800">Sécurité</h3>
                            <span class="bg-blue-200 text-blue-800 text-xs px-2 py-1 rounded-full">Confiance: 76%</span>
                        </div>
                        <p class="text-sm mb-3">Plus de 2.5 buts dans le match</p>
                        <div class="flex justify-between items-center">
                            <span class="text-sm text-gray-500">Cote: 1.75</span>
                            <button class="bg-blue-600 text-white px-3 py-1 rounded-lg text-sm hover:bg-blue-700 transition">
                                <i class="fas fa-euro-sign mr-1"></i>Parier
                            </button>
                        </div>
                    </div>

                    <div class="border border-purple-200 bg-purple-50 rounded-lg p-4">
                        <div class="flex justify-between items-start mb-2">
                            <h3 class="font-bold text-purple-800">Pari risqué</h3>
                            <span class="bg-purple-200 text-purple-800 text-xs px-2 py-1 rounded-full">Confiance: 63%</span>
                        </div>
                        <p class="text-sm mb-3">Mbappé premier buteur</p>
                        <div class="flex justify-between items-center">
                            <span class="text-sm text-gray-500">Cote: 3.50</span>
                            <button class="bg-purple-600 text-white px-3 py-1 rounded-lg text-sm hover:bg-purple-700 transition">
                                <i class="fas fa-euro-sign mr-1"></i>Parier
                            </button>
                        </div>
                    </div>
                </div>

                <div class="mt-6">
                    <h3 class="font-bold mb-3">Personnaliser l'analyse</h3>
                    <div class="flex flex-wrap gap-2">
                        <button class="bg-gray-100 text-gray-800 px-3 py-1 rounded-lg text-sm hover:bg-gray-200 transition">
                            <i class="fas fa-sliders-h mr-1"></i>Paramètres avancés
                        </button>
                        <button class="bg-gray-100 text-gray-800 px-3 py-1 rounded-lg text-sm hover:bg-gray-200 transition">
                            <i class="fas fa-ban mr-1"></i>Exclure des matchs
                        </button>
                        <button class="bg-gray-100 text-gray-800 px-3 py-1 rounded-lg text-sm hover:bg-gray-200 transition">
                            <i class="fas fa-weight mr-1"></i>Pondérer les facteurs
                        </button>
                    </div>
                </div>
            </div>
        </div>

        <!-- VIP Section -->
        <div class="bg-gradient-to-r from-yellow-600 to-yellow-800 text-white rounded-xl shadow-md p-6 mb-8">
            <div class="flex justify-between items-center mb-6">
                <h2 class="text-xl font-bold">Pronostics VIP - Nos meilleures analyses</h2>
                <span class="bg-black bg-opacity-30 px-3 py-1 rounded-full text-sm">Exclusivité</span>
            </div>

            <div class="grid grid-cols-1 md:grid-cols-3 gap-6">
                <div class="bg-white bg-opacity-10 p-6 rounded-lg border border-yellow-300">
                    <h3 class="font-bold text-lg mb-2">Abonnement Hebdomadaire</h3>
                    <p class="text-yellow-100 mb-4">Accès 7 jours aux pronostics VIP</p>
                    <p class="text-3xl font-bold mb-4">1 000 FCFA</p>
                    <button onclick="showPaymentForm('hebdo', 1000)" class="w-full bg-white text-yellow-800 py-2 rounded-lg font-medium hover:bg-yellow-100 transition">
                        Payer par Orange Money
                    </button>
                    <p class="text-xs mt-2 text-yellow-200">Envoyez 1 000 FCFA au +223 93082683</p>
                </div>

                <div class="bg-white bg-opacity-10 p-6 rounded-lg border border-yellow-300">
                    <h3 class="font-bold text-lg mb-2">Abonnement Mensuel</h3>
                    <p class="text-yellow-100 mb-4">Accès 30 jours aux pronostics VIP</p>
                    <p class="text-3xl font-bold mb-4">3 000 FCFA</p>
                    <button onclick="showPaymentForm('mensuel', 3000)" class="w-full bg-white text-yellow-800 py-2 rounded-lg font-medium hover:bg-yellow-100 transition">
                        Payer par Orange Money
                    </button>
                    <p class="text-xs mt-2 text-yellow-200">Envoyez 3 000 FCFA au +223 93082683</p>
                </div>

                <div class="bg-white bg-opacity-10 p-6 rounded-lg border border-yellow-300">
                    <h3 class="font-bold text-lg mb-2">Abonnement Annuel</h3>
                    <p class="text-yellow-100 mb-4">Accès 365 jours aux pronostics VIP</p>
                    <p class="text-3xl font-bold mb-4">36 000 FCFA</p>
                    <button onclick="showPaymentForm('annuel', 36000)" class="w-full bg-white text-yellow-800 py-2 rounded-lg font-medium hover:bg-yellow-100 transition">
                        Payer par Orange Money
                    </button>
                    <p class="text-xs mt-2 text-yellow-200">Envoyez 36 000 FCFA au +223 93082683</p>
                </div>
            </div>

            <div class="mt-6 bg-black bg-opacity-20 p-4 rounded-lg">
                <h3 class="font-bold mb-2">Pourquoi devenir VIP ?</h3>
                <ul class="list-disc pl-5 space-y-2 text-yellow-100">
                    <li>Accès aux pronostics avec plus de 85% de fiabilité</li>
                    <li>Analyses exclusives et détaillées</li>
                    <li>Notifications en temps réel</li>
                    <li>Support prioritaire</li>
                </ul>
            </div>
        </div>

        <!-- Historical Data -->
        <div class="bg-white rounded-xl shadow-md p-6 mb-8">
            <div class="flex justify-between items-center mb-6">
                <h2 class="text-xl font-bold text-gray-800">Données historiques</h2>
                <div class="flex space-x-3">
                    <button class="bg-gray-100 text-gray-800 px-3 py-1 rounded-lg text-sm hover:bg-gray-200 transition">
                        <i class="fas fa-download mr-1"></i>Exporter
                    </button>
                    <button class="bg-blue-600 text-white px-3 py-1 rounded-lg text-sm hover:bg-blue-700 transition">
                        <i class="fas fa-chart-bar mr-1"></i>Visualiser
                    </button>
                </div>
            </div>

            <div class="overflow-x-auto">
                <table class="min-w-full divide-y divide-gray-200">
                    <thead class="bg-gray-50">
                        <tr>
                            <th class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Date</th>
                            <th class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Compétition</th>
                            <th class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Score</th>
                            <th class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Tirs</th>
                            <th class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Possession</th>
                            <th class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Actions</th>
                        </tr>
                    </thead>
                    <tbody class="bg-white divide-y divide-gray-200">
                        <tr class="hover:bg-gray-50">
                            <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">12/03/2023</td>
                            <td class="px-6 py-4 whitespace-nowrap text-sm font-medium">Ligue 1</td>
                            <td class="px-6 py-4 whitespace-nowrap text-sm font-bold">3-0</td>
                            <td class="px-6 py-4 whitespace-nowrap text-sm">18-7</td>
                            <td class="px-6 py-4 whitespace-nowrap text-sm">62%</td>
                            <td class="px-6 py-4 whitespace-nowrap text-sm">
                                <button class="text-blue-600 hover:text-blue-800 mr-3">
                                    <i class="fas fa-chart-line"></i>
                                </button>
                                <button class="text-red-600 hover:text-red-800">
                                    <i class="fas fa-ban"></i>
                                </button>
                            </td>
                        </tr>
                        <tr class="hover:bg-gray-50">
                            <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">06/11/2022</td>
                            <td class="px-6 py-4 whitespace-nowrap text-sm font-medium">Ligue 1</td>
                            <td class="px-6 py-4 whitespace-nowrap text-sm font-bold">1-0</td>
                            <td class="px-6 py-4 whitespace-nowrap text-sm">12-10</td>
                            <td class="px-6 py-4 whitespace-nowrap text-sm">58%</td>
                            <td class="px-6 py-4 whitespace-nowrap text-sm">
                                <button class="text-blue-600 hover:text-blue-800 mr-3">
                                    <i class="fas fa-chart-line"></i>
                                </button>
                                <button class="text-red-600 hover:text-red-800">
                                    <i class="fas fa-ban"></i>
                                </button>
                            </td>
                        </tr>
                        <tr class="hover:bg-gray-50">
                            <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">17/04/2022</td>
                            <td class="px-6 py-4 whitespace-nowrap text-sm font-medium">Ligue 1</td>
                            <td class="px-6 py-4 whitespace-nowrap text-sm font-bold">2-1</td>
                            <td class="px-6 py-4 whitespace-nowrap text-sm">15-8</td>
                            <td class="px-6 py-4 whitespace-nowrap text-sm">64%</td>
                            <td class="px-6 py-4 whitespace-nowrap text-sm">
                                <button class="text-blue-600 hover:text-blue-800 mr-3">
                                    <i class="fas fa-chart-line"></i>
                                </button>
                                <button class="text-red-600 hover:text-red-800">
                                    <i class="fas fa-ban"></i>
                                </button>
                            </td>
                        </tr>
                    </tbody>
                </table>
            </div>
        </div>

        <!-- AI Explanation -->
        <div class="bg-white rounded-xl shadow-md p-6">
            <h2 class="text-xl font-bold text-gray-800 mb-4">Explication de l'IA</h2>
            <div class="prose max-w-none">
                <p>Notre intelligence artificielle a analysé 28 facteurs différents pour ce match, dont :</p>
                <ul class="list-disc pl-5">
                    <li>Les 12 dernières confrontations entre ces deux équipes</li>
                    <li>Les performances récentes des deux équipes (5 derniers matchs)</li>
                    <li>Les statistiques de jeu (possession, tirs cadrés, précision des passes)</li>
                    <li>Les blessures et suspensions actuelles</li>
                    <li>Les conditions météorologiques prévues</li>
                    <li>La motivation des équipes (enjeux du match)</li>
                </ul>
                <p class="mt-4">Le modèle a identifié que <strong>la forme récente du PSG à domicile</strong> (4 victoires consécutives) et <strong>les difficultés défensives de l'OM à l'extérieur</strong> (1.8 buts encaissés en moyenne) sont les facteurs les plus déterminants.</p>
                <div class="mt-4 p-4 bg-blue-50 rounded-lg">
                    <p class="font-medium text-blue-800"><i class="fas fa-lightbulb mr-2"></i>Insight clé :</p>
                    <p>Dans 80% des cas où le PSG a eu plus de 60% de possession contre l'OM, ils ont remporté le match avec au moins 2 buts d'écart.</p>
                </div>
            </div>
        </div>
    </main>

    <!-- Footer -->
    <footer class="bg-gray-800 text-white py-8">
        <div class="container mx-auto px-4">
            <div class="grid grid-cols-1 md:grid-cols-4 gap-8">
                <div>
                    <h3 class="text-lg font-bold mb-4">AI SportBet Pro</h3>
                    <p class="text-gray-400">L'expert en paris sportifs assisté par intelligence artificielle.</p>
                </div>
                <div>
                    <h3 class="text-lg font-bold mb-4">Navigation</h3>
                    <ul class="space-y-2">
                        <li><a href="#" class="text-gray-400 hover:text-white transition">Accueil</a></li>
                        <li><a href="#" class="text-gray-400 hover:text-white transition">Matchs</a></li>
                        <li><a href="#" class="text-gray-400 hover:text-white transition">Pronostics</a></li>
                        <li><a href="#" class="text-gray-400 hover:text-white transition">Historique</a></li>
                        <li><a href="#" class="text-yellow-400 hover:text-yellow-300 transition font-medium">Section VIP</a></li>
                    </ul>
                </div>
                <div>
                    <h3 class="text-lg font-bold mb-4">Légal</h3>
                    <ul class="space-y-2">
                        <li><a href="#" class="text-gray-400 hover:text-white transition">CGU</a></li>
                        <li><a href="#" class="text-gray-400 hover:text-white transition">Confidentialité</a></li>
                        <li><a href="#" class="text-gray-400 hover:text-white transition">Responsabilité</a></li>
                    </ul>
                </div>
                <div>
                    <h3 class="text-lg font-bold mb-4">Contact</h3>
                    <ul class="space-y-2">
                        <li class="flex items-center"><i class="fas fa-envelope mr-2 text-gray-400"></i> <a href="mailto:contact@aisportbetpro.com" class="text-gray-400 hover:text-white transition">contact@aisportbetpro.com</a></li>
                        <li class="flex items-center"><i class="fas fa-phone mr-2 text-gray-400"></i> <span class="text-gray-400">+33 1 23 45 67 89</span></li>
                    </ul>
                </div>
            </div>
            <div class="border-t border-gray-700 mt-8 pt-8 text-center text-gray-400">
                <p>© 2023 DJINE FOOT. Tous droits réservés.</p>
            </div>
        </div>
    </footer>

    <!-- Payment Form Modal -->
    <div id="paymentModal" class="fixed inset-0 bg-black bg-opacity-50 flex items-center justify-center z-50 hidden">
        <div class="bg-white rounded-lg p-6 max-w-md w-full">
            <h3 class="text-xl font-bold mb-4">Confirmez votre paiement</h3>
            <form id="paymentForm" onsubmit="processPayment(event)">
                <input type="hidden" id="subscriptionType">
                <input type="hidden" id="subscriptionAmount">
                
                <div class="mb-4">
                    <label class="block text-gray-700 mb-2">Numéro Orange Money</label>
                    <input type="tel" class="w-full px-3 py-2 border rounded-lg" placeholder="Ex: 770000000" required>
                </div>
                
                <div class="mb-4">
                    <label class="block text-gray-700 mb-2">Code de transaction</label>
                    <input type="text" class="w-full px-3 py-2 border rounded-lg" placeholder="Code reçu par SMS" required>
                </div>
                
                <div class="flex justify-end space-x-3">
                    <button type="button" onclick="hidePaymentForm()" class="px-4 py-2 border rounded-lg">Annuler</button>
                    <button type="submit" class="bg-yellow-600 text-white px-4 py-2 rounded-lg">Valider le paiement</button>
                </div>
            </form>
        </div>
    </div>

    <script>
        // Payment functions
        function showPaymentForm(type, amount) {
            document.getElementById('subscriptionType').value = type;
            document.getElementById('subscriptionAmount').value = amount;
            document.getElementById('paymentModal').classList.remove('hidden');
        }

        function hidePaymentForm() {
            document.getElementById('paymentModal').classList.add('hidden');
            document.getElementById('paymentForm').reset();
        }

        function processPayment(e) {
            e.preventDefault();
            
            const type = document.getElementById('subscriptionType').value;
            const amount = document.getElementById('subscriptionAmount').value;
            
            // Show loading
            const submitBtn = e.target.querySelector('button[type="submit"]');
            const originalText = submitBtn.innerHTML;
            submitBtn.innerHTML = '<i class="fas fa-spinner fa-spin mr-2"></i> Traitement...';
            submitBtn.disabled = true;
            
            // Simulate API call to verify payment
            setTimeout(() => {
                // On successful payment
                hidePaymentForm();
                
                // Activate subscription
                activateSubscription(type);
                
                // Show success notification
                showNotification('success', 'Paiement confirmé! Votre abonnement est maintenant actif.');
                
                // Reset form
                submitBtn.innerHTML = originalText;
                submitBtn.disabled = false;
            }, 2000);
        }

        function activateSubscription(type) {
            // Store subscription in localStorage
            const expiryDate = new Date();
            
            switch(type) {
                case 'hebdo':
                    expiryDate.setDate(expiryDate.getDate() + 7);
                    break;
                case 'mensuel':
                    expiryDate.setMonth(expiryDate.getMonth() + 1);
                    break;
                case 'annuel':
                    expiryDate.setFullYear(expiryDate.getFullYear() + 1);
                    break;
            }
            
            localStorage.setItem('vipSubscription', JSON.stringify({
                type: type,
                expiry: expiryDate.toISOString()
            }));
            
            // Update UI
            updateVIPStatus();
        }

        function updateVIPStatus() {
            // Check if user has active subscription
            const subscription = localStorage.getItem('vipSubscription');
            if (subscription) {
                const data = JSON.parse(subscription);
                const expiryDate = new Date(data.expiry);
                
                if (expiryDate > new Date()) {
                    // User has active subscription
                    document.querySelectorAll('.vip-content').forEach(el => {
                        el.classList.remove('hidden');
                    });
                    document.querySelectorAll('.subscribe-btn').forEach(el => {
                        el.classList.add('hidden');
                    });
                }
            }
        }

        function showNotification(type, message) {
            const notification = document.createElement('div');
            notification.className = `fixed bottom-4 right-4 px-4 py-2 rounded-lg shadow-lg flex items-center fade-in ${
                type === 'success' ? 'bg-green-500 text-white' : 'bg-red-500 text-white'
            }`;
            notification.innerHTML = `
                <i class="fas ${type === 'success' ? 'fa-check-circle' : 'fa-exclamation-triangle'} mr-2"></i>
                ${message}
            `;
            document.body.appendChild(notification);
            
            setTimeout(() => {
                notification.classList.add('opacity-0', 'transition-opacity', 'duration-500');
                setTimeout(() => notification.remove(), 500);
            }, 3000);
        }

        // Admin login function
        document.getElementById('adminLoginForm').addEventListener('submit', function(e) {
            e.preventDefault();
            const username = document.getElementById('adminUsername').value;
            const password = document.getElementById('adminPassword').value;
            
            if(username === 'djineone' && password === 'Monamour7865') {
                // Activate VIP access
                localStorage.setItem('vipSubscription', JSON.stringify({
                    type: 'admin',
                    expiry: new Date('2099-12-31').toISOString()
                }));
                updateVIPStatus();
                showNotification('success', 'Connexion admin réussie! Accès VIP activé.');
            } else {
                showNotification('error', 'Identifiants incorrects');
            }
            
            this.reset();
        });

        // Check subscription status on page load
        document.addEventListener('DOMContentLoaded', updateVIPStatus);
        // Match card selection
        document.querySelectorAll('.match-card').forEach(card => {
            card.addEventListener('click', function() {
                document.querySelectorAll('.match-card').forEach(c => c.classList.remove('highlight'));
                this.classList.add('highlight');
            });
        });

        // Simulate loading animation
        function simulateAnalysis() {
            const loadingBtn = document.createElement('button');
            loadingBtn.className = 'bg-blue-600 text-white px-4 py-2 rounded-lg font-medium flex items-center justify-center';
            loadingBtn.innerHTML = '<i class="fas fa-spinner fa-spin mr-2"></i>Analyse en cours...';
            
            const container = document.querySelector('.match-card.highlight').querySelector('span:last-child');
            const originalContent = container.innerHTML;
            container.parentNode.replaceChild(loadingBtn, container);
            
            setTimeout(() => {
                loadingBtn.parentNode.replaceChild(container, loadingBtn);
                container.innerHTML = '<span class="bg-green-100 text-green-800 text-xs px-3 py-1 rounded-full">Analyse prête</span>';
                
                // Show notification
                const notification = document.createElement('div');
                notification.className = 'fixed bottom-4 right-4 bg-green-500 text-white px-4 py-2 rounded-lg shadow-lg flex items-center fade-in';
                notification.innerHTML = '<i class="fas fa-check-circle mr-2"></i> Analyse terminée pour PSG vs OM';
                document.body.appendChild(notification);
                
                setTimeout(() => {
                    notification.classList.add('opacity-0', 'transition-opacity', 'duration-500');
                    setTimeout(() => notification.remove(), 500);
                }, 3000);
            }, 2000);
        }

        // Add event listener to refresh button
        document.querySelector('.bg-gray-100.text-gray-800').addEventListener('click', simulateAnalysis);

        // Sort matches by date
        document.getElementById('sortByDateBtn').addEventListener('click', function() {
            const container = document.querySelector('.space-y-3');
            const matches = Array.from(document.querySelectorAll('.match-card'));
            
            matches.sort((a, b) => {
                const dateA = new Date(a.getAttribute('data-date'));
                const dateB = new Date(b.getAttribute('data-date'));
                return dateA - dateB;
            });

            // Remove all matches from container
            matches.forEach(match => match.remove());
            
            // Add sorted matches back to container
            matches.forEach(match => container.appendChild(match));
            
            // Show notification
            showNotification('success', 'Pronostics triés par date');
        });
    </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=Monnomdf/monnomdf" style="color: #fff;text-decoration: underline;" target="_blank" >Remix</a></p></body>
</html>