:root {
    --orange: #FF9800;
    --orange-glow: rgba(255, 152, 0, 0.4);
    --dark-bg: #050505;
    --card-bg: #0f0f0f;
    --text-white: #ffffff;
    --text-gray: #a0a0a0;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: 'Montserrat', sans-serif;
    background-color: var(--dark-bg);
    color: var(--text-white);
    line-height: 1.6;
    overflow-x: hidden;
}

/* --- NAVIGATION & LOGO --- */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 5%;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    position: fixed;
    width: 100%;
    z-index: 1000;
    border-bottom: 2px solid var(--orange); /* Ligne orange sous le menu */
}

/* Conteneur Logo + Texte */
.logo-container {
    display: flex;
    align-items: center;
    gap: 15px; /* Espace entre l'image et le texte */
    text-decoration: none;
}

/* Style de l'image du logo */
.nav-logo {
    height: 50px; /* Taille du logo dans la barre */
    width: auto;
    border-radius: 5px; /* Optionnel : arrondit légèrement les bords du logo */
    transition: transform 0.3s ease;
}

.logo-container:hover .nav-logo {
    transform: scale(1.1) rotate(5deg); /* Petit effet au survol */
}

/* Style du texte ZeloraRP */
.logo-text {
    color: #ffffff;
    font-size: 1.6rem;
    font-weight: 900;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.logo-text span {
    color: var(--orange);
}

/* Liens du menu */
.nav-links {
    display: flex;
    align-items: center;
    list-style: none;
    gap: 25px;
}

.nav-links a {
    text-decoration: none;
    color: #ffffff;
    font-weight: 700;
    font-size: 0.9rem;
    transition: 0.3s;
}

.nav-links a:hover {
    color: var(--orange);
}

/* BOUTON BOUTIQUE (Le fameux bouton carré orange) */
.btn-nav-boutique {
    background: var(--orange) !important;
    color: #000 !important;
    padding: 10px 20px !important;
    border-radius: 4px; /* Rendu "carré" mais propre */
    text-transform: uppercase;
    font-weight: 900 !important;
    box-shadow: 0 0 15px rgba(255, 152, 0, 0.3);
    border: none;
}

.btn-nav-boutique:hover {
    background: #ffffff !important;
    box-shadow: 0 0 25px rgba(255, 152, 0, 0.6);
    transform: translateY(-2px);
}

.nav-links { display: flex; list-style: none; gap: 30px; }
.nav-links a { color: white; text-decoration: none; font-weight: 600; font-size: 0.9rem; transition: 0.3s; }
.nav-links a:hover { color: var(--orange); text-shadow: 0 0 10px var(--orange); }

/* SECTIONS */
section { padding: 100px 8%; }
.section-title { font-size: 2.5rem; font-weight: 900; text-align: center; margin-bottom: 60px; text-transform: uppercase; }
.section-title span { color: var(--orange); }

/* BOUTONS */
.btn {
    padding: 12px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 800;
    transition: 0.4s ease;
    display: inline-block;
    cursor: pointer;
    border: none;
}
.btn-orange { background: var(--orange); color: black; }
.btn-orange:hover { transform: translateY(-3px); box-shadow: 0 10px 20px var(--orange-glow); }

/* CARDS STAFF */
.staff-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 30px; }
.staff-card {
    background: var(--card-bg);
    padding: 40px;
    border-radius: 15px;
    text-align: center;
    border: 1px solid #1f1f1f;
    transition: 0.3s;
}
.staff-card:hover { border-color: var(--orange); transform: translateY(-10px); }
.staff-card img { width: 100px; height: 100px; margin-bottom: 20px; transition: 0.3s; }
.staff-card:hover img { filter: drop-shadow(0 0 10px var(--orange)); }

/* FOOTER */
footer { padding: 40px; text-align: center; border-top: 1px solid #1f1f1f; font-size: 0.8rem; color: var(--text-gray); }

/* Système de Règlements */
.rules-wrapper {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 40px;
    align-items: start;
}

.rules-nav {
    position: sticky;
    top: 100px;
    background: var(--card-bg);
    padding: 20px;
    border-radius: 10px;
    border: 1px solid #222;
}

.rules-nav a {
    display: block;
    color: var(--text-gray);
    text-decoration: none;
    padding: 12px;
    border-radius: 5px;
    margin-bottom: 5px;
    transition: 0.3s;
}

.rules-nav a:hover, .rules-nav a.active {
    background: rgba(255, 152, 0, 0.1);
    color: var(--orange);
    padding-left: 20px;
}

.rules-box {
    background: var(--card-bg);
    padding: 40px;
    border-radius: 15px;
    border: 1px solid #1f1f1f;
    margin-bottom: 30px;
}

.rules-box h3 {
    font-size: 1.8rem;
    color: var(--orange);
    margin-bottom: 30px;
    border-bottom: 2px solid var(--orange);
    display: inline-block;
}

.rule-item h4 {
    color: #fff;
    margin: 20px 0 10px 0;
}

.rule-item p {
    color: var(--text-gray);
    font-size: 0.95rem;
}

/* Stats Bar */
.stats-bar {
    display: flex;
    justify-content: space-around;
    background: var(--card-bg);
    padding: 50px 10%;
    border-top: 1px solid rgba(255,152,0,0.2);
}

.stat-num {
    display: block;
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--orange);
}

/* Staff Ranks Styles */
.rank {
    display: inline-block;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: bold;
    text-transform: uppercase;
    margin: 10px 0;
}
.rank-fondateur { background: rgba(255, 0, 0, 0.2); color: #ff4d4d; border: 1px solid #ff4d4d; }
.rank-dev { background: rgba(162, 0, 255, 0.2); color: #b967ff; border: 1px solid #b967ff; }
.rank-admin { background: rgba(255, 140, 0, 0.2); color: #ffb067; border: 1px solid #ffb067; }
.rank-mod { background: rgba(0, 229, 255, 0.2); color: #67ffff; border: 1px solid #67ffff; }

/* Footer */
footer {
    background: #000;
    padding: 60px 0 20px 0;
    margin-top: 100px;
    border-top: 1px solid #111;
}
.footer-content { text-align: center; }
.disclaimer { font-size: 0.7rem; color: #555; margin-top: 10px; }
.social-icons { margin-top: 20px; font-size: 1.5rem; }
.social-icons a { color: var(--text-gray); margin: 0 10px; transition: 0.3s; }
.social-icons a:hover { color: var(--orange); }
/* Logo dans la nav */
.logo-container {
    display: flex;
    align-items: center;
    gap: 15px;
}

.nav-logo {
    height: 45px;
    width: auto;
    filter: drop-shadow(0 0 5px rgba(255, 152, 0, 0.3));
}

/* Bouton Boutique dans la Nav */
.btn-nav-boutique {
    background: var(--orange) !important;
    color: #000 !important;
    padding: 10px 20px !important;
    border-radius: 5px;
    font-weight: 800 !important;
    box-shadow: 0 4px 15px rgba(255, 152, 0, 0.2);
}

.btn-nav-boutique:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 152, 0, 0.4);
}

/* Hero Section Améliorée */
.hero-main {
    position: relative;
    height: 100vh;
    background: url('../img/background-gta.jpg') no-repeat center center/cover;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.hero-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0.5), var(--dark-bg));
}

.hero-content {
    position: relative;
    z-index: 10;
    max-width: 900px;
}

.main-slogan {
    font-size: 4.5rem;
    font-weight: 900;
    text-transform: uppercase;
    line-height: 1;
    margin-bottom: 20px;
}

.main-slogan span {
    color: var(--orange);
    text-shadow: 0 0 20px rgba(255, 152, 0, 0.3);
}

.sub-slogan {
    font-size: 1.2rem;
    color: var(--text-gray);
    margin-bottom: 40px;
}

/* Boutons Hero */
.hero-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.btn-hero {
    padding: 18px 35px;
    font-weight: 900;
    text-decoration: none;
    border-radius: 4px;
    transition: 0.3s ease;
    font-size: 0.9rem;
}

.btn-hero.discord {
    background: var(--orange);
    color: #000;
}

.btn-hero.rules {
    border: 2px solid white;
    color: white;
}

.btn-hero:hover {
    transform: translateY(-5px);
}

/* Indicateur de scroll animé */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
    font-size: 1.5rem;
    color: var(--orange);
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {transform: translateY(0) translateX(-50%);}
    40% {transform: translateY(-10px) translateX(-50%);}
    60% {transform: translateY(-5px) translateX(-50%);}
}

/* --- PERSONNALISATION DE LA SCROLLBAR --- */

/* 1. Largeur de la barre */
::-webkit-scrollbar {
    width: 10px; /* Barre verticale */
    height: 10px; /* Barre horizontale si besoin */
}

/* 2. Le fond de la barre (Track) */
::-webkit-scrollbar-track {
    background: #050505; /* Noir profond comme ton site */
}

/* 3. La partie qui bouge (Thumb) */
::-webkit-scrollbar-thumb {
    background: #333; /* Couleur de base discrète */
    border-radius: 10px;
    border: 2px solid #050505; /* Crée un petit espace autour de la barre */
    transition: 0.3s;
}

/* 4. Effet au survol (Quand tu passes la souris dessus) */
::-webkit-scrollbar-thumb:hover {
    background: var(--orange); /* Elle devient orange Zelora */
    box-shadow: 0 0 10px var(--orange-glow); /* Petit effet de lueur */
}

/* Pour Firefox (qui utilise une syntaxe différente) */
* {
    scrollbar-width: thin;
    scrollbar-color: #333 #050505;
}
