        #gameplay {
            position: relative;
            padding: 4rem 2rem;
            background: linear-gradient(180deg, #010b19 0%, #021d27 50%, #010b19 100%);
            overflow: hidden;
        }

        /* Grille cyber */
        .cyber-grid-gameplay {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-image: 
                linear-gradient(rgba(0, 208, 198, 0.05) 1px, transparent 1px),
                linear-gradient(90deg, rgba(0, 208, 198, 0.05) 1px, transparent 1px);
            background-size: 50px 50px;
            pointer-events: none;
            opacity: 0.3;
        }

        /* Orbes lumineux */
        .glow-orb-gameplay {
            position: absolute;
            border-radius: 50%;
            filter: blur(100px);
            pointer-events: none;
            animation: floatGameplay 25s ease-in-out infinite;
        }

        .glow-orb-gameplay-1 {
            width: 500px;
            height: 500px;
            background: radial-gradient(circle, rgba(0, 208, 198, 0.2), transparent);
            top: 10%;
            left: -10%;
        }

        .glow-orb-gameplay-2 {
            width: 400px;
            height: 400px;
            background: radial-gradient(circle, rgba(135, 53, 185, 0.15), transparent);
            bottom: 20%;
            right: -10%;
            animation-delay: -12s;
        }

        @keyframes floatGameplay {
            0%, 100% { transform: translate(0, 0); }
            50% { transform: translate(50px, -50px); }
        }

        .container-gameplay {
            position: relative;
            max-width: 1400px;
            margin: 0 auto;
            z-index: 1;
        }

        .subtitle-gameplay {
            text-align: center;
            font-size: 1.2rem;
            color: #60f4d7;
            margin-bottom: 3rem;
            opacity: 0.9;
        }

        /* Section des contrôles */
        .controls-section {
            margin-bottom: 4rem;
        }

        .section-title {
            font-size: 1.8rem;
            color: #00d0c6;
            text-align: center;
            margin-bottom: 2rem;
            letter-spacing: 0.1em;
            text-transform: uppercase;
        }

        /* Grille des contrôles */
        .controls-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
            gap: 1.5rem;
            margin-bottom: 3rem;
        }

        /* Carte de contrôle */
        .control-card {
            background: linear-gradient(145deg, rgba(3, 119, 120, 0.2), rgba(24, 27, 43, 0.4));
            border: 1px solid rgba(0, 208, 198, 0.3);
            border-radius: 15px;
            padding: 1.5rem;
            transition: all 0.3s ease;
            position: relative;
            overflow: hidden;
        }

        .control-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(0, 208, 198, 0.1), transparent);
            transition: left 0.5s ease;
        }

        .control-card:hover::before {
            left: 100%;
        }

        .control-card:hover {
            transform: translateY(-5px) scale(1.02);
            border-color: rgba(0, 208, 198, 0.6);
            box-shadow: 0 15px 40px rgba(0, 208, 198, 0.3);
        }

        /* Icône de l'action */
        .control-icon {
            font-size: 3rem;
            color: #8735b9;
            text-align: center;
            margin-bottom: 1rem;
            text-shadow: 0 0 20px rgba(135, 53, 185, 0.6);
            animation: float 3s ease-in-out infinite;
        }

        @keyframes float {
            0%, 100% { transform: translateY(0); }
            50% { transform: translateY(-10px); }
        }

        /* Touche de clavier stylisée */
        .key-display {
            display: flex;
            justify-content: center;
            gap: 0.5rem;
            margin-bottom: 1rem;
            flex-wrap: wrap;
        }

        .key {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            min-width: 50px;
            height: 50px;
            padding: 0 1rem;
            background: linear-gradient(145deg, #181b2b, #0a0f1a);
            border: 2px solid #00d0c6;
            border-radius: 8px;
            font-size: 1.2rem;
            font-weight: bold;
            color: #00d0c6;
            box-shadow: 
                0 4px 15px rgba(0, 208, 198, 0.4),
                inset 0 2px 4px rgba(0, 208, 198, 0.2);
            text-transform: uppercase;
            font-family: 'Courier New', monospace;
            transition: all 0.2s ease;
        }

        .control-card:hover .key {
            transform: translateY(-2px);
            box-shadow: 
                0 6px 20px rgba(0, 208, 198, 0.6),
                inset 0 2px 4px rgba(0, 208, 198, 0.3);
        }

        /* Description de l'action */
        .control-description {
            text-align: center;
            color: rgba(255, 255, 255, 0.85);
            font-size: 1.05rem;
            line-height: 1.4;
        }

        /* Section clavier visuel */
        .keyboard-visual {
            background: linear-gradient(145deg, rgba(1, 61, 70, 0.3), rgba(24, 27, 43, 0.5));
            /*border: 2px solid rgba(0, 208, 198, 0.3);*/
            border-radius: 20px;
            padding: 3rem 2rem;
            margin-bottom: 3rem;
            backdrop-filter: blur(15px);
        }

        .keyboard-layout {
            max-width: 800px;
            margin: 0 auto;
            display: flex;
            flex-direction: column;
            gap: 0.5rem;
        }

        .keyboard-row {
            display: flex;
            justify-content: center;
            gap: 0.5rem;
        }

        .kb-key {
            display: flex;
            align-items: center;
            justify-content: center;
            min-width: 60px;
            height: 60px;
            background: linear-gradient(145deg, #181b2b, #0a0f1a);
            border: 2px solid #333;
            border-radius: 8px;
            font-size: 1rem;
            font-weight: bold;
            color: #666;
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
            transition: all 0.3s ease;
            /*cursor: default;*/
            font-family: 'Courier New', monospace;
        }

        .kb-key.active {
            border-color: #00d0c6;
            color: #00d0c6;
            box-shadow: 
                0 4px 15px rgba(0, 208, 198, 0.5),
                inset 0 0 20px rgba(0, 208, 198, 0.1);
            animation: keyGlow 2s ease-in-out infinite;
        }

        @keyframes keyGlow {
            0%, 100% { box-shadow: 0 4px 15px rgba(0, 208, 198, 0.5); }
            50% { box-shadow: 0 6px 25px rgba(0, 208, 198, 0.8); }
        }

        .kb-key.spacebar {
            min-width: 300px;
        }

        .kb-key.shift {
            min-width: 100px;
        }

        /* Légende du clavier */
        .keyboard-legend {
            display: flex;
            justify-content: center;
            gap: 2rem;
            margin-top: 2rem;
            flex-wrap: wrap;
        }

        .legend-item {
            display: flex;
            align-items: center;
            gap: 0.5rem;
            color: rgba(255, 255, 255, 0.8);
            font-size: 0.9rem;
        }

        .legend-color {
            width: 20px;
            height: 20px;
            border-radius: 4px;
            border: 2px solid #00d0c6;
            background: rgba(0, 208, 198, 0.2);
        }

        /* Section mécaniques */
        .mechanics-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 2rem;
        }

        .mechanic-card {
            background: linear-gradient(145deg, rgba(135, 53, 185, 0.2), rgba(3, 119, 120, 0.3));
            border: 2px solid rgba(135, 53, 185, 0.4);
            border-radius: 20px;
            padding: 2rem;
            text-align: center;
            transition: all 0.4s ease;
            position: relative;
            overflow: hidden;
        }

        .mechanic-card::after {
            content: '';
            position: absolute;
            inset: 0;
            background: radial-gradient(circle at center, rgba(0, 208, 198, 0.1), transparent);
            opacity: 0;
            transition: opacity 0.4s ease;
        }

        .mechanic-card:hover::after {
            opacity: 1;
        }

        .mechanic-card:hover {
            transform: scale(1.05);
            border-color: rgba(0, 208, 198, 0.6);
            box-shadow: 0 20px 50px rgba(0, 208, 198, 0.3);
        }

        .mechanic-icon {
            font-size: 4rem;
            margin-bottom: 1rem;
            background: linear-gradient(135deg, #00d0c6, #8735b9);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            filter: drop-shadow(0 0 20px rgba(0, 208, 198, 0.5));
        }

        .mechanic-title {
            font-size: 1.5rem;
            color: #60f4d7;
            margin-bottom: 0.5rem;
            letter-spacing: 0.05em;
        }

        .mechanic-description {
            color: rgba(255, 255, 255, 0.85);
            font-size: 0.95rem;
            line-height: 1.6;
        }

        /* Responsive */
        @media (max-width: 768px) {
            .controls-grid {
                grid-template-columns: 1fr;
            }

            .keyboard-visual {
                padding: 2rem 1rem;
            }

            .kb-key {
                min-width: 45px;
                height: 45px;
                font-size: 0.9rem;
            }

            .kb-key.spacebar {
                min-width: 200px;
            }

            .mechanics-grid {
                grid-template-columns: 1fr;
            }
        }

        /* Header du clavier */
.keyboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    /*cursor: pointer;*/
    padding: 0.5rem 1rem;
    transition: background 0.3s ease;
}

.keyboard-header:hover .section-title {
    text-shadow: 0 0 10px rgba(0, 208, 198, 0.8);
}

/* Bouton de dépliage */
.toggle-kb-btn {
    background: rgba(0, 208, 198, 0.1);
    border: 1px solid #00d0c6;
    color: #00d0c6;
    width: 40px;
    height: 40px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    /*cursor: pointer;*/
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 0 10px rgba(0, 208, 198, 0.2);
}

.keyboard-visual.is-open .toggle-kb-btn {
    transform: rotate(180deg);
    background: #00d0c6;
    color: #010b19;
    box-shadow: 0 0 20px rgba(0, 208, 198, 0.5);
}

/* Conteneur rétractable */
.keyboard-collapse-content {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transform: translateY(-10px);
    transition: 
        max-height 0.6s cubic-bezier(0.4, 0, 0.2, 1),
        opacity 0.4s ease,
        transform 0.4s ease;
}

.keyboard-visual.is-open .keyboard-collapse-content {
    max-height: 800px; /* Valeur supérieure à la hauteur réelle */
    opacity: 1;
    transform: translateY(0);
    padding-top: 2rem;
}

/* Ajustement responsive */
@media (max-width: 768px) {
    .keyboard-header .section-title {
        font-size: 1.2rem;
    }
}