body {
            margin: 0;
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            background-color: #1a1a2e;
            color: white;
            text-align: center;
            overflow: hidden;
        }

        /* PAGE D'ACCUEIL STYLEE */
        #ecran-accueil {
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            height: 100vh;
            /* Un joli dégradé moderne */
            background: radial-gradient(circle, #6c5ce7 0%, #1a1a2e 100%);
        }

        .titre-jeu {
            font-size: 80px;
            margin: 0;
            text-transform: uppercase;
            letter-spacing: 5px;
            /* Effet de lueur sous le texte */
            text-shadow: 0 0 20px rgba(255, 255, 255, 0.5);
            animation: flottement 3s ease-in-out infinite;
        }

        @keyframes flottement {
            0%, 100% { transform: translateY(0); }
            50% { transform: translateY(-15px); }
        }

        .sous-titre {
            font-size: 20px;
            opacity: 0.8;
            margin-bottom: 40px;
        }

        /* BOUTON DESIGN */
        .btn-jouer {
            padding: 20px 50px;
            font-size: 24px;
            font-weight: bold;
            color: white;
            background: #fd79a8;
            border: none;
            border-radius: 50px;
            cursor: pointer;
            box-shadow: 0 10px 20px rgba(253, 121, 168, 0.4);
            transition: all 0.3s ease;
        }

        .btn-jouer:hover {
            transform: scale(1.1);
            background: #e84393;
            box-shadow: 0 15px 30px rgba(253, 121, 168, 0.6);
        }

        /* ZONE DE JEU (Simplifiée) */
        #zone-jeu {
            display: none;
            height: 100vh;
            position: relative;
            background-color: #0f0f1b;
        }

        #panier {
            position: absolute;
            bottom: 30px;
            left: 50%;
            width: 110px;
            height: 45px;
            background: linear-gradient(to right, #00cec9, #0984e3);
            border-radius: 15px;
            line-height: 45px;
            font-weight: bold;
            transform: translateX(-50%);
            box-shadow: 0 5px 15px rgba(0, 206, 201, 0.4);
        }

        .matiere {
            position: absolute;
            padding: 8px 15px;
            background: #6c5ce7;
            border-radius: 20px;
            font-size: 14px;
            font-weight: bold;
            border: 2px solid white;
        }

        #game-over {
            display: none;
            position: absolute;
            top: 50%; left: 50%;
            transform: translate(-50%, -50%);
            background: rgba(26, 26, 46, 0.95);
            padding: 50px;
            border-radius: 20px;
            border: 2px solid #fd79a8;
        }

        /* RESPONSIVE DESIGN */
        @media (max-width: 1200px) {
            .titre-jeu {
                font-size: 70px;
                letter-spacing: 4px;
            }

            .sous-titre {
                font-size: 19px;
            }

            .btn-jouer {
                padding: 18px 45px;
                font-size: 22px;
            }
        }

        @media (max-width: 1024px) {
            .titre-jeu {
                font-size: 60px;
                letter-spacing: 3px;
            }

            .sous-titre {
                font-size: 18px;
            }

            .btn-jouer {
                padding: 15px 40px;
                font-size: 20px;
            }

            #panier {
                width: 100px;
                height: 42px;
                line-height: 42px;
                bottom: 25px;
            }

            .matiere {
                padding: 7px 13px;
                font-size: 13px;
            }
        }

        @media (max-width: 768px) {
            .titre-jeu {
                font-size: 48px;
                letter-spacing: 3px;
            }

            .sous-titre {
                font-size: 16px;
                margin-bottom: 30px;
            }

            .btn-jouer {
                padding: 12px 30px;
                font-size: 18px;
            }

            #panier {
                width: 90px;
                height: 40px;
                line-height: 40px;
                bottom: 20px;
                font-size: 13px;
            }

            .matiere {
                padding: 6px 12px;
                font-size: 12px;
            }

            #game-over {
                padding: 30px;
                width: 85%;
            }
        }

        @media (max-width: 600px) {
            .titre-jeu {
                font-size: 40px;
                letter-spacing: 2px;
                text-shadow: 0 0 15px rgba(255, 255, 255, 0.4);
            }

            .sous-titre {
                font-size: 15px;
                margin-bottom: 25px;
            }

            .btn-jouer {
                padding: 11px 28px;
                font-size: 17px;
                box-shadow: 0 8px 15px rgba(253, 121, 168, 0.3);
            }

            #panier {
                width: 85px;
                height: 38px;
                line-height: 38px;
                bottom: 18px;
                font-size: 12px;
            }

            .matiere {
                padding: 5px 11px;
                font-size: 11px;
            }

            #game-over {
                padding: 25px;
                width: 88%;
                border-radius: 15px;
            }
        }

        @media (max-width: 480px) {
            body {
                font-size: 14px;
            }

            .titre-jeu {
                font-size: 36px;
                letter-spacing: 2px;
                text-shadow: 0 0 15px rgba(255, 255, 255, 0.4);
            }

            @keyframes flottement {
                0%, 100% { transform: translateY(0); }
                50% { transform: translateY(-10px); }
            }

            .sous-titre {
                font-size: 14px;
                margin-bottom: 20px;
            }

            .btn-jouer {
                padding: 10px 25px;
                font-size: 16px;
                box-shadow: 0 8px 15px rgba(253, 121, 168, 0.3);
            }

            .btn-jouer:hover {
                transform: scale(1.08);
            }

            #panier {
                width: 80px;
                height: 35px;
                line-height: 35px;
                bottom: 15px;
                font-size: 12px;
            }

            .matiere {
                padding: 5px 10px;
                font-size: 11px;
            }

            #game-over {
                padding: 20px;
                width: 90%;
                border-radius: 15px;
            }
        }

        @media (max-width: 360px) {
            .titre-jeu {
                font-size: 32px;
                letter-spacing: 1px;
            }

            .sous-titre {
                font-size: 13px;
                margin-bottom: 15px;
            }

            .btn-jouer {
                padding: 9px 22px;
                font-size: 15px;
            }

            #panier {
                width: 75px;
                height: 32px;
                line-height: 32px;
                bottom: 12px;
                font-size: 11px;
            }
        }

