/* Reset basique */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Corps de la page */
body {
    height: 100vh;
    display: flex;
    justify-content: center;   /* centre horizontal */
    align-items: center;       /* centre vertical */
    background: linear-gradient(135deg, #667eea, #764ba2);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #fff;
    font-size: 18px;
    line-height: 1.6;
}

/* Conteneur principal */
.container {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 40px 50px;
    border-radius: 15px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
    width: 100%;
    max-width: 420px;
    text-align: center;
}

/* Titre */
h2 {
    margin-bottom: 30px;
    font-size: 2.4rem;
    font-weight: 700;
    letter-spacing: 1px;
}

/* Formulaire */
form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Labels */
label {
    text-align: left;
    font-weight: 600;
    margin-bottom: 6px;
    display: block;
    font-size: 1.1rem;
}

/* Inputs & select */
input[type="text"],
select {
    padding: 12px 15px;
    border-radius: 8px;
    border: none;
    font-size: 1rem;
    transition: background-color 0.3s ease;
    outline: none;
}

/* Input focus */
input[type="text"]:focus,
select:focus {
    background-color: rgba(255, 255, 255, 0.2);
}

/* Bouton submit */
input[type="submit"] {
    background: #6a11cb;
    background: linear-gradient(135deg, #6a11cb 0%, #2575fc 100%);
    color: white;
    border: none;
    padding: 15px 0;
    border-radius: 10px;
    font-size: 1.2rem;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.3s ease;
}

input[type="submit"]:hover {
    background: linear-gradient(135deg, #2575fc 0%, #6a11cb 100%);
}

/* Lien Discord */
a.discord-link {
    display: inline-block;
    margin-top: 30px;
    text-decoration: none;
    font-weight: 700;
    color: #fff;
    padding: 12px 25px;
    border-radius: 50px;
    background: #7289da;
    box-shadow: 0 4px 15px rgba(114, 137, 218, 0.6);
    transition: background-color 0.3s ease;
    font-size: 1.1rem;
}

a.discord-link:hover {
    background-color: #5b6eae;
}

/* Messages d'erreur ou succès */
.message {
    margin-top: 25px;
    font-weight: 600;
    font-size: 1.1rem;
    color: #ffdddd;
}
.message.success {
    color: #a2f5a2;
}
