/* --- Variables de couleurs tirées du logo --- */
:root {
    --bg-dark: #050505;
    --bg-lighter: #1a1a1a;
    --hostile-red: #bd1318;
    --hostile-red-hover: #960f13;
    --bone-white: #e8e6e1;
    --font-title: 'Oswald', sans-serif;
    --font-text: 'Roboto', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-dark);
    color: var(--bone-white);
    font-family: var(--font-text);
    background-image: radial-gradient(circle at center, #1a1a1a 0%, #050505 100%);
    min-height: 100vh;
}

/* --- Navigation --- */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 50px;
    background-color: rgba(0, 0, 0, 0.9);
    border-bottom: 2px solid var(--hostile-red);
}

.nav-logo img {
    height: 70px;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 30px;
}

.nav-links a {
    color: var(--bone-white);
    text-decoration: none;
    font-family: var(--font-title);
    font-size: 1.2rem;
    text-transform: uppercase;
    transition: color 0.3s ease;
}

.nav-links a:hover, .nav-links a.active {
    color: var(--hostile-red);
}

/* --- Hero Section (Accueil) --- */
.hero {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    min-height: calc(100vh - 100px); /* Prend toute la hauteur de l'écran moins la barre de navigation */
    padding: 40px 20px;
    /* On met l'image de fond directement ici, avec un filtre assombrissant */
    background: linear-gradient(rgba(5, 5, 5, 0.7), rgba(5, 5, 5, 0.9)), url('fond-presentation.png') no-repeat center center/cover;
}

.hero-content h1 {
    font-family: var(--font-title);
    font-size: 4rem;
    letter-spacing: 2px;
    margin-bottom: 30px;
    text-transform: uppercase;
    text-shadow: 2px 2px 10px rgba(0,0,0,0.8); /* Fait ressortir le titre sur le fond */
}

.text-red {
    color: var(--hostile-red);
}

.hero-content p {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto 40px auto;
    color: #b3b3b3;
}

/* --- Boutons --- */
.action-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 40px;
}

.btn {
    padding: 15px 30px;
    font-family: var(--font-title);
    font-size: 1.2rem;
    text-decoration: none;
    text-transform: uppercase;
    color: white;
    border-radius: 5px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-discord {
    background-color: #5865F2; /* Couleur officielle Discord */
}
.btn-discord:hover {
    background-color: #4752C4;
}

.btn-topserveur {
    background-color: var(--hostile-red);
}
.btn-topserveur:hover {
    background-color: var(--hostile-red-hover);
}

/* --- Server Status --- */
.server-status {
    background-color: var(--bg-lighter);
    display: inline-block;
    padding: 10px 20px;
    border-radius: 5px;
    font-weight: bold;
    border: 1px solid #333;
}

.status-dot {
    height: 12px;
    width: 12px;
    background-color: #4CAF50; /* Vert pour dire "En ligne" */
    border-radius: 50%;
    display: inline-block;
    margin-right: 8px;
    box-shadow: 0 0 10px #4CAF50;
}

/* --- Section Présentation --- */
.presentation-section {
    /* Le linear-gradient ajoute un voile noir transparent à 85% par dessus l'image */
    background: linear-gradient(rgba(5, 5, 5, 0.85), rgba(5, 5, 5, 0.85)), url('fond-presentation.png') no-repeat center center/cover;
    padding: 100px 20px;
    display: flex;
    justify-content: center;
    border-top: 2px solid #333;
}

.presentation-container {
    background-color: rgba(26, 26, 26, 0.7);
    padding: 30px 40px;
    max-width: 800px;
    margin: 0 auto 40px auto; /* Centre la boîte et met de l'espace en bas */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    text-align: left; /* On aligne le texte à gauche dans la boîte, c'est plus lisible */
}

.presentation-container p {
    font-size: 1.15rem;
    line-height: 1.7;
    margin-bottom: 15px;
    color: #cccccc;
}

.presentation-container p:last-child {
    margin-bottom: 0;
}

.presentation-container p strong {
    color: var(--hostile-red); /* Met la phrase finale en rouge pour impacter */
    font-size: 1.25rem;
    text-transform: uppercase;
    font-family: var(--font-title);
}

/* --- Styles génériques pour les en-têtes de pages internes (Règlement, Gameplay...) --- */
.page-header {
    text-align: center;
    padding: 60px 20px 40px;
    background-color: var(--bg-dark);
}

.page-header h1 {
    font-family: var(--font-title);
    font-size: 3rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 15px;
}

.page-header p {
    font-size: 1.2rem;
    color: #999;
}

/* --- Page Règlement --- */
.rules-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 20px 20px 80px 20px;
    display: flex;
    flex-direction: column;
    gap: 30px; /* Espace entre chaque bloc de règles */
}

.rule-block {
    background-color: rgba(26, 26, 26, 0.8);
    border-top: 3px solid var(--hostile-red); /* Ligne rouge en haut pour structurer */
    padding: 30px;
    border-radius: 5px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
}

.rule-block h2 {
    font-family: var(--font-title);
    color: var(--bone-white);
    font-size: 2rem;
    margin-bottom: 20px;
    text-transform: uppercase;
    border-bottom: 1px solid #333;
    padding-bottom: 10px;
}

.rule-block ul {
    list-style-type: none; /* On enlève les puces par défaut */
}

.rule-block li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 15px;
    line-height: 1.6;
    color: #cccccc;
    font-size: 1.05rem;
}

/* Création d'une puce personnalisée rouge */
.rule-block li::before {
    content: "■";
    position: absolute;
    left: 0;
    top: 0;
    color: var(--hostile-red);
    font-size: 0.8rem;
    line-height: 1.6;
}

.rule-block li:last-child {
    margin-bottom: 0;
}

/* --- Page Donations --- */

/* --- La carte spéciale PayPal (6ème tuile) --- */
.paypal-card {
    border-color: #00457C; /* Bleu foncé pour rappeler PayPal */
    background: linear-gradient(145deg, #1a1a1a 0%, #001833 100%);
}

.paypal-card .pack-icon {
    color: #0079C1; /* Bleu clair PayPal pour l'icône */
}

.paypal-card:hover {
    border-color: #0079C1;
    box-shadow: 0 15px 40px rgba(0, 121, 193, 0.2);
}

.paypal-text p {
    color: #cccccc;
    font-size: 1.1rem;
    line-height: 1.6;
    text-align: center;
    margin-top: 10px;
}

.btn-paypal-card {
    background-color: #0079C1;
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    padding: 15px;
    border-radius: 5px;
    font-family: var(--font-title);
    font-size: 1.2rem;
    text-transform: uppercase;
    text-decoration: none;
    transition: all 0.3s ease;
    width: 100%;
    margin-top: auto; /* Pousse le bouton tout en bas de la carte */
}

.btn-paypal-card:hover {
    background-color: #00457C;
    transform: translateY(-3px);
}

.btn-paypal:hover {
    background-color: #001C4F;
    transform: translateY(-3px);
}

.donation-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 60px auto;
    padding: 0 20px;
    align-items: start;
}

/* --- L'effet de quinconce --- */
/* On décale les cartes paires vers le bas sur les écrans larges */
@media (min-width: 900px) {
    .pack-card:nth-child(even) {
        margin-top: 50px;
    }
}

.pack-card {
    background-color: var(--bg-lighter);
    border: 1px solid #333;
    border-radius: 10px;
    padding: 40px 30px;
    text-align: center;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 500px;
    position: relative;
    overflow: hidden;
}

.pack-card:hover {
    border-color: var(--hostile-red);
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(189, 19, 24, 0.2);
}

/* Mise en avant du pack Elite (le pack du milieu ou recommandé) */
.pack-card.highlight {
    background: linear-gradient(145deg, #1a1a1a 0%, #250505 100%);
}

.pack-card.highlight2 {
    background: linear-gradient(145deg, #1a1a1a 0%, #252005 100%);
}

.pack-icon {
    font-size: 3rem;
    color: var(--hostile-red);
    margin-bottom: 20px;
}

.pack-header h3 {
    font-family: var(--font-title);
    font-size: 2rem;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.price {
    display: block;
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--bone-white);
    margin-bottom: 30px;
    font-family: var(--font-title);
}

.pack-features {
    list-style: none;
    text-align: left;
    margin-bottom: 40px;
    flex-grow: 1;
}

.pack-features li {
    margin-bottom: 12px;
    color: #ccc;
    display: flex;
    align-items: center;
    gap: 10px;
}

.pack-features li i {
    color: var(--hostile-red);
    font-size: 0.9rem;
}


.btn-buy:hover {
    background-color: var(--hostile-red);
}

.discord-info {
    text-align: center;
    padding: 40px;
    color: #888;
    font-style: italic;
}

/* --- Règles et avertissements de Donation --- */
.donation-rules {
    max-width: 900px;
    margin: 20px auto 60px auto;
    padding: 0 20px;
}

.rules-content {
    background-color: rgba(26, 26, 26, 0.8);
    border-left: 5px solid var(--hostile-red); /* Ligne d'avertissement rouge */
    padding: 30px;
    border-radius: 5px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
}

.rules-content h3 {
    font-family: var(--font-title);
    color: var(--hostile-red);
    font-size: 1.8rem;
    margin-bottom: 20px;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 12px;
}

.rules-content ul {
    list-style-type: none; /* Enlève les puces par défaut */
}

.rules-content li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 12px;
    line-height: 1.6;
    color: #cccccc;
    font-size: 1.05rem;
}

.rules-content li:last-child {
    margin-bottom: 0;
}

/* Les petits carrés rouges pour la liste */
.rules-content li::before {
    content: "■";
    position: absolute;
    left: 0;
    top: 0;
    color: var(--hostile-red);
    font-size: 0.8rem;
    line-height: 1.6;
}

/* --- Page À Propos --- */

/* Section Histoire */
.lore-section {
    padding: 0 20px 40px 20px;
    display: flex;
    justify-content: center;
}

.lore-container {
    background-color: rgba(26, 26, 26, 0.5);
    border-top: 2px solid #333;
    border-bottom: 2px solid #333;
    padding: 40px;
    max-width: 900px;
    text-align: center;
}

.lore-container h2 {
    font-family: var(--font-title);
    font-size: 2.5rem;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.lore-container p {
    font-size: 1.15rem;
    line-height: 1.7;
    margin-bottom: 15px;
    color: #cccccc;
}

/* Grille du Staff */
.staff-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center; /* Centre les cartes sur chaque ligne */
    gap: 30px;
    max-width: 1200px;
    margin: 40px auto 80px auto;
    padding: 0 20px;
}

.staff-card {
    background-color: var(--bg-lighter);
    border: 1px solid #333;
    border-radius: 8px;
    padding: 30px 20px;
    text-align: center;
    transition: transform 0.3s ease, border-color 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    
    /* La magie opère ici : chaque carte fait environ 30% de la largeur */
    /* Cela force les 3 premières à tenir sur une ligne, et la 4ème à passer en dessous ! */
    flex: 1 1 300px; 
    max-width: 350px; 
}

.staff-card:hover {
    transform: translateY(-5px);
    border-color: var(--hostile-red);
}

/* Carte spéciale pour l'Admin Sys (mise en avant discrète) */
.special-card {
    border-color: #444;
    background: linear-gradient(180deg, #1a1a1a 0%, #0a0a0a 100%);
}
.special-card:hover {
    border-color: #666; /* Pas de rouge pour montrer le côté "ombre/technique" */
}

.staff-avatar {
    width: 80px;
    height: 80px;
    background-color: var(--bg-dark);
    border: 2px solid var(--hostile-red);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2rem;
    color: var(--bone-white);
    margin-bottom: 20px;
    box-shadow: 0 0 15px rgba(189, 19, 24, 0.3);
}

.special-card .staff-avatar {
    border-color: #666;
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.1);
}

.staff-info h3 {
    font-family: var(--font-title);
    font-size: 1.8rem;
    color: var(--bone-white);
    margin-bottom: 5px;
    text-transform: uppercase;
}

.staff-role {
    display: block;
    font-size: 0.9rem;
    color: var(--hostile-red);
    font-weight: bold;
    text-transform: uppercase;
    margin-bottom: 15px;
    letter-spacing: 1px;
}

.special-card .staff-role {
    color: #888;
}

.staff-info p {
    color: #bbb;
    font-size: 1rem;
    line-height: 1.6;
}

/* --- Footer --- */

/* --- Lien du Footer --- */
.footer-link {
    color: #888;
    text-decoration: none;
    transition: color 0.3s ease;
}
.footer-link:hover {
    color: var(--hostile-red);
}

footer {
    text-align: center;
    padding: 30px;
    background-color: var(--bg-dark);
    color: #666;
    border-top: 1px solid #222;
    font-size: 0.9rem;
}
