/*=============================================================================================*/

.character-section {
    padding: 50px;
    background-color: #1a1a1a; /* Fond noir pour garder le style global */
    color: #f4d03f; /* Texte doré */
    text-align: center;
}

.character-section h1 {
    font-family: 'Uncial Antiqua', serif;
    font-size: 2.5em;
    margin-bottom: 20px;
    border-bottom: 2px solid #f4d03f;
    display: inline-block;
    padding-bottom: 10px;
}

.character-list {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 20px;
}

.character-card {
    background-color: #333; /* Fond sombre */
    padding: 1em;
    border: 2px solid #f4d03f; /* Bordure dorée */
    border-radius: 0; /* Bordures carrées */
    width: 300px;
    text-align: left;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.5);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.character-card:hover {
    transform: translateY(-10px); /* Effet de soulèvement */
    box-shadow: 0 8px 12px rgba(0, 0, 0, 0.8);
}

.character-card h2 {
    font-family: 'Cinzel', serif;
    font-size: 1.5em;
    margin-bottom: 10px;
    color: #f4d03f;
}

.character-card p {
    font-family: 'Georgia', serif;
    font-size: 1em;
    line-height: 1.5;
    color: #f4d03f;
}

/*_______________________________________________*/

/* Style de la case du personnage */
.character-card {
    position: relative;
    display: block;
    width: 450px;
    background-color: rgba(0, 0, 0, 0.7);
    border-radius: 10px;
    margin: 15px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Masquer tout le contenu (image + texte) au départ */
.hidden-content {
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.7); /* Fond sombre pour masquer */
    color: #fff;
    padding: 20px;
    text-align: center;
    z-index: 2;
    overflow: hidden;
}

/* Style du bouton SPOIL */
.spoiler-button {
    background-color: #b9832f;
    color: #fff;
    padding: 10px 20px;
    border: none;
    cursor: pointer;
    font-size: 18px;
    border-radius: 5px;
    z-index: 3;
}

.spoiler-button:hover {
    background-color: #f4d03f;
}

/* Style de l'image (elle fait partie du contenu spoilé) */
.character-image {
    width: 75%;
    height: 75%;
    border-radius: 10px;
    margin-bottom: 10px;
}

/* Masquer le bouton SPOIL après clic */
.spoiler-button.hidden {
    display: none;
}

/*=============================================================================================*/