<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title></title>
    <style>
        body {
            margin: 0;
            padding: 0;
            background-color: #050505;
            /* Deepest black */
            font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
            color: #ffffff;
        }

        .wrapper {
            width: 100%;
            background-color: #050505;
            padding: 60px 0;
            /* Creates a subtle purple/blue ambient glow in the background */
            background-image: radial-gradient(circle at 50% 0%, #261645 0%, #050505 50%);
        }

        .main-card {
            margin: 0 auto;
            width: 100%;
            max-width: 675px;
            background-color: #111111;
            border-radius: 28px;
            border: 1px solid #222222;
            overflow: hidden;
            box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
        }

        .header-gradient {
            height: 6px;
            background: linear-gradient(90deg, #a855f7, #3b82f6, #10b981);
        }

        .content {
            padding: 50px 40px;
        }

        .logo-box {
            text-align: center;
            margin-bottom: 40px;
        }

        h1 {
            font-size: 32px;
            font-weight: 800;
            color: #fff !important;
            margin-bottom: 24px;
            letter-spacing: -1px;
            text-align: center;
        }

        .status-badge {
            display: inline-block;
            padding: 6px 16px;
            background: rgba(16, 185, 129, 0.1);
            color: #10b981;
            border-radius: 100px;
            font-size: 12px;
            font-weight: 700;
            text-transform: uppercase;
            margin-bottom: 20px;
        }

        p {
            font-size: 16px;
            line-height: 1.8;
            color: #a0a0a0;
            margin-bottom: 20px;
        }

        .action-area {
            text-align: center;
            padding: 30px 0;
        }

        .btn-primary {
            display: inline-block;
            background: #ffffff;
            color: #000000 !important;
            text-decoration: none;
            padding: 16px 40px;
            border-radius: 14px;
            font-weight: 700;
            font-size: 16px;
            transition: all 0.3s ease;
        }

        .footer {
            text-align: center;
            padding: 15px 0px;
            color: #444444;
            font-size: 13px;
        }

        .divider {
            height: 1px;
            background: #222222;
            margin: 30px 0;
        }

        /* Responsive */
        @media screen and (max-width: 600px) {
            .main-card {
                width: 92% !important;
                border-radius: 20px;
            }

            .content {
                padding: 40px 25px;
            }
        }
    </style>
    <style>
        .logo-text {
            font-size: 1.5rem;
            font-weight: 700;
            background: linear-gradient(135deg, #9945FF 0%, #14F195 100%);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
        }

        .logo {
            display: flex;
            align-items: center;
            gap: 0.75rem;
            justify-content: center !important;
            text-decoration: none;
            transition: transform 0.3s ease;
            margin-bottom: 50px;
        }

        .logo-icon {
            width: 40px;
            height: 40px;
            border-radius: 0.5rem;
            background: linear-gradient(135deg, #9945FF 0%, #14F195 100%);
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.5rem;
        }
    </style>
</head>

<body>
    <div class="wrapper">
        <table class="main-card" cellpadding="0" cellspacing="0">
            <tr>
                <td class="header-gradient"></td>
            </tr>
            <tr>
                <td class="content">
                    <a href="<?= base_url() ?>" class="logo">
                        <img src="<?= base_url() ?>website/img/logo/logo.png" width="40" alt="">
                        <!-- <span class="logo-text">SolStaker</span> -->
                    </a>

                    <div style="text-align: center;">
                        <h1 class="logo-text"> 2FA Enabled- Defilenders</h1>
                    </div>

                    <p>Dear <strong>
                            <?= $user['username']; ?>
                        </strong>,</p>

                    <p>You turned on two factor authentication on your
                        defilenders account. This means we will ask you for security code when you
                        will try to login.</p>
                    <p>You can turn off two factor authentication any time from your defilenders
                        account.</p>
                    <p>
                        Best regards,<br>
                        Michael<br>
                        Account Manager, defilenders
                    </p>
                    <div class="action-area">
                        <a href="<?= base_url() ?>" style="margin-bottom: 20px;" target="_blank" class="btn-primary">Explore
                            Now</a>
                        <a href="<?= base_url() ?>login/" class="btn-primary" target="_blank">Login</a>
                    </div>
                    <p style="margin-top: 20px;">Kind Regards</p>
                    <p style="margin-top:15px">Team Defilenders</p>

                    <div class="divider"></div>
                    <div class="footer">
                        <p style="margin:0px; opacity: 0.5;">&copy; 2026 Defilenders. All Rights Reserved</p>
                    </div>

                </td>
            </tr>
        </table>


    </div>
</body>

</html>