/* --- Variables & Reset --- */
:root {
    --bg-color: #0a0a0c;
    --bg-secondary: #111116;
    --text-color: #e0e0e0;
    --primary-neon: #b026ff; /* Violet Néon */
    --secondary-neon: #00f3ff; /* Bleu Néon */
    --font-title: 'Orbitron', sans-serif;
    --font-body: 'Rajdhani', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-color);
    color: var(--text-color);
    overflow-x: hidden;
    line-height: 1.6;
}

a { text-decoration: none; color: inherit; transition: 0.3s; }
ul { list-style: none; }

/* --- Navigation --- */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 5%;
    background: rgba(10, 10, 12, 0.95);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(176, 38, 255, 0.2);
    backdrop-filter: blur(10px);
}

.logo {
    font-family: var(--font-title);
    font-size: 1.5rem;
    font-weight: 900;
    letter-spacing: 2px;
    color: #fff;
}

.neon-text {
    color: var(--primary-neon);
    text-shadow: 0 0 10px var(--primary-neon);
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links li a {
    font-size: 1.1rem;
    font-weight: 500;
    position: relative;
}

.nav-links li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--secondary-neon);
    transition: width 0.3s;
}

.nav-links li a:hover::after { width: 100%; }
.nav-links li a:hover { color: var(--secondary-neon); }

/* Burger Menu */
.burger { display: none; cursor: pointer; }
.burger div {
    width: 25px; height: 3px; background-color: #fff; margin: 5px; transition: 0.3s;
}

/* --- Hero Section --- */
.hero {
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
    background: radial-gradient(circle at center, #1a0b2e 0%, #0a0a0c 100%);
    overflow: hidden;
}

/* Background effect */
.hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: url('https://www.transparenttextures.com/patterns/stardust.png'); /* Texture subtile */
    opacity: 0.3;
}

#particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

.hero-content { z-index: 2; padding: 20px; }

.hero h1 {
    font-family: var(--font-title);
    font-size: 4rem;
    margin-bottom: 20px;
    text-transform: uppercase;
    color: #fff;
    text-shadow: 0 0 20px var(--primary-neon);
}

.slogan {
    font-size: 1.5rem;
    margin-bottom: 40px;
    color: #ccc;
}

/* Buttons */
.cta-group { display: flex; gap: 20px; justify-content: center; flex-wrap: wrap; }

.btn {
    padding: 15px 30px;
    border-radius: 5px;
    font-weight: bold;
    font-family: var(--font-title);
    text-transform: uppercase;
    transition: 0.3s;
    border: 2px solid transparent;
}

.btn-primary {
    background-color: var(--primary-neon);
    color: #fff;
    box-shadow: 0 0 15px var(--primary-neon);
}

.btn-primary:hover {
    background-color: transparent;
    border-color: var(--primary-neon);
    box-shadow: 0 0 25px var(--primary-neon);
}

.btn-secondary {
    background-color: transparent;
    border: 2px solid var(--secondary-neon);
    color: var(--secondary-neon);
    box-shadow: 0 0 10px var(--secondary-neon);
}

.btn-secondary:hover {
    background-color: var(--secondary-neon);
    color: #000;
    box-shadow: 0 0 25px var(--secondary-neon);
}

/* --- Sections General --- */
.section { padding: 80px 10%; }
.section-dark { background-color: var(--bg-secondary); }
.container { max-width: 1200px; margin: 0 auto; }

.section-title {
    font-family: var(--font-title);
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 60px;
    text-transform: uppercase;
}

/* --- About Grid --- */
.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.about-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 30px;
    border-radius: 10px;
    border-left: 3px solid var(--primary-neon);
    transition: transform 0.3s;
}

.about-card:hover { transform: translateY(-10px); background: rgba(255, 255, 255, 0.08); }
.about-card h3 { margin-bottom: 15px; color: var(--secondary-neon); }

/* --- Features --- */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.feature-card {
    background: #0f0f12;
    padding: 40px 20px;
    text-align: center;
    border-radius: 15px;
    transition: 0.3s;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.feature-card:hover {
    border-color: var(--secondary-neon);
    box-shadow: 0 0 20px rgba(0, 243, 255, 0.2);
}

.feature-card .icon { font-size: 3rem; margin-bottom: 20px; }

/* --- Rules --- */
.rules-list {
    background: rgba(255, 255, 255, 0.03);
    padding: 40px;
    border-radius: 10px;
    max-width: 800px;
    margin: 0 auto;
}

.rules-list li {
    margin-bottom: 20px;
    font-size: 1.2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 10px;
}

/* --- Join Steps --- */
.steps {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 20px;
    text-align: center;
}

.step-number {
    display: block;
    width: 60px;
    height: 60px;
    line-height: 60px;
    border-radius: 50%;
    background: var(--primary-neon);
    color: #fff;
    font-size: 1.5rem;
    font-weight: bold;
    margin: 0 auto 20px;
    box-shadow: 0 0 15px var(--primary-neon);
}

/* --- Staff --- */
.staff-grid {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.staff-card {
    text-align: center;
    width: 200px;
}

.staff-card .avatar {
    width: 120px;
    height: 120px;
    background-color: #333;
    border-radius: 50%;
    margin: 0 auto 20px;
    border: 3px solid var(--secondary-neon);
    box-shadow: 0 0 15px var(--secondary-neon);
    transition: 0.3s;
    object-fit: cover;
    display: block;
}

.staff-card:hover .avatar { box-shadow: 0 0 30px var(--secondary-neon); transform: scale(1.05); }

/* --- Footer --- */
footer {
    background: #050505;
    padding: 40px;
    text-align: center;
    border-top: 1px solid #222;
}

.footer-links a { margin: 0 10px; color: #888; }
.footer-links a:hover { color: var(--primary-neon); }

/* --- Animations --- */
.reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: all 1s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* --- Responsive --- */
@media screen and (max-width: 768px) {
    .nav-links {
        position: absolute;
        right: 0px;
        height: 92vh;
        top: 8vh;
        background-color: var(--bg-secondary);
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 50%;
        transform: translateX(100%);
        transition: transform 0.5s ease-in;
        padding-top: 50px;
    }

    .nav-links li { opacity: 0; }
    .burger { display: block; }
    
    .nav-active { transform: translateX(0%); }

    .hero h1 { font-size: 2.5rem; }
    .slogan { font-size: 1rem; }
}

@keyframes navLinkFade {
    from { opacity: 0; transform: translateX(50px); }
    to { opacity: 1; transform: translateX(0); }
}