/* --- CONTENEUR ET CARTES MEMBRES --- */
            #members-container {
                display: flex;
                flex-direction: column;
                gap: 25px;
                margin-bottom: 25px;
            }

            .member-card {
                background: rgba(255, 255, 255, 0.03);
                border: 1px solid var(--primary);
                padding: 25px;
                border-radius: 8px;
                position: relative;
                transition: 0.3s;
                animation: slideDown 0.4s ease-out;
            }

            .member-card:hover {
                border-color: var(--accent);
                background: rgba(255, 255, 255, 0.05);
            }

            /* En-tête de la carte (Titre + Croix) */
            .member-header {
                display: flex;
                justify-content: space-between;
                align-items: center;
                margin-bottom: 20px;
                border-bottom: 1px solid rgba(255, 255, 255, 0.1);
                padding-bottom: 10px;
            }

            .member-title {
                font-family: var(--font-head);
                color: var(--accent);
                font-size: 1.1rem;
                font-weight: 700;
            }

            
        /* --- VARIABLES & RESET (Thème Chaud) --- */
        :root {
            --bg-dark: #120505;
            --bg-panel: rgba(40, 10, 10, 0.6);
            --primary: #ff5e00; /* Orange Néon */
            --primary-glow: #ff5e00aa;
            --secondary: #ff0055; /* Rose/Rouge Néon */
            --accent: #ffcc00; /* Or */
            --text-main: #ffffff;
            --text-muted: #ffccaa;
            --glass-border: 1px solid rgba(255, 94, 0, 0.3);
            --font-head: 'Orbitron', sans-serif;
            --font-body: 'Rajdhani', sans-serif;
        }

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            scroll-behavior: smooth;
        }

        body {
            background-color: var(--bg-dark);
            color: var(--text-main);
            font-family: var(--font-body);
            overflow-x: hidden;
            line-height: 1.6;
        }

        /* --- BACKGROUND ANIMATION --- */
        #canvas-bg {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            z-index: -1;
            background: radial-gradient(circle at center, #2a0a0a 0%, #000000 100%);
        }

        /* --- TYPOGRAPHY & UTILS --- */
        h1, h2, h3, h4 {
            font-family: var(--font-head);
            text-transform: uppercase;
            letter-spacing: 1px;
        }

        .highlight {
            color: var(--primary);
            text-shadow: 0 0 10px var(--primary-glow);
        }

        .container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 20px;
        }

        .section-padding {
            padding: 100px 0;
        }

        /* --- NAVIGATION --- */
        nav {
            position: fixed;
            top: 0;
            width: 100%;
            padding: 20px 0;
            z-index: 1000;
            background: rgba(18, 5, 5, 0.8);
            backdrop-filter: blur(15px);
            border-bottom: 1px solid rgba(255, 94, 0, 0.2);
            transition: all 0.3s ease;
        }

        .nav-container {
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .logo {
            font-size: 1.5rem;
            font-weight: 900;
            color: var(--text-main);
            text-decoration: none;
            display: flex;
            align-items: center;
            gap: 10px;
            font-style: italic;
        }

        /* --- MODIFICATION ICI : Style du logo circulaire --- */
        .logo-icon {
            width: 40px;
            height: 40px;
            border-radius: 50%; /* Forme circulaire */
            overflow: hidden; /* Pour que l'image ne dépasse pas du cercle */
            display: flex;
            align-items: center;
            justify-content: center;
            background: transparent;
        }

        .logo-icon img {
            width: 100%;
            height: 100%;
            object-fit: cover; /* L'image remplit le cercle sans être déformée */
        }
        /* ------------------------------------------------- */

        .nav-links {
            display: flex;
            gap: 30px;
            align-items: center;
        }

        .nav-links a {
            color: var(--text-main);
            text-decoration: none;
            font-size: 1.05rem;
            font-weight: 500;
            position: relative;
            transition: color 0.3s;
        }

        .nav-links a::after {
            content: '';
            position: absolute;
            width: 0;
            height: 2px;
            bottom: -5px;
            left: 0;
            background: var(--primary);
            transition: width 0.3s;
        }

        .nav-links a:hover::after {
            width: 100%;
        }

        .btn-nav {
            padding: 8px 20px;
            border: 1px solid var(--primary);
            color: var(--primary);
            border-radius: 4px;
            transition: all 0.3s;
            text-decoration: none;
            font-family: var(--font-head);
        }

        .btn-nav:hover {
            background: var(--primary);
            color: white;
            box-shadow: 0 0 20px var(--primary-glow);
        }

        .btn-logout {
            border: 1px solid var(--secondary);
            color: var(--secondary);
        }
        .btn-logout:hover {
            background: var(--secondary);
            box-shadow: 0 0 20px rgba(255, 0, 85, 0.5);
        }

        /* --- HERO SECTION --- */
        .hero {
            height: 100vh;
            display: flex;
            align-items: center;
            justify-content: center;
            flex-direction: column;
            text-align: center;
            position: relative;
            padding-top: 60px;
        }

        .hero-content {
            max-width: 900px;
            z-index: 2;
        }

        .badge {
            display: inline-block;
            padding: 5px 15px;
            background: rgba(255, 94, 0, 0.1);
            border: 1px solid var(--primary);
            color: var(--primary);
            font-size: 0.8rem;
            border-radius: 20px;
            margin-bottom: 20px;
            text-transform: uppercase;
            letter-spacing: 2px;
        }

        .denthack-title {
            font-size: 4rem;
            font-weight: 900;
            margin-bottom: 10px;
            background: linear-gradient(90deg, #fff, var(--primary), var(--secondary));
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            animation: shine 5s linear infinite;
        }

        @keyframes shine {
            0% { background-position: 0%; }
            100% { background-position: 200%; }
        }

        .hero h1 {
            font-size: 3rem;
            line-height: 1.1;
            margin-bottom: 20px;
            background: linear-gradient(90deg, #fff, var(--text-muted));
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
        }

        .hero p {
            font-size: 1.2rem;
            color: var(--text-muted);
            margin-bottom: 40px;
            max-width: 700px;
            margin-left: auto;
            margin-right: auto;
        }

        .cta-buttons {
            display: flex;
            gap: 20px;
            justify-content: center;
            flex-wrap: wrap;
            margin-top: 30px;
        }

        .btn-main {
            display: inline-block;
            padding: 15px 40px;
            background: linear-gradient(45deg, var(--secondary), var(--primary));
            color: white;
            text-decoration: none;
            font-family: var(--font-head);
            font-weight: 700;
            font-size: 1.1rem;
            clip-path: polygon(10% 0, 100% 0, 100% 70%, 90% 100%, 0 100%, 0 30%);
            transition: transform 0.3s, box-shadow 0.3s;
            border: none;
            cursor: pointer;
        }

        .btn-main:hover {
            transform: translateY(-5px);
            box-shadow: 0 0 30px var(--secondary);
        }

        .btn-secondary {
            display: inline-block;
            padding: 15px 40px;
            background: transparent;
            color: var(--primary);
            border: 1px solid var(--primary);
            text-decoration: none;
            font-family: var(--font-head);
            font-weight: 700;
            font-size: 1.1rem;
            border-radius: 4px;
            transition: all 0.3s;
        }
        
        .btn-secondary:hover {
            background: rgba(255, 94, 0, 0.1);
            box-shadow: 0 0 20px var(--primary-glow);
        }

        /* --- CHALLENGES GRID --- */
        .grid-3 {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 30px;
            margin-top: 50px;
        }

        .challenge-card {
            background: var(--bg-panel);
            backdrop-filter: blur(10px);
            border: var(--glass-border);
            padding: 30px;
            position: relative;
            transition: all 0.4s ease;
            overflow: hidden;
            clip-path: polygon(20px 0, 100% 0, 100% calc(100% - 20px), calc(100% - 20px) 100%, 0 100%, 0 20px);
        }

        .challenge-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 3px;
            background: linear-gradient(90deg, var(--secondary), var(--primary));
            opacity: 0.7;
        }

        .challenge-card:hover {
            transform: translateY(-10px);
            border-color: var(--secondary);
            box-shadow: 0 10px 40px rgba(255, 0, 85, 0.15);
        }

        .challenge-number {
            font-size: 2rem;
            font-weight: 900;
            color: var(--primary);
            margin-bottom: 15px;
        }

        .challenge-title {
            font-size: 1.4rem;
            margin-bottom: 15px;
            color: var(--text-main);
        }

        .challenge-desc {
            color: var(--text-muted);
            font-size: 1rem;
            line-height: 1.6;
        }

        /* --- SCHEDULE TIMELINE --- */
        .schedule-timeline {
            max-width: 800px;
            margin: 50px auto;
            position: relative;
        }

        .timeline-item {
            display: flex;
            gap: 30px;
            margin-bottom: 40px;
            position: relative;
        }

        .timeline-time {
            min-width: 120px;
            font-weight: 700;
            color: var(--primary);
            font-family: var(--font-head);
            text-align: right;
            padding-top: 5px;
        }

        .timeline-content {
            flex: 1;
            background: var(--bg-panel);
            padding: 20px;
            border-radius: 4px;
            border: 1px solid rgba(255, 94, 0, 0.2);
        }

        .timeline-content h4 {
            color: var(--text-main);
            margin-bottom: 10px;
            font-size: 1.2rem;
        }

        .timeline-content ul {
            list-style-type: none;
            color: var(--text-muted);
        }

        .timeline-content li {
            margin-bottom: 8px;
        }

        /* --- PRIZES GRID --- */
        .prizes-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 30px;
            margin-top: 50px;
        }

        .prize-card {
            background: linear-gradient(135deg, rgba(255, 94, 0, 0.1), rgba(255, 0, 85, 0.1));
            border: 1px solid var(--primary);
            padding: 30px;
            text-align: center;
            border-radius: 4px;
            transition: all 0.3s;
        }

        .prize-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 10px 30px rgba(255, 94, 0, 0.2);
        }

        .prize-place {
            font-size: 1.2rem;
            color: var(--primary);
            margin-bottom: 10px;
            font-weight: 700;
        }

        .prize-amount {
            font-size: 2.5rem;
            font-weight: 900;
            color: var(--text-main);
            margin-bottom: 15px;
        }

        .prize-desc {
            color: var(--text-muted);
            font-size: 0.9rem;
        }

        /* --- STATS BAR --- */
        .stats-bar {
            background: linear-gradient(90deg, var(--secondary), var(--bg-dark));
            padding: 60px 0;
            margin-top: 100px;
            border-top: 1px solid var(--primary);
            border-bottom: 1px solid var(--primary);
            text-align: center;
        }

        .stats-grid {
            display: flex;
            justify-content: space-around;
            flex-wrap: wrap;
            gap: 40px;
        }

        .stat-item h2 {
            font-size: 3.5rem;
            color: var(--text-main);
            margin-bottom: 10px;
            font-family: var(--font-head);
        }

        .stat-item p {
            font-size: 1.2rem;
            text-transform: uppercase;
            letter-spacing: 2px;
            color: var(--accent);
        }

        /* --- FOOTER --- */
        footer {
            border-top: 1px solid rgba(255, 94, 0, 0.2);
            padding: 50px 0 20px;
            background: #0a0202;
            text-align: center;
            color: var(--text-muted);
        }

        /* --- ANIMATION CLASS --- */
        .reveal {
            opacity: 0;
            transform: translateY(30px);
            transition: all 0.8s ease-out;
        }

        .reveal.active {
            opacity: 1;
            transform: translateY(0);
        }

        /* --- RESPONSIVE --- */
        @media (max-width: 768px) {
            .denthack-title { font-size: 2.5rem; }
            .hero h1 { font-size: 2rem; }
            .nav-links { display: none; }
            .stats-grid { flex-direction: column; gap: 30px; }
            .timeline-item { flex-direction: column; gap: 10px; }
            .timeline-time { text-align: left; min-width: auto; }
        }
                /* --- FORMULAIRE D'INSCRIPTION --- */
        .form-container {
            display: none; /* Caché par défaut */
            background: var(--bg-panel);
            backdrop-filter: blur(10px);
            padding: 40px;
            border: var(--glass-border);
            border-radius: 8px;
            max-width: 900px;
            margin: 0 auto;
            box-shadow: 0 0 30px rgba(255, 94, 0, 0.1);
            animation: slideDown 0.6s ease-out forwards;
        }

        @keyframes slideDown {
            from { opacity: 0; transform: translateY(-20px); }
            to { opacity: 1; transform: translateY(0); }
        }

        .form-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 20px;
            margin-bottom: 20px;
        }

        .form-full {
            grid-column: span 2;
        }

        .form-group {
            display: flex;
            flex-direction: column;
        }

        .form-group label {
            margin-bottom: 8px;
            color: var(--text-main);
            font-size: 0.9rem;
            font-weight: 600;
        }

        .form-group input, 
        .form-group select, 
        .form-group textarea {
            background: rgba(0,0,0,0.4);
            border: 1px solid rgba(255, 94, 0, 0.3);
            color: white;
            padding: 12px;
            border-radius: 4px;
            font-family: var(--font-body);
            font-size: 1rem;
            outline: none;
            transition: 0.3s;
        }

        .form-group input:focus, 
        .form-group select:focus, 
        .form-group textarea:focus {
            border-color: var(--primary);
            box-shadow: 0 0 10px rgba(255, 94, 0, 0.2);
        }

        .form-group textarea {
            resize: vertical;
            min-height: 100px;
        }

        /* Checkboxes personnalisées */
        .checkbox-group {
            display: flex;
            align-items: flex-start;
            gap: 10px;
            margin-bottom: 15px;
            color: var(--text-muted);
            font-size: 0.9rem;
        }

        .checkbox-group input {
            margin-top: 4px;
            accent-color: var(--primary);
            width: 18px;
            height: 18px;
            cursor: pointer;
        }

        .btn-submit {
            width: 100%;
            padding: 18px;
            background: linear-gradient(45deg, var(--secondary), var(--primary));
            color: white;
            border: none;
            font-family: var(--font-head);
            font-weight: 700;
            font-size: 1.1rem;
            cursor: pointer;
            clip-path: polygon(5% 0, 100% 0, 100% 70%, 95% 100%, 0 100%, 0 30%);
            transition: 0.3s;
        }

        .btn-submit:hover {
            transform: translateY(-2px);
            box-shadow: 0 0 20px var(--secondary);
        }

        @media (max-width: 768px) {
            .form-grid { grid-template-columns: 1fr; }
            .form-full { grid-column: span 1; }
        }
                    /* --- GRILLE DE CASES À COCHER --- */
            .checkboxes-grid {
                display: grid;
                grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); /* 2 ou 3 colonnes selon l'écran */
                gap: 12px;
                margin-top: 10px;
            }

            /* Amélioration de l'interactivité des cases */
            .checkbox-group {
                cursor: pointer;
                transition: 0.2s;
            }
            .checkbox-group:hover {
                background: rgba(255, 255, 255, 0.05);
                padding: 5px; /* Léger effet de surbrillance au survol */
                border-radius: 4px;
            }
            .checkbox-group input[type="checkbox"] {
                margin-top: 3px;
            }
            .checkbox-group label {
                cursor: pointer;
            }
            /* --- COMPTE A REBOURS --- */
.countdown-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    margin: 30px 0;
    flex-wrap: wrap;
}

.countdown-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: var(--bg-panel);
    backdrop-filter: blur(10px);
    border: 1px solid var(--primary);
    padding: 15px 20px;
    border-radius: 8px;
    min-width: 90px;
    box-shadow: 0 0 15px rgba(255, 94, 0, 0.2);
    transition: transform 0.3s;
}

.countdown-item:hover {
    transform: translateY(-5px);
    border-color: var(--accent);
}

.countdown-number {
    font-family: var(--font-head);
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--text-main);
    line-height: 1;
    text-shadow: 0 0 10px var(--primary-glow);
}

.countdown-label {
    font-family: var(--font-body);
    font-size: 0.9rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-top: 5px;
}

.separator {
    font-family: var(--font-head);
    font-size: 2rem;
    color: var(--accent);
    font-weight: bold;
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% { opacity: 0.5; }
    50% { opacity: 1; text-shadow: 0 0 10px var(--accent); }
    100% { opacity: 0.5; }
}