/* ✅ Appliquer le fond sombre */
body {
    font-family: 'Arial', sans-serif;
    background-color: #13181d;
    /* ✅ Fond sombre */
    color: #ffffff;
    text-align: center;
    padding: 20px;
}

.home-button {
    position: absolute;
    top: 15px;
    left: 15px;
    font-size: 22px;
    font-family: 'Poppins', sans-serif;
    font-weight: bold;
    color: white;
    text-decoration: none;
    text-transform: uppercase;
    z-index: 1000;
    overflow: hidden;
    display: inline-block;
    background: none;
    border: none;
    padding: 10px 0;
    cursor: pointer;
}

.home-button::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 200%;
    height: 36px;
    background: url("data:image/svg+xml,%3Csvg width='400' height='60' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 20 Q 50 50 100 20 T 200 20 T 300 20 T 400 20 V60 H0 Z' fill='rgba(63,89,149,0.6)' stroke='rgba(0,0,0,0.4)' stroke-width='2'/%3E%3C/svg%3E");
    background-repeat: repeat-x;
    background-size: cover;
    animation: waveMotion 4s linear infinite;
    z-index: -1;
    transition: transform 0.4s ease;
}

.home-button:hover::after {
    transform: translateY(-10px);
    opacity: 1;
}

@keyframes waveMotion {
    0% {
        background-position-x: 0%;
    }

    100% {
        background-position-x: -200px;
    }
}

/* ✅ Adapter la FAQ au fond sombre */
.faq-container {
    max-width: 600px;
    margin: 20px auto;
    padding: 20px;
    background: linear-gradient(145deg, #1e2022, #181a1b, #121314);
    color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    margin-bottom: 20px;
    /* ✅ Réduire l'espacement en bas de chaque conteneur */
}

/* ✅ Titre principal de la FAQ - Positionné hors du bloc */
.faq-title {
    text-align: center;
    font-size: 2rem;
    font-weight: bold;
    color: #fff;
    margin-bottom: 50px;
    margin-top: 30px;
    position: relative;
    /* ✅ Nécessaire pour placer la ligne */
    display: inline-block;
    /* ✅ Permet à la ligne de s'adapter à la largeur du titre */
    padding-top: 15px;
    /* ✅ Ajoute un peu d’espace pour le texte */
}

/* ✅ Ajoute une ligne horizontale s'adaptant au titre */
.faq-title::before {
    content: "";
    position: absolute;
    top: 0;
    /* ✅ Positionnée juste au-dessus */
    left: 0;
    width: 100%;
    /* ✅ Adapte la ligne à la largeur du texte */
    height: 3px;
    /* ✅ Épaisseur de la ligne */
    background-color: #ffcc00;
    /* ✅ Jaune pour le design */
    border-radius: 2px;
    /* ✅ Bordures arrondies pour un effet propre */
}



/* ✅ Titres des sections */
.faq-container h2 {
    text-align: center;
    /* ✅ Centrer horizontalement */
    display: flex;
    /* ✅ Utiliser Flexbox pour centrer verticalement */
    align-items: center;
    /* ✅ Centre verticalement le texte */
    height: 20px;
    /* 🔥 Réduit la hauteur du bloc pour réduire l'espace vertical */
    padding: 4px 0;
    /* 🔥 Réduit l'espace intérieur (au-dessus et en dessous) */
    margin: 0 0 18px 0;
    /* 🔥 Réduit légèrement l'espace sous le titre */
    color: #ffcc00;
    /* ✅ Couleur jaune */
}


/* ✅ Ligne de séparation sous chaque titre */
hr {
    border: none;
    height: 2px;
    background: #b1b0ab;
    margin-bottom: 15px;
}

/* ✅ Espacement entre les sections */
.spacer {
    height: 0px;
    /* ✅ Espacement de 20px si necessaire entre les sections */
}

/* ✅ Alignement des blocs bonus */
.bonus-line {
    display: flex;
    justify-content: center;
    text-align: center;
}

/* ✅ Blocs bonus - Style minimaliste */
.bonus-block {
    padding: 8px;
    margin: 8px 0;
    font-weight: bold;
    text-align: center;
    font-size: 16px;
    border-left: 3px solid #b1b0ab;
    border-right: 3px solid #b1b0ab;
    padding-left: 10px;
    padding-right: 10px;
}

/* ✅ Paragraphes */
.faq-container p {
    font-size: 18px;
    /* ✅ Augmenter la taille de la police */
    text-align: center;
    /* ✅ Centrer le texte */
    margin-bottom: 3px;
    /* ✅ Réduire l'espace en dessous */
}

/* ✅ Style spécifique pour la section Classement */
.faq-container .info-block h2 {
    color: #ffcc00;
    /* Jaune pour garder la cohérence */
}

.faq-container .info-block p {
    font-size: 18px;
    text-align: center;
    margin-bottom: 5px;
}

/* ✅ Ajustement de la largeur pour mobile */
@media all and (max-width: 800px) {

    a.home-button {
        font-size: 15px;
        display: block;
    }
}