File size: 44,742 Bytes
c99c420
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Deflook Academy - Basketball Training</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>
        @import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');
        
        body {
            font-family: 'Poppins', sans-serif;
            background-color: #f8f9fa;
        }
        
        .basketball-bg {
            background: linear-gradient(135deg, #6b21a8 0%, #1e1b4b 100%);
        }
        
        .basketball-icon {
            color: #f59e0b;
        }
        
        .video-thumbnail {
            position: relative;
            padding-bottom: 56.25%; /* 16:9 aspect ratio */
            background-color: #000;
        }
        
        .video-thumbnail::before {
            content: "";
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            width: 60px;
            height: 60px;
            background-color: rgba(255, 255, 255, 0.8);
            border-radius: 50%;
            z-index: 1;
        }
        
        .video-thumbnail::after {
            content: "\f144";
            font-family: "Font Awesome 6 Free";
            font-weight: 900;
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            color: #6b21a8;
            font-size: 24px;
            z-index: 2;
        }
        
        .progress-ring {
            transform: rotate(-90deg);
        }
        
        .progress-ring__circle {
            transition: stroke-dashoffset 0.5s;
            stroke-linecap: round;
        }
        
        .chat-bubble {
            max-width: 80%;
            border-radius: 1rem;
            padding: 0.75rem;
            margin-bottom: 0.5rem;
        }
        
        .chat-bubble.user {
            background-color: #6b21a8;
            color: white;
            margin-left: auto;
            border-bottom-right-radius: 0.25rem;
        }
        
        .chat-bubble.coach {
            background-color: #e9d5ff;
            color: #4c1d95;
            margin-right: auto;
            border-bottom-left-radius: 0.25rem;
        }
        
        .tab-active {
            border-bottom: 3px solid #6b21a8;
            color: #6b21a8;
            font-weight: 600;
        }
    </style>
</head>
<body class="min-h-screen">
    <!-- Auth Screens -->
    <div id="auth-screen" class="fixed inset-0 z-50 flex flex-col items-center justify-center basketball-bg text-white transition-all duration-300">
        <div class="w-full max-w-md px-6 py-8">
            <div class="flex flex-col items-center mb-8">
                <div class="w-20 h-20 rounded-full bg-white flex items-center justify-center mb-4">
                    <i class="fas fa-basketball-ball text-4xl basketball-icon"></i>
                </div>
                <h1 class="text-3xl font-bold">Deflook Academy</h1>
                <p class="text-purple-200 mt-2">Elevate your basketball skills</p>
            </div>
            
            <!-- Login Form -->
            <div id="login-form">
                <div class="mb-4">
                    <label class="block text-purple-100 mb-2">Email</label>
                    <input type="email" class="w-full px-4 py-3 rounded-lg bg-purple-900 bg-opacity-50 border border-purple-700 focus:outline-none focus:ring-2 focus:ring-purple-500">
                </div>
                <div class="mb-6">
                    <label class="block text-purple-100 mb-2">Password</label>
                    <input type="password" class="w-full px-4 py-3 rounded-lg bg-purple-900 bg-opacity-50 border border-purple-700 focus:outline-none focus:ring-2 focus:ring-purple-500">
                </div>
                <button class="w-full bg-purple-600 hover:bg-purple-700 text-white font-bold py-3 px-4 rounded-lg transition duration-200 mb-4">
                    Sign In
                </button>
                <div class="flex justify-between items-center mb-6">
                    <div class="flex items-center">
                        <input type="checkbox" id="remember" class="mr-2">
                        <label for="remember" class="text-purple-200 text-sm">Remember me</label>
                    </div>
                    <button id="forgot-password" class="text-purple-300 text-sm hover:text-white">Forgot password?</button>
                </div>
                <div class="relative mb-6">
                    <div class="absolute inset-0 flex items-center">
                        <div class="w-full border-t border-purple-700"></div>
                    </div>
                    <div class="relative flex justify-center text-sm">
                        <span class="px-2 bg-purple-900 text-purple-300">Or continue with</span>
                    </div>
                </div>
                <div class="flex justify-center space-x-4 mb-6">
                    <button class="w-12 h-12 rounded-full bg-white flex items-center justify-center text-gray-800 hover:bg-gray-100 transition">
                        <i class="fab fa-google text-xl"></i>
                    </button>
                    <button class="w-12 h-12 rounded-full bg-white flex items-center justify-center text-gray-800 hover:bg-gray-100 transition">
                        <i class="fab fa-apple text-xl"></i>
                    </button>
                </div>
                <div class="text-center">
                    <p class="text-purple-200">Don't have an account? <button id="show-register" class="text-white font-medium hover:underline">Sign up</button></p>
                </div>
            </div>
            
            <!-- Register Form (hidden by default) -->
            <div id="register-form" class="hidden">
                <div class="mb-4">
                    <label class="block text-purple-100 mb-2">Full Name</label>
                    <input type="text" class="w-full px-4 py-3 rounded-lg bg-purple-900 bg-opacity-50 border border-purple-700 focus:outline-none focus:ring-2 focus:ring-purple-500">
                </div>
                <div class="mb-4">
                    <label class="block text-purple-100 mb-2">Email</label>
                    <input type="email" class="w-full px-4 py-3 rounded-lg bg-purple-900 bg-opacity-50 border border-purple-700 focus:outline-none focus:ring-2 focus:ring-purple-500">
                </div>
                <div class="mb-4">
                    <label class="block text-purple-100 mb-2">Password</label>
                    <input type="password" class="w-full px-4 py-3 rounded-lg bg-purple-900 bg-opacity-50 border border-purple-700 focus:outline-none focus:ring-2 focus:ring-purple-500">
                </div>
                <div class="mb-6">
                    <label class="block text-purple-100 mb-2">Account Type</label>
                    <div class="flex space-x-4">
                        <label class="flex items-center">
                            <input type="radio" name="account-type" value="student" class="mr-2" checked>
                            <span class="text-purple-200">Student</span>
                        </label>
                        <label class="flex items-center">
                            <input type="radio" name="account-type" value="coach" class="mr-2">
                            <span class="text-purple-200">Coach</span>
                        </label>
                    </div>
                </div>
                <button class="w-full bg-purple-600 hover:bg-purple-700 text-white font-bold py-3 px-4 rounded-lg transition duration-200 mb-4">
                    Create Account
                </button>
                <div class="text-center">
                    <p class="text-purple-200">Already have an account? <button id="show-login" class="text-white font-medium hover:underline">Sign in</button></p>
                </div>
            </div>
            
            <!-- Forgot Password Form (hidden by default) -->
            <div id="forgot-password-form" class="hidden">
                <div class="mb-6 text-center">
                    <h2 class="text-2xl font-bold mb-2">Forgot Password?</h2>
                    <p class="text-purple-200">Enter your email to receive a reset link</p>
                </div>
                <div class="mb-6">
                    <label class="block text-purple-100 mb-2">Email</label>
                    <input type="email" class="w-full px-4 py-3 rounded-lg bg-purple-900 bg-opacity-50 border border-purple-700 focus:outline-none focus:ring-2 focus:ring-purple-500">
                </div>
                <button class="w-full bg-purple-600 hover:bg-purple-700 text-white font-bold py-3 px-4 rounded-lg transition duration-200 mb-4">
                    Send Reset Link
                </button>
                <div class="text-center">
                    <button id="back-to-login" class="text-white font-medium hover:underline">Back to Sign In</button>
                </div>
            </div>
        </div>
    </div>
    
    <!-- Main App (hidden until login) -->
    <div id="app-container" class="hidden">
        <!-- Header -->
        <header class="basketball-bg text-white p-4 shadow-md">
            <div class="flex justify-between items-center">
                <div class="flex items-center space-x-3">
                    <i class="fas fa-basketball-ball text-xl basketball-icon"></i>
                    <h1 class="text-xl font-bold">Deflook Academy</h1>
                </div>
                <div class="flex items-center space-x-4">
                    <button class="relative">
                        <i class="fas fa-bell text-xl"></i>
                        <span class="absolute -top-1 -right-1 w-4 h-4 bg-red-500 rounded-full text-xs flex items-center justify-center">3</span>
                    </button>
                    <button id="logout-btn">
                        <i class="fas fa-sign-out-alt text-xl"></i>
                    </button>
                </div>
            </div>
        </header>
        
        <!-- Main Content -->
        <main class="pb-20">
            <!-- Student Dashboard -->
            <div id="student-dashboard">
                <!-- Stats Overview -->
                <div class="p-4 bg-white shadow-sm">
                    <h2 class="text-xl font-bold mb-4 text-gray-800">My Progress</h2>
                    <div class="grid grid-cols-3 gap-4">
                        <div class="bg-purple-50 rounded-lg p-3 text-center">
                            <div class="relative w-16 h-16 mx-auto mb-2">
                                <svg class="w-full h-full" viewBox="0 0 36 36">
                                    <path
                                        d="M18 2.0845
                                            a 15.9155 15.9155 0 0 1 0 31.831
                                            a 15.9155 15.9155 0 0 1 0 -31.831"
                                        fill="none"
                                        stroke="#e9d5ff"
                                        stroke-width="3"
                                        stroke-dasharray="100, 100"
                                    />
                                    <path
                                        d="M18 2.0845
                                            a 15.9155 15.9155 0 0 1 0 31.831
                                            a 15.9155 15.9155 0 0 1 0 -31.831"
                                        fill="none"
                                        stroke="#6b21a8"
                                        stroke-width="3"
                                        stroke-dasharray="75, 100"
                                        class="progress-ring__circle"
                                    />
                                    <text x="18" y="20.5" text-anchor="middle" fill="#6b21a8" font-size="8" font-weight="bold">75%</text>
                                </svg>
                            </div>
                            <p class="text-sm font-medium text-gray-700">Shooting</p>
                        </div>
                        <div class="bg-purple-50 rounded-lg p-3 text-center">
                            <div class="relative w-16 h-16 mx-auto mb-2">
                                <svg class="w-full h-full" viewBox="0 0 36 36">
                                    <path
                                        d="M18 2.0845
                                            a 15.9155 15.9155 0 0 1 0 31.831
                                            a 15.9155 15.9155 0 0 1 0 -31.831"
                                        fill="none"
                                        stroke="#e9d5ff"
                                        stroke-width="3"
                                        stroke-dasharray="100, 100"
                                    />
                                    <path
                                        d="M18 2.0845
                                            a 15.9155 15.9155 0 0 1 0 31.831
                                            a 15.9155 15.9155 0 0 1 0 -31.831"
                                        fill="none"
                                        stroke="#6b21a8"
                                        stroke-width="3"
                                        stroke-dasharray="60, 100"
                                        class="progress-ring__circle"
                                    />
                                    <text x="18" y="20.5" text-anchor="middle" fill="#6b21a8" font-size="8" font-weight="bold">60%</text>
                                </svg>
                            </div>
                            <p class="text-sm font-medium text-gray-700">Dribbling</p>
                        </div>
                        <div class="bg-purple-50 rounded-lg p-3 text-center">
                            <div class="relative w-16 h-16 mx-auto mb-2">
                                <svg class="w-full h-full" viewBox="0 0 36 36">
                                    <path
                                        d="M18 2.0845
                                            a 15.9155 15.9155 0 0 1 0 31.831
                                            a 15.9155 15.9155 0 0 1 0 -31.831"
                                        fill="none"
                                        stroke="#e9d5ff"
                                        stroke-width="3"
                                        stroke-dasharray="100, 100"
                                    />
                                    <path
                                        d="M18 2.0845
                                            a 15.9155 15.9155 0 0 1 0 31.831
                                            a 15.9155 15.9155 0 0 1 0 -31.831"
                                        fill="none"
                                        stroke="#6b21a8"
                                        stroke-width="3"
                                        stroke-dasharray="45, 100"
                                        class="progress-ring__circle"
                                    />
                                    <text x="18" y="20.5" text-anchor="middle" fill="#6b21a8" font-size="8" font-weight="bold">45%</text>
                                </svg>
                            </div>
                            <p class="text-sm font-medium text-gray-700">Defense</p>
                        </div>
                    </div>
                </div>
                
                <!-- Video Feed -->
                <div class="p-4">
                    <div class="flex justify-between items-center mb-4">
                        <h2 class="text-xl font-bold text-gray-800">Recent Videos</h2>
                        <button id="upload-video-btn" class="bg-purple-600 hover:bg-purple-700 text-white px-4 py-2 rounded-lg text-sm font-medium flex items-center">
                            <i class="fas fa-plus mr-2"></i> New Video
                        </button>
                    </div>
                    
                    <div class="space-y-4">
                        <!-- Video Item 1 -->
                        <div class="bg-white rounded-lg shadow overflow-hidden">
                            <div class="video-thumbnail">
                                <!-- Thumbnail would be here -->
                            </div>
                            <div class="p-3">
                                <div class="flex justify-between items-start">
                                    <div>
                                        <h3 class="font-medium text-gray-800">Shooting Drills - 3 Pointers</h3>
                                        <p class="text-sm text-gray-500">Uploaded 2 days ago</p>
                                    </div>
                                    <span class="bg-purple-100 text-purple-800 text-xs px-2 py-1 rounded">Shooting</span>
                                </div>
                                <div class="mt-3 flex items-center">
                                    <div class="flex items-center mr-4">
                                        <i class="fas fa-star text-yellow-400 mr-1"></i>
                                        <span class="text-sm font-medium">4.5</span>
                                    </div>
                                    <button class="text-purple-600 text-sm font-medium flex items-center">
                                        <i class="fas fa-comment-alt mr-1"></i> View Feedback
                                    </button>
                                </div>
                            </div>
                        </div>
                        
                        <!-- Video Item 2 -->
                        <div class="bg-white rounded-lg shadow overflow-hidden">
                            <div class="video-thumbnail">
                                <!-- Thumbnail would be here -->
                            </div>
                            <div class="p-3">
                                <div class="flex justify-between items-start">
                                    <div>
                                        <h3 class="font-medium text-gray-800">Crossover Practice</h3>
                                        <p class="text-sm text-gray-500">Uploaded 5 days ago</p>
                                    </div>
                                    <span class="bg-purple-100 text-purple-800 text-xs px-2 py-1 rounded">Dribbling</span>
                                </div>
                                <div class="mt-3 flex items-center">
                                    <div class="flex items-center mr-4">
                                        <i class="fas fa-star text-yellow-400 mr-1"></i>
                                        <span class="text-sm font-medium">3.8</span>
                                    </div>
                                    <button class="text-purple-600 text-sm font-medium flex items-center">
                                        <i class="fas fa-comment-alt mr-1"></i> View Feedback
                                    </button>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
            
            <!-- Coach Dashboard (hidden by default) -->
            <div id="coach-dashboard" class="hidden">
                <!-- Students List -->
                <div class="p-4">
                    <h2 class="text-xl font-bold mb-4 text-gray-800">My Students</h2>
                    <div class="bg-white rounded-lg shadow overflow-hidden">
                        <!-- Student 1 -->
                        <div class="p-3 border-b border-gray-100 flex items-center">
                            <div class="w-10 h-10 rounded-full bg-purple-100 flex items-center justify-center mr-3">
                                <span class="text-purple-800 font-medium">JD</span>
                            </div>
                            <div class="flex-1">
                                <h3 class="font-medium text-gray-800">John Doe</h3>
                                <p class="text-sm text-gray-500">3 new videos</p>
                            </div>
                            <button class="text-purple-600">
                                <i class="fas fa-chevron-right"></i>
                            </button>
                        </div>
                        
                        <!-- Student 2 -->
                        <div class="p-3 border-b border-gray-100 flex items-center">
                            <div class="w-10 h-10 rounded-full bg-purple-100 flex items-center justify-center mr-3">
                                <span class="text-purple-800 font-medium">AS</span>
                            </div>
                            <div class="flex-1">
                                <h3 class="font-medium text-gray-800">Alex Smith</h3>
                                <p class="text-sm text-gray-500">1 new video</p>
                            </div>
                            <button class="text-purple-600">
                                <i class="fas fa-chevron-right"></i>
                            </button>
                        </div>
                        
                        <!-- Student 3 -->
                        <div class="p-3 flex items-center">
                            <div class="w-10 h-10 rounded-full bg-purple-100 flex items-center justify-center mr-3">
                                <span class="text-purple-800 font-medium">MJ</span>
                            </div>
                            <div class="flex-1">
                                <h3 class="font-medium text-gray-800">Mike Johnson</h3>
                                <p class="text-sm text-gray-500">No new videos</p>
                            </div>
                            <button class="text-purple-600">
                                <i class="fas fa-chevron-right"></i>
                            </button>
                        </div>
                    </div>
                </div>
                
                <!-- Recent Videos -->
                <div class="p-4">
                    <h2 class="text-xl font-bold mb-4 text-gray-800">Recent Videos to Review</h2>
                    
                    <div class="space-y-4">
                        <!-- Video Item 1 -->
                        <div class="bg-white rounded-lg shadow overflow-hidden">
                            <div class="video-thumbnail">
                                <!-- Thumbnail would be here -->
                            </div>
                            <div class="p-3">
                                <div class="flex justify-between items-start mb-2">
                                    <h3 class="font-medium text-gray-800">Shooting Drills - 3 Pointers</h3>
                                    <span class="bg-purple-100 text-purple-800 text-xs px-2 py-1 rounded">Shooting</span>
                                </div>
                                <div class="flex items-center text-sm text-gray-500 mb-3">
                                    <span>John Doe</span>
                                    <span class="mx-2">•</span>
                                    <span>2 days ago</span>
                                </div>
                                <div class="flex space-x-2">
                                    <button class="flex-1 bg-purple-600 hover:bg-purple-700 text-white py-2 rounded-lg text-sm font-medium">
                                        <i class="fas fa-play mr-1"></i> Watch
                                    </button>
                                    <button class="flex-1 bg-white border border-purple-600 text-purple-600 py-2 rounded-lg text-sm font-medium">
                                        <i class="fas fa-comment-alt mr-1"></i> Feedback
                                    </button>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
            
            <!-- Video Upload Modal (hidden by default) -->
            <div id="upload-modal" class="fixed inset-0 bg-black bg-opacity-50 z-50 flex items-center justify-center hidden">
                <div class="bg-white rounded-lg w-full max-w-md mx-4">
                    <div class="p-4 border-b border-gray-200">
                        <h3 class="text-lg font-medium text-gray-800">Upload New Video</h3>
                    </div>
                    <div class="p-4">
                        <div class="mb-4">
                            <label class="block text-gray-700 mb-2">Video Title</label>
                            <input type="text" class="w-full px-3 py-2 border border-gray-300 rounded-lg focus:outline-none focus:ring-2 focus:ring-purple-500">
                        </div>
                        <div class="mb-4">
                            <label class="block text-gray-700 mb-2">Category</label>
                            <select class="w-full px-3 py-2 border border-gray-300 rounded-lg focus:outline-none focus:ring-2 focus:ring-purple-500">
                                <option>Shooting</option>
                                <option>Dribbling</option>
                                <option>Defense</option>
                                <option>Footwork</option>
                                <option>Passing</option>
                            </select>
                        </div>
                        <div class="mb-6">
                            <label class="block text-gray-700 mb-2">Upload Video</label>
                            <div class="border-2 border-dashed border-gray-300 rounded-lg p-8 text-center cursor-pointer hover:bg-gray-50 transition">
                                <i class="fas fa-video text-3xl text-gray-400 mb-2"></i>
                                <p class="text-gray-500">Click to browse or drag & drop</p>
                                <p class="text-sm text-gray-400 mt-1">MP4, MOV or AVI (max 100MB)</p>
                            </div>
                        </div>
                        <div class="flex space-x-3">
                            <button id="cancel-upload" class="flex-1 bg-gray-200 hover:bg-gray-300 text-gray-800 py-2 rounded-lg font-medium">
                                Cancel
                            </button>
                            <button class="flex-1 bg-purple-600 hover:bg-purple-700 text-white py-2 rounded-lg font-medium">
                                Upload
                            </button>
                        </div>
                    </div>
                </div>
            </div>
            
            <!-- Feedback Modal (hidden by default) -->
            <div id="feedback-modal" class="fixed inset-0 bg-black bg-opacity-50 z-50 flex items-center justify-center hidden">
                <div class="bg-white rounded-lg w-full max-w-md mx-4 max-h-[80vh] overflow-y-auto">
                    <div class="p-4 border-b border-gray-200 sticky top-0 bg-white">
                        <h3 class="text-lg font-medium text-gray-800">Video Feedback</h3>
                    </div>
                    <div class="p-4">
                        <div class="mb-6">
                            <h4 class="font-medium text-gray-800 mb-2">Shooting Drills - 3 Pointers</h4>
                            <div class="flex items-center text-sm text-gray-500 mb-4">
                                <span>Coach Smith</span>
                                <span class="mx-2">•</span>
                                <span>2 days ago</span>
                            </div>
                            <div class="flex items-center mb-3">
                                <div class="flex mr-2">
                                    <i class="fas fa-star text-yellow-400"></i>
                                    <i class="fas fa-star text-yellow-400"></i>
                                    <i class="fas fa-star text-yellow-400"></i>
                                    <i class="fas fa-star text-yellow-400"></i>
                                    <i class="fas fa-star text-yellow-400"></i>
                                </div>
                                <span class="text-sm font-medium">5.0</span>
                            </div>
                            <div class="bg-purple-50 p-3 rounded-lg">
                                <p class="text-gray-800">Great improvement on your shooting form! Your elbow is now properly aligned under the ball. Next focus on maintaining consistent follow-through on every shot. Also, try to jump straight up and down to improve accuracy.</p>
                            </div>
                        </div>
                        
                        <div class="mb-6">
                            <h4 class="font-medium text-gray-800 mb-2">Demonstration Video</h4>
                            <div class="video-thumbnail mb-3 rounded-lg overflow-hidden">
                                <!-- Thumbnail would be here -->
                            </div>
                            <div class="bg-purple-50 p-3 rounded-lg">
                                <p class="text-gray-800">Here's a demonstration of proper shooting technique. Notice how I hold the follow-through until the ball reaches the basket. This helps with consistency.</p>
                            </div>
                        </div>
                        
                        <div class="border-t border-gray-200 pt-4">
                            <h5 class="font-medium text-gray-800 mb-3">Reply to Coach</h5>
                            <div class="flex space-x-2">
                                <input type="text" placeholder="Type your message..." class="flex-1 px-3 py-2 border border-gray-300 rounded-lg focus:outline-none focus:ring-2 focus:ring-purple-500">
                                <button class="bg-purple-600 hover:bg-purple-700 text-white px-4 py-2 rounded-lg">
                                    <i class="fas fa-paper-plane"></i>
                                </button>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
            
            <!-- Chat Interface (hidden by default) -->
            <div id="chat-interface" class="fixed inset-0 bg-white z-50 hidden flex flex-col">
                <div class="p-4 border-b border-gray-200 flex items-center">
                    <button id="back-from-chat" class="mr-3">
                        <i class="fas fa-arrow-left text-lg"></i>
                    </button>
                    <div class="flex items-center">
                        <div class="w-10 h-10 rounded-full bg-purple-100 flex items-center justify-center mr-3">
                            <span class="text-purple-800 font-medium">CS</span>
                        </div>
                        <div>
                            <h3 class="font-medium">Coach Smith</h3>
                            <p class="text-xs text-gray-500">Online</p>
                        </div>
                    </div>
                </div>
                
                <div class="flex-1 p-4 overflow-y-auto">
                    <div class="space-y-3">
                        <!-- Date separator -->
                        <div class="text-center text-xs text-gray-500 my-4">
                            <span class="bg-gray-100 px-2 py-1 rounded">Today</span>
                        </div>
                        
                        <!-- Coach message -->
                        <div class="chat-bubble coach">
                            <p>Hi John! How's the shooting practice going?</p>
                            <p class="text-xs text-purple-800 mt-1">10:30 AM</p>
                        </div>
                        
                        <!-- User message -->
                        <div class="chat-bubble user">
                            <p>Going well! I've been working on my follow-through like you suggested.</p>
                            <p class="text-xs text-purple-200 mt-1">10:32 AM</p>
                        </div>
                        
                        <!-- Coach message with video -->
                        <div class="chat-bubble coach">
                            <div class="video-thumbnail mb-2 rounded-lg overflow-hidden">
                                <!-- Thumbnail would be here -->
                            </div>
                            <p>Check out this video I made showing the proper technique. Notice the wrist position.</p>
                            <p class="text-xs text-purple-800 mt-1">10:35 AM</p>
                        </div>
                    </div>
                </div>
                
                <div class="p-3 border-t border-gray-200 bg-white">
                    <div class="flex items-center space-x-2">
                        <button class="text-gray-500 hover:text-gray-700">
                            <i class="fas fa-paperclip text-lg"></i>
                        </button>
                        <input type="text" placeholder="Type a message..." class="flex-1 px-3 py-2 border border-gray-300 rounded-full focus:outline-none focus:ring-2 focus:ring-purple-500">
                        <button class="text-purple-600 hover:text-purple-800">
                            <i class="fas fa-paper-plane text-lg"></i>
                        </button>
                    </div>
                </div>
            </div>
        </main>
        
        <!-- Bottom Navigation -->
        <nav class="fixed bottom-0 left-0 right-0 bg-white shadow-lg border-t border-gray-200">
            <div class="flex justify-around">
                <button class="tab-active py-3 px-6 flex flex-col items-center text-xs">
                    <i class="fas fa-home text-lg mb-1"></i>
                    <span>Home</span>
                </button>
                <button class="py-3 px-6 flex flex-col items-center text-gray-500 text-xs">
                    <i class="fas fa-video text-lg mb-1"></i>
                    <span>Videos</span>
                </button>
                <button id="open-chat-btn" class="py-3 px-6 flex flex-col items-center text-gray-500 text-xs">
                    <i class="fas fa-comments text-lg mb-1"></i>
                    <span>Chat</span>
                </button>
                <button class="py-3 px-6 flex flex-col items-center text-gray-500 text-xs">
                    <i class="fas fa-calendar text-lg mb-1"></i>
                    <span>Schedule</span>
                </button>
                <button class="py-3 px-6 flex flex-col items-center text-gray-500 text-xs">
                    <i class="fas fa-user text-lg mb-1"></i>
                    <span>Profile</span>
                </button>
            </div>
        </nav>
    </div>

    <script>
        // Auth screen toggle functionality
        document.getElementById('show-register').addEventListener('click', function() {
            document.getElementById('login-form').classList.add('hidden');
            document.getElementById('register-form').classList.remove('hidden');
            document.getElementById('forgot-password-form').classList.add('hidden');
        });
        
        document.getElementById('show-login').addEventListener('click', function() {
            document.getElementById('register-form').classList.add('hidden');
            document.getElementById('login-form').classList.remove('hidden');
            document.getElementById('forgot-password-form').classList.add('hidden');
        });
        
        document.getElementById('forgot-password').addEventListener('click', function() {
            document.getElementById('login-form').classList.add('hidden');
            document.getElementById('register-form').classList.add('hidden');
            document.getElementById('forgot-password-form').classList.remove('hidden');
        });
        
        document.getElementById('back-to-login').addEventListener('click', function() {
            document.getElementById('login-form').classList.remove('hidden');
            document.getElementById('forgot-password-form').classList.add('hidden');
        });
        
        // Login simulation
        document.querySelector('#login-form button').addEventListener('click', function(e) {
            e.preventDefault();
            // Simulate login
            document.getElementById('auth-screen').classList.add('hidden');
            document.getElementById('app-container').classList.remove('hidden');
            
            // Show student dashboard by default
            document.getElementById('student-dashboard').classList.remove('hidden');
            document.getElementById('coach-dashboard').classList.add('hidden');
        });
        
        // Register simulation
        document.querySelector('#register-form button').addEventListener('click', function(e) {
            e.preventDefault();
            const accountType = document.querySelector('input[name="account-type"]:checked').value;
            
            // Simulate registration
            document.getElementById('auth-screen').classList.add('hidden');
            document.getElementById('app-container').classList.remove('hidden');
            
            // Show appropriate dashboard based on account type
            if (accountType === 'coach') {
                document.getElementById('student-dashboard').classList.add('hidden');
                document.getElementById('coach-dashboard').classList.remove('hidden');
            } else {
                document.getElementById('student-dashboard').classList.remove('hidden');
                document.getElementById('coach-dashboard').classList.add('hidden');
            }
        });
        
        // Logout functionality
        document.getElementById('logout-btn').addEventListener('click', function() {
            document.getElementById('auth-screen').classList.remove('hidden');
            document.getElementById('app-container').classList.add('hidden');
            document.getElementById('login-form').classList.remove('hidden');
            document.getElementById('register-form').classList.add('hidden');
            document.getElementById('forgot-password-form').classList.add('hidden');
        });
        
        // Video upload modal
        document.getElementById('upload-video-btn').addEventListener('click', function() {
            document.getElementById('upload-modal').classList.remove('hidden');
        });
        
        document.getElementById('cancel-upload').addEventListener('click', function() {
            document.getElementById('upload-modal').classList.add('hidden');
        });
        
        // Close modals when clicking outside
        document.getElementById('upload-modal').addEventListener('click', function(e) {
            if (e.target === this) {
                this.classList.add('hidden');
            }
        });
        
        document.getElementById('feedback-modal').addEventListener('click', function(e) {
            if (e.target === this) {
                this.classList.add('hidden');
            }
        });
        
        // View feedback buttons
        const viewFeedbackButtons = document.querySelectorAll('[class*="fa-comment-alt"]');
        viewFeedbackButtons.forEach(button => {
            button.addEventListener('click', function() {
                document.getElementById('feedback-modal').classList.remove('hidden');
            });
        });
        
        // Close feedback modal---

Prompt completo para criação de app de treinador de basquete – Deflook Academy

> Crie um aplicativo mobile (Android e iOS) chamado Deflook Academy, voltado para treinadores de basquete e seus alunos. O app deve ter uma interface esportiva e moderna com paleta de cores em roxo e preto, com elementos temáticos de basquete (bola, cesta, quadra). Utilize uma abordagem responsiva e voltada à usabilidade mobile. A seguir estão os requisitos detalhados:




---

1. Sistema de Cadastro e Login:

Cadastro individual com nome, e-mail, senha e tipo de conta (Aluno ou Treinador).

Login com autenticação segura.

Recuperação de senha.

Suporte a login social (Google, Apple).



---

2. Painel do Aluno:

Tela inicial com feed de vídeos enviados.

Gráficos de desempenho com base nos treinos (barra ou pizza).

Botão para enviar vídeo (gravar na hora ou escolher da galeria).

Categorizar o vídeo: arremesso, drible, defesa, etc.

Acesso ao chat individual com o treinador.

Visualização de feedbacks recebidos.



---

3. Painel do Treinador:

Lista com todos os alunos cadastrados.

Visualização dos vídeos enviados por aluno.

Avaliação dos vídeos com comentários, estrelas ou notas.

Envio de vídeos demonstrativos e mensagens.

Chat individual com cada aluno.

Agenda de treinos presenciais ou virtuais (sincronizável com calendário).

Possibilidade de múltiplos treinadores por aluno (ex: técnico e preparador físico).



---

4. Chat Integrado:

Mensagens em tempo real entre treinador e aluno.

Suporte a texto, vídeo, imagem e áudio.

Notificações de novas mensagens.



---

5. Notificações e Alertas:

Aluno recebe notificação ao receber feedback ou nova mensagem.

Treinador recebe alerta ao receber novo vídeo.



---

6. Design e Interface:

Interface esportiva, moderna, com paleta de roxo, preto e branco.

Layout adaptado para celular (responsivo).

Ícones temáticos de basquete.



---

7. Tecnologia sugerida:

Frontend: React Native ou Flutter.

Backend: Firebase (Auth, Firestore, Storage) ou Supabase.

Armazenamento de vídeo: Firebase Storage ou AWS S3.



---

8. Requisitos Adicionais (opcionais):

Painel web administrativo para treinadores.

Exportação de relatórios de desempenho em PDF.

Suporte futuro a ferramentas de análise de movimento (ex: OpenPose, MediaPipe).



---

9. MVP sugerido (versão mínima viável):

Para o primeiro lançamento e testes iniciais:

Cadastro/Login com autenticação.

Upload e categorização de vídeos.

Chat básico (texto e mídia).

Feedback por comentários.

Notificações básicas.

Feed de vídeos por aluno.
        document.querySelector('#feedback-modal .absolute').addEventListener('click', function() {
            document.getElementById('feedback-modal').classList.add('hidden');
        });
        
        // Chat functionality
        document.getElementById('open-chat-btn').addEventListener('click', function() {
            document.getElementById('chat-interface').classList.remove('hidden');
        });
        
        document.getElementById('back-from-chat').addEventListener('click', function() {
            document.getElementById('chat-interface').classList.add('hidden');
        });
        
        // Tab switching
        const tabs = document.querySelectorAll('nav button');
        tabs.forEach(tab => {
            tab.addEventListener('click', function() {
                tabs.forEach(t => t.classList.remove('tab-active', 'text-purple-600'));
                tabs.forEach(t => t.classList.add('text-gray-500'));
                this.classList.add('tab-active', 'text-purple-600');
                this.classList.remove('text-gray-500');
            });
        });
    </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=Deflook/deflook" style="color: #fff;text-decoration: underline;" target="_blank" >Remix</a></p></body>
</html>