/* Reset some default styles */
body, h1, p {
    margin: 0;
    padding: 0;
}

/* Style the container */
.container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background-color: #f2f2f2;
}

/* Style the game board */
.game {
    background-color: #fff;
    border: 1px solid #ccc;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
    text-align: center;
}

/* Style the wheel */
.wheel {
    width: 200px;
    height: 200px;
    background-color: #ffd700;
    border: 5px solid #ff9900;
    border-radius: 50%;
    margin: 0 auto 20px;
    position: relative;
    overflow: hidden;
}

/* Modify the animation duration to make it spin very fast for 3 seconds */
@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.wheel.spinning {
    animation: spin 0.25s linear infinite; /* Remove "infinite" to spin only once */
}

/* Style the wheel segments */
.segment {
    position: absolute;
    width: 0;
    height: 0;
    border-left: 100px solid transparent;
    border-right: 100px solid transparent;
    border-top: 100px solid #ff9900;
    border-radius: 50%;
    clip-path: polygon(50% 0%, 0% 0%, 100% 100%);
    transform-origin: 50% 50%;
}

.segment:nth-child(odd) {
    background-color: #ffd700;
}


/* Style the game board */
.game-board {
    margin: 20px 0;
    font-size: 24px;
    font-weight: bold;
}

/* Style the controls */
.controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

button {
    padding: 10px 20px;
    font-size: 18px;
    background-color: #ff9900;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    margin-bottom: 2px;
    margin-top: 2px;
}

button:disabled {
    background-color: #ccc;
    cursor: not-allowed;
}

/* Style the result text */
.result-text {
    font-size: 20px;
    font-weight: bold;
    margin-top: 20px;
}

/* Style the score display */
.score {
    font-size: 24px;
    margin-top: 20px;
}

/* Style paragraphs for hints and results */
p {
    font-size: 18px;
    margin: 10px 0;
    padding: 5px;
    background-color: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

/* Add more styles as needed for your specific game design */

#guess-input {
    display: none;
}
