Viewing File: /home/quiczmwg/lightspringdigitals.com/dashboard-20260114051212-20260115034405/docs/deposit.php

<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Secure Crypto Deposit | Next-Gen Banking</title>
    <link href="https://cdn.jsdelivr.net/npm/sweetalert2@11/dist/sweetalert2.min.css" rel="stylesheet">
    <style>
        :root {
            --primary: #2563eb;
            --secondary: #1e40af;
            --accent: #3b82f6;
            --background: #f0f4ff;
            --text: #1e293b;
            --success: #22c55e;
        }

        body {
            font-family: 'Inter', system-ui, sans-serif;
            background: linear-gradient(45deg, #f0f4ff, #f8fafc);
            margin: 0;
            padding: 1rem;
            min-height: 100vh;
            color: var(--text);
            position: relative;
            overflow-x: hidden;
        }

        .animated-bg {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: linear-gradient(120deg, var(--primary) 0%, var(--secondary) 100%);
            opacity: 0.1;
            z-index: -1;
        }

        .container {
            max-width: 800px;
            margin: 1rem auto;
            background: rgba(255, 255, 255, 0.97);
            border-radius: 1.5rem;
            box-shadow: 0 12px 32px rgba(0, 0, 0, 0.1);
            padding: 1.5rem;
            backdrop-filter: blur(12px);
            border: 1px solid rgba(255, 255, 255, 0.3);
            animation: fadeIn 0.6s ease-out;
        }

        h1 {
            color: var(--primary);
            font-size: 2rem;
            margin-bottom: 1rem;
            text-align: center;
            background: linear-gradient(to right, var(--primary), var(--secondary));
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            position: relative;
        }

        h1::before {
            content: '%uD83D%uDC8E';
            position: absolute;
            left: -1.5rem;
            top: -0.5rem;
            font-size: 2.5rem;
            animation: sparkle 2s infinite;
        }

        @keyframes sparkle {
            0%, 100% { transform: scale(1); opacity: 1; }
            50% { transform: scale(1.2); opacity: 0.8; }
        }

        .crypto-section {
            margin: 1.5rem 0;
            padding: 1.5rem;
            background: rgba(224, 231, 255, 0.1);
            border-radius: 1.25rem;
            border: 2px dashed var(--primary);
        }

        .qr-code-container {
            position: relative;
            margin: 1rem 0;
            display: flex;
            justify-content: center;
            align-items: center;
            background: white;
            border-radius: 1rem;
            padding: 1rem;
            border: 2px solid var(--primary);
            box-shadow: 0 4px 12px rgba(37, 99, 235, 0.1);
        }

        .qr-code {
            width: 140px;
            height: 140px;
        }

        .address-container {
            position: relative;
            background: rgba(224, 231, 255, 0.3);
            border-radius: 0.75rem;
            padding: 1rem;
            margin: 1rem 0;
            overflow: hidden;
        }

        .address-container span {
            display: inline-block;
            word-break: break-all;
            font-size: 0.9rem;
            color: var(--text);
            line-height: 1.5;
        }

        .copy-btn {
            position: absolute;
            right: 0.5rem;
            top: 50%;
            transform: translateY(-50%);
            background: var(--primary);
            color: white;
            border: none;
            padding: 0.5rem 1rem;
            border-radius: 0.5rem;
            cursor: pointer;
            transition: all 0.2s ease;
            font-size: 0.9rem;
        }

        .copy-btn:hover {
            background: var(--secondary);
            transform: translateY(-50%) scale(1.05);
        }

        .form-group {
            margin-bottom: 1.5rem;
            position: relative;
        }

        .form-group label {
            display: block;
            margin-bottom: 0.5rem;
            font-weight: 600;
            color: var(--secondary);
            font-size: 0.95rem;
        }

        input[type="text"], input[type="number"], select {
            width: 100%;
            padding: 0.8rem;
            border: 2px solid #e2e8f0;
            border-radius: 0.75rem;
            font-size: 0.95rem;
            transition: all 0.3s ease;
            background: white;
        }

        input:focus, select:focus {
            border-color: var(--primary);
            box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
            outline: none;
        }

        .submit-btn {
            background: linear-gradient(135deg, var(--primary), var(--secondary));
            color: white;
            border: none;
            padding: 1rem 2rem;
            border-radius: 0.75rem;
            font-size: 1rem;
            cursor: pointer;
            transition: all 0.3s ease;
            width: 100%;
        }

        .submit-btn:hover {
            transform: translateY(-2px);
            box-shadow: 0 6px 20px rgba(37, 99, 235, 0.3);
        }

        @keyframes fadeIn {
            from { opacity: 0; transform: translateY(20px); }
            to { opacity: 1; transform: translateY(0); }
        }

        @media (max-width: 600px) {
            h1 {
                font-size: 1.75rem;
            }

            h1::before {
                left: -1rem;
                font-size: 2rem;
            }

            .container {
                padding: 1rem;
            }

            .crypto-section {
                padding: 1rem;
            }

            .qr-code {
                width: 120px;
                height: 120px;
            }

            .address-container span {
                font-size: 0.85rem;
            }

            .copy-btn {
                padding: 0.4rem 0.8rem;
                font-size: 0.85rem;
            }
        }
    </style>
</head>
<body>
    <div class="animated-bg"></div>

    <div class="container">
        <h1>Secure Crypto Deposit</h1>

        <div class="crypto-section">
            <div class="form-group">
                <label>Select Cryptocurrency</label>
                <select id="cryptoSelect" onchange="updateCrypto()">
                    <option value="BTC">Bitcoin (BTC)</option>
                    <option value="ETH">Ethereum (ETH)</option>
                    <option value="USDT">Tether (USDT)</option>
                    <option value="BNB">Binance Coin (BNB)</option>
                </select>
            </div>

            <div id="cryptoDetails">
                <!-- Default: Bitcoin (BTC) -->
                <h2>Bitcoin (BTC)</h2>
                <div class="qr-code-container">
                    <img class="qr-code" src="https://api.qrserver.com/v1/create-qr-code/?size=160x160&data=bc1qksz9hd46qgy6ftn9qqrcagyq9lsnv88yy3q389" alt="BTC QR">
                </div>
                <div class="address-container">
                    <span id="cryptoAddress">bc1qksz9hd46qgy6ftn9qqrcagyq9lsnv88yy3q389</span>
                    <button class="copy-btn" onclick="copyAddress()">Copy</button>
                </div>
            </div>
        </div>

        <div class="transaction-form">
            <div class="form-group">
                <label> Deposit Amount (USD)</label>
                <input type="number" id="amount" min="50" placeholder="Minimum $50" required>
            </div>

            <div class="form-group">
                <label>Transaction Hash/ID</label>
                <input type="text" id="txHash" required>
            </div>

            <button class="submit-btn" onclick="confirmPayment()">Confirm Payment</button>
        </div>
    </div>

    <script src="https://cdn.jsdelivr.net/npm/sweetalert2@11"></script>
    <script>
        const cryptoData = {
            BTC: {
                name: "Bitcoin (BTC)",
                address: "bc1qksz9hd46qgy6ftn9qqrcagyq9lsnv88yy3q389",
                qr: "https://api.qrserver.com/v1/create-qr-code/?size=160x160&data=bc1qksz9hd46qgy6ftn9qqrcagyq9lsnv88yy3q389"
            },
            ETH: {
                name: "Ethereum (ETH)",
                address: "0xbeB1272C588Bbe64cA4d4f35d3b73a342DBf6702",
                qr: "https://api.qrserver.com/v1/create-qr-code/?size=160x160&data=0xbeB1272C588Bbe64cA4d4f35d3b73a342DBf6702"
            },
            USDT: {
                name: "Tether (USDT TRC20)",
                address: "TS8sqxN7VUsNcsjVp3aSNePf1wKmJdTLjB",
                qr: "https://api.qrserver.com/v1/create-qr-code/?size=160x160&data=TS8sqxN7VUsNcsjVp3aSNePf1wKmJdTLjB"
            },
            BNB: {
                name: "Binance Coin (BNB)",
                address: "0xbeB1272C588Bbe64cA4d4f35d3b73a342DBf6702",
                qr: "https://api.qrserver.com/v1/create-qr-code/?size=160x160&data=0xbeB1272C588Bbe64cA4d4f35d3b73a342DBf6702"
            }
        };

        function updateCrypto() {
            const selectedCrypto = document.getElementById("cryptoSelect").value;
            const crypto = cryptoData[selectedCrypto];
            const cryptoDetails = document.getElementById("cryptoDetails");

            cryptoDetails.innerHTML = `
                <h2>${crypto.name}</h2>
                <div class="qr-code-container">
                    <img class="qr-code" src="${crypto.qr}" alt="${crypto.name} QR">
                </div>
                <div class="address-container">
                    <span id="cryptoAddress">${crypto.address}</span>
                    <button class="copy-btn" onclick="copyAddress()">Copy</button>
                </div>
            `;
        }

        function copyAddress() {
            const address = document.getElementById("cryptoAddress").innerText;
            navigator.clipboard.writeText(address).then(() => {
                Swal.fire({
                    icon: 'success',
                    title: 'Copied!',
                    text: 'Wallet address copied to clipboard.',
                    timer: 2000,
                    showConfirmButton: false
                });
            });
        }

        function confirmPayment() {
            const amount = document.getElementById("amount").value;
            const txHash = document.getElementById("txHash").value;

            if (amount >= 50 && txHash) {
                Swal.fire({
                    icon: 'success',
                    title: 'Payment Confirmed!',
                    html: `
                        <p>Amount: $${amount}</p>
                        <p>Transaction Hash: ${txHash}</p>
                    `,
                    showConfirmButton: true
                });
            } else {
                Swal.fire({
                    icon: 'error',
                    title: 'Oops...',
                    text: 'Please fill all fields and ensure the amount is at least $50.',
                });
            }
        }
    </script>
</body>
</html>
Back to Directory File Manager
<