/* Import de la police arcade rétro */
@import url('https://fonts.googleapis.com/css2?family=Press+Start+2P&display=swap');

/* Style général */
body {
    font-family: 'Press Start 2P', cursive, Arial, sans-serif;
    background: linear-gradient(135deg, #1e0033, #4b0082); /* violet profond + bleu nuit */
    text-align: center;
    margin: 0;
    padding: 0;
    color: #fff;
}

/* Titre */
h1 {
    margin-top: 20px;
    font-size: 1.5em;
    color: #ff77ff;
    text-shadow: 0 0 5px #ff77ff, 0 0 10px #ff44ff;
}

/* Score */
p {
    font-size: 16px;
    margin: 10px 0;
}

.choixDifficulte {
    width: 400px;
    margin: 15px auto 0;
    padding: 12px 14px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 119, 255, 0.55);
    box-shadow: 0 0 12px rgba(255, 119, 255, 0.28) inset;
}

.listeDifficulte {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin: 10px 0;
}

.btnDifficulte {
    font-family: inherit;
    font-size: 11px;
    color: #fff;
    background: linear-gradient(135deg, #7a1bc2, #3f00a8);
    border: 1px solid #c77dff;
    border-radius: 10px;
    padding: 8px 10px;
    cursor: pointer;
    box-shadow: 0 0 8px rgba(199, 125, 255, 0.45);
    transition: transform 0.15s, filter 0.15s, box-shadow 0.15s;
}

.btnDifficulte:hover {
    transform: translateY(-1px);
    filter: brightness(1.1);
    box-shadow: 0 0 12px rgba(199, 125, 255, 0.65);
}

.btnDifficulte:active {
    transform: scale(0.98);
}

.infosPartie {
    width: 400px;
    margin: 15px auto 0;
    padding: 12px 14px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(138, 43, 226, 0.6);
    box-shadow: 0 0 12px rgba(138, 43, 226, 0.35) inset;
}

.infosPartie p {
    margin: 8px 0;
}

#score {
    font-weight: bold;
    font-size: 20px;
    color: #88ffff;
    text-shadow: 0 0 5px #88ffff, 0 0 10px #55ffff;
}

#chrono,
#meilleur_score {
    font-weight: bold;
    color: #ffd6ff;
    text-shadow: 0 0 5px rgba(255, 214, 255, 0.7), 0 0 10px rgba(255, 119, 255, 0.55);
}

#niveau_actuel {
    font-weight: bold;
    color: #88ffff;
    text-shadow: 0 0 5px #88ffff, 0 0 10px rgba(136, 255, 255, 0.5);
}

/* Zone de jeu */
#zoneJeu {
    width: 400px;
    height: 400px;
    background: #3d0066; /* violet foncé */
    border-radius: 25px;
    margin: 30px auto;
    position: relative;
    box-shadow: 0 10px 25px rgba(0,0,0,0.3), 0 0 15px #8a2be2 inset;
    border: 2px solid #8a2be2;
    overflow: hidden;
}

/* Cible en diamant */
#cible {
    width: 35px;
    height: 35px;
    background: linear-gradient(45deg, #ff77ff, #ff44ff); /* violet néon */
    border-radius: 10%;
    transform: rotate(45deg); /* diamant */
    position: absolute;
    cursor: pointer;
    box-shadow: 0 0 10px #ff77ff, 0 0 15px #ff44ff inset;
    transition: transform 0.2s, filter 0.2s, box-shadow 0.2s;
}

/* Hover doux */
#cible:hover {
    transform: rotate(45deg) scale(1.2);
    filter: brightness(1.2);
    box-shadow: 0 0 15px #ff77ff, 0 0 25px #ff44ff inset;
}

/* Effet au clic */
#cible:active {
    transform: rotate(45deg) scale(0.9);
    filter: brightness(1.3);
}