{% extends "base.html" %}

{% block content %}
<section class="container py-5">
  <div class="row justify-content-center">
    <div class="col-md-6 text-center">
      <div class="glass-card px-4 py-5">
        <h2 class="text-white mb-4">Invest in <span class="text-gradient">{{ startup.name }}</span></h2>
        <p class="text-secondary small mb-5">Be part of the next big university startup. Minimum investment is £50.</p>
        
        <form method="post">
          {% csrf_token %}
          <div class="mb-4 text-start">
            <label class="form-label text-white small fw-bold px-3">Amount (£)</label>
            <input type="number" name="amount" min="50" class="form-control bg-dark text-white border-secondary rounded-pill px-4 py-3 h1 mb-0 fw-bold text-center" placeholder="50" required>
            <div class="form-text text-secondary small text-center mt-3">Enter the amount you wish to invest in this project.</div>
          </div>
          
          <div class="d-grid mt-5">
            <button type="submit" class="btn btn-primary btn-lg rounded-pill py-3">Confirm Investment</button>
          </div>
        </form>
        
        <div class="mt-4">
          <p class="text-secondary small">By clicking "Confirm Investment", you agree to our <a href="#" class="text-white fw-bold">Terms of Use</a> and acknowledge the risks involved.</p>
        </div>
      </div>
    </div>
  </div>
</section>
{% endblock %}
