/* RESET */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* BODY */
body {
    font-family: 'Inter', sans-serif;
    background: url('roi_mort.png') no-repeat center center fixed;
    background-size: cover;
    color: #ccc;
    line-height: 1.6;
    min-height: 100vh;
}

/* HEADER */
header {
    background-color: rgba(11, 14, 20, 0.65);
    padding: 20px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: 'Cinzel', serif;
    color: #d4af37;
    box-shadow: 0 2px 5px rgba(0,0,0,0.7);
}

header h1 {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    letter-spacing: 0.1em;
}

nav a {
    color: #d4af37;
    text-decoration: none;
    margin-left: 20px;
    font-weight: 600;
    transition: color 0.3s ease;
}

nav a:hover {
    color: #fff;
}

/* MAIN */
main {
    flex: 1;
    padding: 40px 24px;
    background-color: rgba(11, 14, 20, 0.55);
    backdrop-filter: blur(5px);
    max-width: 1200px;
    margin: 20px auto;
    border-radius: 8px;
}

/* HERO */
.hero {
    text-align: center;
    margin-bottom: 40px;
}

.hero h2 {
    font-family: 'Cinzel', serif;
    font-size: clamp(2rem, 6vw, 4rem);
    color: #d4af37;
    letter-spacing: 0.15em;
    margin-bottom: 10px;
}

.hero h3 {
    font-family: 'Cinzel', serif;
    font-size: clamp(1rem, 3vw, 1.5rem);
    color: #d4af37;
    letter-spacing: 0.1em;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.hero p {
    color: #aaa;
    font-size: 1.1rem;
    margin-bottom: 30px;
    font-style: italic;
}

/* Groupe de boutons */
.btn-group {
    display: flex;
    gap: 20px;
	justify-content:center;
    flex-wrap: wrap; /* Permet aux boutons de passer à la ligne */
}

/* Boutons */
.btn {
    background-color: #d4af37;
    color: #0b0e14;
    padding: 12px 28px;
    font-weight: 700;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-family: 'Roboto Mono', monospace;
    transition: background-color 0.3s ease;
	text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    white-space: nowrap; /* Empêche le texte de casser */
}

/* Hover */
.btn:hover {
    background-color: #b08b2f;
}

/* Version mobile */
@media (max-width: 600px) {
    .btn-group {
        flex-direction: column;
        width: 100%;
    }

    .btn-group .btn {
        width: 100%;
        text-align: center;
    }
}

/* PRESENTATION */
#presentation {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    align-items: center;
    color: #ccc;
}

#presentation img {
    width: 100%;
    max-width: 350px;
    border-radius: 8px;
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.5);
}

#presentation .text {
    flex: 1;
    min-width: 280px;
}

#presentation .text h2 {
    font-family: 'Cinzel', serif;
    color: #d4af37;
    margin-bottom: 12px;
}

#presentation .text p {
    font-size: 1.1rem;
    margin-bottom: 16px;
    line-height: 1.5;
}

/* NEWS */
#news h2 {
    font-family: 'Cinzel', serif;
    color: #d4af37;
    margin-bottom: 24px;
    text-align: center;
}

.news-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.news-card {
    background-color: rgba(11, 14, 20, 0.65);
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.3);
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.news-card .icon {
    font-size: 2rem;
    color: #d4af37;
}

.news-card h3 {
    margin: 0;
    font-family: 'Cinzel', serif;
    color: #d4af37;
}

.news-card time {
    font-size: 0.9rem;
    color: #aaa;
}

.news-card p {
    flex-grow: 1;
    font-size: 1rem;
    color: #ccc;
}

.news-card button {
    align-self: flex-start;
    background-color: #d4af37;
    border: none;
    padding: 8px 16px;
    border-radius: 4px;
    color: #0b0e14;
    font-weight: 700;
    cursor: pointer;
    font-family: 'Roboto Mono', monospace;
    transition: background-color 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.news-card button:hover {
    background-color: #b08b2f;
}

/* SECTION GLOBALE */
#universe {
    padding: 60px 20px;
    max-width: 1400px; /* Élargi pour accueillir les grandes cartes */
    margin: 0 auto;    /* Centre la section sur la page */
}

#universe h2 {
    font-family: 'Cinzel', serif;
    color: #d4af37;
    margin-bottom: 40px;
    text-align: center;
    font-size: 2.5em;
}

/* LE CONTENEUR DES CARTES */
.universe-cards {
    display: flex;
    justify-content: center;
    flex-wrap: nowrap; /* INTERDIT le passage à la ligne sur PC */
    gap: 20px;         /* Espace réduit pour gagner de la place */
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
}

/* LA CARTE INDIVIDUELLE */
.universe-card {
    background-color: rgba(11, 14, 20, 0.85);
    border-radius: 12px;
    /* On utilise calc pour dire : 25% de la ligne moins l'espace des gaps */
    flex: 0 0 calc(25% - 20px); 
    min-width: 200px; /* Sécurité pour ne pas qu'elles soient minuscules */
    padding: 15px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid rgba(212, 175, 55, 0.1);
    display: flex;
    flex-direction: column;
}

/* On s'assure que le lien à l'intérieur de la carte prend toute la place */
.universe-card a {
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.universe-card:hover {
    transform: translateY(-10px);
    border-color: #d4af37;
    background-color: rgba(20, 25, 35, 0.95);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.6);
}



/* LES IMAGES DANS LES CARTES */
.universe-card img {
    width: 100%;
    height: auto;
    max-height: 250px;
    object-fit: contain;
    border-radius: 6px;
    margin-bottom: 20px;
}

/* LE TITRE FORCÉ EN BAS */
.universe-card h3 {
    font-family: 'Cinzel', serif;
    color: #d4af37;
    margin-top: auto;        /* LA CLÉ : Pousse le titre tout en bas du container */
    padding-top: 15px;       /* Un peu d'espace avec ce qui est au-dessus */
    font-size: 1.2em;
    letter-spacing: 1px;
}
/* AJUSTEMENT MOBILE ET TABLETTE */
@media (max-width: 1024px) {
    .universe-cards {
        flex-wrap: wrap; /* On autorise le passage à la ligne seulement sur petit écran */
    }
    .universe-card {
        flex: 0 0 calc(50% - 20px); /* 2 par ligne sur tablette */
    }
}

@media (max-width: 600px) {
    .universe-card {
        flex: 0 0 100%; /* 1 par ligne sur mobile */
    }
}
/* FEATURES AMÉLIORÉ */
#features {
    padding: 60px 0;
}

#features h2 {
    font-family: 'Cinzel', serif;
    color: #d4af37;
    margin-bottom: 40px;
    text-align: center;
    font-size: 2.2em;
    letter-spacing: 2px;
}

.features-list {
    display: grid;
    /* Crée une grille adaptative : 4 colonnes sur PC, 1 sur mobile */
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    padding: 0 20px;
}

.feature-item {
    background-color: rgba(11, 14, 20, 0.75);
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 12px;
    padding: 30px 20px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

/* Effet de lueur au survol identique à tes cartes d'univers */
.feature-item:hover {
    transform: translateY(-10px);
    border-color: #d4af37;
    background-color: rgba(20, 25, 35, 0.95);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.6), 0 0 15px rgba(212, 175, 55, 0.1);
}

.feature-icon {
    font-size: 2.5rem;
    filter: drop-shadow(0 0 5px rgba(212, 175, 55, 0.3));
}

.feature-item h3 {
    font-family: 'Cinzel', serif;
    color: #d4af37;
    font-size: 1.3rem;
    margin: 0;
}

.feature-item p {
    font-family: 'Inter', sans-serif;
    color: #aaa;
    font-size: 0.95rem;
    line-height: 1.4;
}
/* Overlay encore plus sombre pour le focus */
#mapPopup {
    background: rgba(0, 0, 0, 0.95);
}

/* Boîte modale qui prend tout l'espace */
.map-fullscreen {
    width: 95vw !important;  /* 95% de la largeur écran */
    height: 90vh !important; /* 90% de la hauteur écran */
    max-width: none !important;
    background: transparent !important; /* On enlève le fond pour voir l'image */
    border: none !important;
    box-shadow: none !important;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 !important;
}

/* L'image s'adapte pour être la plus grande possible sans être coupée */
.full-screen-img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain; /* Garde les proportions de ta carte */
    border: 2px solid #d4af37; /* Rappel de ton thème or */
    box-shadow: 0 0 30px rgba(0, 0, 0, 1);
}

/* Bouton fermer flottant en haut à droite */
#closeMap {
    position: fixed;
    top: 20px;
    right: 30px;
    font-size: 3rem;
    color: #d4af37;
    z-index: 10000;
    text-shadow: 0 0 10px #000;
}
/* On force l'overlay à être bien au-dessus de tout */
.history-overlay {
    z-index: 10000 !important;
    background: rgba(0, 0, 0, 0.85) !important;
}

/* Le conteneur du parchemin */
.parchment-wrapper {
    background: #f2e3c9 !important; /* Couleur papier */
    background-image: url('https://www.transparenttextures.com/patterns/paper-fibers.png');
    width: 90% !important;
    max-width: 700px !important;
    max-height: 80vh !important;
    margin: auto;
    padding: 40px !important;
    border: 12px solid #3d2b1f !important;
    box-shadow: 0 0 40px rgba(0,0,0,0.8), inset 0 0 60px rgba(139, 69, 19, 0.2) !important;
    position: relative;
    overflow-y: auto !important;
    border-radius: 4px !important;
    color: #2c1e14 !important; /* Texte marron foncé */
}

/* Titre sur parchemin */
.parchment-title {
    font-family: 'Cinzel', serif !important;
    color: #5d1a1a !important;
    text-align: center;
    font-size: 2rem !important;
    border-bottom: 2px double #5d1a1a;
    margin-bottom: 20px !important;
    text-shadow: none !important;
}

/* Texte général */
.parchment-body p {
    font-family: 'Inter', sans-serif !important;
    color: #333 !important;
    font-size: 1.05rem !important;
    margin-bottom: 15px !important;
    line-height: 1.6 !important;
    text-align: justify;
}

/* Citation stylisée */
.parchment-quote {
    font-style: italic;
    border-left: 3px solid #5d1a1a;
    padding-left: 15px;
    margin: 20px 0 !important;
    color: #555 !important;
}

/* Alerte rouge */
.parchment-warning {
    text-align: center;
    font-weight: bold;
    color: #a00 !important;
    margin: 25px 0 !important;
    font-family: 'Cinzel', serif !important;
    font-size: 1.2rem;
}

/* Bouton fermer sur le parchemin */
.parchment-wrapper #closeHistory {
    position: sticky;
    top: -20px;
    float: right;
    color: #3d2b1f !important;
    font-size: 2.5rem !important;
    cursor: pointer;
    line-height: 1;
}

.parchment-footer {
    font-size: 0.8rem !important;
    text-align: right;
    border-top: 1px solid rgba(0,0,0,0.1);
    padding-top: 10px;
    color: #777 !important;
}
.parchment-wrapper::-webkit-scrollbar {
    width: 10px;
}
.parchment-wrapper::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.05);
}
.parchment-wrapper::-webkit-scrollbar-thumb {
    background: #3d2b1f; /* Même couleur que la bordure du parchemin */
    border-radius: 5px;
}
/* Adaptation Mobile */
@media (max-width: 480px) {
    .feature-item {
        width: 100%; /* Prend toute la largeur sur petit écran */
    }
}

/* COMMUNITY */
#community {
    color: #ccc;
    background: url('logo.png') no-repeat center center fixed;
    background-size: cover;
    padding: 40px 24px;
    border-radius: 8px;
    backdrop-filter: blur(4px);
    background-attachment: scroll;
}

#community h2 {
    font-family: 'Cinzel', serif;
    color: #d4af37;
    margin-bottom: 24px;
    text-align: center;
}

.testimonial {
    background-color: rgba(11, 14, 20, 0.65);
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 16px;
    font-style: italic;
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.3);
    color: #ccc;
}

.testimonial strong {
    display: block;
    margin-top: 12px;
    font-style: normal;
    color: #d4af37;
    text-align: right;
}


/* Styles pour l'effet de lueur sur les MJ */
.mj-row { transition: all 0.3s ease; }
.mj-row:hover { background: rgba(212, 175, 55, 0.05); }
.mj-row:hover .mj-name { 
	color: #fff !important; 
	text-shadow: 0 0 10px rgba(212, 175, 55, 0.8), 0 0 20px rgba(212, 175, 55, 0.4); 
}
.mj-row:hover .mj-title { color: #fff !important; }

/* Styles pour les colonnes du bas */
.footer-columns {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-around;
	gap: 20px;
	margin-top: 4em;
	padding-top: 3em;
	border-top: 1px solid rgba(212, 175, 55, 0.3);
}
.footer-column { min-width: 200px; margin-bottom: 20px; }
.footer-column h4 { 
	color: #d4af37; 
	font-family: 'Cinzel', serif; 
	text-transform: uppercase; 
	border-bottom: 1px solid rgba(212, 175, 55, 0.2);
	padding-bottom: 10px;
	margin-bottom: 15px;
}
.footer-column ul { list-style: none; padding: 0; }
.footer-column ul li { margin-bottom: 8px; }
.footer-column ul li a { 
	color: #aaa; 
	text-decoration: none; 
	transition: color 0.3s; 
	font-size: 0.9em;
}
.footer-column ul li a:hover { color: #d4af37; }
.social-icons a { 
	text-decoration: none; 
	font-size: 1.5rem; 
	margin-right: 15px; 
	filter: sepia(1) saturate(5); /* Donne un look doré aux emojis */
}
/* POPUP OVERLAY */
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    display: none;
    justify-content: center;
    align-items: center;
    background: rgba(0,0,0,0.75);
    z-index: 9999;
}

/* POPUP BOX */
.popup-box {
    background: rgba(11,14,20,0.95);
    padding: 40px;
    border-radius: 12px;
    width: 480px;
    max-width: 90%;
    box-shadow: 0 0 25px rgba(212,175,55,0.4);
    color: #ccc;
    position: relative;
    border: 1px solid rgba(212,175,55,0.3);
}

.popup-box h2 {
    font-family: 'Cinzel', serif;
    color: #d4af37;
    margin-bottom: 25px;
    text-align: center;
    font-size: 2.2rem;
    letter-spacing: 0.05em;
}

/* LOGIN FORM */
.login-form {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.login-form label {
    font-family: 'Cinzel', serif;
    color: #d4af37;
    font-size: 1.1rem;
    margin-bottom: 4px;
}

.login-form input {
    padding: 12px 14px;
    border-radius: 6px;
    border: 1px solid rgba(212,175,55,0.3);
    background: #0f131a;
    color: #fff;
    font-size: 1.1rem;
    transition: 0.3s;
}

.login-form input:focus {
    outline: none;
    border-color: #d4af37;
    box-shadow: 0 0 8px rgba(212,175,55,0.4);
}

/* LOGIN BUTTON */
.btn-login-submit {
    background-color: #d4af37;
    color: #0b0e14;
    padding: 12px 28px;
    font-weight: 700;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-family: 'Roboto Mono', monospace;
    transition: background-color 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-top: 10px;
}

.btn-login-submit:hover {
    background-color: #b08b2f;
}
.btn-back {
	display: inline-block;
	margin-bottom: 20px;
	color: #d4af37;
	text-decoration: none;
	font-family: 'Cinzel', serif;
}
/* CLOSE BUTTON */
.close-popup {
    position: absolute;
    top: 12px;
    right: 16px;
    font-size: 2rem;
    cursor: pointer;
    color: #d4af37;
    transition: 0.3s;
}

.close-popup:hover {
    color: #fff;
}

/* PANEL DES PERSONNAGES */
.characters-panel {
    position: fixed;
    top: 0;
    left: 0;
    width: 340px;
    height: 100vh;
    background: rgba(11,14,20,0.95);
    border-right: 1px solid rgba(212,175,55,0.3);
    box-shadow: 4px 0 20px rgba(0,0,0,0.5);
    padding: 20px;
    transform: translateX(0);
    transition: transform 0.3s ease;
    z-index: 9000;
}

.characters-panel.closed {
    transform: translateX(-100%);
}

/* BANDE JAUNE */
.characters-tab {
    position: fixed;
    top: 120px;
    left: 0;
    background: #d4af37;
    color: #0b0e14;
    padding: 10px 6px;
    font-family: 'Cinzel', serif;
    font-weight: bold;
    border-radius: 0 6px 6px 0;
    cursor: pointer;
    box-shadow: 3px 3px 10px rgba(0,0,0,0.4);
    z-index: 9500;
    transition: opacity 0.3s ease, transform 0.3s ease;
    writing-mode: vertical-rl;
    text-orientation: upright;
    letter-spacing: 2px;
}

.characters-tab.hidden {
    opacity: 0;
    pointer-events: none;
    transform: translateX(-40px);
}

/* PANEL HEADER */
.panel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #d4af37;
    font-family: 'Cinzel', serif;
    margin-bottom: 20px;
}

.panel-toggle {
    background: none;
    border: 1px solid #d4af37;
    color: #d4af37;
    padding: 4px 10px;
    cursor: pointer;
    border-radius: 4px;
}

/* CHARACTER CARD */
.character-card {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(212,175,55,0.2);
    padding: 12px;
    border-radius: 6px;
    margin-bottom: 12px;
    color: #ccc;
}

.character-card h4 {
    margin: 0 0 4px 0;
    color: #d4af37;
    font-family: 'Cinzel', serif;
}

/* RESPONSIVE BREAKPOINTS */
@media (max-width: 768px) {
    header {
        flex-direction: column;
        gap: 12px;
        padding: 16px 20px;
        text-align: center;
    }

    main {
        padding: 20px 16px;
        margin: 10px;
    }

    #presentation {
        flex-direction: column;
        text-align: center;
    }

    footer {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .characters-panel {
        width: 260px;
    }
}

@media (max-width: 480px) {
    .popup-box {
        width: 95%;
        padding: 24px;
    }

    .characters-panel {
        width: 220px;
        padding: 16px;
    }

    .characters-tab {
        top: 80px;
        padding: 8px 4px;
        font-size: 0.8rem;
        letter-spacing: 1px;
    }

    .news-card {
        padding: 16px;
    }

    .universe-cards {
        padding-left: 8px;
        padding-right: 8px;
    }

    .feature-item {
        width: 100%;
    }
}
/* Bloc du dernier article */
.blog-latest {
    width: 100%;                 /* Largeur totale */
    max-width: 100%;             /* Pas de limite */
    margin: 20px 0 0;
    padding: 12px 18px;
    text-align: center;
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(3px);
}

/* Lien vers l’article */
.blog-latest a {
    font-family: 'Roboto Mono', monospace;
    font-size: 1.1em;
    color: #d4af37;
    text-decoration: none;
    font-weight: 700;
    letter-spacing: 0.05em;
    transition: color 0.3s ease;
}

.blog-latest a:hover {
    color: #b08b2f;
}

/* Responsive */
@media (max-width: 600px) {
    .blog-latest {
        margin-top: 15px;
        padding: 10px 14px;
    }

    .blog-latest a {
        font-size: 1em;
    }
}
.ui-accordion .ui-accordion-header.ui-state-active {
        background-color: #2a2a2a !important;
        color: #c2c2c2 !important;
        text-shadow: 0px 0px 5px rgba(255, 255, 255, 0.2) !important;
    }
    .arangur-text {
		font-family: 'Cinzel', serif; /* Style médiéval */
		color: #b0c4de; /* Bleu-gris mystique */
		text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.7); /* Effet de profondeur */
		background: transparent;
		border: none;
		font-size: 1.0em;
		letter-spacing: 1px;
	}

    .accordion {
        width: 95%;
		padding:10px;
        margin: auto;
        background-color: #transparent /* Fond sombre */
        border: 2px solid #5a5a5a; /* Bordures argentées */
    }
    
    /* Correction appliquée : ajout du point devant "accordion" pour bien cibler l'élément de classe */
    .accordion h3 {
        background-color: #2a2a2a; /* Fond légèrement plus clair */
        color: #c2c2c2; /* Texte argenté */
        font-size: 22px;
        font-weight: bold;
        text-transform: uppercase;
        padding: 12px;
        border-bottom: 1px solid #5a5a5a;
        cursor: pointer;
        transition: background 0.3s;
		
    }
    
    .accordion h3:hover {
        background-color: #3a3a3a; /* Effet lumineux au survol */
    }
    
    .accordion div {
        background-color: transparent; /* Fond très sombre */
        color: #c2c2c2;
        padding: 15px;
        font-size: 18px;
        border-bottom: 1px solid #444;
    }
    
    /* Styles pour la section "intro" du site (exemple) */
    .intro h1 {
        color: #88ccff; /* Bleu glacial lumineux */
        text-shadow: 2px 2px 5px rgba(135, 206, 250, 0.6); /* Effet froid et spectral */
    }
    
    .intro h2 {
        color: #4a76a8; /* Bleu sombre profond */
        text-shadow: 1px 1px 3px rgba(100, 149, 237, 0.5); /* Ombre légère froide */
    }
    
    .intro p {
        color: #d0d9e2; /* Gris bleuté pour la lisibilité */
    }
    
    .intro a {
        display: inline-block;
        margin-top: 20px;
        padding: 10px 20px;
        background: #1f3b59; /* Bleu sombre, profond et mystérieux */
        color: #ccd6dd;
        text-decoration: none;
        font-weight: bold;
        border-radius: 5px;
        box-shadow: 0px 0px 10px rgba(135, 206, 250, 0.5);
    }
    
    .intro a:hover {
        background: #103040; /* Encore plus glacé au survol */
        color: white;
    }
}
.perso-accordion-section {
    margin-bottom: 10px;
    border: 1px solid #444;
    border-radius: 6px;
    overflow: hidden;
}

.perso-accordion-header {
    background-color: #222;
    color: #fff;
    padding: 10px;
    font-weight: bold;
    cursor: pointer;
    user-select: none;
}

.perso-accordion-header.orange {
    background-color: orange;
    color: black;
}

.perso-accordion-content {
    display: none;
    background-color: #111;
}

.perso-ligne {
    padding: 5px;
    margin-top: 5px;
    width: 100%;
    display: flex;
    align-items: center;
    font-size: 18px;
    color: #efefef;
    border-bottom: 1px solid #333;
}
.logout-wrapper {
    width: 100%;
    margin-top: 20px;
}

.logout-wrapper .btn {
    width: 100%;
    display: block;
    text-align: center;
}
.news-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.75);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.news-modal-content {
    background: rgba(20, 20, 20, 0.95);
    border: 1px solid #d4af37;
    padding: 25px;
    width: 70%;
    max-width: 900px;
    max-height: 80%;
    overflow-y: auto;
    border-radius: 8px;
    box-shadow: 0 0 20px #000;
}

.news-modal-close {
    float: right;
    background: transparent;
    border: none;
    color: #d4af37;
    font-size: 1.4em;
    cursor: pointer;
}

#news-modal-body {
    color: #eee;
    font-size: 1.1em;
    line-height: 1.6;
}
.news-button {
    display: inline-block;
    margin-top: 12px;
    padding: 10px 18px;
    background: #d4af37; /* or Arangûr */
    color: #0b0e14;
    font-family: 'Roboto Mono', monospace;
    font-weight: 700;
    font-size: 0.9em;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    border-radius: 4px;
    text-decoration: none;
    transition: all 0.25s ease;
    cursor: pointer;
}

.news-button:hover {
    background: #b08b2f;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0,0,0,0.4);
}
/* --- AJOUTS POUR LES NOUVELLES PAGES (Bogue, MJ, Dons) --- */

.form-group { margin-bottom: 25px; text-align: left; }
.form-group label { display: block; font-family: 'Cinzel', serif; color: #d4af37; margin-bottom: 10px; }

/* Style universel pour les nouveaux formulaires sans impacter le login */
.form-control {
    width: 100%;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 4px;
    padding: 12px;
    color: #eee;
    font-family: 'Inter', sans-serif;
}

/* Classes pour le tableau des dons */
.val-don { color: #2ecc71 !important; font-weight: bold; }
.val-depense { color: #e74c3c !important; font-weight: bold; }

/* Messages de confirmation en haut de page */
.msg-success { 
    background: rgba(46, 204, 113, 0.15); 
    border: 1px solid #2ecc71; 
    color: #2ecc71; 
    padding: 15px; 
    margin-bottom: 20px; 
    border-radius: 4px; 
    text-align: center;
}
.msg-error { 
    background: rgba(231, 76, 60, 0.15); 
    border: 1px solid #e74c3c; 
    color: #e74c3c; 
    padding: 15px; 
    margin-bottom: 20px; 
    border-radius: 4px; 
    text-align: center;
}

/* Conteneur spécifique pour éviter de casser ton <main> habituel */
.bug-card, .mj-card {
    background: rgba(11, 14, 20, 0.95);
    border: 1px solid rgba(212, 175, 55, 0.3);
    padding: 40px;
    border-radius: 8px;
    max-width: 800px;
    margin: 20px auto;
}
/* Conteneur pour espacer le bouton du reste */
.logout-wrapper {
    margin-top: 25px;
    padding-top: 15px;
    text-align: center;
    border-top: 1px solid rgba(212, 175, 55, 0.3); /* Ligne dorée subtile */
}

/* Style du bouton de déconnexion */
.btn-logout {
    display: inline-block;
    padding: 10px 20px;
    background: rgba(139, 0, 0, 0.2); /* Rouge sombre très léger */
    color: #d4af37; /* Or */
    text-decoration: none;
    font-family: 'Cinzel', serif;
    font-size: 0.9rem;
    border: 1px solid #d4af37;
    border-radius: 4px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    cursor: pointer;
}

/* Effet au survol */
.btn-logout:hover {
    background: rgba(139, 0, 0, 0.6); /* Rouge plus intense */
    color: #fff;
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.4);
    transform: translateY(-2px);
}