{% extends 'layouts/base-auth.html' %}
{% load i18n static %}

{% block extrastyle %}
<style>
  body {
    background: url("{{ background_url }}") no-repeat center center fixed;
    background-size: cover;
  }

  .success-container {
    max-width: 600px;
    margin: 3rem auto;
    padding: 2rem;
    background-color: rgba(15, 15, 15, 0.92);
    color: #f0e6d2;
    border-radius: 1rem;
    box-shadow: 0 0 50px rgba(0, 0, 0, 0.9);
    border: 1px solid #e0c36b;
    text-align: center;
  }

  .success-container h2 {
    font-family: 'Cinzel', serif;
    font-size: 1.8rem;
    color: #e0c36b;
    text-shadow: 0 0 10px rgba(255, 215, 100, 0.4);
    margin-bottom: 1rem;
  }

  .success-container p {
    color: #dcd4b0;
    font-size: 1rem;
    margin-bottom: 1rem;
  }

  .success-container .btn {
    padding: 0.7rem 1.5rem;
    font-size: 1rem;
    border-radius: 6px;
    background: linear-gradient(to right, #b89b56, #d5c170);
    color: #000;
    font-weight: bold;
    text-shadow: 0 0 5px #fff8dc;
    border: none;
    transition: background 0.3s ease;
  }

  .success-container .btn:hover {
    background: linear-gradient(to right, #d5c170, #b89b56);
    color: #000;
  }
</style>
{% endblock extrastyle %}

{% block content %}
<section class="vh-100 d-flex align-items-center justify-content-center">
  <div class="container">
    <div class="row justify-content-center">
      <div class="col-md-8 col-lg-6">
        <div class="success-container">
          <h2>{% trans "Conta mestre criada com sucesso!" %}</h2>
          <p>{% trans "Agora você precisa criar uma conta no servidor para jogar." %}</p>
          <a href="{% url 'server:lineage_register' %}" class="btn mt-3">
            {% trans "Criar Conta do Lineage 2" %}
          </a>
        </div>
      </div>
    </div>
  </div>
</section>
{% endblock content %}
