{% extends "base.html" %}
{% load static %}

{% block title %}Captain Ai Genesis NFT Waitlist{% endblock %}

{% block content %}
<div class="ocean-hero">
    <div class="container text-center text-white">
        <h1 class="display-4">Captain Ai Genesis NFT Waitlist</h1>
        <p class="lead">Welcome to the Ocean</p>

        {% if success %}
            <div class="alert alert-success mt-4" role="alert">
                <strong>Success!</strong> You're on the list. We'll be in touch soon.
            </div>
        {% else %}
            <div class="form-container mt-5">
                <form method="post" class="whitelist-form">
                    {% csrf_token %}
                    <div class="mb-3">
                        {{ form.gmail }}
                    </div>
                    <div class="mb-3">
                        {{ form.eth_address }}
                    </div>
                    <button type="submit" class="btn btn-primary btn-lg">Join Waitlist</button>
                </form>
            </div>
        {% endif %}
    </div>
</div>
{% endblock %}
