/* Palette Discord */
:root {
    --primary: #7289da; /* Bleu Discord */
    --secondary: #424549;
    --background: #36393e;
    --dark: #282b30;
    --darker: #1e2124;
    --text: #ffffff;
    --text-muted: #b9bbbe;
}

/* Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    text-align: center;
    background: linear-gradient(135deg, var(--darker), var(--background));
    color: var(--text);
    padding: 20px;
}

/* Fond spatial */
#particles-js {
    position: fixed;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--darker), var(--background));
    z-index: -1;
}

/* En-tête stylisé */
header {
    background: var(--dark);
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    margin-bottom: 20px;
    display: inline-block;
    animation: fadeIn 1s ease-in-out;
}

h1 {
    color: var(--primary);
    font-size: 28px;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 0 0 10px rgba(114, 137, 218, 0.8);
}

/* Conteneur principal */
.container {
    background: var(--dark);
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    display: inline-block;
    width: 80%;
    max-width: 500px;
    animation: slideUp 0.8s ease-out;
}

/* Boutons */
button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    margin: 10px 0;
    padding: 12px;
    border: none;
    background-color: var(--primary);
    color: white;
    font-size: 16px;
    cursor: pointer;
    border-radius: 5px;
    transition: background 0.3s, transform 0.2s, box-shadow 0.3s;
}

button:hover {
    background-color: var(--secondary);
    transform: scale(1.05);
    box-shadow: 0 0 10px rgba(114, 137, 218, 0.8);
}

button:active {
    transform: scale(0.95);
}

/* Icônes dans les boutons */
button i {
    font-size: 18px;
}

/* Pied de page */
footer {
    margin-top: 20px;
    font-size: 14px;
    color: var(--text-muted);
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
