Create a professional Free Fire Tournament Application as a single-page web/mobile-friendly HTML application. The app should have all professional features for a tournament platform with the following specifications:
---
### 1. User Management
- Login & Registration System
- Users can register using Email, Mobile, or Social Login (Google/Facebook).
- UID system: Each user gets a unique identifier (UID) upon registration.
- Password recovery via email or OTP.
- Profile Page
- Display username, UID, ranking, tournament stats, wallet balance, and achievements.
- Profile picture upload.
- Verification
- Email/OTP verification during registration.
- Role-Based Access
- Users: Participate in tournaments, deposit/withdraw, join rooms.
- Admin: Create tournaments, manage users, approve withdrawals, broadcast announcements.
---
### 2. Tournament Management
- Tournament Creation
- Admin can create tournaments with:
- Tournament name, type (solo/duo/squad), start/end date
- Entry fee, total slots, reward pool
- Game mode (Classic/Ranked)
- Bracket System
- Automatic bracket generation (single elimination, double elimination)
- Real-time updates as matches progress.
- Slots & Rooms
- Users can see available slots per room.
- Join tournaments by clicking available room slots.
- Limit per room (max players per squad).
- Show joined players in real-time.
- Match Start
- Automatic match notifications when room fills or match begins.
- Spectator Mode
- View room status and live scoreboard (optional live feed).
---
### 3. Deposit & Wallet System
- Deposit
- Users can deposit funds to participate in tournaments.
- Integrate payment methods (Easypaisa, PayPal, Stripe, Bank Transfer).
- Withdrawal
- Users can request withdrawal of winnings.
- Admin approval required for withdrawal.
- Wallet
- Shows current balance, transaction history, deposit and withdrawal status.
- Transaction Notifications
- Alerts for successful deposit, withdrawal, or failed transaction.
---
### 4. Join Room & Tournament Flow
- Room Slots
- Display rooms with total slots and joined slots.
- Join button disabled if room is full.
- Auto-Fill Team
- For duo/squad tournaments, allow users to auto-fill remaining teammates with random users if not full.
- Match UID
- Each joined player receives a match UID for tracking and verification.
- Start Match
- Users notified via pop-up or in-app alert when match starts.
---
### 5. Leaderboard & Stats
- Global Leaderboard
- Top players based on wins, points, and rewards.
- Player Stats
- Matches played, wins, losses, kill-death ratio, rank.
- Tournament Stats
- Individual tournament leaderboard with prizes and points.
---
### 6. Art Wall / Community
- Art Wall
- Users can post Free Fire artwork, screenshots, or highlights.
- Upvote or like system.
- Comments
- Allow comments and engagement.
- Moderation
- Admin can remove inappropriate posts.
---
### 7. Notifications & Alerts
- Real-time Notifications
- Tournament start, slot availability, room status, results, deposits, withdrawals.
- Push Notification Integration
- Optional for mobile apps.
- Announcements
- Admin can broadcast global messages or updates.
---
### 8. Payment & Prize Distribution
- Tournament Entry Fees
- Deducted automatically from wallet.
- Winnings Distribution
- Automatic allocation to winner wallets after match completion.
- Admin Approval
- For large prize withdrawals, require admin approval.
---
### 9. Admin Panel
- Dashboard
- Overview of tournaments, users, revenue, withdrawals, live rooms.
- Tournament Management