File size: 49,601 Bytes
bdb3bb4
2779395
 
 
 
 
bdb3bb4
2779395
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
bdb3bb4
2779395
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Premier League Hub</title>
    <script src="https://cdn.tailwindcss.com"></script>
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0-beta3/css/all.min.css">
    <style>
        /* Custom styles to complement Tailwind */
        .stadium-img {
            background-image: url('https://images.unsplash.com/photo-1574629810360-7efbbe195018?ixlib=rb-1.2.1&auto=format&fit=crop&w=1350&q=80');
            background-size: cover;
            background-position: center;
        }
        
        .player-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 10px 20px rgba(0,0,0,0.2);
        }
        
        .news-card:hover {
            transform: scale(1.02);
        }
        
        /* Animation for match cards */
        @keyframes pulse {
            0% { transform: scale(1); }
            50% { transform: scale(1.03); }
            100% { transform: scale(1); }
        }
        
        .live-match {
            animation: pulse 2s infinite;
            border-left: 4px solid #e63946;
        }
        
        /* Admin panel toggle */
        .admin-panel {
            transition: all 0.3s ease;
            max-height: 0;
            overflow: hidden;
        }
        
        .admin-panel.open {
            max-height: 1000px;
        }
    </style>
</head>
<body class="bg-gray-100 font-sans">
    <!-- Header/Navigation -->
    <header class="bg-blue-900 text-white shadow-lg sticky top-0 z-50">
        <div class="container mx-auto px-4 py-3 flex justify-between items-center">
            <div class="flex items-center space-x-2">
                <img src="https://via.placeholder.com/50" alt="Premier League Logo" class="h-12">
                <h1 class="text-2xl font-bold">Premier League Hub</h1>
            </div>
            
            <nav class="hidden md:flex space-x-6">
                <a href="#home" class="hover:text-yellow-300 font-medium">Home</a>
                <a href="#teams" class="hover:text-yellow-300 font-medium">Teams</a>
                <a href="#matches" class="hover:text-yellow-300 font-medium">Matches</a>
                <a href="#table" class="hover:text-yellow-300 font-medium">League Table</a>
                <a href="#stats" class="hover:text-yellow-300 font-medium">Statistics</a>
                <a href="#news" class="hover:text-yellow-300 font-medium">News</a>
            </nav>
            
            <div class="flex items-center space-x-4">
                <button id="admin-toggle" class="bg-red-600 hover:bg-red-700 px-3 py-1 rounded-full text-sm font-medium hidden">
                    Admin <i class="fas fa-lock ml-1"></i>
                </button>
                <button class="md:hidden" id="mobile-menu-button">
                    <i class="fas fa-bars text-2xl"></i>
                </button>
            </div>
        </div>
        
        <!-- Mobile menu -->
        <div id="mobile-menu" class="hidden md:hidden bg-blue-800 px-4 py-2">
            <a href="#home" class="block py-2 hover:text-yellow-300">Home</a>
            <a href="#teams" class="block py-2 hover:text-yellow-300">Teams</a>
            <a href="#matches" class="block py-2 hover:text-yellow-300">Matches</a>
            <a href="#table" class="block py-2 hover:text-yellow-300">League Table</a>
            <a href="#stats" class="block py-2 hover:text-yellow-300">Statistics</a>
            <a href="#news" class="block py-2 hover:text-yellow-300">News</a>
        </div>
    </header>

    <!-- Admin Panel (initially hidden) -->
    <div id="admin-panel" class="admin-panel bg-gray-800 text-white">
        <div class="container mx-auto px-4 py-4">
            <h2 class="text-xl font-bold mb-4">Administrator Panel</h2>
            <div class="grid grid-cols-1 md:grid-cols-3 gap-6">
                <!-- Team Management -->
                <div class="bg-gray-700 p-4 rounded-lg">
                    <h3 class="font-bold mb-3 text-yellow-300">Team Management</h3>
                    <div class="space-y-3">
                        <button id="add-team-btn" class="w-full bg-blue-600 hover:bg-blue-700 py-2 px-4 rounded">Add Team</button>
                        <button id="edit-team-btn" class="w-full bg-green-600 hover:bg-green-700 py-2 px-4 rounded">Edit Team</button>
                        <button id="delete-team-btn" class="w-full bg-red-600 hover:bg-red-700 py-2 px-4 rounded">Delete Team</button>
                    </div>
                    <div id="team-form" class="mt-4 hidden">
                        <input type="text" placeholder="Team Name" class="w-full mb-2 p-2 rounded text-black">
                        <input type="text" placeholder="City" class="w-full mb-2 p-2 rounded text-black">
                        <input type="text" placeholder="Stadium" class="w-full mb-2 p-2 rounded text-black">
                        <input type="text" placeholder="Head Coach" class="w-full mb-2 p-2 rounded text-black">
                        <button class="bg-blue-600 hover:bg-blue-700 py-1 px-3 rounded text-sm">Submit</button>
                    </div>
                </div>
                
                <!-- Match Management -->
                <div class="bg-gray-700 p-4 rounded-lg">
                    <h3 class="font-bold mb-3 text-yellow-300">Match Management</h3>
                    <div class="space-y-3">
                        <button id="add-match-btn" class="w-full bg-blue-600 hover:bg-blue-700 py-2 px-4 rounded">Add Match</button>
                        <button id="edit-match-btn" class="w-full bg-green-600 hover:bg-green-700 py-2 px-4 rounded">Edit Match</button>
                        <button id="delete-match-btn" class="w-full bg-red-600 hover:bg-red-700 py-2 px-4 rounded">Delete Match</button>
                    </div>
                    <div id="match-form" class="mt-4 hidden">
                        <select class="w-full mb-2 p-2 rounded text-black">
                            <option>Select Home Team</option>
                        </select>
                        <select class="w-full mb-2 p-2 rounded text-black">
                            <option>Select Away Team</option>
                        </select>
                        <input type="datetime-local" class="w-full mb-2 p-2 rounded text-black">
                        <button class="bg-blue-600 hover:bg-blue-700 py-1 px-3 rounded text-sm">Submit</button>
                    </div>
                </div>
                
                <!-- News Management -->
                <div class="bg-gray-700 p-4 rounded-lg">
                    <h3 class="font-bold mb-3 text-yellow-300">News Management</h3>
                    <div class="space-y-3">
                        <button id="add-news-btn" class="w-full bg-blue-600 hover:bg-blue-700 py-2 px-4 rounded">Add News</button>
                        <button id="edit-news-btn" class="w-full bg-green-600 hover:bg-green-700 py-2 px-4 rounded">Edit News</button>
                        <button id="delete-news-btn" class="w-full bg-red-600 hover:bg-red-700 py-2 px-4 rounded">Delete News</button>
                    </div>
                    <div id="news-form" class="mt-4 hidden">
                        <input type="text" placeholder="News Title" class="w-full mb-2 p-2 rounded text-black">
                        <textarea placeholder="News Content" class="w-full mb-2 p-2 rounded text-black"></textarea>
                        <button class="bg-blue-600 hover:bg-blue-700 py-1 px-3 rounded text-sm">Submit</button>
                    </div>
                </div>
            </div>
        </div>
    </div>

    <!-- Main Content -->
    <main>
        <!-- Hero Section -->
        <section id="home" class="stadium-img bg-gray-900 text-white py-20 bg-blend-overlay bg-opacity-70">
            <div class="container mx-auto px-4 text-center">
                <h1 class="text-4xl md:text-6xl font-bold mb-6">Premier League 2023/24</h1>
                <p class="text-xl md:text-2xl mb-8">Your ultimate source for everything Premier League - matches, stats, news and more</p>
                <div class="flex justify-center space-x-4">
                    <a href="#matches" class="bg-red-600 hover:bg-red-700 text-white font-bold py-3 px-6 rounded-full">Today's Matches</a>
                    <a href="#table" class="bg-blue-600 hover:bg-blue-700 text-white font-bold py-3 px-6 rounded-full">League Table</a>
                </div>
            </div>
        </section>

        <!-- Featured Match -->
        <section class="container mx-auto px-4 py-8 -mt-12 z-10 relative">
            <div class="bg-white rounded-xl shadow-2xl overflow-hidden max-w-4xl mx-auto">
                <div class="bg-red-600 text-white py-3 px-6">
                    <h2 class="text-xl font-bold">Featured Match</h2>
                </div>
                <div class="p-6">
                    <div class="flex items-center justify-between mb-4">
                        <div class="text-center flex-1">
                            <img src="https://via.placeholder.com/80" alt="Team Logo" class="mx-auto h-20 mb-2">
                            <h3 class="text-xl font-bold">Manchester United</h3>
                        </div>
                        <div class="text-center mx-4">
                            <div class="text-5xl font-bold">2 - 1</div>
                            <div class="text-sm mt-2">Full Time</div>
                        </div>
                        <div class="text-center flex-1">
                            <img src="https://via.placeholder.com/80" alt="Team Logo" class="mx-auto h-20 mb-2">
                            <h3 class="text-xl font-bold">Chelsea</h3>
                        </div>
                    </div>
                    <div class="text-center">
                        <div class="inline-block bg-gray-200 rounded-full px-4 py-1">
                            <i class="fas fa-calendar-alt mr-2"></i>
                            <span>Sat, 10 Feb 2024 • Old Trafford</span>
                        </div>
                    </div>
                    <div class="mt-6 pt-4 border-t">
                        <h4 class="font-bold mb-2">Match Events:</h4>
                        <ul class="space-y-2">
                            <li class="flex items-center"><span class="w-8 font-bold">23'</span> <span class="bg-green-200 px-2 rounded">⚽ Goal - Bruno Fernandes</span></li>
                            <li class="flex items-center"><span class="w-8 font-bold">45+2'</span> <span class="bg-yellow-200 px-2 rounded">🟨 Yellow Card - Cole Palmer</span></li>
                            <li class="flex items-center"><span class="w-8 font-bold">56'</span> <span class="bg-green-200 px-2 rounded">⚽ Goal - Marcus Rashford</span></li>
                            <li class="flex items-center"><span class="w-8 font-bold">78'</span> <span class="bg-red-200 px-2 rounded">🟥 Red Card - Malo Gusto</span></li>
                            <li class="flex items-center"><span class="w-8 font-bold">89'</span> <span class="bg-green-200 px-2 rounded">⚽ Goal - Nicolas Jackson</span></li>
                        </ul>
                    </div>
                    <div class="mt-4 flex justify-center">
                        <button class="bg-blue-600 hover:bg-blue-700 text-white font-medium py-2 px-6 rounded-full">
                            Match Details <i class="fas fa-arrow-right ml-2"></i>
                        </button>
                    </div>
                </div>
            </div>
        </section>

        <!-- Teams Section -->
        <section id="teams" class="container mx-auto px-4 py-12">
            <h2 class="text-3xl font-bold mb-8 text-center">Premier League Teams</h2>
            <div class="grid grid-cols-2 sm:grid-cols-3 md:grid-cols-4 lg:grid-cols-5 gap-6">
                <!-- Team cards will be generated here -->
                <div class="team-card bg-white rounded-lg shadow-md overflow-hidden transition-transform hover:scale-105 cursor-pointer">
                    <div class="bg-blue-900 h-3"></div>
                    <div class="p-4 text-center">
                        <img src="https://via.placeholder.com/80" alt="Team Logo" class="mx-auto h-16 mb-3">
                        <h3 class="font-bold text-lg">Arsenal</h3>
                        <p class="text-sm text-gray-600">Emirates Stadium</p>
                    </div>
                </div>
                
                <div class="team-card bg-white rounded-lg shadow-md overflow-hidden transition-transform hover:scale-105 cursor-pointer">
                    <div class="bg-red-600 h-3"></div>
                    <div class="p-4 text-center">
                        <img src="https://via.placeholder.com/80" alt="Team Logo" class="mx-auto h-16 mb-3">
                        <h3 class="font-bold text-lg">Liverpool</h3>
                        <p class="text-sm text-gray-600">Anfield</p>
                    </div>
                </div>
                
                <div class="team-card bg-white rounded-lg shadow-md overflow-hidden transition-transform hover:scale-105 cursor-pointer">
                    <div class="bg-blue-700 h-3"></div>
                    <div class="p-4 text-center">
                        <img src="https://via.placeholder.com/80" alt="Team Logo" class="mx-auto h-16 mb-3">
                        <h3 class="font-bold text-lg">Chelsea</h3>
                        <p class="text-sm text-gray-600">Stamford Bridge</p>
                    </div>
                </div>
                
                <div class="team-card bg-white rounded-lg shadow-md overflow-hidden transition-transform hover:scale-105 cursor-pointer">
                    <div class="bg-red-700 h-3"></div>
                    <div class="p-4 text-center">
                        <img src="https://via.placeholder.com/80" alt="Team Logo" class="mx-auto h-16 mb-3">
                        <h3 class="font-bold text-lg">Manchester United</h3>
                        <p class="text-sm text-gray-600">Old Trafford</p>
                    </div>
                </div>
                
                <div class="team-card bg-white rounded-lg shadow-md overflow-hidden transition-transform hover:scale-105 cursor-pointer">
                    <div class="bg-sky-600 h-3"></div>
                    <div class="p-4 text-center">
                        <img src="https://via.placeholder.com/80" alt="Team Logo" class="mx-auto h-16 mb-3">
                        <h3 class="font-bold text-lg">Manchester City</h3>
                        <p class="text-sm text-gray-600">Etihad Stadium</p>
                    </div>
                </div>
                
                <div class="team-card bg-white rounded-lg shadow-md overflow-hidden transition-transform hover:scale-105 cursor-pointer">
                    <div class="bg-black h-3"></div>
                    <div class="p-4 text-center">
                        <img src="https://via.placeholder.com/80" alt="Team Logo" class="mx-auto h-16 mb-3">
                        <h3 class="font-bold text-lg">Newcastle United</h3>
                        <p class="text-sm text-gray-600">St. James' Park</p>
                    </div>
                </div>
                
                <div class="team-card bg-white rounded-lg shadow-md overflow-hidden transition-transform hover:scale-105 cursor-pointer">
                    <div class="bg-amber-700 h-3"></div>
                    <div class="p-4 text-center">
                        <img src="https://via.placeholder.com/80" alt="Team Logo" class="mx-auto h-16 mb-3">
                        <h3 class="font-bold text-lg">Tottenham Hotspur</h3>
                        <p class="text-sm text-gray-600">Tottenham Hotspur Stadium</p>
                    </div>
                </div>
                
                <div class="team-card bg-white rounded-lg shadow-md overflow-hidden transition-transform hover:scale-105 cursor-pointer">
                    <div class="bg-claret h-3" style="background-color: #7A263A;"></div>
                    <div class="p-4 text-center">
                        <img src="https://via.placeholder.com/80" alt="Team Logo" class="mx-auto h-16 mb-3">
                        <h3 class="font-bold text-lg">West Ham United</h3>
                        <p class="text-sm text-gray-600">London Stadium</p>
                    </div>
                </div>
                
                <div class="team-card bg-white rounded-lg shadow-md overflow-hidden transition-transform hover:scale-105 cursor-pointer">
                    <div class="bg-green-700 h-3"></div>
                    <div class="p-4 text-center">
                        <img src="https://via.placeholder.com/80" alt="Team Logo" class="mx-auto h-16 mb-3">
                        <h3 class="font-bold text-lg">Aston Villa</h3>
                        <p class="text-sm text-gray-600">Villa Park</p>
                    </div>
                </div>
                
                <div class="team-card bg-white rounded-lg shadow-md overflow-hidden transition-transform hover:scale-105 cursor-pointer">
                    <div class="bg-blue-800 h-3"></div>
                    <div class="p-4 text-center">
                        <img src="https://via.placeholder.com/80" alt="Team Logo" class="mx-auto h-16 mb-3">
                        <h3 class="font-bold text-lg">Everton</h3>
                        <p class="text-sm text-gray-600">Goodison Park</p>
                    </div>
                </div>
            </div>
            
            <div class="mt-8 text-center">
                <button class="bg-blue-600 hover:bg-blue-700 text-white font-medium py-2 px-6 rounded-full">
                    View All Teams <i class="fas fa-chevron-right ml-2"></i>
                </button>
            </div>
        </section>

        <!-- Matches Section -->
        <section id="matches" class="bg-gray-100 py-12">
            <div class="container mx-auto px-4">
                <h2 class="text-3xl font-bold mb-8 text-center">Matches & Results</h2>
                
                <div class="flex justify-center mb-8">
                    <div class="inline-flex rounded-md shadow-sm" role="group">
                        <button type="button" class="px-4 py-2 text-sm font-medium text-blue-700 bg-blue-100 rounded-l-lg hover:bg-blue-200 focus:z-10 focus:ring-2 focus:ring-blue-700">
                            Previous
                        </button>
                        <button type="button" class="px-4 py-2 text-sm font-medium text-white bg-blue-700 hover:bg-blue-800 focus:z-10 focus:ring-2 focus:ring-blue-700">
                            Current Matchday
                        </button>
                        <button type="button" class="px-4 py-2 text-sm font-medium text-blue-700 bg-blue-100 rounded-r-lg hover:bg-blue-200 focus:z-10 focus:ring-2 focus:ring-blue-700">
                            Upcoming
                        </button>
                    </div>
                </div>
                
                <div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-6">
                    <!-- Match cards -->
                    <div class="bg-white rounded-lg shadow-md overflow-hidden border-t-4 border-blue-600">
                        <div class="p-4">
                            <div class="flex justify-between items-center mb-2">
                                <span class="text-sm text-gray-500">Matchweek 24 • Sat, 10 Feb</span>
                                <span class="text-xs bg-gray-200 px-2 py-1 rounded">Premier League</span>
                            </div>
                            <div class="flex items-center justify-between mb-2">
                                <div class="flex items-center space-x-3">
                                    <img src="https://via.placeholder.com/30" alt="Team Logo" class="h-8">
                                    <span class="font-medium">Arsenal</span>
                                </div>
                                <div class="text-lg font-bold">2</div>
                            </div>
                            <div class="flex items-center justify-between">
                                <div class="flex items-center space-x-3">
                                    <img src="https://via.placeholder.com/30" alt="Team Logo" class="h-8">
                                    <span class="font-medium">West Ham</span>
                                </div>
                                <div class="text-lg font-bold">0</div>
                            </div>
                        </div>
                        <div class="bg-gray-100 px-4 py-2 text-sm">
                            <div class="flex justify-between">
                                <span>Emirates Stadium</span>
                                <span>FT</span>
                            </div>
                        </div>
                    </div>
                    
                    <div class="bg-white rounded-lg shadow-md overflow-hidden border-t-4 border-red-600 live-match">
                        <div class="p-4">
                            <div class="flex justify-between items-center mb-2">
                                <span class="text-sm text-gray-500">Matchweek 24 • Sat, 10 Feb</span>
                                <span class="text-xs bg-red-100 text-red-800 px-2 py-1 rounded">LIVE 67'</span>
                            </div>
                            <div class="flex items-center justify-between mb-2">
                                <div class="flex items-center space-x-3">
                                    <img src="https://via.placeholder.com/30" alt="Team Logo" class="h-8">
                                    <span class="font-medium">Aston Villa</span>
                                </div>
                                <div class="text-lg font-bold">1</div>
                            </div>
                            <div class="flex items-center justify-between">
                                <div class="flex items-center space-x-3">
                                    <img src="https://via.placeholder.com/30" alt="Team Logo" class="h-8">
                                    <span class="font-medium">Man Utd</span>
                                </div>
                                <div class="text-lg font-bold">1</div>
                            </div>
                        </div>
                        <div class="bg-gray-100 px-4 py-2 text-sm">
                            <div class="flex justify-between">
                                <span>Villa Park</span>
                                <span class="text-red-600 font-bold">LIVE</span>
                            </div>
                        </div>
                    </div>
                    
                    <div class="bg-white rounded-lg shadow-md overflow-hidden border-t-4 border-blue-600">
                        <div class="p-4">
                            <div class="flex justify-between items-center mb-2">
                                <span class="text-sm text-gray-500">Matchweek 24 • Sun, 11 Feb</span>
                                <span class="text-xs bg-gray-200 px-2 py-1 rounded">Premier League</span>
                            </div>
                            <div class="flex items-center justify-between mb-2">
                                <div class="flex items-center space-x-3">
                                    <img src="https://via.placeholder.com/30" alt="Team Logo" class="h-8">
                                    <span class="font-medium">Chelsea</span>
                                </div>
                                <div class="text-lg font-bold text-gray-400">-</div>
                            </div>
                            <div class="flex items-center justify-between">
                                <div class="flex items-center space-x-3">
                                    <img src="https://via.placeholder.com/30" alt="Team Logo" class="h-8">
                                    <span class="font-medium">Man City</span>
                                </div>
                                <div class="text-lg font-bold text-gray-400">-</div>
                            </div>
                        </div>
                        <div class="bg-gray-100 px-4 py-2 text-sm">
                            <div class="flex justify-between">
                                <span>Stamford Bridge</span>
                                <span>14:00 GMT</span>
                            </div>
                        </div>
                    </div>
                    
                    <div class="bg-white rounded-lg shadow-md overflow-hidden border-t-4 border-blue-600">
                        <div class="p-4">
                            <div class="flex justify-between items-center mb-2">
                                <span class="text-sm text-gray-500">Matchweek 24 • Sat, 10 Feb</span>
                                <span class="text-xs bg-gray-200 px-2 py-1 rounded">Premier League</span>
                            </div>
                            <div class="flex items-center justify-between mb-2">
                                <div class="flex items-center space-x-3">
                                    <img src="https://via.placeholder.com/30" alt="Team Logo" class="h-8">
                                    <span class="font-medium">Liverpool</span>
                                </div>
                                <div class="text-lg font-bold">3</div>
                            </div>
                            <div class="flex items-center justify-between">
                                <div class="flex items-center space-x-3">
                                    <img src="https://via.placeholder.com/30" alt="Team Logo" class="h-8">
                                    <span class="font-medium">Burnley</span>
                                </div>
                                <div class="text-lg font-bold">1</div>
                            </div>
                        </div>
                        <div class="bg-gray-100 px-4 py-2 text-sm">
                            <div class="flex justify-between">
                                <span>Anfield</span>
                                <span>FT</span>
                            </div>
                        </div>
                    </div>
                    
                    <div class="bg-white rounded-lg shadow-md overflow-hidden border-t-4 border-blue-600">
                        <div class="p-4">
                            <div class="flex justify-between items-center mb-2">
                                <span class="text-sm text-gray-500">Matchweek 24 • Sat, 10 Feb</span>
                                <span class="text-xs bg-gray-200 px-2 py-1 rounded">Premier League</span>
                            </div>
                            <div class="flex items-center justify-between mb-2">
                                <div class="flex items-center space-x-3">
                                    <img src="https://via.placeholder.com/30" alt="Team Logo" class="h-8">
                                    <span class="font-medium">Newcastle</span>
                                </div>
                                <div class="text-lg font-bold">2</div>
                            </div>
                            <div class="flex items-center justify-between">
                                <div class="flex items-center space-x-3">
                                    <img src="https://via.placeholder.com/30" alt="Team Logo" class="h-8">
                                    <span class="font-medium">Bournemouth</span>
                                </div>
                                <div class="text-lg font-bold">2</div>
                            </div>
                        </div>
                        <div class="bg-gray-100 px-4 py-2 text-sm">
                            <div class="flex justify-between">
                                <span>St. James' Park</span>
                                <span>FT</span>
                            </div>
                        </div>
                    </div>
                    
                    <div class="bg-white rounded-lg shadow-md overflow-hidden border-t-4 border-blue-600">
                        <div class="p-4">
                            <div class="flex justify-between items-center mb-2">
                                <span class="text-sm text-gray-500">Matchweek 24 • Mon, 12 Feb</span>
                                <span class="text-xs bg-gray-200 px-2 py-1 rounded">Premier League</span>
                            </div>
                            <div class="flex items-center justify-between mb-2">
                                <div class="flex items-center space-x-3">
                                    <img src="https://via.placeholder.com/30" alt="Team Logo" class="h-8">
                                    <span class="font-medium">Tottenham</span>
                                </div>
                                <div class="text-lg font-bold text-gray-400">-</div>
                            </div>
                            <div class="flex items-center justify-between">
                                <div class="flex items-center space-x-3">
                                    <img src="https://via.placeholder.com/30" alt="Team Logo" class="h-8">
                                    <span class="font-medium">Brighton</span>
                                </div>
                                <div class="text-lg font-bold text-gray-400">-</div>
                            </div>
                        </div>
                        <div class="bg-gray-100 px-4 py-2 text-sm">
                            <div class="flex justify-between">
                                <span>Tottenham Hotspur Stadium</span>
                                <span>20:00 GMT</span>
                            </div>
                        </div>
                    </div>
                </div>
                
                <div class="mt-8 text-center">
                    <button class="bg-blue-600 hover:bg-blue-700 text-white font-medium py-2 px-6 rounded-full">
                        View Full Schedule <i class="fas fa-calendar-alt ml-2"></i>
                    </button>
                </div>
            </div>
        </section>

        <!-- League Table Section -->
        <section id="table" class="container mx-auto px-4 py-12">
            <h2 class="text-3xl font-bold mb-8 text-center">League Table</h2>
            
            <div class="flex justify-center mb-6">
                <div class="inline-flex rounded-md shadow-sm" role="group">
                    <button type="button" class="px-4 py-2 text-sm font-medium text-blue-700 bg-blue-100 rounded-l-lg hover:bg-blue-200 focus:z-10 focus:ring-2 focus:ring-blue-700">
                        2023/24
                    </button>
                    <button type="button" class="px-4 py-2 text-sm font-medium text-white bg-blue-700 hover:bg-blue-800 focus:z-10 focus:ring-2 focus:ring-blue-700">
                        Current
                    </button>
                    <button type="button" class="px-4 py-2 text-sm font-medium text-blue-700 bg-blue-100 rounded-r-lg hover:bg-blue-200 focus:z-10 focus:ring-2 focus:ring-blue-700">
                        2022/23
                    </button>
                </div>
            </div>
            
            <div class="overflow-x-auto">
                <table class="min-w-full bg-white shadow-md rounded-lg overflow-hidden">
                    <thead class="bg-blue-900 text-white">
                        <tr>
                            <th class="py-3 px-4 text-left">#</th>
                            <th class="py-3 px-4 text-left">Team</th>
                            <th class="py-3 px-4 text-center">MP</th>
                            <th class="py-3 px-4 text-center">W</th>
                            <th class="py-3 px-4 text-center">D</th>
                            <th class="py-3 px-4 text-center">L</th>
                            <th class="py-3 px-4 text-center">GF</th>
                            <th class="py-3 px-4 text-center">GA</th>
                            <th class="py-3 px-4 text-center">GD</th>
                            <th class="py-3 px-4 text-center">Pts</th>
                            <th class="py-3 px-4 text-center">Form</th>
                        </tr>
                    </thead>
                    <tbody class="divide-y divide-gray-200">
                        <tr class="bg-blue-50">
                            <td class="py-3 px-4 font-bold">1</td>
                            <td class="py-3 px-4">
                                <div class="flex items-center">
                                    <img src="https://via.placeholder.com/20" alt="Team Logo" class="h-6 mr-2">
                                    <span>Liverpool</span>
                                </div>
                            </td>
                            <td class="py-3 px-4 text-center">23</td>
                            <td class="py-3 px-4 text-center">16</td>
                            <td class="py-3 px-4 text-center">5</td>
                            <td class="py-3 px-4 text-center">2</td>
                            <td class="py-3 px-4 text-center">53</td>
                            <td class="py-3 px-4 text-center">22</td>
                            <td class="py-3 px-4 text-center font-bold">+31</td>
                            <td class="py-3 px-4 text-center font-bold">53</td>
                            <td class="py-3 px-4 text-center">
                                <div class="flex space-x-1 justify-center">
                                    <span class="w-5 h-5 flex items-center justify-center bg-green-500 text-white rounded-full text-xs">W</span>
                                    <span class="w-5 h-5 flex items-center justify-center bg-green-500 text-white rounded-full text-xs">W</span>
                                    <span class="w-5 h-5 flex items-center justify-center bg-gray-500 text-white rounded-full text-xs">D</span>
                                    <span class="w-5 h-5 flex items-center justify-center bg-green-500 text-white rounded-full text-xs">W</span>
                                    <span class="w-5 h-5 flex items-center justify-center bg-green-500 text-white rounded-full text-xs">W</span>
                                </div>
                            </td>
                        </tr>
                        <tr>
                            <td class="py-3 px-4 font-bold">2</td>
                            <td class="py-3 px-4">
                                <div class="flex items-center">
                                    <img src="https://via.placeholder.com/20" alt="Team Logo" class="h-6 mr-2">
                                    <span>Man City</span>
                                </div>
                            </td>
                            <td class="py-3 px-4 text-center">23</td>
                            <td class="py-3 px-4 text-center">15</td>
                            <td class="py-3 px-4 text-center">4</td>
                            <td class="py-3 px-4 text-center">4</td>
                            <td class="py-3 px-4 text-center">52</td>
                            <td class="py-3 px-4 text-center">23</td>
                            <td class="py-3 px-4 text-center font-bold">+29</td>
                            <td class="py-3 px-4 text-center font-bold">49</td>
                            <td class="py-3 px-4 text-center">
                                <div class="flex space-x-1 justify-center">
                                    <span class="w-5 h-5 flex items-center justify-center bg-green-500 text-white rounded-full text-xs">W</span>
                                    <span class="w-5 h-5 flex items-center justify-center bg-green-500 text-white rounded-full text-xs">W</span>
                                    <span class="w-5 h-5 flex items-center justify-center bg-green-500 text-white rounded-full text-xs">W</span>
                                    <span class="w-5 h-5 flex items-center justify-center bg-red-500 text-white rounded-full text-xs">L</span>
                                    <span class="w-5 h-5 flex items-center justify-center bg-green-500 text-white rounded-full text-xs">W</span>
                                </div>
                            </td>
                        </tr>
                        <tr class="bg-blue-50">
                            <td class="py-3 px-4 font-bold">3</td>
                            <td class="py-3 px-4">
                                <div class="flex items-center">
                                    <img src="https://via.placeholder.com/20" alt="Team Logo" class="h-6 mr-2">
                                    <span>Arsenal</span>
                                </div>
                            </td>
                            <td class="py-3 px-4 text-center">23</td>
                            <td class="py-3 px-4 text-center">15</td>
                            <td class="py-3 px-4 text-center">4</td>
                            <td class="py-3 px-4 text-center">4</td>
                            <td class="py-3 px-4 text-center">48</td>
                            <td class="py-3 px-4 text-center">23</td>
                            <td class="py-3 px-4 text-center font-bold">+25</td>
                            <td class="py-3 px-4 text-center font-bold">49</td>
                            <td class="py-3 px-4 text-center">
                                <div class="flex space-x-1 justify-center">
                                    <span class="w-5 h-5 flex items-center justify-center bg-green-500 text-white rounded-full text-xs">W</span>
                                    <span class="w-5 h-5 flex items-center justify-center bg-green-500 text-white rounded-full text-xs">W</span>
                                    <span class="w-5 h-5 flex items-center justify-center bg-green-500 text-white rounded-full text-xs">W</span>
                                    <span class="w-5 h-5 flex items-center justify-center bg-red-500 text-white rounded-full text-xs">L</span>
                                    <span class="w-5 h-5 flex items-center justify-center bg-green-500 text-white rounded-full text-xs">W</span>
                                </div>
                            </td>
                        </tr>
                        <tr>
                            <td class="py-3 px-4 font-bold">4</td>
                            <td class="py-3 px-4">
                                <div class="flex items-center">
                                    <img src="https://via.placeholder.com/20" alt="Team Logo" class="h-6 mr-2">
                                    <span>Aston Villa</span>
                                </div>
                            </td>
                            <td class="py-3 px-4 text-center">23</td>
                            <td class="py-3 px-4 text-center">14</td>
                            <td class="py-3 px-4 text-center">4</td>
                            <td class="py-3 px-4 text-center">5</td>
                            <td class="py-3 px-4 text-center">49</td>
                            <td class="py-3 px-4 text-center">30</td>
                            <td class="py-3 px-4 text-center font-bold">+19</td>
                            <td class="py-3 px-4 text-center font-bold">46</td>
                            <td class="py-3 px-4 text-center">
                                <div class="flex space-x-1 justify-center">
                                    <span class="w-5 h-5 flex items-center justify-center bg-red-500 text-white rounded-full text-xs">L</span>
                                    <span class="w-5 h-5 flex items-center justify-center bg-green-500 text-white rounded-full text-xs">W</span>
                                    <span class="w-5 h-5 flex items-center justify-center bg-green-500 text-white rounded-full text-xs">W</span>
                                    <span class="w-5 h-5 flex items-center justify-center bg-red-500 text-white rounded-full text-xs">L</span>
                                    <span class="w-5 h-5 flex items-center justify-center bg-green-500 text-white rounded-full text-xs">W</span>
                                </div>
                            </td>
                        </tr>
                        <tr class="bg-blue-50">
                            <td class="py-3 px-4 font-bold">5</td>
                            <td class="py-3 px-4">
                                <div class="flex items-center">
                                    <img src="https://via.placeholder.com/20" alt="Team Logo" class="h-6 mr-2">
                                    <span>Tottenham</span>
                                </div>
                            </td>
                            <td class="py-3 px-4 text-center">24</td>
                            <td class="py-3 px-4 text-center">13</td>
                            <td class="py-3 px-4 text-center">5</td>
                            <td class="py-3 px-4 text-center">6</td>
                            <td class="py-3 px-4 text-center">49</td>
                            <td class="py-3 px-4 text-center">35</td>
                            <td class="py-3 px-4 text-center font-bold">+14</td>
                            <td class="py-3 px-4 text-center font-bold">44</td>
                            <td class="py-3 px-4 text-center">
                                <div class="flex space-x-1 justify-center">
                                    <span class="w-5 h-5 flex items-center justify-center bg-green-500 text-white rounded-full text-xs">W</span>
                                    <span class="w-5 h-5 flex items-center justify-center bg-red-500 text-white rounded-full text-xs">L</span>
                                    <span class="w-5 h-5 flex items-center justify-center bg-green-500 text-white rounded-full text-xs">W</span>
                                    <span class="w-5 h-5 flex items-center justify-center bg-green-500 text-white rounded-full text-xs">W</span>
                                    <span class="w-5 h-5 flex items-center justify-center bg-red-500 text-white rounded-full text-xs">L</span>
                                </div>
                            </td>
                        </tr>
                        <tr>
                            <td class="py-3 px-4 font-bold">6</td>
                            <td class="py-3 px-4">
                                <div class="flex items-center">
                                    <img src="https://via.placeholder.com/20" alt="Team Logo" class="h-6 mr-2">
                                    <span>Man United</span>
                                </div>
                            </td>
                            <td class="py-3 px-4 text-center">23</td>
                            <td class="py-3 px-4 text-center">13</td>
                            <td class="py-3 px-4 text-center">2</td>
                            <td class="py-3 px-4 text-center">8</td>
                            <td class="py-3 px-4 text-center">33</td>
                            <td class="py-3 px-4 text-center">31</td>
                            <td class="py-3 px-4 text-center font-bold">+2</td>
                            <td class="py-3 px-4 text-center font-bold">41</td>
                            <td class="py-3 px-4 text-center">
                                <div class="flex space-x-1 justify-center">
                                    <span class="w-5 h-5 flex items-center justify-center bg-green-500 text-white rounded-full text-xs">W</span>
                                    <span class="w-5 h-5 flex items-center justify-center bg-red-500 text-white rounded-full text-xs">L</span>
                                    <span class="w-5 h-5 flex items-center justify-center bg-red-500 text-white rounded-full text-xs">L</span>
                                    <span class="w-5 h-5 flex items-center justify-center bg-green-500 text-white rounded-full text-xs">W</span>
                                    <span class="w-5 h-5 flex items-center justify-center bg-green-500 text-white rounded-full text-xs">W</span>
                                </div>
                            </td>
                        </tr>
                        <tr class="bg-blue-50">
                            <td class="py-3 px-4 font-bold">7</td>
                            <td class="py-3 px-4">
                                <div class="flex items-center">
                                    <img src="https://via.placeholder.com/20" alt="Team Logo" class="h-6 mr-2">
                                    <span>Newcastle</span>
                                </div>
                            </td>
                            <td class="py-3 px-4 text-center">24</td>
                            <td class="py-3 px-4 text-center">11</td>
                            <td class="py-3 px-4 text-center">3</td>
            <script>
                // Toggle mobile menu
                document.getElementById('mobile-menu-button').addEventListener('click', function() {
                    const menu = document.getElementById('mobile-menu');
                    menu.classList.toggle('hidden');
                });

                // Toggle admin panel
                document.getElementById('admin-toggle').addEventListener('click', function() {
                    const adminPanel = document.getElementById('admin-panel');
                    adminPanel.classList.toggle('open');
                    
                    // Toggle admin button highlight
                    this.classList.toggle('bg-yellow-500');
                    this.classList.toggle('bg-red-600');
                });

                // Team management buttons
                document.getElementById('add-team-btn').addEventListener('click', function() {
                    document.getElementById('team-form').classList.toggle('hidden');
                });
                
                document.getElementById('edit-team-btn').addEventListener('click', function() {
                    document.getElementById('team-form').classList.toggle('hidden');
                });
                
                document.getElementById('delete-team-btn').addEventListener('click', function() {
                    alert('Delete team functionality would go here');
                });

                // Match management buttons
                document.getElementById('add-match-btn').addEventListener('click', function() {
                    document.getElementById('match-form').classList.toggle('hidden');
                });
                
                document.getElementById('edit-match-btn').addEventListener('click', function() {
                    document.getElementById('match-form').classList.toggle('hidden');
                });
                
                document.getElementById('delete-match-btn').addEventListener('click', function() {
                    alert('Delete match functionality would go here');
                });

                // News management buttons
                document.getElementById('add-news-btn').addEventListener('click', function() {
                    document.getElementById('news-form').classList.toggle('hidden');
                });
                
                document.getElementById('edit-news-btn').addEventListener('click', function() {
                    document.getElementById('news-form').classList.toggle('hidden');
                });
                
                document.getElementById('delete-news-btn').addEventListener('click', function() {
                    alert('Delete news functionality would go here');
                });

                // Simulate admin login for demo (normally this would be server-side)
                setTimeout(function() {
                    document.getElementById('admin-toggle').classList.remove('hidden');
                }, 1500);
            </script>
        </div>
    </div>
<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=Ivanovivan0/new-epl" style="color: #fff;text-decoration: underline;" target="_blank" >Remix</a></p></body>
</html>