/**
 * ECLOSIA - Minecraft Ultra Style Theme
 * =====================================
 * Un design pixel-art immersif inspiré de Minecraft
 */

/* =====================================================
   IMPORTS & FONTS
   ===================================================== */
@import url('https://fonts.googleapis.com/css2?family=VT323&family=Press+Start+2P&display=swap');

/* =====================================================
   CSS VARIABLES - Couleurs Minecraft
   ===================================================== */
:root {
    /* Couleurs principales Minecraft */
    --mc-black: #000000;
    --mc-dark-blue: #0000AA;
    --mc-dark-green: #00AA00;
    --mc-dark-aqua: #00AAAA;
    --mc-dark-red: #AA0000;
    --mc-dark-purple: #AA00AA;
    --mc-gold: #FFAA00;
    --mc-gray: #AAAAAA;
    --mc-dark-gray: #555555;
    --mc-blue: #5555FF;
    --mc-green: #55FF55;
    --mc-aqua: #55FFFF;
    --mc-red: #FF5555;
    --mc-light-purple: #FF55FF;
    --mc-yellow: #FFFF55;
    --mc-white: #FFFFFF;

    /* Couleurs de blocs */
    --dirt-dark: #593D29;
    --dirt-light: #8B5E3C;
    --grass-top: #5D8C3E;
    --grass-side: #6B8E4E;
    --stone: #7F7F7F;
    --stone-dark: #5A5A5A;
    --wood: #9C7E55;
    --wood-dark: #6B5638;
    --obsidian: #1B1B2F;
    --bedrock: #0D0D0D;
    --diamond: #4DCEEA;
    --emerald: #17DD62;
    --gold-block: #F9D71C;
    --redstone: #FF0000;
    --lapis: #345EC3;
    --netherrack: #6F3535;
    --end-stone: #DDDFA5;

    /* UI Colors */
    --inventory-bg: #C6C6C6;
    --inventory-border: #373737;
    --inventory-slot: #8B8B8B;
    --hotbar-selected: #FFFFFF;
    --health-red: #FF1313;
    --hunger-orange: #B6520D;
    --xp-green: #7FFF00;

    /* Spacing */
    --pixel: 4px;
}

/* =====================================================
   RESET & BASE
   ===================================================== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'VT323', monospace;
    font-size: 18px;
    background: var(--bedrock);
    color: var(--mc-white);
    min-height: 100vh;
    overflow-x: hidden;
    line-height: 1.6;
}

/* Pixel font pour titres */
.pixel-font {
    font-family: 'Press Start 2P', cursive;
}

/* =====================================================
   BACKGROUND ANIMÉ - Particules Minecraft
   ===================================================== */
.minecraft-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: 
        radial-gradient(ellipse at top, rgba(25, 25, 112, 0.3) 0%, transparent 50%),
        linear-gradient(180deg, #0a0a1a 0%, #1a1a2e 50%, #0d1117 100%);
    overflow: hidden;
}

.minecraft-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.02'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    animation: bgScroll 60s linear infinite;
}

@keyframes bgScroll {
    0% { transform: translateY(0); }
    100% { transform: translateY(-100px); }
}

/* Particules flottantes */
.particles-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.particle {
    position: absolute;
    width: 8px;
    height: 8px;
    background: var(--mc-green);
    opacity: 0.6;
    animation: float 15s infinite ease-in-out;
    image-rendering: pixelated;
}

.particle:nth-child(1) { left: 10%; animation-delay: 0s; background: var(--mc-aqua); }
.particle:nth-child(2) { left: 20%; animation-delay: 2s; background: var(--mc-green); }
.particle:nth-child(3) { left: 30%; animation-delay: 4s; background: var(--mc-gold); }
.particle:nth-child(4) { left: 40%; animation-delay: 6s; background: var(--diamond); }
.particle:nth-child(5) { left: 50%; animation-delay: 8s; background: var(--emerald); }
.particle:nth-child(6) { left: 60%; animation-delay: 10s; background: var(--mc-light-purple); }
.particle:nth-child(7) { left: 70%; animation-delay: 12s; background: var(--mc-aqua); }
.particle:nth-child(8) { left: 80%; animation-delay: 14s; background: var(--mc-yellow); }
.particle:nth-child(9) { left: 90%; animation-delay: 1s; background: var(--redstone); }
.particle:nth-child(10) { left: 5%; animation-delay: 3s; background: var(--lapis); }

@keyframes float {
    0%, 100% {
        transform: translateY(100vh) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 0.8;
    }
    90% {
        opacity: 0.8;
    }
    100% {
        transform: translateY(-100px) rotate(360deg);
        opacity: 0;
    }
}

/* =====================================================
   NAVIGATION - Style Hotbar Minecraft
   ===================================================== */
.mc-navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 10px 20px;
    background: linear-gradient(180deg, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.7) 100%);
    border-bottom: 4px solid var(--inventory-border);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.mc-navbar.scrolled {
    background: rgba(0, 0, 0, 0.95);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.nav-wrapper {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

/* Logo */
.mc-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.mc-logo:hover {
    transform: scale(1.05);
}

.logo-cube {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--grass-top) 0%, var(--grass-side) 50%, var(--dirt-dark) 100%);
    border: 3px solid var(--mc-black);
    box-shadow: 
        inset 3px 3px 0 rgba(255,255,255,0.2),
        inset -3px -3px 0 rgba(0,0,0,0.3),
        4px 4px 0 rgba(0,0,0,0.5);
    animation: cubeFloat 3s ease-in-out infinite;
    image-rendering: pixelated;
}

@keyframes cubeFloat {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-5px) rotate(2deg); }
}

.logo-text {
    font-family: 'Press Start 2P', cursive;
    font-size: 1.5rem;
    color: var(--mc-green);
    text-shadow: 
        3px 3px 0 var(--mc-dark-green),
        -1px -1px 0 var(--mc-black),
        1px -1px 0 var(--mc-black),
        -1px 1px 0 var(--mc-black);
    letter-spacing: 2px;
}

/* Menu Navigation */
.nav-menu {
    display: flex;
    list-style: none;
    gap: 8px;
    background: var(--inventory-slot);
    padding: 6px;
    border: 4px solid var(--inventory-border);
    box-shadow: 
        inset 2px 2px 0 rgba(255,255,255,0.3),
        inset -2px -2px 0 rgba(0,0,0,0.5);
}

.nav-menu li {
    position: relative;
}

.nav-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 16px;
    background: var(--inventory-bg);
    color: var(--mc-dark-gray);
    text-decoration: none;
    font-family: 'VT323', monospace;
    font-size: 1.1rem;
    font-weight: bold;
    border: 3px solid transparent;
    transition: all 0.2s ease;
    position: relative;
}

.nav-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-top: 2px solid rgba(255,255,255,0.5);
    border-left: 2px solid rgba(255,255,255,0.3);
    border-bottom: 2px solid rgba(0,0,0,0.3);
    border-right: 2px solid rgba(0,0,0,0.3);
    pointer-events: none;
}

.nav-link:hover,
.nav-link.active {
    background: var(--mc-white);
    color: var(--mc-black);
    border-color: var(--hotbar-selected);
    box-shadow: 0 0 10px rgba(255,255,255,0.5);
    transform: translateY(-2px);
}

.nav-link i {
    font-size: 1rem;
}

/* Auth Buttons */
.nav-auth {
    display: flex;
    gap: 12px;
}

/* =====================================================
   BOUTONS - Style Minecraft
   ===================================================== */
.mc-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 28px;
    font-family: 'Press Start 2P', cursive;
    font-size: 0.75rem;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    position: relative;
    transition: all 0.15s ease;
    border: none;
    image-rendering: pixelated;
}

/* Bouton Primaire - Style Pierre */
.mc-btn-primary {
    background: linear-gradient(180deg, #6AAF50 0%, #5A9A3F 50%, #4A8A30 100%);
    color: var(--mc-white);
    border: 4px solid var(--mc-black);
    box-shadow: 
        inset 0 4px 0 rgba(255,255,255,0.3),
        inset 0 -4px 0 rgba(0,0,0,0.4),
        0 6px 0 #2D4D1F,
        0 8px 10px rgba(0,0,0,0.5);
    text-shadow: 2px 2px 0 rgba(0,0,0,0.5);
}

.mc-btn-primary:hover {
    background: linear-gradient(180deg, #7CC95C 0%, #6CB94B 50%, #5CA93B 100%);
    transform: translateY(-2px);
    box-shadow: 
        inset 0 4px 0 rgba(255,255,255,0.4),
        inset 0 -4px 0 rgba(0,0,0,0.3),
        0 8px 0 #2D4D1F,
        0 10px 15px rgba(0,0,0,0.5);
}

.mc-btn-primary:active {
    transform: translateY(4px);
    box-shadow: 
        inset 0 4px 0 rgba(0,0,0,0.3),
        inset 0 -2px 0 rgba(255,255,255,0.2),
        0 2px 0 #2D4D1F;
}

/* Bouton Secondaire - Style Gravier */
.mc-btn-secondary {
    background: linear-gradient(180deg, #8B8B8B 0%, #6B6B6B 50%, #4B4B4B 100%);
    color: var(--mc-white);
    border: 4px solid var(--mc-black);
    box-shadow: 
        inset 0 4px 0 rgba(255,255,255,0.3),
        inset 0 -4px 0 rgba(0,0,0,0.5),
        0 6px 0 #2B2B2B,
        0 8px 10px rgba(0,0,0,0.5);
    text-shadow: 2px 2px 0 rgba(0,0,0,0.7);
}

.mc-btn-secondary:hover {
    background: linear-gradient(180deg, #9B9B9B 0%, #7B7B7B 50%, #5B5B5B 100%);
    transform: translateY(-2px);
}

.mc-btn-secondary:active {
    transform: translateY(4px);
    box-shadow: 
        inset 0 4px 0 rgba(0,0,0,0.3),
        inset 0 -2px 0 rgba(255,255,255,0.2),
        0 2px 0 #2B2B2B;
}

/* Bouton Discord */
.mc-btn-discord {
    background: linear-gradient(180deg, #7289DA 0%, #5B6EAE 50%, #4A5A8A 100%);
    color: var(--mc-white);
    border: 4px solid var(--mc-black);
    box-shadow: 
        inset 0 4px 0 rgba(255,255,255,0.3),
        inset 0 -4px 0 rgba(0,0,0,0.4),
        0 6px 0 #2E3554,
        0 8px 10px rgba(0,0,0,0.5);
}

.mc-btn-discord:hover {
    background: linear-gradient(180deg, #8299EA 0%, #6B7EBE 50%, #5A6A9A 100%);
    transform: translateY(-2px);
}

/* Bouton Or/Premium */
.mc-btn-gold {
    background: linear-gradient(180deg, #FFD700 0%, #DAA520 50%, #B8860B 100%);
    color: var(--mc-black);
    border: 4px solid var(--mc-black);
    box-shadow: 
        inset 0 4px 0 rgba(255,255,255,0.5),
        inset 0 -4px 0 rgba(0,0,0,0.3),
        0 6px 0 #8B6914,
        0 8px 10px rgba(0,0,0,0.5);
    text-shadow: 1px 1px 0 rgba(255,255,255,0.5);
    animation: goldShine 3s ease-in-out infinite;
}

@keyframes goldShine {
    0%, 100% { filter: brightness(1); }
    50% { filter: brightness(1.2); }
}

/* Bouton Petit */
.mc-btn-sm {
    padding: 10px 18px;
    font-size: 0.6rem;
}

/* Bouton Large */
.mc-btn-lg {
    padding: 18px 36px;
    font-size: 0.85rem;
}

/* =====================================================
   HERO SECTION
   ===================================================== */
.mc-hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 120px 20px 80px;
    position: relative;
    overflow: hidden;
}

/* Fond animé du hero */
.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        url("data:image/svg+xml,%3Csvg width='64' height='64' viewBox='0 0 64 64' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 0h32v32H0V0zm32 32h32v32H32V32z' fill='%23111' fill-opacity='0.1'/%3E%3C/svg%3E"),
        linear-gradient(180deg, #0a0a1a 0%, #0f1520 50%, #1a1f2e 100%);
    z-index: -1;
}

/* Blocs flottants animés */
.floating-blocks {
    position: absolute;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
}

.floating-block {
    position: absolute;
    width: 60px;
    height: 60px;
    border: 4px solid rgba(0,0,0,0.8);
    box-shadow: 
        inset 4px 4px 0 rgba(255,255,255,0.2),
        inset -4px -4px 0 rgba(0,0,0,0.3),
        8px 8px 20px rgba(0,0,0,0.5);
    image-rendering: pixelated;
    animation: blockFloat 20s ease-in-out infinite;
}

.floating-block.grass {
    background: linear-gradient(180deg, var(--grass-top) 0% 30%, var(--dirt-light) 30% 100%);
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.floating-block.diamond {
    background: linear-gradient(135deg, #4ee8f7 0%, #1ab3c7 50%, #0d8a9a 100%);
    top: 30%;
    right: 15%;
    animation-delay: -5s;
    box-shadow: 
        inset 4px 4px 0 rgba(255,255,255,0.4),
        inset -4px -4px 0 rgba(0,0,0,0.2),
        8px 8px 20px rgba(78, 232, 247, 0.3);
}

.floating-block.gold {
    background: linear-gradient(135deg, #ffd700 0%, #daa520 50%, #b8860b 100%);
    bottom: 30%;
    left: 8%;
    animation-delay: -10s;
    box-shadow: 
        inset 4px 4px 0 rgba(255,255,255,0.5),
        inset -4px -4px 0 rgba(0,0,0,0.2),
        8px 8px 20px rgba(255, 215, 0, 0.3);
}

.floating-block.emerald {
    background: linear-gradient(135deg, #50c878 0%, #2e8b57 50%, #1d5c38 100%);
    bottom: 25%;
    right: 10%;
    animation-delay: -15s;
    box-shadow: 
        inset 4px 4px 0 rgba(255,255,255,0.3),
        inset -4px -4px 0 rgba(0,0,0,0.3),
        8px 8px 20px rgba(80, 200, 120, 0.3);
}

.floating-block.redstone {
    background: linear-gradient(135deg, #ff4444 0%, #cc0000 50%, #990000 100%);
    top: 60%;
    left: 20%;
    width: 50px;
    height: 50px;
    animation-delay: -7s;
    box-shadow: 
        inset 4px 4px 0 rgba(255,255,255,0.2),
        inset -4px -4px 0 rgba(0,0,0,0.4),
        8px 8px 20px rgba(255, 68, 68, 0.4);
}

.floating-block.lapis {
    background: linear-gradient(135deg, #345ec3 0%, #1e3a7a 50%, #0d1f4a 100%);
    top: 15%;
    right: 25%;
    width: 45px;
    height: 45px;
    animation-delay: -3s;
}

@keyframes blockFloat {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    25% {
        transform: translateY(-30px) rotate(5deg);
    }
    50% {
        transform: translateY(-15px) rotate(-3deg);
    }
    75% {
        transform: translateY(-40px) rotate(3deg);
    }
}

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

.hero-title {
    margin-bottom: 20px;
}

.hero-title .title-welcome {
    display: block;
    font-family: 'VT323', monospace;
    font-size: 1.8rem;
    color: var(--mc-gray);
    text-transform: uppercase;
    letter-spacing: 8px;
    margin-bottom: 10px;
    animation: fadeInDown 0.8s ease-out;
}

.hero-title .title-main {
    display: block;
    font-family: 'Press Start 2P', cursive;
    font-size: clamp(2.5rem, 8vw, 5rem);
    color: var(--mc-green);
    text-shadow: 
        0 0 10px var(--mc-green),
        0 0 20px var(--mc-green),
        0 0 40px var(--mc-dark-green),
        6px 6px 0 var(--mc-dark-green),
        -2px -2px 0 var(--mc-black),
        2px -2px 0 var(--mc-black),
        -2px 2px 0 var(--mc-black);
    animation: titleGlow 2s ease-in-out infinite alternate, fadeInUp 1s ease-out;
    letter-spacing: 4px;
}

@keyframes titleGlow {
    0% {
        text-shadow: 
            0 0 10px var(--mc-green),
            0 0 20px var(--mc-green),
            0 0 40px var(--mc-dark-green),
            6px 6px 0 var(--mc-dark-green);
        filter: brightness(1);
    }
    100% {
        text-shadow: 
            0 0 20px var(--mc-green),
            0 0 40px var(--mc-green),
            0 0 60px var(--mc-dark-green),
            0 0 80px var(--mc-dark-green),
            6px 6px 0 var(--mc-dark-green);
        filter: brightness(1.1);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Sous-titre */
.hero-subtitle {
    font-family: 'VT323', monospace;
    font-size: 1.6rem;
    color: var(--mc-gray);
    margin-bottom: 40px;
    animation: fadeInUp 1s ease-out 0.3s both;
}

/* Server IP Box */
.ip-container {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    margin-bottom: 40px;
    animation: fadeInUp 1s ease-out 0.5s both;
}

.server-ip-box {
    display: flex;
    align-items: center;
    gap: 15px;
    background: linear-gradient(180deg, #4A4A4A 0%, #3A3A3A 50%, #2A2A2A 100%);
    padding: 16px 24px;
    border: 4px solid var(--mc-black);
    box-shadow: 
        inset 0 3px 0 rgba(255,255,255,0.2),
        inset 0 -3px 0 rgba(0,0,0,0.4),
        6px 6px 0 rgba(0,0,0,0.5);
}

.ip-icon {
    font-size: 1.5rem;
    color: var(--mc-green);
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.1); opacity: 0.8; }
}

.ip-text {
    font-family: 'Press Start 2P', cursive;
    font-size: 1.1rem;
    color: var(--mc-white);
    letter-spacing: 2px;
}

.copy-btn {
    background: var(--mc-green);
    color: var(--mc-black);
    border: 3px solid var(--mc-black);
    padding: 8px 12px;
    cursor: pointer;
    font-size: 1rem;
    transition: all 0.2s ease;
    box-shadow: 
        inset 0 2px 0 rgba(255,255,255,0.3),
        inset 0 -2px 0 rgba(0,0,0,0.3);
}

.copy-btn:hover {
    background: var(--mc-yellow);
    transform: scale(1.1);
}

.copy-btn:active {
    transform: scale(0.95);
}

.server-version {
    font-family: 'VT323', monospace;
    font-size: 1.2rem;
    color: var(--mc-aqua);
}

/* Hero Buttons */
.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 50px;
    animation: fadeInUp 1s ease-out 0.7s both;
}

/* Stats */
.hero-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    animation: fadeInUp 1s ease-out 0.9s both;
}

.stat-box {
    background: rgba(0, 0, 0, 0.6);
    border: 4px solid var(--inventory-border);
    padding: 20px;
    text-align: center;
    box-shadow: 
        inset 2px 2px 0 rgba(255,255,255,0.1),
        inset -2px -2px 0 rgba(0,0,0,0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.stat-box:hover {
    transform: translateY(-5px);
    box-shadow: 
        inset 2px 2px 0 rgba(255,255,255,0.1),
        inset -2px -2px 0 rgba(0,0,0,0.3),
        0 10px 30px rgba(0, 0, 0, 0.5);
}

.stat-value {
    display: block;
    font-family: 'Press Start 2P', cursive;
    font-size: 1.5rem;
    color: var(--mc-green);
    text-shadow: 0 0 10px var(--mc-green);
    margin-bottom: 8px;
}

.stat-label {
    font-family: 'VT323', monospace;
    font-size: 1rem;
    color: var(--mc-gray);
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* Scroll indicator */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s ease-in-out infinite;
}

.scroll-indicator a {
    color: var(--mc-gray);
    font-size: 2rem;
    text-decoration: none;
    transition: color 0.3s ease;
}

.scroll-indicator a:hover {
    color: var(--mc-green);
}

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

/* =====================================================
   SECTIONS
   ===================================================== */
.mc-section {
    padding: 100px 20px;
    position: relative;
}

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

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-family: 'Press Start 2P', cursive;
    font-size: clamp(1.2rem, 4vw, 2rem);
    color: var(--mc-white);
    text-shadow: 
        4px 4px 0 var(--mc-dark-gray),
        -1px -1px 0 var(--mc-black);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.section-title i {
    color: var(--mc-gold);
}

.section-subtitle {
    font-family: 'VT323', monospace;
    font-size: 1.4rem;
    color: var(--mc-gray);
}

/* =====================================================
   FEATURE CARDS - Style Inventaire
   ===================================================== */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

.feature-card {
    background: linear-gradient(180deg, #4A4A4A 0%, #3A3A3A 50%, #2A2A2A 100%);
    border: 4px solid var(--mc-black);
    padding: 30px;
    text-align: center;
    position: relative;
    transition: all 0.3s ease;
    box-shadow: 
        inset 0 3px 0 rgba(255,255,255,0.2),
        inset 0 -3px 0 rgba(0,0,0,0.4),
        8px 8px 0 rgba(0,0,0,0.5);
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 4px;
    left: 4px;
    right: 4px;
    bottom: 4px;
    border: 2px solid rgba(255,255,255,0.1);
    pointer-events: none;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 
        inset 0 3px 0 rgba(255,255,255,0.3),
        inset 0 -3px 0 rgba(0,0,0,0.3),
        12px 12px 0 rgba(0,0,0,0.4),
        0 0 30px rgba(85, 255, 85, 0.2);
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, var(--mc-dark-green) 0%, #1a4a1a 100%);
    border: 4px solid var(--mc-black);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: var(--mc-green);
    box-shadow: 
        inset 3px 3px 0 rgba(255,255,255,0.2),
        inset -3px -3px 0 rgba(0,0,0,0.4);
    transition: all 0.3s ease;
}

.feature-card:hover .feature-icon {
    transform: rotate(10deg) scale(1.1);
    box-shadow: 
        inset 3px 3px 0 rgba(255,255,255,0.3),
        inset -3px -3px 0 rgba(0,0,0,0.3),
        0 0 20px var(--mc-green);
}

.feature-title {
    font-family: 'Press Start 2P', cursive;
    font-size: 0.9rem;
    color: var(--mc-white);
    margin-bottom: 15px;
    text-shadow: 2px 2px 0 var(--mc-black);
}

.feature-desc {
    font-family: 'VT323', monospace;
    font-size: 1.2rem;
    color: var(--mc-gray);
    line-height: 1.5;
}

/* =====================================================
   GAMEMODES - Cartes de jeu stylisées
   ===================================================== */
.gamemodes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.gamemode-card {
    position: relative;
    background: linear-gradient(180deg, #2a2a3a 0%, #1a1a2a 100%);
    border: 4px solid var(--mc-black);
    border-radius: 0;
    overflow: hidden;
    transition: all 0.4s ease;
    box-shadow: 8px 8px 0 rgba(0,0,0,0.5);
}

.gamemode-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: var(--mc-green);
}

.gamemode-card.survival::before { background: var(--mc-green); }
.gamemode-card.pvp::before { background: var(--mc-red); }
.gamemode-card.creative::before { background: var(--mc-aqua); }
.gamemode-card.minigames::before { background: var(--mc-gold); }

.gamemode-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 
        12px 12px 0 rgba(0,0,0,0.4),
        0 0 40px rgba(85, 255, 85, 0.15);
}

.gamemode-header {
    padding: 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 4px solid rgba(255,255,255,0.1);
}

.gamemode-icon {
    width: 70px;
    height: 70px;
    background: rgba(0,0,0,0.5);
    border: 4px solid var(--mc-black);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: 
        inset 2px 2px 0 rgba(255,255,255,0.1),
        inset -2px -2px 0 rgba(0,0,0,0.3);
}

.gamemode-card.survival .gamemode-icon { color: var(--mc-green); }
.gamemode-card.pvp .gamemode-icon { color: var(--mc-red); }
.gamemode-card.creative .gamemode-icon { color: var(--mc-aqua); }
.gamemode-card.minigames .gamemode-icon { color: var(--mc-gold); }

.gamemode-players {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(0,0,0,0.5);
    padding: 8px 15px;
    border: 2px solid var(--mc-dark-gray);
    font-family: 'VT323', monospace;
    font-size: 1.1rem;
    color: var(--mc-green);
}

.gamemode-body {
    padding: 25px;
}

.gamemode-title {
    font-family: 'Press Start 2P', cursive;
    font-size: 1rem;
    color: var(--mc-white);
    margin-bottom: 15px;
    text-shadow: 2px 2px 0 var(--mc-black);
}

.gamemode-desc {
    font-family: 'VT323', monospace;
    font-size: 1.2rem;
    color: var(--mc-gray);
    line-height: 1.6;
    margin-bottom: 20px;
}

/* =====================================================
   DISCORD SECTION
   ===================================================== */
.discord-section {
    background: linear-gradient(135deg, #5865F2 0%, #4752C4 100%);
    position: relative;
    overflow: hidden;
}

.discord-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.discord-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}

.discord-content {
    display: flex;
    align-items: center;
    gap: 25px;
}

.discord-icon {
    width: 100px;
    height: 100px;
    background: rgba(255,255,255,0.2);
    border: 4px solid rgba(255,255,255,0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: white;
    animation: discordPulse 2s ease-in-out infinite;
}

@keyframes discordPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.discord-text h3 {
    font-family: 'Press Start 2P', cursive;
    font-size: 1.3rem;
    color: white;
    margin-bottom: 10px;
    text-shadow: 2px 2px 0 rgba(0,0,0,0.3);
}

.discord-text p {
    font-family: 'VT323', monospace;
    font-size: 1.3rem;
    color: rgba(255,255,255,0.9);
    max-width: 400px;
}

/* =====================================================
   CTA SECTION
   ===================================================== */
.cta-section {
    background: 
        linear-gradient(180deg, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.9) 100%),
        url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='%2355ff55' fill-opacity='0.03'/%3E%3C/svg%3E");
    text-align: center;
}

.cta-content h2 {
    font-family: 'Press Start 2P', cursive;
    font-size: clamp(1rem, 3vw, 1.5rem);
    color: var(--mc-green);
    margin-bottom: 20px;
    text-shadow: 
        0 0 10px var(--mc-green),
        3px 3px 0 var(--mc-dark-green);
}

.cta-content p {
    font-family: 'VT323', monospace;
    font-size: 1.4rem;
    color: var(--mc-gray);
    margin-bottom: 30px;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* =====================================================
   PANEL-LIKE ENHANCEMENTS (HOME)
   ===================================================== */
.panel-match-card {
    border-color: rgba(255, 255, 255, 0.08);
    box-shadow:
        inset 0 2px 0 rgba(255, 255, 255, 0.12),
        inset 0 -2px 0 rgba(0, 0, 0, 0.3),
        8px 8px 0 rgba(0, 0, 0, 0.5),
        0 0 0 1px rgba(255, 170, 0, 0.08);
}

.panel-match-card:hover {
    box-shadow:
        inset 0 2px 0 rgba(255, 255, 255, 0.18),
        inset 0 -2px 0 rgba(0, 0, 0, 0.25),
        10px 10px 0 rgba(0, 0, 0, 0.45),
        0 0 20px rgba(255, 170, 0, 0.2);
}

.recruitment-section {
    background:
        linear-gradient(180deg, rgba(15, 23, 42, 0.85) 0%, rgba(2, 6, 23, 0.95) 100%),
        repeating-linear-gradient(
            90deg,
            rgba(255, 170, 0, 0.02) 0,
            rgba(255, 170, 0, 0.02) 24px,
            transparent 24px,
            transparent 48px
        );
    border-top: 2px solid rgba(255, 170, 0, 0.35);
    border-bottom: 2px solid rgba(85, 255, 255, 0.25);
}

.recruitment-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.recruitment-card {
    background: linear-gradient(180deg, rgba(51, 65, 85, 0.8) 0%, rgba(15, 23, 42, 0.9) 100%);
    border: 3px solid rgba(255, 255, 255, 0.06);
    padding: 22px;
}

.recruitment-card h3 {
    font-size: 0.95rem;
    color: var(--mc-gold);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.recruitment-card p {
    font-family: 'VT323', monospace;
    font-size: 1.2rem;
    color: var(--mc-light-gray);
    margin-bottom: 14px;
}

.recruitment-card ul {
    list-style: none;
}

.recruitment-card li {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: 'VT323', monospace;
    font-size: 1.15rem;
    color: var(--mc-white);
    margin-bottom: 6px;
}

.recruitment-card li i {
    color: var(--mc-green);
}

.recruitment-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px;
}

/* =====================================================
   FOOTER
   ===================================================== */
.mc-footer {
    background: linear-gradient(180deg, var(--dirt-dark) 0%, #3d2817 100%);
    border-top: 8px solid var(--grass-top);
    padding: 60px 20px 30px;
    position: relative;
}

.mc-footer::before {
    content: '';
    position: absolute;
    top: -8px;
    left: 0;
    right: 0;
    height: 16px;
    background: 
        repeating-linear-gradient(
            90deg,
            var(--grass-top) 0px,
            var(--grass-top) 16px,
            var(--grass-side) 16px,
            var(--grass-side) 32px
        );
    image-rendering: pixelated;
}

.footer-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3 {
    font-family: 'Press Start 2P', cursive;
    font-size: 0.9rem;
    color: var(--mc-gold);
    margin-bottom: 20px;
    text-shadow: 2px 2px 0 rgba(0,0,0,0.5);
}

.footer-section p {
    font-family: 'VT323', monospace;
    font-size: 1.2rem;
    color: var(--mc-gray);
    line-height: 1.6;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--mc-gray);
    text-decoration: none;
    font-family: 'VT323', monospace;
    font-size: 1.2rem;
    transition: all 0.2s ease;
}

.footer-links a:hover {
    color: var(--mc-green);
    transform: translateX(5px);
}

.footer-links a i {
    width: 20px;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-link {
    width: 50px;
    height: 50px;
    background: rgba(0,0,0,0.5);
    border: 3px solid var(--mc-dark-gray);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--mc-gray);
    font-size: 1.5rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: var(--mc-green);
    border-color: var(--mc-green);
    color: var(--mc-black);
    transform: translateY(-5px);
}

.social-link.discord:hover { background: #5865F2; border-color: #5865F2; color: white; }
.social-link.twitter:hover { background: #1DA1F2; border-color: #1DA1F2; color: white; }
.social-link.youtube:hover { background: #FF0000; border-color: #FF0000; color: white; }

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 4px solid rgba(255,255,255,0.1);
}

.footer-bottom p {
    font-family: 'VT323', monospace;
    font-size: 1rem;
    color: var(--mc-dark-gray);
}

/* =====================================================
   FLASH MESSAGES
   ===================================================== */
.flash-container {
    position: fixed;
    top: 100px;
    right: 20px;
    z-index: 1001;
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-width: 400px;
}

.flash {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px 20px;
    border: 4px solid var(--mc-black);
    font-family: 'VT323', monospace;
    font-size: 1.1rem;
    animation: slideIn 0.3s ease-out;
    box-shadow: 6px 6px 0 rgba(0,0,0,0.5);
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(100px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.flash-success {
    background: linear-gradient(180deg, var(--mc-dark-green) 0%, #1a4a1a 100%);
    color: var(--mc-green);
}

.flash-error {
    background: linear-gradient(180deg, var(--mc-dark-red) 0%, #4a1a1a 100%);
    color: var(--mc-red);
}

.flash-warning {
    background: linear-gradient(180deg, #8B6914 0%, #5a4a1a 100%);
    color: var(--mc-gold);
}

.flash-close {
    background: none;
    border: none;
    color: inherit;
    cursor: pointer;
    margin-left: auto;
    opacity: 0.7;
    transition: opacity 0.2s ease;
}

.flash-close:hover {
    opacity: 1;
}

/* =====================================================
   RESPONSIVE
   ===================================================== */
@media (max-width: 1024px) {
    .hero-stats {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .discord-box {
        justify-content: center;
        text-align: center;
    }
    
    .discord-content {
        flex-direction: column;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 20px;
        right: 20px;
        flex-direction: column;
        background: var(--inventory-slot);
        padding: 10px;
    }
    
    .nav-menu.active {
        display: flex;
    }
    
    .nav-toggle {
        display: flex;
        background: var(--inventory-bg);
        border: 3px solid var(--mc-black);
        color: var(--mc-dark-gray);
        padding: 10px 15px;
        font-size: 1.2rem;
        cursor: pointer;
    }
    
    .hero-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .stat-box {
        padding: 15px;
    }
    
    .stat-value {
        font-size: 1.2rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .recruitment-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .mc-btn {
        width: 100%;
        max-width: 300px;
    }
}

@media (max-width: 480px) {
    .hero-title .title-main {
        font-size: 2rem;
    }
    
    .logo-text {
        font-size: 1rem;
    }
    
    .ip-text {
        font-size: 0.8rem;
    }
    
    .hero-stats {
        grid-template-columns: 1fr 1fr;
    }
}

/* Toggle button hidden by default */
.nav-toggle {
    display: none;
}

/* =====================================================
   UTILITIES
   ===================================================== */
.text-center { text-align: center; }
.text-green { color: var(--mc-green); }
.text-gold { color: var(--mc-gold); }
.text-aqua { color: var(--mc-aqua); }
.text-red { color: var(--mc-red); }
.text-purple { color: var(--mc-light-purple); }

.mt-1 { margin-top: 10px; }
.mt-2 { margin-top: 20px; }
.mt-3 { margin-top: 30px; }
.mb-1 { margin-bottom: 10px; }
.mb-2 { margin-bottom: 20px; }
.mb-3 { margin-bottom: 30px; }
