body {
    background-color: #121212;
    color: #ffffff;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.glow-title {
    color: #ff8c00;
    text-shadow: 0 0 10px #ff8c00, 0 0 20px #ff8c00, 0 0 40px #ff8c00;
    text-align: center;
    margin-bottom: 20px;
    font-size: 3em;
    text-transform: uppercase;
    letter-spacing: 2px;
}

#final-result {
    font-size: 2.5em;
    margin-top: 0;
    animation: popIn 0.5s ease-out forwards;
}

@keyframes popIn {
    0% { transform: scale(0.5); opacity: 0; }
    100% { transform: scale(1); opacity: 1; }
}

.container {
    display: flex;
    gap: 40px;
    max-width: 1200px;
    width: 100%;
    justify-content: center;
    align-items: flex-start;
    flex-wrap: wrap;
}

.controls {
    display: flex;
    flex-direction: column;
    gap: 15px;
    background: #1e1e1e;
    padding: 25px;
    border-radius: 12px;
    min-width: 280px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.5);
}

textarea, input[type="number"] {
    padding: 10px;
    border-radius: 5px;
    border: 1px solid #444;
    background: #2a2a2a;
    color: white;
    font-size: 16px;
    font-family: inherit;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-size: 16px;
}

/* --- Style du Slider de Volume --- */
.volume-control {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 16px;
}

input[type="range"] {
    flex-grow: 1;
    cursor: pointer;
    accent-color: #ff8c00; /* La couleur orange magique */
}
/* --------------------------------- */

button {
    padding: 15px;
    background-color: #ff8c00;
    color: #121212;
    border: none;
    border-radius: 8px;
    font-weight: bold;
    font-size: 18px;
    cursor: pointer;
    transition: all 0.2s;
    text-transform: uppercase;
    margin-top: 5px;
}

button:hover {
    background-color: #ffa500;
    box-shadow: 0 0 15px #ff8c00;
    transform: translateY(-2px);
}

button:disabled {
    background-color: #555;
    color: #888;
    cursor: not-allowed;
    box-shadow: none;
    transform: none;
}

.wheel-container {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 10px;
}

canvas {
    border-radius: 50%;
    border: 8px solid #222;
    box-shadow: 0 0 30px rgba(0,0,0,0.8);
    background-color: #1a1a1a;
}

.pointer {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 20px solid transparent;
    border-right: 20px solid transparent;
    border-top: 40px solid #ffffff;
    z-index: 10;
    filter: drop-shadow(0 4px 6px rgba(0,0,0,0.6));
}

.results-sidebar {
    background: #1e1e1e;
    padding: 25px;
    border-radius: 12px;
    min-width: 250px;
    max-height: 550px;
    overflow-y: auto;
    box-shadow: 0 4px 15px rgba(0,0,0,0.5);
}

.results-sidebar h3 {
    margin-top: 0;
    color: #ff8c00;
    border-bottom: 2px solid #333;
    padding-bottom: 10px;
}

ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

ul li {
    padding: 8px 0;
    border-bottom: 1px solid #333;
    font-size: 16px;
}

#score-list li {
    display: flex;
    justify-content: space-between;
    font-weight: bold;
}