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
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
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Tournament App</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>
        /* Custom animations */
        @keyframes pulse {
            0%, 100% { transform: scale(1); }
            50% { transform: scale(1.05); }
        }
        .pulse:hover {
            animation: pulse 1.5s infinite;
        }
        
        /* Custom scrollbar */
        ::-webkit-scrollbar {
            width: 6px;
        }
        ::-webkit-scrollbar-track {
            background: #1a202c;
        }
        ::-webkit-scrollbar-thumb {
            background: #4a5568;
            border-radius: 3px;
        }
    </style>
</head>
<body class="bg-gray-900 text-white min-h-screen flex flex-col">
    <!-- Main Content Area -->
    <div class="flex-1 pb-16">
        <!-- Home Screen (default view) -->
        <div id="home-screen" class="page">
            <!-- Featured Banner -->
            <div class="relative h-48 bg-gradient-to-r from-purple-900 to-blue-800 rounded-b-3xl overflow-hidden mb-6">
                <div class="absolute inset-0 flex items-center justify-center p-6">
                    <div class="text-center">
                        <h2 class="text-2xl font-bold mb-2">MEGA TOURNAMENT</h2>
                        <p class="text-sm opacity-90 mb-3">$10,000 Prize Pool</p>
                        <button class="bg-yellow-500 hover:bg-yellow-600 text-black font-bold py-2 px-6 rounded-full text-sm transition-all">
                            Join Now
                        </button>
                    </div>
                </div>
                <div class="absolute bottom-0 left-0 right-0 h-8 bg-gradient-to-t from-gray-900 to-transparent"></div>
            </div>
            
            <!-- Upcoming Tournaments -->
            <div class="px-4">
                <h3 class="text-xl font-bold mb-4 flex items-center">
                    <i class="fas fa-calendar-alt mr-2 text-blue-400"></i> Upcoming Events
                </h3>
                
                <!-- Tournament Cards -->
                <div class="grid gap-4">
                    <!-- Card 1 -->
                    <div class="bg-gray-800 rounded-xl p-4 border-l-4 border-blue-500 transform hover:-translate-y-1 transition-all duration-200">
                        <div class="flex justify-between items-start mb-2">
                            <div>
                                <h4 class="font-bold">Friday Night Showdown</h4>
                                <p class="text-sm text-gray-400">May 12, 8:00 PM EST</p>
                            </div>
                            <span class="bg-blue-900 text-blue-300 text-xs px-2 py-1 rounded">Solo</span>
                        </div>
                        <div class="flex justify-between items-center mt-4">
                            <div>
                                <p class="text-xs text-gray-400">Entry Fee</p>
                                <p class="font-bold">$5.00</p>
                            </div>
                            <div>
                                <p class="text-xs text-gray-400">Prize Pool</p>
                                <p class="font-bold text-green-400">$1,200</p>
                            </div>
                            <button class="bg-blue-600 hover:bg-blue-700 text-white py-2 px-4 rounded-lg text-sm font-medium transition-all">
                                Details
                            </button>
                        </div>
                    </div>
                    
                    <!-- Card 2 -->
                    <div class="bg-gray-800 rounded-xl p-4 border-l-4 border-purple-500 transform hover:-translate-y-1 transition-all duration-200">
                        <div class="flex justify-between items-start mb-2">
                            <div>
                                <h4 class="font-bold">Weekend Warriors</h4>
                                <p class="text-sm text-gray-400">May 14, 2:00 PM EST</p>
                            </div>
                            <span class="bg-purple-900 text-purple-300 text-xs px-2 py-1 rounded">Duo</span>
                        </div>
                        <div class="flex justify-between items-center mt-4">
                            <div>
                                <p class="text-xs text-gray-400">Entry Fee</p>
                                <p class="font-bold">$10.00</p>
                            </div>
                            <div>
                                <p class="text-xs text-gray-400">Prize Pool</p>
                                <p class="font-bold text-green-400">$2,500</p>
                            </div>
                            <button class="bg-purple-600 hover:bg-purple-700 text-white py-2 px-4 rounded-lg text-sm font-medium transition-all">
                                Details
                            </button>
                        </div>
                    </div>
                    
                    <!-- Card 3 -->
                    <div class="bg-gray-800 rounded-xl p-4 border-l-4 border-yellow-500 transform hover:-translate-y-1 transition-all duration-200">
                        <div class="flex justify-between items-start mb-2">
                            <div>
                                <h4 class="font-bold">Pro-Am Challenge</h4>
                                <p class="text-sm text-gray-400">May 16, 6:00 PM EST</p>
                            </div>
                            <span class="bg-yellow-900 text-yellow-300 text-xs px-2 py-1 rounded">Squad</span>
                        </div>
                        <div class="flex justify-between items-center mt-4">
                            <div>
                                <p class="text-xs text-gray-400">Entry Fee</p>
                                <p class="font-bold">$20.00</p>
                            </div>
                            <div>
                                <p class="text-xs text-gray-400">Prize Pool</p>
                                <p class="font-bold text-green-400">$5,000</p>
                            </div>
                            <button class="bg-yellow-600 hover:bg-yellow-700 text-black py-2 px-4 rounded-lg text-sm font-medium transition-all">
                                Details
                            </button>
                        </div>
                    </div>
                </div>
            </div>
        </div>
        
        <!-- Tournaments Screen -->
        <div id="tournaments-screen" class="page hidden">
            <!-- Filter Tabs -->
            <div class="sticky top-0 z-10 bg-gray-900 pt-2 px-4">
                <div class="flex border-b border-gray-700">
                    <button class="filter-tab active flex-1 py-3 font-medium text-center border-b-2 border-blue-500">
                        Ongoing
                    </button>
                    <button class="filter-tab flex-1 py-3 font-medium text-center text-gray-400">
                        Upcoming
                    </button>
                </div>
            </div>
            
            <!-- Tournament List -->
            <div class="p-4">
                <!-- Ongoing Tournaments -->
                <div id="ongoing-tournaments">
                    <!-- Tournament 1 -->
                    <div class="bg-gray-800 rounded-xl p-4 mb-4">
                        <div class="flex justify-between items-start mb-3">
                            <div>
                                <h4 class="font-bold text-lg">Daily Grind</h4>
                                <p class="text-sm text-gray-400">Started 30 mins ago</p>
                            </div>
                            <span class="bg-green-900 text-green-300 text-xs px-2 py-1 rounded">Live</span>
                        </div>
                        <div class="flex justify-between items-center mb-3">
                            <div class="flex items-center">
                                <i class="fas fa-users mr-2 text-blue-400"></i>
                                <span>24/32 players</span>
                            </div>
                            <span class="bg-blue-900 text-blue-300 text-xs px-2 py-1 rounded">Solo</span>
                        </div>
                        <div class="flex justify-between items-center">
                            <div>
                                <p class="text-xs text-gray-400">Prize Pool</p>
                                <p class="font-bold text-green-400">$800</p>
                            </div>
                            <button class="bg-green-600 hover:bg-green-700 text-white py-2 px-6 rounded-full text-sm font-medium transition-all pulse">
                                Join Now
                            </button>
                        </div>
                    </div>
                    
                    <!-- Tournament 2 -->
                    <div class="bg-gray-800 rounded-xl p-4 mb-4">
                        <div class="flex justify-between items-start mb-3">
                            <div>
                                <h4 class="font-bold text-lg">Duo Dash</h4>
                                <p class="text-sm text-gray-400">Started 1 hour ago</p>
                            </div>
                            <span class="bg-green-900 text-green-300 text-xs px-2 py-1 rounded">Live</span>
                        </div>
                        <div class="flex justify-between items-center mb-3">
                            <div class="flex items-center">
                                <i class="fas fa-users mr-2 text-purple-400"></i>
                                <span>14/20 teams</span>
                            </div>
                            <span class="bg-purple-900 text-purple-300 text-xs px-2 py-1 rounded">Duo</span>
                        </div>
                        <div class="flex justify-between items-center">
                            <div>
                                <p class="text-xs text-gray-400">Prize Pool</p>
                                <p class="font-bold text-green-400">$1,500</p>
                            </div>
                            <button class="bg-green-600 hover:bg-green-700 text-white py-2 px-6 rounded-full text-sm font-medium transition-all pulse">
                                Join Now
                            </button>
                        </div>
                    </div>
                </div>
                
                <!-- Upcoming Tournaments (hidden by default) -->
                <div id="upcoming-tournaments" class="hidden">
                    <!-- Same structure as home screen tournament cards -->
                </div>
            </div>
        </div>
        
        <!-- Wallet Screen -->
        <div id="wallet-screen" class="page hidden">
            <!-- Balance Display -->
            <div class="bg-gradient-to-r from-blue-900 to-purple-900 p-6 rounded-b-3xl mb-6">
                <h3 class="text-gray-300 text-sm mb-1">Your Balance</h3>
                <div class="flex items-end justify-between">
                    <p class="text-4xl font-bold">$245.50</p>
                    <i class="fas fa-wallet text-3xl opacity-50"></i>
                </div>
            </div>
            
            <!-- Action Buttons -->
            <div class="flex justify-around px-6 mb-8">
                <button class="bg-green-600 hover:bg-green-700 text-white py-3 px-6 rounded-full font-medium flex items-center transition-all">
                    <i class="fas fa-plus-circle mr-2"></i> Add Funds
                </button>
                <button class="bg-blue-600 hover:bg-blue-700 text-white py-3 px-6 rounded-full font-medium flex items-center transition-all">
                    <i class="fas fa-money-bill-wave mr-2"></i> Withdraw
                </button>
            </div>
            
            <!-- Transaction History -->
            <div class="px-4">
                <h3 class="text-lg font-bold mb-4 flex items-center">
                    <i class="fas fa-history mr-2 text-blue-400"></i> Recent Transactions
                </h3>
                
                <div class="space-y-3 max-h-96 overflow-y-auto pr-2">
                    <!-- Transaction 1 -->
                    <div class="bg-gray-800 rounded-lg p-3 flex items-center justify-between">
                        <div class="flex items-center">
                            <div class="bg-blue-900 p-2 rounded-full mr-3">
                                <i class="fas fa-arrow-down text-blue-300"></i>
                            </div>
                            <div>
                                <p class="font-medium">Tournament Winnings</p>
                                <p class="text-xs text-gray-400">May 5, 2023</p>
                            </div>
                        </div>
                        <p class="text-green-400 font-bold">+$120.00</p>
                    </div>
                    
                    <!-- Transaction 2 -->
                    <div class="bg-gray-800 rounded-lg p-3 flex items-center justify-between">
                        <div class="flex items-center">
                            <div class="bg-purple-900 p-2 rounded-full mr-3">
                                <i class="fas fa-trophy text-purple-300"></i>
                            </div>
                            <div>
                                <p class="font-medium">Tournament Entry</p>
                                <p class="text-xs text-gray-400">May 3, 2023</p>
                            </div>
                        </div>
                        <p class="text-red-400 font-bold">-$10.00</p>
                    </div>
                    
                    <!-- Transaction 3 -->
                    <div class="bg-gray-800 rounded-lg p-3 flex items-center justify-between">
                        <div class="flex items-center">
                            <div class="bg-green-900 p-2 rounded-full mr-3">
                                <i class="fas fa-coins text-green-300"></i>
                            </div>
                            <div>
                                <p class="font-medium">Deposit</p>
                                <p class="text-xs text-gray-400">Apr 28, 2023</p>
                            </div>
                        </div>
                        <p class="text-green-400 font-bold">+$50.00</p>
                    </div>
                    
                    <!-- Transaction 4 -->
                    <div class="bg-gray-800 rounded-lg p-3 flex items-center justify-between">
                        <div class="flex items-center">
                            <div class="bg-yellow-900 p-2 rounded-full mr-3">
                                <i class="fas fa-arrow-up text-yellow-300"></i>
                            </div>
                            <div>
                                <p class="font-medium">Withdrawal</p>
                                <p class="text-xs text-gray-400">Apr 20, 2023</p>
                            </div>
                        </div>
                        <p class="text-red-400 font-bold">-$75.50</p>
                    </div>
                    
                    <!-- Transaction 5 -->
                    <div class="bg-gray-800 rounded-lg p-3 flex items-center justify-between">
                        <div class="flex items-center">
                            <div class="bg-blue-900 p-2 rounded-full mr-3">
                                <i class="fas fa-arrow-down text-blue-300"></i>
                            </div>
                            <div>
                                <p class="font-medium">Tournament Winnings</p>
                                <p class="text-xs text-gray-400">Apr 15, 2023</p>
                            </div>
                        </div>
                        <p class="text-green-400 font-bold">+$200.00</p>
                    </div>
                </div>
            </div>
        </div>
        
        <!-- Profile Screen -->
        <div id="profile-screen" class="page hidden">
            <!-- Profile Header -->
            <div class="bg-gradient-to-r from-purple-900 to-blue-800 p-6 rounded-b-3xl mb-6 text-center">
                <div class="w-24 h-24 bg-gray-300 rounded-full mx-auto mb-4 overflow-hidden border-4 border-white">
                    <img src="https://randomuser.me/api/portraits/men/32.jpg" alt="Profile" class="w-full h-full object-cover">
                </div>
                <h2 class="text-2xl font-bold">JohnDoe92</h2>
                <p class="text-gray-300">Pro Player</p>
            </div>
            
            <!-- Stats -->
            <div class="px-4 mb-8">
                <h3 class="text-lg font-bold mb-4 flex items-center">
                    <i class="fas fa-chart-line mr-2 text-purple-400"></i> Your Stats
                </h3>
                
                <div class="grid grid-cols-2 gap-4">
                    <div class="bg-gray-800 rounded-xl p-4 text-center">
                        <p class="text-gray-400 text-sm">Tournaments</p>
                        <p class="text-2xl font-bold">47</p>
                    </div>
                    <div class="bg-gray-800 rounded-xl p-4 text-center">
                        <p class="text-gray-400 text-sm">Wins</p>
                        <p class="text-2xl font-bold text-green-400">12</p>
                    </div>
                    <div class="bg-gray-800 rounded-xl p-4 text-center">
                        <p class="text-gray-400 text-sm">Win Rate</p>
                        <p class="text-2xl font-bold">25.5%</p>
                    </div>
                    <div class="bg-gray-800 rounded-xl p-4 text-center">
                        <p class="text-gray-400 text-sm">Earnings</p>
                        <p class="text-2xl font-bold text-green-400">$3,245</p>
                    </div>
                </div>
            </div>
            
            <!-- Past Tournaments -->
            <div class="px-4">
                <h3 class="text-lg font-bold mb-4 flex items-center">
                    <i class="fas fa-trophy mr-2 text-yellow-400"></i> Recent Tournaments
                </h3>
                
                <div class="space-y-3">
                    <div class="bg-gray-800 rounded-lg p-3">
                        <div class="flex justify-between items-center mb-2">
                            <h4 class="font-medium">Weekend Warriors</h4>
                            <span class="bg-green-900 text-green-300 text-xs px-2 py-1 rounded">1st Place</span>
                        </div>
                        <p class="text-sm text-gray-400 mb-1">May 7, 2023 • Duo</p>
                        <p class="text-green-400 font-bold">+$450.00</p>
                    </div>
                    
                    <div class="bg-gray-800 rounded-lg p-3">
                        <div class="flex justify-between items-center mb-2">
                            <h4 class="font-medium">Friday Night Showdown</h4>
                            <span class="bg-blue-900 text-blue-300 text-xs px-2 py-1 rounded">5th Place</span>
                        </div>
                        <p class="text-sm text-gray-400 mb-1">Apr 29, 2023 • Solo</p>
                        <p class="text-green-400 font-bold">+$75.00</p>
                    </div>
                </div>
            </div>
            
            <!-- Settings Button -->
            <div class="px-4 mt-8">
                <button class="w-full bg-gray-800 hover:bg-gray-700 text-white py-3 px-4 rounded-lg font-medium flex items-center justify-center transition-all">
                    <i class="fas fa-cog mr-2"></i> Settings
                </button>
            </div>
        </div>
    </div>
    
    <!-- Bottom Navigation Bar -->
    <div class="fixed bottom-0 left-0 right-0 bg-gray-800 border-t border-gray-700 flex justify-around py-2 z-20">
        <button class="nav-btn active flex flex-col items-center justify-center px-4 py-2 text-blue-400" data-target="home-screen">
            <i class="fas fa-home text-xl mb-1"></i>
            <span class="text-xs">Home</span>
        </button>
        <button class="nav-btn flex flex-col items-center justify-center px-4 py-2 text-gray-400" data-target="tournaments-screen">
            <i class="fas fa-trophy text-xl mb-1"></i>
            <span class="text-xs">Tournaments</span>
        </button>
        <button class="nav-btn flex flex-col items-center justify-center px-4 py-2 text-gray-400" data-target="wallet-screen">
            <i class="fas fa-wallet text-xl mb-1"></i>
            <span class="text-xs">Wallet</span>
        </button>
        <button class="nav-btn flex flex-col items-center justify-center px-4 py-2 text-gray-400" data-target="profile-screen">
            <i class="fas fa-user text-xl mb-1"></i>
            <span class="text-xs">Profile</span>
        </button>
    </div>

    <script>
        // Navigation functionality
        document.querySelectorAll('.nav-btn').forEach(btn => {
            btn.addEventListener('click', function() {
                // Remove active class from all buttons
                document.querySelectorAll('.nav-btn').forEach(b => {
                    b.classList.remove('active', 'text-blue-400');
                    b.classList.add('text-gray-400');
                });
                
                // Add active class to clicked button
                this.classList.add('active', 'text-blue-400');
                this.classList.remove('text-gray-400');
                
                // Hide all pages
                document.querySelectorAll('.page').forEach(page => {
                    page.classList.add('hidden');
                });
                
                // Show target page
                const target = this.getAttribute('data-target');
                document.getElementById(target).classList.remove('hidden');
            });
        });
        
        // Filter tabs functionality (Tournaments screen)
        document.querySelectorAll('.filter-tab').forEach(tab => {
            tab.addEventListener('click', function() {
                document.querySelectorAll('.filter-tab').forEach(t => {
                    t.classList.remove('active', 'border-blue-500');
                    t.classList.add('text-gray-400');
                });
                
                this.classList.add('active', 'border-blue-500');
                this.classList.remove('text-gray-400');
                
                // Toggle between ongoing and upcoming tournaments
                if (this.textContent.trim() === 'Ongoing') {
                    document.getElementById('ongoing-tournaments').classList.remove('hidden');
                    document.getElementById('upcoming-tournaments').classList.add('hidden');
                } else {
                    document.getElementById('ongoing-tournaments').classList.add('hidden');
                    document.getElementById('upcoming-tournaments').classList.remove('hidden');
                }
            });
        });
    </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=devashsisaulia/frefre" style="color: #fff;text-decoration: underline;" target="_blank" >Remix</a></p></body>
</html>