body {
    font-family: Arial, sans-serif;
    text-align: center;
    background: #222;
    color: white;
    padding-top: 50px;
}

h1 {
    font-size: 3em;
    margin-bottom: 30px;
}

#preview {
    width: 150px;
    height: 150px;
    margin: 20px auto;
    background-color: #444;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: flex-end;
}

.joueur-apercu {
    width: 40px;
    height: 80px;
    background-color: #ffffff;
    position: relative;
}

.tete-apercu {
    width: 40px;
    height: 40px;
    background-color: white;
    border-radius: 50%;
    position: absolute;
    top: -40px;
    left: 50%;
    transform: translateX(-50%);
}

input, button {
    margin: 10px;
    padding: 10px;
    font-size: 1em;
}

#colorOptions {
    display: flex;
    justify-content: center;
    margin: 25px 0;
    gap: 20px;
}

.colorOption {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid white;
    cursor: pointer;
    transition: transform 0.2s, border 0.2s;
}

.colorOption:hover {
    transform: scale(1.2);
}

.colorOption.selected {
    border: 3px solid gold;
    transform: scale(1.4);
    z-index: 1;
}

#menuHelp {
    top: 20%;
    left: 15%;
    position: absolute;
    background-color: #333;
    color: white;
    padding: 20px;
    border-radius: 10px;
    max-width: 220px;
    font-size: 14px;
    line-height: 1.6;
    box-shadow: 0 0 10px rgba(0,0,0,0.5);
}

#menuHelp h2 {
    margin-top: 0;
    font-size: 18px;
    border-bottom: 1px solid #555;
    padding-bottom: 5px;
}

#menuHelp ul {
    list-style: none;
    padding: 0;
    text-align: left;
}

#menuHelp li {
    padding: 5px;
}

.key {
    display: inline-block;
    padding: 4px 8px;
    margin: 0 2px;
    border: 1px solid #aaa;
    border-radius: 4px;
    background-color: #222;
    color: white;
    font-family: monospace;
    font-size: 13px;
    box-shadow: inset 0 -2px 0 #000;
}