<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>0101Bet Profile Registration</title>
    <style>
        body { font-family: Arial, sans-serif; padding: 20px; background: #f4f4f4; }
        form { max-width: 500px; margin: auto; background: #fff; padding: 20px; border-radius: 8px; box-shadow: 0 0 10px rgba(0,0,0,0.1);}
        label { display: block; margin-top: 10px; font-weight: bold; }
        input, textarea { width: 100%; padding: 8px; margin-top: 5px; border-radius: 4px; border: 1px solid #ccc; }
        button { margin-top: 15px; padding: 10px 20px; border: none; background: #28a745; color: #fff; border-radius: 4px; cursor: pointer; }
        button:hover { background: #218838; }
        .error { color: red; font-size: 0.9em; }
    </style>
</head>
<body>

<h2>0101Bet Profile Registration Form</h2>

<form id="betForm">
    <label for="fullname">Full Name *</label>
    <input type="text" id="fullname" name="fullname" required>

    <label for="email">Email *</label>
    <input type="email" id="email" name="email" required>

    <label for="username">Username *</label>
    <input type="text" id="username" name="username" required>

    <label for="password">Password *</label>
    <input type="password" id="password" name="password" required>

    <label for="website">Website / Link</label>
    <input type="url" id="website" name="website" value="https://0101bet.org" readonly>

    <label for="bio">About Me / Bio</label>
    <textarea id="bio" name="bio" rows="4">Digital content creator at 0101bet.org. Passionate about technology and online learning.</textarea>

    <label for="edu">My School or Organization *</label>
    <input type="text" id="edu" name="edu" placeholder="Official school or organization name" required>

    <label for="stem">How do I support STEM in Hawai‘i? *</label>
    <textarea id="stem" name="stem" rows="3" placeholder="Your answer here..." required></textarea>

    <button type="submit">Submit</button>
</form>

<script>
document.getElementById("betForm").addEventListener("submit", function(e) {
    e.preventDefault();
    alert("Profile submitted successfully for 0101Bet! ✅\nYou can save this data to your database or email.");
    this.reset();
});
</script>

</body>
</html>