<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>TRUMP Airdrop Signup</title>
    <style>
        body {
            margin: 0;
            font-family: Arial, sans-serif;
            display: flex;
            justify-content: center;
            align-items: center;
            height: 100vh;
            background: url('eb9c5dd09-1.jpg') no-repeat center center fixed;
            background-size: cover;
            color: #fff;
            position: relative;
        }

        body::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.5);
            z-index: 0;
        }

        .container,
        .confirmation-container {
            text-align: center;
            background: rgba(0, 0, 0, 0.8);
            padding: 20px;
            border-radius: 12px;
            box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
            width: 90%;
            max-width: 400px;
            z-index: 1;
            position: relative;
            display: none; /* Hide by default */
        }

        .container.active,
        .confirmation-container.active {
            display: block; /* Show only active container */
        }

        h1, p {
            margin-bottom: 20px;
        }
        input[type="email"] {
            padding: 12px; /* Add more padding for better appearance */
            width: calc(100% - 24px); /* Add a small margin to avoid touching the edges */
            border: none;
            border-radius: 8px;
            margin: 10px 0; /* Add some vertical spacing */
            font-size: 1rem;
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
            outline: none; /* Remove default browser outline */
            transition: box-shadow 0.3s ease;
        }
        
        input[type="email"]:focus {
            box-shadow: 0 4px 12px rgba(255, 165, 0, 0.6); /* Highlight on focus */
        }
        
        button {
            padding: 12px 24px; /* Adjust padding for a better size */
            font-size: 1rem;
            border: none;
            border-radius: 8px;
            background: #ffa500;
            color: #fff;
            cursor: pointer;
            transition: background 0.3s ease, transform 0.2s ease;
            width: 100%; /* Make the button the same width as the input */
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
        }
        
        button:hover {
            background: #ff4500;
            transform: scale(1.02); /* Add a slight scaling effect */
        }
        
        form {
            display: flex;
            flex-direction: column; /* Stack input and button vertically */
            align-items: center;
        }

    </style>
</head>
<body>
    <div class="container <?= $showConfirmation ? '' : 'active'; ?>">
        <h1>🚀 Get Ready for the TRUMP Airdrop!</h1>
        <script src="script.js"></script>
        <p>Enter your email to join our exclusive airdrop list. Stay tuned!</p>
        <form method="POST" id="signup-form">
            <input type="email" name="email" id="email" placeholder="Enter your email" required>
            <button type="submit">Confirm</button>
        </form>
    </div>
    <div class="confirmation-container <?= $showConfirmation ? 'active' : ''; ?>">
        <h1><?= htmlspecialchars($titleMessage); ?></h1>
        <h2><?= htmlspecialchars($submsj); ?></h2>
    </div>
    
    


</body>
</html>
