:root {
    /* Palette moderne inspirée d'IntroRP */
    --primary-color: #1e88e5;
    --primary-dark: #0d47a1;
    --secondary-color: #1a237e;
    --accent-color: #ff9900;
    --background-color: #0a1929;
    --text-color: #e3f2fd;
    --card-background: #132f4c;
    --border-radius: 2rem;
    --box-shadow: 0 4px 16px rgba(30, 136, 229, 0.2);
    --nav-background: rgba(19, 47, 76, 0.95);
    --card-hover-shadow: 0 8px 24px rgba(30, 136, 229, 0.3);
    --transition-speed: 0.3s;
    --main-bg: #0a1623;
    --main-bg-gradient: #14243a;
    --main-blue: #2e6cff;
    --main-blue-btn: #2563eb;
    --main-blue-btn-hover: #1d4ed8;
    --main-text: #b0b8c1;
    --main-nav-bg: #0a1623;
    --main-nav-border: #1e293b;
}

/* Suppression des styles de thème */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Theme Toggle Button */
.theme-toggle {
    position: fixed !important;
    bottom: 20px !important;
    right: 20px !important;
    background-color: var(--primary-color) !important;
    color: white !important;
    border: none !important;
    border-radius: 50% !important;
    width: 50px !important;
    height: 50px !important;
    cursor: pointer !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2) !important;
    transition: all 0.3s ease !important;
    z-index: 9999 !important;
    padding: 0 !important;
    margin: 0 !important;
    font-size: 1.5rem !important;
}

.theme-toggle:hover {
    transform: scale(1.1) !important;
    background-color: var(--primary-dark) !important;
}

.theme-toggle i {
    color: white !important;
    transition: color 0.3s ease, transform 0.6s cubic-bezier(.68,-0.55,.27,1.55), filter 0.4s !important;
}

/* Mise à jour des styles existants */
.main-nav {
    background: var(--main-nav-bg) !important;
    box-shadow: var(--box-shadow);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: all var(--transition-speed);
    border-bottom: 1px solid var(--main-nav-border) !important;
    backdrop-filter: blur(10px);
}

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

.nav-links a {
    color: var(--text-color);
    font-family: 'Baloo 2', 'Montserrat', Arial, sans-serif;
    font-weight: 700;
    letter-spacing: 0.5px;
    font-size: 1.1rem;
}

.feature-card {
    background: var(--card-background);
    border-radius: var(--border-radius);
    padding: 2.5rem 2rem 2rem 2rem;
    text-decoration: none;
    color: var(--text-color);
    transition: box-shadow 0.3s, border-color 0.3s;
    border: 1px solid rgba(30, 136, 229, 0.3);
    box-shadow: var(--box-shadow);
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.feature-card:hover {
    box-shadow: var(--card-hover-shadow);
    border-color: var(--primary-color);
    background: #1a365d;
    transform: translateY(-5px);
}

.feature-icon {
    background: rgba(30, 136, 229, 0.1) !important;
    border-radius: 12px !important;
    padding: 15px !important;
}

.feature-icon i {
    color: var(--primary-color);
    filter: drop-shadow(0 0 8px rgba(30, 136, 229, 0.3));
}

.discord-section {
    background: var(--background-color) !important;
    color: var(--text-color);
    padding: 6rem 2rem;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Transition douce pour le changement de thème */
body {
    transition: background-color var(--transition-speed), color var(--transition-speed);
    font-family: 'Baloo 2', 'Montserrat', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background: linear-gradient(135deg, var(--main-bg) 0%, var(--main-bg-gradient) 100%) !important;
    min-height: unset !important;
    display: block !important;
    flex-direction: unset !important;
    position: relative;
}
body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    z-index: 0;
    opacity: 0.13;
    background: repeating-linear-gradient(135deg, transparent, transparent 32px, #1e293b 34px, transparent 36px);
}

* {
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

body {
    display: flex !important;
    flex-direction: column !important;
    min-height: 100vh !important;
    font-family: 'Baloo 2', 'Montserrat', Arial, sans-serif;
    line-height: 1.6;
    color: var(--main-text) !important;
    background: var(--background-color) !important;
}

/* Navigation */
.main-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1rem 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    background: var(--main-nav-bg) !important;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 50px;
    vertical-align: middle;
    border-radius: 50%;
}

.logo h1 {
    color: var(--main-blue) !important;
    font-size: 1.8rem;
    font-weight: 700;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-links a:hover {
    color: var(--main-blue) !important;
}

.nav-cta {
    background: var(--main-blue-btn) !important;
    color: var(--text-color) !important;
    padding: 0.9rem 2.2rem;
    border-radius: 1.2rem;
    font-family: 'Baloo 2', 'Montserrat', Arial, sans-serif;
    font-weight: 800;
    font-size: 1.1rem;
    box-shadow: 0 4px 16px rgba(255,153,0,0.15);
    border: none;
    outline: none;
    letter-spacing: 0.5px;
    transition: background 0.3s, color 0.3s, box-shadow 0.3s, transform 0.2s;
    text-shadow: 1px 2px 0 #155fa033;
    display: inline-block;
}

.nav-cta:hover {
    background: var(--main-blue-btn-hover) !important;
    color: var(--accent-color) !important;
    box-shadow: 0 0 0 4px var(--accent-color), 0 8px 32px 0 var(--primary-dark);
    transform: scale(1.08) translateY(-2px);
}

/* Hero Section */
.hero {
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8rem 2rem 4rem;
    max-width: 100vw;
    margin: 0 auto;
    background: var(--background-color) !important;
    background-image: none !important;
    border-radius: 0 !important;
    box-shadow: 0 8px 32px rgba(0,0,0,0.15);
    position: relative;
    overflow: hidden;
}

.hero-content {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 1;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: var(--main-blue) !important;
    letter-spacing: -2px;
}

.hero-content .highlight {
    background: linear-gradient(90deg, #36a9e1 20%, #1e88e5 80%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-fill-color: transparent;
    filter: drop-shadow(0 1px 4px #36a9e180);
    font-weight: 900;
    letter-spacing: 1px;
    text-shadow: 0 1px 4px #1e88e580;
    font-size: 1.1em;
}

.hero-content .subtitle {
    font-size: 1.5rem;
    color: var(--main-blue) !important;
    margin-bottom: 1.5rem;
    font-weight: 600;
    text-shadow: 0 2px 8px #0008;
}

.hero-description {
    font-size: 1.2rem;
    color: var(--text-color);
    margin-bottom: 2.5rem;
    opacity: 0.85;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

/* Features Section */
.features {
    padding: 6rem 2rem;
    background: linear-gradient(135deg, var(--main-bg) 0%, var(--main-bg-gradient) 100%) !important;
}

.features-container {
    max-width: 1200px;
    margin: 0 auto;
}

.features h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 3rem;
    text-align: center;
    font-weight: 700;
}

.feature-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
    padding: 2.5rem 0;
    justify-items: center;
}

.feature-card:hover .feature-icon {
    box-shadow: var(--card-hover-shadow);
}

.feature-card h3 {
    font-size: 1.6rem;
    color: var(--primary-color);
    margin: 0;
    font-weight: 700;
    letter-spacing: -1px;
}

.feature-card p {
    color: var(--text-color);
    opacity: 0.85;
    margin: 0;
    flex-grow: 1;
    font-size: 1.08rem;
}

/* Discord Section */
.discord-section {
    background: linear-gradient(135deg, #7289da 0%, #5865F2 100%);
    color: white;
    padding: 6rem 2rem;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.discord-card {
    background: var(--card-background);
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    padding: 3rem 2.5rem 2.5rem 2.5rem;
    max-width: 420px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.2rem;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(8px);
    border: 2.5px solid var(--primary-color);
    transition: box-shadow 0.3s, border-color 0.3s;
}

.discord-card:hover {
    box-shadow: var(--card-hover-shadow);
    border-color: var(--accent-color);
}

.discord-badge {
    background: linear-gradient(90deg, var(--secondary-color), var(--primary-color));
    color: #fff;
    font-weight: 700;
    font-size: 1rem;
    padding: 0.3rem 1.2rem;
    border-radius: 999px;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
    box-shadow: 0 2px 8px 0 rgba(231,76,60,0.10);
    position: absolute;
    top: 1.2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

.discord-logo-glow {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, #7289da 60%, #5865F2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.7rem;
    box-shadow: 0 0 24px 8px #7289da99, 0 2px 12px 0 #5865F2;
    position: relative;
    z-index: 1;
}

.discord-logo-glow i {
    font-size: 2.7rem;
    color: #fff;
    filter: drop-shadow(0 2px 8px #5865F2);
}

.discord-card h2 {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    color: var(--primary-dark);
    letter-spacing: -1px;
    text-shadow: 1px 2px 0 #36a9e144;
}

.discord-card p {
    font-size: 1.1rem;
    opacity: 1;
    margin-bottom: 1.2rem;
    color: var(--text-color);
}

.discord-button {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    background: var(--accent-color);
    color: var(--secondary-color);
    padding: 1rem 2.2rem;
    border-radius: 1.2rem;
    text-decoration: none;
    font-weight: 800;
    font-size: 1.1rem;
    box-shadow: 0 4px 16px rgba(255,153,0,0.15);
    transition: background 0.3s, color 0.3s, box-shadow 0.3s, transform 0.2s;
    border: none;
    outline: none;
    margin-top: 0.5rem;
    position: relative;
    z-index: 2;
}

.discord-button:hover {
    background: var(--primary-dark);
    color: var(--accent-color);
    box-shadow: 0 0 0 4px var(--accent-color), 0 8px 32px 0 var(--primary-dark);
    transform: scale(1.08) translateY(-2px);
}

/* Footer moderne et élégant (compact) */
.footer-modern {
    background: var(--card-background);
    border-top: 1px solid rgba(30, 136, 229, 0.2);
    margin-top: auto !important;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.3rem;
    padding: 0.5rem 0.2rem 0.2rem;
    color: var(--text-color);
    box-shadow: 0 -2px 16px rgba(54,169,225,0.08);
}

.footer-logo img {
    height: 26px;
    width: auto;
    border-radius: 8px;
    margin-bottom: 0.1rem;
}

.footer-desc {
    font-size: 0.85rem;
    text-align: center;
    opacity: 0.8;
    margin-bottom: 0.1rem;
}

.footer-socials {
    display: flex;
    gap: 0.7rem;
    margin-bottom: 0.1rem;
}

.footer-socials a {
    color: var(--primary-dark);
    font-size: 1.1rem;
    transition: color 0.2s, transform 0.2s;
    opacity: 0.8;
}

.footer-socials a:hover {
    color: var(--accent-color);
    transform: scale(1.12);
    opacity: 1;
}

.footer-copyright {
    font-size: 0.7rem;
    opacity: 0.6;
    text-align: center;
    margin-top: 0.1rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero {
        grid-template-columns: 1fr;
        text-align: center;
        padding-top: 6rem;
    }

    .hero-content {
        margin: 0 auto;
    }

    .hero-content h1 {
        font-size: 3rem;
    }

    .cta-buttons {
        justify-content: center;
    }

    .nav-container {
        flex-direction: column;
        gap: 1rem;
    }

    .nav-links {
        flex-direction: column;
        width: 100%;
    }

    .nav-cta {
        width: 100%;
        text-align: center;
    }
}

/* Animation pour le défilement fluide */
html {
    scroll-behavior: smooth;
}

/* Style pour les liens actifs */
.table-of-contents a.active {
    color: var(--main-blue) !important;
    font-weight: bold;
}

/* Styles pour la page Règlement */
.reglement-section {
    flex: 1 0 auto;
    padding: 120px 2rem 4rem;
    background-color: var(--background-color);
}

.reglement-container {
    max-width: 1200px;
    margin: 0 auto;
}

.reglement-container h1 {
    text-align: center;
    margin-bottom: 3rem;
    color: var(--main-blue) !important;
    font-size: 2.5rem;
}

.section {
    margin-bottom: 4rem;
    opacity: 1;
    transform: translateY(0);
    transition: all 0.5s ease;
    padding: 2rem;
    background: var(--card-background);
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.section h2 {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
    color: var(--main-blue) !important;
    font-size: 2rem;
    border-bottom: 2px solid var(--main-blue) !important;
    padding-bottom: 1rem;
}

.section h2 i {
    color: var(--main-blue) !important;
}

.rule-card {
    background: var(--card-background);
    padding: 2rem;
    border-radius: var(--border-radius);
    margin-bottom: 1.5rem;
    box-shadow: var(--box-shadow);
    transition: transform 0.3s ease;
    border: 1px solid rgba(229, 57, 53, 0.1);
}

.rule-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--card-hover-shadow);
}

.rule-card h3 {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    color: var(--main-blue) !important;
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
}

.rule-card h3 i {
    color: var(--main-blue) !important;
}

.rule-details {
    list-style: none;
    margin-top: 1rem;
    padding-left: 1rem;
}

.rule-details li {
    padding: 0.8rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-color);
    opacity: 0.9;
    display: flex;
    align-items: center;
    gap: 1rem;
    padding-left: 2rem;
    position: relative;
}

.rule-details li:last-child {
    border-bottom: none;
}

.rule-details li::before {
    content: "•";
    color: var(--main-blue) !important;
    font-size: 1.2rem;
    position: absolute;
    left: 0.5rem;
}

/* Navigation du règlement */
.reglement-nav {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
    position: sticky;
    top: 80px;
    z-index: 100;
    background: var(--background-color);
    padding: 1rem;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.reglement-nav-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    background: var(--card-background);
    color: var(--text-color);
    text-decoration: none;
    border-radius: var(--border-radius);
    transition: all 0.3s ease;
    font-weight: 600;
    border: 1px solid rgba(229, 57, 53, 0.1);
}

.reglement-nav-item i {
    font-size: 1.2rem;
}

.reglement-nav-item:hover {
    transform: translateY(-2px);
    box-shadow: var(--card-hover-shadow);
    background: var(--main-blue) !important;
    color: white;
}

.reglement-nav-item.active {
    background: var(--main-blue) !important;
    color: white;
}

/* Lore Section */
.lore-section {
    border: 2px solid red !important; /* debug temporaire */
    flex: 1 0 auto;
    padding-top: 8rem;
    padding-bottom: 4rem;
    padding-left: 2rem;
    padding-right: 2rem;
    background: var(--background-color);
    color: var(--text-color);
}

.lore-container h1 {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.5rem;
    color: var(--primary-dark);
    text-shadow: 1px 2px 0 #36a9e144;
}

.lore-text h2, .lore-text h3, .lore-title {
    color: var(--accent-color) !important;
    border-left: 4px solid var(--accent-color) !important;
}

.lore-bloc, blockquote {
    color: var(--accent-color);
    border-left: 4px solid var(--accent-color);
}

.lore-story-section {
    background: linear-gradient(135deg, var(--main-bg) 0%, var(--main-bg-gradient) 100%) !important;
    color: var(--main-text) !important;
    flex: 1 0 auto;
    padding-top: 8rem;
    padding-bottom: 4rem;
    padding-left: 2rem;
    padding-right: 2rem;
}
.lore-story-container {
    max-width: 700px;
    margin: 0 auto;
    background: var(--card-background);
    border-radius: 2rem;
    box-shadow: var(--box-shadow);
    padding: 2.5rem 2rem;
    color: var(--text-color);
    font-family: 'Baloo 2', 'Montserrat', Arial, sans-serif;
    position: relative;
    z-index: 1;
}
.lore-title {
    font-family: 'Baloo 2', Arial, sans-serif;
    color: var(--accent-color);
    font-size: 2.5rem;
    margin-bottom: 2rem;
    text-align: left;
    letter-spacing: -1px;
    border-left: none !important;
}
.lore-story p {
    font-size: 1.18rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    opacity: 0.97;
    text-align: justify;
}
.lore-lettre::first-letter {
    float: left;
    font-size: 3.7rem;
    line-height: 1;
    font-family: 'Baloo 2', Arial, sans-serif;
    color: var(--accent-color);
    padding-right: 0.5rem;
    font-weight: 800;
    height: 2.2em;
    margin-top: 0.1em;
}
.lore-lettre {
    display: block;
    overflow: hidden;
}
.lore-bloc {
    color: var(--accent-color);
    font-weight: bold;
    font-style: italic;
    border-left: none !important;
    display: inline;
    margin-top: 0;
    margin-bottom: 0;
}
.lore-separator {
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-color) 0%, #fff 100%) !important;
    border-radius: 2px;
    margin: 2rem auto 2rem auto;
    opacity: 0.25;
}
blockquote {
    font-style: italic;
    color: var(--accent-color);
    border-left: 4px solid var(--accent-color);
    padding-left: 1rem;
    margin: 1.5rem 0;
    opacity: 0.85;
    font-family: 'Baloo 2', Arial, sans-serif;
    font-size: 1.1rem;
}

.lore-img {
    width: 100%;
    max-width: 600px;
    border-radius: 1.5rem;
    box-shadow: 0 8px 32px 0 rgba(229,57,53,0.13);
    margin: 2rem auto;
    display: block;
    object-fit: cover;
    filter: brightness(0.92) contrast(1.05) saturate(0.85);
}
.lore-img-banner {
    max-height: 260px;
    margin-bottom: 2.5rem;
}
.lore-img-side {
    max-width: 420px;
    float: right;
    margin: 1.2rem 0 1.2rem 2rem;
}
@media (max-width: 900px) {
    .lore-img-side {
        float: none;
        display: block;
        margin: 1.2rem auto;
        max-width: 98vw;
    }
    .lore-content {
        grid-template-columns: 1fr;
    }
}

/* Streamers Section */
.streamers-section {
    padding: 4rem 2rem;
    background: var(--background-color);
}

.streamers-container {
    max-width: 1200px;
    margin: 0 auto;
}

.streamers-container h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: var(--text-color);
    font-size: 2.5rem;
}

.streamers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    padding: 1rem;
}

.streamer-card {
    background: var(--card-background);
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.streamer-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
    border-color: var(--primary-color);
}

.streamer-avatar {
    width: 120px;
    height: 120px;
    margin: 0 auto 1.5rem;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--primary-color);
    box-shadow: 0 4px 12px rgba(229, 57, 53, 0.2);
}

.streamer-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.streamer-card:hover .streamer-avatar img {
    transform: scale(1.1);
}

.streamer-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.5rem;
    font-weight: 700;
}

.streamer-description {
    color: var(--text-color);
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
    line-height: 1.6;
    opacity: 0.9;
}

.streamer-socials {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.streamer-link {
    display: inline-flex;
    align-items: center;
    padding: 0.7rem 1.2rem;
    border-radius: 20px;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.streamer-link.twitch {
    background: #9146ff;
    color: white;
}

.streamer-link.youtube {
    background: #ff0000;
    color: white;
}

.streamer-link:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.streamer-link i {
    margin-right: 0.5rem;
    font-size: 1.1rem;
}

/* Streamers Hero Section */
.streamers-hero {
    min-height: 40vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8rem 2rem 4rem;
    background: linear-gradient(135deg, #232526 0%, #414345 100%);
    background-image: repeating-linear-gradient(135deg, rgba(255,255,255,0.01) 0 2px, transparent 2px 40px);
    border-radius: 0 !important;
    box-shadow: 0 8px 32px rgba(0,0,0,0.15);
    position: relative;
    overflow: hidden;
}

.streamers-hero-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.streamers-hero-content h1 {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 1rem;
    letter-spacing: -2px;
}

.streamers-hero-content p {
    font-size: 1.2rem;
    color: var(--text-color);
    opacity: 0.9;
}

@media (max-width: 768px) {
    .streamers-grid {
        grid-template-columns: 1fr;
    }
    
    .streamer-card {
        padding: 1.5rem;
    }
    
    .streamer-avatar {
        width: 100px;
        height: 100px;
    }
    
    .streamers-hero {
        min-height: 30vh;
        padding: 6rem 1rem 3rem;
    }
    
    .streamers-hero-content h1 {
        font-size: 2.5rem;
    }
    
    .streamers-hero-content p {
        font-size: 1.1rem;
    }
}

/* Liens généraux */
a {
    color: #fff;
    text-decoration: none;
    transition: color 0.2s;
}
a:hover {
    text-decoration: none !important;
}

/* Cartes de la section règlement */
.reglement-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
    padding: 2.5rem 0;
    justify-items: center;
}

.reglement-card {
    background: var(--card-background);
    border-radius: var(--border-radius);
    padding: 2.5rem 2rem 2rem 2rem;
    text-decoration: none;
    color: var(--text-color);
    transition: box-shadow 0.3s, border-color 0.3s, transform 0.3s;
    border: 2.5px solid var(--primary-color);
    box-shadow: var(--box-shadow);
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(8px);
}

.reglement-card h2 {
    font-size: 1.6rem;
    color: var(--primary-dark);
    margin: 0;
    font-weight: 800;
    letter-spacing: 0.5px;
    text-shadow: 1px 2px 0 #36a9e144;
    font-family: 'Baloo 2', 'Montserrat', Arial, sans-serif;
}

.reglement-card p {
    color: var(--text-color);
    opacity: 0.95;
    margin: 0;
    flex-grow: 1;
    font-size: 1.08rem;
}

.reglement-card i {
    color: var(--accent-color);
    margin-right: 0.5rem;
    font-size: 1.3rem;
    position: relative;
    z-index: 1;
}
.reglement-card i::after {
    display: none !important;
}

/* Styles pour la page des contributeurs */
.contributeurs-section {
    flex: 1 0 auto;
    padding-top: 8rem;
    padding-bottom: 4rem !important;
}

.contributeurs-container {
    max-width: 1200px;
    margin: 0 auto;
}

.contributeurs-container h1 {
    text-align: center;
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.contributeurs-intro {
    text-align: center;
    font-size: 1.2rem;
    color: var(--text-color);
    margin-bottom: 3rem;
    opacity: 0.8;
}

.contributeurs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem 2rem;
    padding: 1rem;
}

.contributeur-card {
    background: var(--card-background);
    border-radius: var(--border-radius);
    padding: 2rem;
    box-shadow: var(--box-shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
    margin-bottom: 2.5rem !important;
}

.contributeur-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--card-hover-shadow);
}

.contributeur-card.featured {
    transform: scale(1.05);
}

.contributeur-card.featured:hover {
    transform: scale(1.05) translateY(-5px);
}

.contributeur-header {
    text-align: center;
    margin-bottom: 2rem;
}

.contributeur-header h2 {
    font-size: 1.8rem;
    color: var(--text-color);
    margin-bottom: 0.5rem;
}

.contributeur-price {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    font-family: 'Baloo 2', sans-serif;
}

.contributeur-benefits {
    list-style: none;
    margin-bottom: 2rem;
}

.contributeur-benefits li {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.contributeur-benefits li i {
    color: var(--primary-color);
    margin-right: 0.8rem;
    font-size: 1.1rem;
}

.contributeur-button {
    display: block;
    width: 100%;
    padding: 1rem;
    background: var(--primary-color);
    color: white;
    text-align: center;
    border-radius: var(--border-radius);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.contributeur-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(229,57,53,0.25);
}

@media (max-width: 768px) {
    .contributeurs-grid {
        grid-template-columns: 1fr;
    }

    .contributeur-card.featured {
        transform: none;
    }

    .contributeur-card.featured:hover {
        transform: translateY(-5px);
    }

    .contributeurs-container h1 {
        font-size: 2.5rem;
    }
}

/* Styles pour la liste des contributeurs */
.contributeurs-list-section {
    margin-top: 4rem;
}

.contributeurs-list-grid {
    display: grid;
    gap: 2rem;
    margin-top: 2rem;
}

.contributeurs-tier {
    background: var(--card-background);
    border-radius: var(--border-radius);
    padding: 2rem;
    box-shadow: var(--box-shadow);
    transition: transform var(--transition-speed);
}

.contributeurs-tier:hover {
    transform: translateY(-5px);
    box-shadow: var(--card-hover-shadow);
}

.contributeurs-tier h3 {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.contributeurs-tier h3 i {
    font-size: 1.2rem;
}

.contributeurs-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1.5rem;
}

.contributeur-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: transform var(--transition-speed);
}

.contributeur-item:hover {
    transform: scale(1.05);
}

.contributeur-item img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--primary-color);
    margin-bottom: 0.5rem;
    transition: border-color var(--transition-speed);
}

.contributeur-item:hover img {
    border-color: var(--accent-color);
}

.contributeur-item span {
    font-weight: 600;
    color: var(--text-color);
}

@media (max-width: 768px) {
    .contributeurs-list {
        grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    }

    .contributeur-item img {
        width: 80px;
        height: 80px;
    }
}

/* Titres stylisés façon logo */
h1, h2, h3, h4 {
    font-family: 'Baloo 2', 'Montserrat', Arial, sans-serif;
    color: var(--primary-dark);
    text-shadow: 2px 4px 0 #36a9e144;
    letter-spacing: 1px;
}

/* Suppression de la boule bleue centrale */
.feature-icon::after {
    display: none !important;
}

html, body {
    height: 100%;
    min-height: 100vh;
}
footer, .footer-modern {
    /* margin-top: auto !important; */
}

/* Ajustements spécifiques pour le mode clair */
.feature-card {
    background: var(--card-background);
    border: 1px solid rgba(30, 136, 229, 0.3);
    backdrop-filter: blur(10px);
}

.feature-card:hover {
    background: #1a365d;
    border-color: var(--primary-color);
    transform: translateY(-5px);
}

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

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

.hero {
    background: linear-gradient(135deg, #0a1929 0%, #132f4c 100%) !important;
    background-image: none !important;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at center, rgba(30, 136, 229, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.hero-content h1 {
    color: var(--text-color);
    text-shadow: 0 0 20px rgba(30, 136, 229, 0.3);
}

.hero-content .subtitle {
    color: var(--primary-color);
}

.hero-description {
    color: var(--text-color);
    opacity: 0.9;
}

.theme-toggle {
    background-color: var(--primary-color);
    color: white;
}

.theme-toggle:hover {
    background-color: var(--primary-dark);
}

.main-nav {
    background: var(--main-nav-bg) !important;
    border-bottom: 1px solid var(--main-nav-border) !important;
    backdrop-filter: blur(10px);
}

.footer-modern {
    background: var(--card-background);
    border-top: 1px solid rgba(30, 136, 229, 0.2);
}

.reglement-card {
    background: var(--card-background);
    backdrop-filter: blur(10px);
}

.reglement-card:hover {
    background: #1a365d;
    transform: translateY(-5px);
}

.discord-card {
    background: var(--card-background);
    backdrop-filter: blur(10px);
}

.streamer-card {
    background: var(--card-background);
    backdrop-filter: blur(10px);
}

.streamer-card:hover {
    background: #1a365d;
    transform: translateY(-5px);
}

.feature-icon {
    background: rgba(30, 136, 229, 0.1) !important;
    border-radius: 12px !important;
    padding: 15px !important;
}

.feature-icon i {
    color: var(--primary-color);
    filter: drop-shadow(0 0 8px rgba(30, 136, 229, 0.3));
}

.nav-cta {
    background: var(--main-blue-btn) !important;
    color: var(--text-color) !important;
    box-shadow: 0 4px 16px rgba(30, 136, 229, 0.3);
}

.nav-cta:hover {
    background: var(--main-blue-btn-hover) !important;
    box-shadow: 0 0 0 4px rgba(30, 136, 229, 0.2), 0 8px 32px rgba(30, 136, 229, 0.3);
}

/* Accentuer le "Safe WL" dans le titre mais avec moins de glow */
.hero-content h1 .highlight {
    background: linear-gradient(90deg, #36a9e1 20%, #1e88e5 80%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-fill-color: transparent;
    filter: drop-shadow(0 1px 4px #36a9e180);
    font-weight: 900;
    letter-spacing: 1px;
    text-shadow: 0 1px 4px #1e88e580;
    font-size: 1.1em;
}

/* Pour s'assurer que le style s'applique bien en mode clair */
.hero-content h1 .highlight {
    background: linear-gradient(90deg, #42b0ff 20%, #1976d2 80%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-fill-color: transparent;
    filter: drop-shadow(0 1px 4px #42b0ff80);
    text-shadow: 0 1px 4px #1976d280;
    font-weight: 900;
    letter-spacing: 1px;
    font-size: 1.1em;
}

/* Correction des sous-titres dupliqués dans les règlements */
.reglement-section h2, .reglement-section h3, .reglement-section h4 {
    text-shadow: none !important;
    filter: none !important;
    opacity: 1 !important;
}

.nos-contributeurs {
    padding-top: 8rem;
    padding-bottom: 4rem;
}

.contributeurs-grid .contributeur-card:last-child {
    margin-bottom: 6rem !important;
}

.nos-contributeurs h1 {
    font-family: 'Baloo 2', 'Montserrat', Arial, sans-serif;
    font-size: 3rem;
    font-weight: 800;
    color: var(--text-color);
    text-shadow: 2px 4px 0 #36a9e144;
    letter-spacing: 1px;
    text-align: center;
    margin-bottom: 1rem;
}

section, .features, .lore-story-section, .streamers-section, .reglement-section {
    position: relative;
    z-index: 1;
    background: none !important;
} 