public_html/
│
├── .htaccess (Master Routing & Security File - No .php in URLs)
├── index.php (The Main Gateway / Landing Page)
│
├── core/ (The Brain - Users cannot access this directly)
│ ├── config.php (Database Connection & Site Settings)
│ ├── functions.php (Main Logic Functions: timers, referral maths, limits)
│ └── security.php (Anti-Bot, IP Check, VPN Check)
│
├── includes/ (Reusable Design Components)
│ ├── header.php (Navbar, User Balance, Meta Tags)
│ ├── footer.php (Scripts, Copyright, Links)
│ └── sidebar.php (VIP Dashboard Navigation)
│
├── pages/ (All Views - Clean URLs handle these)
│ ├── dashboard.php (Faucet VIP Area - 9 Boxes)
│ ├── doubler.php (2X Faucet Page)
│ ├── plans.php (VIP Store)
│ ├── referrals.php (Affiliate System)
│ ├── history.php (Ledger: Deposits & Withdrawals)
│ └── profile.php (Minimal User Info)
│
├── auth/ (Login & Registration System)
│ ├── login_process.php (Verifies FaucetPay Email)
│ └── logout.php (Destroys Session)
│
├── gateway/ (Payment Integrations & Webhooks)
│ ├── oxapay_ipn.php (Webhook: Auto-activates VIP/Doubler on Success)
│ ├── faucetpay_api.php (Handles Withdrawals)
│ └── checkout.php (The Payment Selection Page)
│
└── assets/ (Public Static Files)
├── css/ (Tailwind/Custom Styles)
├── js/ (AJAX & SweetAlert scripts)
└── images/ (Logos, Banners, Avatars)