:root {
    --bg-dark: #080404;
    --primary: #ff3c00; /* Le Rouge/Orange feu */
    --secondary: #991b1b;
    --text-main: #ffffff;
    --text-muted: #a3a3a3;
    --glass: rgba(255, 255, 255, 0.05);
    --border: rgba(255, 255, 255, 0.1);
    --font-title: 'Space Grotesk', sans-serif;
    --font-body: 'Outfit', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; scroll-behavior: smooth; }

/* Navigation latérale */

.side-nav {
    position: fixed;
    top: 50%;
    right: 30px; 
    transform: translateY(-50%); 
    display: flex;
    flex-direction: column;
    gap: 20px;
    z-index: 1000; 
}

.nav-dot {
    width: 12px;
    height: 12px;
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    cursor: pointer;
    position: relative;
    transition: all 0.3s ease;
}

/* Etat Actif (passage souris au dessus) */
.nav-dot.active {
    background: var(--primary); 
    box-shadow: 0 0 10px var(--primary); 
    transform: scale(1.3);
    border-color: transparent;
}


.nav-dot::before {
    content: attr(data-label);
    position: absolute;
    right: 25px; 
    top: 50%;
    transform: translateY(-50%) translateX(10px);
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 0.8rem;
    font-weight: bold;
    opacity: 0; /* Caché par défaut */
    visibility: hidden;
    transition: 0.3s;
    white-space: nowrap;
    font-family: var(--font-body);
}

.nav-dot:hover::before {
    opacity: 1;
    visibility: visible;
    transform: translateY(-50%) translateX(0);
}


@media (max-width: 768px) {
    .side-nav { display: none; }
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: var(--font-body);
    line-height: 1.6;
}

/* --- LOADER --- */
/* --- LOADER MODIFIÉ --- */
#loader {
    position: fixed; inset: 0; background: #000; z-index: 9999;
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    transition: opacity 0.8s ease-out; /* Disparition douce */
}

/* Style de ton image logo dans le chargement */
.loader-logo-img {
    width: 150px; /* Ajuste la taille ici si c'est trop gros/petit */
    height: auto;
    margin-bottom: 20px;
    animation: pulseLogo 2s infinite ease-in-out; /* Animation de battement */
    filter: drop-shadow(0 0 20px rgba(255, 60, 0, 0.6)); /* Lueur orange autour du logo */
}

.loader-text { 
    font-family: var(--font-title); 
    letter-spacing: 4px; 
    font-size: 1rem;
    color: var(--text-muted);
    animation: blink 1.5s infinite;
}

@keyframes pulseLogo {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); } /* Grossit un peu */
    100% { transform: scale(1); }
}
@keyframes blink { 0%,100%{opacity: 0.3} 50%{opacity: 1} }


/* --- Image de fond --- */
.hero {
    height: 100vh; 
    display: flex; 
    align-items: center; 
    justify-content: center;
    text-align: center; 
    position: relative; 
    padding: 0 20px;

  
    background: 
        linear-gradient(to bottom, rgba(0,0,0,0.2), rgba(8,4,4,1) 95%), /* Voile noir par dessus pour lire le texte */
        url('background.png'); 
    
    background-size: cover;     /* L'image couvre tout l'écran */
    background-position: center; /* L'image est centrée */
    background-attachment: fixed; /* Effet parralax (l'image reste fixe quand on scroll) */
}
.hero h1 { font-family: var(--font-title); font-size: clamp(2.5rem, 5vw, 5rem); line-height: 1.1; margin-bottom: 20px; }
.text-highlight { color: var(--primary); text-shadow: 0 0 20px rgba(255,60,0,0.4); }
.hero p { max-width: 700px; margin: 0 auto 40px; color: var(--text-muted); font-size: 1.1rem; }
.hero-btns { display: flex; gap: 15px; justify-content: center; }
.btn-main { background: var(--primary); color: #fff; padding: 12px 30px; text-decoration: none; border-radius: 4px; font-weight: bold; transition: 0.3s; }
.btn-glass { border: 1px solid var(--border); color: #fff; padding: 12px 30px; text-decoration: none; border-radius: 4px; transition: 0.3s; }
.btn-main:hover { box-shadow: 0 0 30px rgba(255,60,0,0.5); }
.btn-glass:hover { background: rgba(255,255,255,0.1); }

/*==================================== 
Informations serveurs (Optimisé, Semi WL, etc...) 
======================================*/
#features-bar {
    padding: 0; 
    margin-top: -50px; 
    position: relative;
    z-index: 10;
}

.features-container {
    background: rgba(10, 5, 5, 0.8); 
    backdrop-filter: blur(15px); 
    border-top: 1px solid rgba(255, 60, 0, 0.3);
    border-bottom: 1px solid rgba(255, 60, 0, 0.3);
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 30px 5%;
    gap: 0; 
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 0 40px;
    transition: 0.3s;
}


.feat-icon {
    width: 60px;
    height: 60px;
    background: rgba(255, 60, 0, 0.1);
    border: 1px solid rgba(255, 60, 0, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--primary);
    box-shadow: 0 0 15px rgba(255, 69, 0, 0.2);
    transition: 0.3s;
}

.feat-text h3 {
    font-family: var(--font-title);
    font-size: 1.2rem;
    color: #fff;
    margin-bottom: 2px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.feat-text p {
    color: var(--text-muted);
    font-size: 0.85rem;
    font-weight: 500;
}


.feat-separator {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, transparent, rgba(255,255,255,0.2), transparent);
}

.feature-item:hover .feat-icon {
    background: var(--primary);
    color: white;
    box-shadow: 0 0 30px rgba(255, 69, 0, 0.6);
    transform: rotate(10deg);
}

.feature-item:hover .feat-text h3 {
    color: var(--primary);
}

@media (max-width: 900px) {
    .features-container {
        flex-direction: column;
        gap: 30px;
        margin-top: 0;
        padding: 40px 20px;
    }
    .feat-separator { display: none; } /* On cache les séparateurs sur mobile */
    .feature-item { width: 100%; justify-content: flex-start; }
}


/* =========================================
   SECTION IMAGES SLIDER
   ========================================= */
#server-slider {
    padding: 80px 5%; /* Espace au dessus et en dessous */
    max-width: 1200px;
    margin: 0 auto;
}

/* Le cadre global avec l'effet Néon */
.slider-wrapper-neon {
    position: relative;
    border-radius: 20px;
    overflow: hidden; /* Masque ce qui dépasse */
    border: 1px solid rgba(255, 60, 0, 0.3);
    box-shadow: 0 0 30px rgba(255, 60, 0, 0.1);
    aspect-ratio: 16/9; /* Force un format rectangulaire type vidéo */
}

/* La "piste" qui contient toutes les images côte à côte */
.slider-track {
    display: flex;
    height: 100%;
    transition: transform 0.8s cubic-bezier(0.25, 0.8, 0.25, 1); /* Animation fluide */
}

/* Chaque diapositive individuelle */
.slide-item {
    min-width: 100%; /* Prend toute la largeur du cadre */
    height: 100%;
    position: relative;
}

.slide-item img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Remplit bien sans déformer */
    filter: brightness(0.8); /* Légèrement assombri pour le texte */
}

/* Le texte par-dessus l'image */
.slide-caption {
    position: absolute;
    bottom: 0; left: 0;
    width: 100%;
    padding: 40px;
    background: linear-gradient(to top, rgba(0,0,0,0.9), transparent);
}

.slide-caption h3 {
    font-family: var(--font-title);
    color: var(--primary); /* Orange */
    font-size: 1.8rem;
    margin-bottom: 10px;
    text-transform: uppercase;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

.slide-caption p {
    color: rgba(255,255,255,0.9);
    font-size: 1.1rem;
    max-width: 600px;
}


/* --- SECTIONS COMMUNES --- */
section { padding: 80px 5%; max-width: 1200px; margin: 0 auto; }
.section-header { text-align: center; margin-bottom: 60px; }
.section-header h2 { font-family: var(--font-title); font-size: 2.5rem; margin-bottom: 10px; }

/* --- STAFF GRID --- */
.grid-staff { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 20px; }
.staff-card {
    background: var(--glass); border: 1px solid var(--border); padding: 25px;
    border-radius: 10px; text-align: center; transition: 0.3s;
}
.staff-card:hover { transform: translateY(-5px); border-color: var(--primary); }
.badge { display: inline-block; padding: 4px 10px; font-size: 0.75rem; border-radius: 20px; margin-bottom: 15px; font-weight: bold; text-transform: uppercase; }
.founder { background: rgba(220,20,60,0.2); color: #dc143c; }
.admin { background: rgba(255,69,0,0.2); color: #ff4500; }
.dev { background: rgba(30,144,255,0.2); color: #1e90ff; }
.co-founder { background: rgba(147,51,234,0.2); color: #9333ea; }

/* =========================================
   SECTION WEAZEL NEWS 
   ========================================= */

#weazel-news {
    padding-bottom: 60px;
    padding-top: 40px;
}

/* GRILLE DES ARTICLES */
.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr)); /* Légèrement élargi */
    gap: 30px;
    padding: 0 5%;
    max-width: 1400px;
    margin: 0 auto;
}

/* CARTE ARTICLE */
.news-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: 0.4s ease;
    height: 100%; 
    cursor: default; 
}

.news-card:hover {
    transform: translateY(-5px);
    border-color: #dc2626; /* Rouge Weazel */
    box-shadow: 0 10px 30px rgba(220, 38, 38, 0.15);
}

/* IMAGE (ZONEAGRANDIE POUR LA LISIBILITÉ) */
.news-image {
    height: 500px; /* <--- C'EST ICI LE CHANGEMENT (Avant: 220px) */
    position: relative;
    overflow: hidden;
    background: #050505; /* Fond noir profond pour combler les vides */
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: contain; /* Affiche l'image ENTIÈRE sans couper */
    transition: 0.5s;
}

/* Zoom léger au survol */
.news-card:hover .news-image img {
    transform: scale(1.03); 
}

/* DATE */
.news-date {
    position: absolute;
    top: 15px; right: 15px;
    background: rgba(220, 38, 38, 0.9); /* Fond rouge pour bien ressortir */
    color: white;
    padding: 6px 10px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: bold;
    border: 1px solid rgba(255,255,255,0.2);
    z-index: 10;
}

/* CONTENU TEXTE */
.news-content {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    background: linear-gradient(to bottom, rgba(0,0,0,0.2), transparent);
}

/* TAGS */
.news-tag {
    display: inline-block;
    padding: 5px 12px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 1px;
    margin-bottom: 15px;
    width: fit-content;
    text-transform: uppercase;
}

/* COULEURS DES TAGS */
.tag-alert { background: #dc2626; color: white; } 
.tag-life { background: #d946ef; color: white; } 
.tag-pol { background: #3b82f6; color: white; } 

.news-content h3 {
    font-family: var(--font-title);
    color: white;
    font-size: 1.5rem;
    line-height: 1.2;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.news-content p {
    font-size: 1rem;
    color: #a3a3a3;
    line-height: 1.6;
    margin: 0; 
}

/* =========================================
   SECTION REJOINDRE (JOIN) 
   ========================================= */
.join-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); /* Force les colonnes */
    gap: 30px;
    padding: 20px 0;
    width: 100%;
}

.join-card {
    background: rgba(255, 255, 255, 0.03); /* Verre très léger */
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 30px;
    border-radius: 15px;
    position: relative;
    transition: all 0.3s ease;
    text-align: left; /* Aligne le texte à gauche */
}

.join-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.step-number {
    position: absolute;
    top: 10px; right: 20px;
    font-size: 4rem;
    font-weight: 900;
    color: rgba(255, 255, 255, 0.05);
    font-family: var(--font-title);
    line-height: 1;
}

.join-card:hover .step-number { color: rgba(255, 60, 0, 0.2); }

.step-icon {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 20px;
}

.join-card h3 { font-size: 1.4rem; margin-bottom: 10px; color: #fff; }
.join-card p { color: var(--text-muted); font-size: 0.9rem; line-height: 1.5; }


/* =========================================
   SECTION UNIVERS (LÉGAL / ILLÉGAL)
   ========================================= */
.grid-universe {
    display: grid;
    grid-template-columns: 1fr 1fr; /* Deux colonnes strictes */
    gap: 40px;
    width: 100%;
    margin-top: 50px;
}

.universe-card {
    position: relative;
    height: 300px; /* Hauteur forcée */
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    transition: all 0.4s ease;
    background-color: #0f0f0f; /* Couleur de fond de sécurité */
}

/* Couleurs de fond (Dégradés) */
.universe-card.legal { background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 100%); }
.universe-card.illegal { background: linear-gradient(135deg, #2a0f0f 0%, #7f1d1d 100%); }

.universe-card .content {
    z-index: 10;
    padding: 20px;
    width: 100%;
}

.universe-card i {
    font-size: 3.5rem;
    margin-bottom: 15px;
    color: rgba(255,255,255,0.8);
    display: block;
}

.universe-card h3 {
    font-family: var(--font-title);
    font-size: 2rem;
    text-transform: uppercase;
    margin-bottom: 10px;
    color: white;
}

.universe-card p { color: rgba(255,255,255,0.7); margin-bottom: 20px; }

/* Bouton dans la carte */
.btn-universe {
    display: inline-block;
    padding: 10px 25px;
    border: 1px solid rgba(255,255,255,0.3);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: bold;
    font-size: 0.9rem;
    transition: 0.3s;
}

.universe-card:hover { transform: translateY(-5px); }
.universe-card:hover .btn-universe { background: white; color: black; border-color: white; }

/* --- BOUTONS D'ACTION DANS LES CARTES "REJOINDRE" --- */

.btn-join-action {
    display: inline-flex;
    align-items: center;
    gap: 8px; /* Espace entre l'icone et le texte */
    margin-top: 20px; /* Espace au dessus du bouton */
    padding: 10px 20px;
    
    /* Style par défaut : Verre discret */
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    
    color: var(--text-muted);
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    
    position: relative;
    z-index: 2; /* Pour être sûr qu'on peut cliquer dessus */
    transition: all 0.3s ease;
}

.btn-join-action i {
    font-size: 1rem;
    color: var(--primary); /* L'icône reste orange */
    transition: 0.3s;
}

/* --- EFFET AU SURVOL (HOVER) --- */
.btn-join-action:hover {
    background: var(--primary); /* Devient orange plein */
    border-color: var(--primary);
    color: white; /* Texte devient blanc */
    box-shadow: 0 0 15px rgba(255, 69, 0, 0.4); /* Petit néon */
    transform: translateY(-2px); /* Monte un petit peu */
}

.btn-join-action:hover i {
    color: white; /* L'icône devient blanche aussi */
}

/* Mobile : on empile si l'écran est petit */
@media (max-width: 900px) {
    .grid-universe { grid-template-columns: 1fr; } 
}


 
/* --- Vote --- */
.vote-section {
    padding: 100px 5%;
    display: flex;
    justify-content: center;
}

.vote-card {
    position: relative;
    width: 100%;
    max-width: 1000px;
    padding: 60px 40px;
    border-radius: 30px;
    overflow: hidden;
    text-align: center;
    border: 1px solid rgba(255, 60, 0, 0.3);
    
    /* FOND ANIMÉ TYPE MAGMA */
    background: linear-gradient(
        -45deg, 
        #1a0505, 
        #3f0d0d, 
        #1a0505, 
        #000000
    );
    background-size: 400% 400%;
    animation: magmaFlow 10s ease infinite;
    box-shadow: 0 0 50px rgba(255, 69, 0, 0.1); /* Lueur externe diffuse */
}

/* Animation du fond qui bouge */
@keyframes magmaFlow {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* L'icône trophée géante en fond */
.vote-bg-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(-10deg);
    font-size: 20rem; /* Énorme */
    color: rgba(255, 69, 0, 0.03); /* Très transparent */
    z-index: 1;
    pointer-events: none; /* On peut cliquer au travers */
}

.vote-content {
    position: relative;
    z-index: 2; /* Passe au dessus de l'icône de fond */
}

.vote-content h2 {
    font-size: 2.5rem;
    font-family: var(--font-title);
    margin-bottom: 15px;
    text-shadow: 0 4px 10px rgba(0,0,0,0.5);
}

.vote-content p {
    color: var(--text-muted);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto 40px;
}

.btn-vote-neon {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 18px 45px;
    background: var(--primary); /* Orange vif */
    color: white;
    font-family: var(--font-title);
    font-weight: bold;
    font-size: 1.1rem;
    text-decoration: none;
    border-radius: 50px;
    text-transform: uppercase;
    transition: all 0.3s ease;
    
    /* Lueur néon intense */
    box-shadow: 
        0 0 10px rgba(255, 69, 0, 0.5),
        0 0 20px rgba(255, 69, 0, 0.3),
        inset 0 0 0 2px rgba(255,255,255,0.2);
}

.btn-vote-neon:hover {
    transform: scale(1.05) translateY(-3px);
    background: #ff5e00;
    box-shadow: 
        0 0 20px rgba(255, 69, 0, 0.8),
        0 0 40px rgba(255, 69, 0, 0.4),
        inset 0 0 0 2px rgba(255,255,255,0.5);
}

.btn-vote-neon i {
    font-size: 1.2rem;
}

/* Mobile */
@media (max-width: 768px) {
    .vote-bg-icon { font-size: 10rem; }
    .vote-content h2 { font-size: 1.8rem; }
}

/* --- FORMULAIRES --- */
.forms-grid { display: flex; justify-content: center; gap: 20px; flex-wrap: wrap; }
.form-btn {
    border: 1px solid var(--border); color: var(--text-muted); padding: 15px 30px;
    text-decoration: none; border-radius: 5px; transition: 0.3s;
}
.form-btn:hover { border-color: var(--primary); color: #fff; }


/* --- ANIMATIONS --- */
.reveal { opacity: 0; transform: translateY(30px); transition: 0.8s ease; }
.reveal.active { opacity: 1; transform: translateY(0); }

/* MOBILE */
@media(max-width: 768px) {
    .nav-links { display: none; } /* Simplifié pour l'exemple */
    .grid-2 { grid-template-columns: 1fr; }
}

/* --- COULEURS STAFF & HOVER --- */

/* 1. FONDATEUR (Rouge Foncé / Sang) */
.staff-card-square.role-founder .badge { background: rgba(139, 0, 0, 0.2); color: #8b0000; border: 1px solid #8b0000; }
.staff-card-square.role-founder:hover {
    border-color: #8b0000;
    background: linear-gradient(135deg, rgba(139, 0, 0, 0.15), transparent);
    box-shadow: 0 5px 20px rgba(139, 0, 0, 0.4);
    transform: translateY(-5px) scale(1.02);
}

/* 2. CO-FONDATEUR (Rouge Clair / Vif) */
.staff-card-square.role-co .badge { background: rgba(255, 77, 77, 0.2); color: #ff4d4d; border: 1px solid #ff4d4d; }
.staff-card-square.role-co:hover {
    border-color: #ff4d4d;
    background: linear-gradient(135deg, rgba(255, 77, 77, 0.15), transparent);
    box-shadow: 0 5px 20px rgba(255, 77, 77, 0.4);
    transform: translateY(-5px) scale(1.02);
}

/* 3. ADMIN (Bleu Ciel) */
.staff-card-square.role-admin .badge { background: rgba(0, 191, 255, 0.2); color: #00bfff; border: 1px solid #00bfff; }
.staff-card-square.role-admin:hover {
    border-color: #00bfff;
    background: linear-gradient(135deg, rgba(0, 191, 255, 0.15), transparent);
    box-shadow: 0 5px 20px rgba(0, 191, 255, 0.4);
    transform: translateY(-5px) scale(1.02);
}

/* 4. DÉVELOPPEUR (Vert Clair) */
.staff-card-square.role-dev .badge { background: rgba(50, 205, 50, 0.2); color: #32cd32; border: 1px solid #32cd32; }
.staff-card-square.role-dev:hover {
    border-color: #32cd32;
    background: linear-gradient(135deg, rgba(50, 205, 50, 0.15), transparent);
    box-shadow: 0 5px 20px rgba(50, 205, 50, 0.4);
    transform: translateY(-5px) scale(1.02);
}

/* 5. MODO IG (Orange) */
.staff-card-square.role-modo .badge { background: rgba(255, 165, 0, 0.2); color: #ffa500; border: 1px solid #ffa500; }
.staff-card-square.role-modo:hover {
    border-color: #ffa500;
    background: linear-gradient(135deg, rgba(255, 165, 0, 0.15), transparent);
    box-shadow: 0 5px 20px rgba(255, 165, 0, 0.4);
    transform: translateY(-5px) scale(1.02);
}

/* --- SECTION STAFF --- */

/* La grille qui contient les cartes */
.grid-staff-square {
    display: grid;
    
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 25px; /* Espace entre les cartes */
    justify-content: center;
    padding: 20px 0;
}

/* Le style de la carte carrée elle-même */
.staff-card-square {
    /* L'astuce pour un carré parfait : le padding-top en % est basé sur la largeur */
    position: relative;
    width: 100%;
    padding-top: 100%; /* Ratio 1:1 (Carré) */
    border-radius: 15px;
    overflow: hidden;
    border: 2px solid transparent; /* Bordure invisible par défaut */
    transition: all 0.3s ease;
    background: var(--glass); /* Fond par défaut si pas de rôle */
}

/* Le contenu à l'intérieur de la carte carrée */
.staff-content {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px;
    text-align: center;
    background: rgba(0,0,0,0.4); /* Voile sombre pour lisibilité */
}

/* L'image de profil */
.staff-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid rgba(255,255,255,0.2);
    margin-bottom: 15px;
    transition: 0.3s;
}

.staff-card-square h3 {
    margin-top: 10px;
    font-size: 1.2rem;
    font-weight: bold;
}

/* --- COULEURS ET SURVOL (HOVER) --- */

/* 1. FONDATEUR (Rouge vif) */
.staff-card-square.role-founder { background-color: #dc143c; }
.staff-card-square.role-founder:hover {
    box-shadow: 0 0 30px rgba(220, 20, 60, 0.6);
    border-color: #fff;
    transform: translateY(-5px) scale(1.03);
}

/* 2. CO-FONDATEUR (Orange/Rouge) */
.staff-card-square.role-co { background-color: #ff4500; }
.staff-card-square.role-co:hover {
    box-shadow: 0 0 30px rgba(255, 69, 0, 0.6);
    border-color: #fff;
    transform: translateY(-5px) scale(1.03);
}

/* 3. ADMIN (Bleu clair) */
.staff-card-square.role-admin { background-color: #00bfff; }
.staff-card-square.role-admin:hover {
    box-shadow: 0 0 30px rgba(0, 191, 255, 0.6);
    border-color: #fff;
    transform: translateY(-5px) scale(1.03);
}

/* 4. DEV / MODO (Vert) */
.staff-card-square.role-dev { background-color: #32cd32; }
.staff-card-square.role-dev:hover {
    box-shadow: 0 0 30px rgba(50, 205, 50, 0.6);
    border-color: #fff;
    transform: translateY(-5px) scale(1.03);
}

/* --- Staff (forme carré) --- */

/* La grille qui contient les cartes */
.grid-staff-square {
    display: grid;
    /* Crée des colonnes d'au moins 220px qui remplissent l'espace */
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 25px; /* Espace entre les cartes */
    justify-content: center;
    padding: 20px 0;
}

/* Le style de la carte carrée elle-même */
.staff-card-square {
    /* L'astuce pour un carré parfait : le padding-top en % est basé sur la largeur */
    position: relative;
    width: 100%;
    padding-top: 100%; /* Ratio 1:1 (Carré) */
    border-radius: 15px;
    overflow: hidden;
    border: 2px solid transparent; /* Bordure invisible par défaut */
    transition: all 0.3s ease;
    background: var(--glass); /* Fond par défaut si pas de rôle */
}

/* Le contenu à l'intérieur de la carte carrée */
.staff-content {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px;
    text-align: center;
    background: rgba(0,0,0,0.4); /* Voile sombre pour lisibilité */
}

/* L'image de profil */
.staff-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid rgba(255,255,255,0.2);
    margin-bottom: 15px;
    transition: 0.3s;
}

.staff-card-square h3 {
    margin-top: 10px;
    font-size: 1.2rem;
    font-weight: bold;
}

/* --- COULEURS ET SURVOL (HOVER) --- */

/* 1. FONDATEUR (Rouge vif) */
.staff-card-square.role-founder { background-color: #7e041e; }
.staff-card-square.role-founder:hover {
    box-shadow: 0 0 30px rgba(5, 5, 5, 0);
    border-color: #fff;
    transform: translateY(-5px) scale(1.03);
}

/* 2. CO-FONDATEUR (Orange/Rouge) */
.staff-card-square.role-co { background-color: #ff0000; }
.staff-card-square.role-co:hover {
    box-shadow: 0 0 30px rgba(255, 69, 0, 0.6);
    border-color: #fff;
    transform: translateY(-5px) scale(1.03);
}

/* 3. ADMIN (Bleu clair) */
.staff-card-square.role-admin { background-color: #00bfff; }
.staff-card-square.role-admin:hover {
    box-shadow: 0 0 30px rgba(0, 191, 255, 0.6);
    border-color: #fff;
    transform: translateY(-5px) scale(1.03);
}

/* 4. DEV / MODO (Vert) */
.staff-card-square.role-dev { background-color: #32cd32; }
.staff-card-square.role-dev:hover {
    box-shadow: 0 0 30px rgba(50, 205, 50, 0.6);
    border-color: #fff;
    transform: translateY(-5px) scale(1.03);
}

/* Effet survol carte staff */
.staff-card-square:hover .staff-avatar {
    transform: scale(1.1);
    border-color: #fff;
}

/* =========================================
   SECTION TOUCHES (KEY MAPPING)
   ========================================= */
#keys {
    padding-bottom: 80px;
}

.keys-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 5%;
}

.key-group {
    background: var(--glass);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 25px;
    transition: 0.3s;
}

.key-group:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 60, 0, 0.3);
    transform: translateY(-5px);
}

.key-group h3 {
    color: var(--primary); /* Titre en Orange */
    font-family: var(--font-title);
    margin-bottom: 20px;
    text-transform: uppercase;
    font-size: 1.1rem;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding-bottom: 10px;
}

/* LIGNE TOUCHE + LABEL */
.key-item {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 12px;
}

/* LA TOUCHE ELLE-MÊME (Style Clavier) */
.key {
    background: #1a1a1a;
    color: #fff;
    font-family: monospace; /* Police style code */
    font-weight: bold;
    font-size: 0.9rem;
    padding: 5px 10px;
    min-width: 40px;
    text-align: center;
    border-radius: 6px;
    border-bottom: 3px solid #000; /* Effet 3D */
    border-top: 1px solid #333;
    border-left: 1px solid #333;
    border-right: 1px solid #333;
    box-shadow: 0 2px 5px rgba(0,0,0,0.5);
    transition: 0.2s;
}

/* Effet quand on passe la souris sur une ligne */
.key-item:hover .key {
    background: var(--primary); /* La touche s'allume en orange */
    color: white;
    border-color: var(--primary);
    transform: translateY(2px); /* Effet d'appui sur la touche */
    border-bottom-width: 1px; /* On réduit le bord 3D */
    box-shadow: 0 0 10px var(--primary); /* Petite lueur */
}

.label {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.key-item:hover .label {
    color: white;
}

/* =========================================
   SECTION LIENS UTILES
   ========================================= */
section#forms {
    padding-bottom: 100px; 
}

.forms-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    padding: 20px 0;
}

.form-card {
    position: relative;
    background: var(--glass);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 30px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    gap: 20px;
    text-decoration: none;
    transition: all 0.4s ease;
    overflow: hidden;
}


.form-icon {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: #fff;
    transition: 0.4s;
    flex-shrink: 0; 
}


.form-info h3 {
    font-family: var(--font-title);
    font-size: 1.1rem;
    color: #fff;
    margin-bottom: 5px;
}

.form-info p {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.4;
}


.form-arrow {
    margin-left: auto; 
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.2);
    transition: 0.4s;
}



/* Thème Rouge (Déban) */
.theme-red:hover { border-color: #ef4444; background: rgba(239, 68, 68, 0.05); }
.theme-red:hover .form-icon { background: #ef4444; box-shadow: 0 0 20px rgba(239, 68, 68, 0.4); }

/* Thème Violet (Staff) */
.theme-purple:hover { border-color: #a855f7; background: rgba(168, 85, 247, 0.05); }
.theme-purple:hover .form-icon { background: #a855f7; box-shadow: 0 0 20px rgba(168, 85, 247, 0.4); }

/* Thème Jaune (Bug) */
.theme-yellow:hover { border-color: #eab308; background: rgba(234, 179, 8, 0.05); }
.theme-yellow:hover .form-icon { background: #eab308; box-shadow: 0 0 20px rgba(234, 179, 8, 0.4); }

.form-card:hover {
    transform: translateY(-5px);
}

.form-card:hover .form-arrow {
    color: #fff;
    transform: translateX(5px); 
}

/* =========================================
   SECTION FINALE
   ========================================= */
#ready {
    position: relative;
    padding: 100px 5%;
    text-align: center;
    overflow: hidden;
    margin-top: 50px;
    border-top: 1px solid rgba(255,255,255,0.05);
}

/* Le contenu au premier plan */
.ready-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

.ready-content h2 {
    font-family: var(--font-title);
    font-size: 3rem;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.ready-content p {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 40px;
}

/* L'image de fond fixe (Effet classe) */
.ready-bg {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    /* Mets une belle image de ville GTA sombre ici */
    background: url('https://wallpapers.com/images/hd/gta-5-background-1920-x-1080-87k77j9j3r2j1m5e.jpg') no-repeat center center/cover;
    opacity: 0.15; /* Très sombre pour que le texte ressorte */
    z-index: 1;
    filter: grayscale(100%); /* En noir et blanc pour le style */
}

/* LES BOUTONS CÔTE À CÔTE */
.ready-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

/* Bouton JOUER (Gros Orange) */
.btn-play {
    padding: 15px 40px;
    background: var(--primary);
    color: white;
    font-weight: 900;
    font-family: var(--font-title);
    text-decoration: none;
    border-radius: 50px;
    font-size: 1.2rem;
    transition: 0.3s;
    box-shadow: 0 0 20px rgba(255, 60, 0, 0.4);
    display: flex;
    align-items: center;
    gap: 10px;
}

.btn-play:hover {
    transform: scale(1.05);
    background: #ff5e00;
    box-shadow: 0 0 40px rgba(255, 60, 0, 0.6);
}

/* Bouton DISCORD (Contour seulement) */
.btn-discord-outline {
    padding: 15px 40px;
    background: transparent;
    border: 2px solid rgba(255,255,255,0.2);
    color: white;
    font-weight: bold;
    text-decoration: none;
    border-radius: 50px;
    font-size: 1.1rem;
    transition: 0.3s;
    display: flex;
    align-items: center;
    gap: 10px;
}

.btn-discord-outline:hover {
    background: #5865F2;
    border-color: #5865F2;
    transform: translateY(-3px);
}

/* =========================================
   Footer et Version Site
   ========================================= */
footer {
    border-top: 1px solid rgba(255,255,255,0.05); /* Ligne très discrète */
    background: #020101; /* Noir quasi total */
    padding: 40px 5%;
    position: relative;
    z-index: 10;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
}

/* GAUCHE (Texte) */
.footer-left p {
    color: #666;
    font-size: 0.85rem;
    line-height: 1.6;
}

/* CENTRE (Lien Version Minimaliste) */
.patch-link {
    font-family: var(--font-title);
    font-size: 1.1rem;
    color: #fff;
    text-decoration: none;
    letter-spacing: 2px;
    transition: 0.3s;
    position: relative;
    padding-bottom: 5px;
}

/* Le numéro 2.0 en Orange */
.version-highlight {
    color: var(--primary);
    font-weight: bold;
}

/* Petite ligne qui apparait en dessous au survol */
.patch-link::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0;
    width: 0%; height: 2px;
    background: var(--primary);
    transition: 0.3s;
}

.patch-link:hover {
    color: var(--primary);
    text-shadow: 0 0 15px rgba(255, 60, 0, 0.4);
}

.patch-link:hover::after { width: 100%; }


/* DROITE (Icônes Sociales) */
.footer-right {
    display: flex;
    gap: 20px; /* Espace entre les icones */
}

.social-icon {
    font-size: 1.5rem; /* On grossit bien les icones */
    color: #888; /* Gris clair par défaut */
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px; height: 45px;
    border-radius: 50%;
    background: rgba(255,255,255,0.05); /* Petit fond rond discret */
}

.social-icon:hover {
    background: var(--primary); /* Fond orange au survol */
    color: white; /* Icone blanche */
    transform: translateY(-3px); /* Petit saut */
    box-shadow: 0 0 15px rgba(255, 69, 0, 0.5); /* Lueur néon */
}

/* Adaptation Mobile */
@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
        gap: 30px;
        text-align: center;
    }
}



/* =========================================
   PAGE PATCH NOTES (DESIGN TIMELINE)
   ========================================= */
.back-home-btn {
    position: fixed; top: 30px; left: 30px;
    color: white; text-decoration: none;
    font-weight: bold; background: rgba(0,0,0,0.5);
    padding: 10px 20px; border-radius: 30px;
    border: 1px solid rgba(255,255,255,0.2);
    backdrop-filter: blur(5px); z-index: 100;
    transition: 0.3s;
}
.back-home-btn:hover { background: white; color: black; }

.patch-header { text-align: center; padding: 100px 20px 50px; }
.patch-header h1 { font-family: var(--font-title); font-size: 3rem; margin-bottom: 10px; }

/* LA LIGNE VERTICALE */
.timeline-container {
    max-width: 800px; margin: 0 auto; padding: 20px;
    position: relative;
    border-left: 2px solid rgba(255, 60, 0, 0.2); /* Ligne orange pâle */
}

.patch-block {
    position: relative;
    margin-bottom: 60px;
    padding-left: 40px;
}

/* Le point sur la ligne */
.patch-block::before {
    content: ''; position: absolute; left: -9px; top: 0;
    width: 16px; height: 16px; background: var(--primary);
    border-radius: 50%; box-shadow: 0 0 10px var(--primary);
}

.patch-date {
    font-family: var(--font-title); color: var(--primary);
    font-size: 0.9rem; margin-bottom: 10px; opacity: 0.8;
}

.patch-card {
    background: var(--glass);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 15px; padding: 30px;
    transition: 0.3s;
}
.patch-card:hover { border-color: var(--primary); background: rgba(255,255,255,0.05); }

.patch-title {
    display: flex; justify-content: space-between; align-items: center;
    margin-bottom: 20px; border-bottom: 1px solid rgba(255,255,255,0.1);
    padding-bottom: 15px;
}
.patch-title h2 { font-size: 1.5rem; color: white; margin: 0; }

/* LES LISTES AVEC PUCES COLORÉES */
.patch-list { list-style: none; }
.patch-list li { margin-bottom: 10px; padding-left: 20px; position: relative; color: var(--text-muted); }
.patch-list li::before {
    content: ''; position: absolute; left: 0; top: 8px;
    width: 8px; height: 8px; border-radius: 2px;
}

/* Code couleur des logs */
.type-new::before { background: #4ade80; box-shadow: 0 0 5px #4ade80; } /* Vert (Nouveau) */
.type-fix::before { background: #f87171; box-shadow: 0 0 5px #f87171; } /* Rouge (Correctif) */
.type-change::before { background: #60a5fa; box-shadow: 0 0 5px #60a5fa; } /* Bleu (Modif) */

/* TAGS */
.tag { padding: 5px 10px; border-radius: 5px; font-size: 0.7rem; font-weight: bold; }
.tag-major { background: var(--primary); color: white; }
.tag-fix { background: #333; color: #aaa; border: 1px solid #555; }

/* =========================================
   LIEN TWITTER CREDIT
   ========================================= */
.credit-link {
    color: white !important; /* Force la couleur blanche */
    text-decoration: none;   /* Enlève le soulignement moche si tu veux */
    font-weight: bold;
    transition: 0.3s;
}

/* Empêche le violet moche quand le lien a déjà été cliqué */
.credit-link:visited {
    color: white !important;
}

/* Petit effet néon quand on passe la souris dessus */
.credit-link:hover {
    color: var(--primary); /* Deviens Orange */
    text-shadow: 0 0 10px rgba(255, 60, 0, 0.5); /* Lueur */
}