:root {
    --bg-color: #f0f2f5;
    --card-bg: #ffffff;
    --correct: #4caf50;
    --wrong: #f44336;
    --faint-correct: #c8e6c9;
}

body {
    font-family: 'Segoe UI', sans-serif;
    background-color: var(--bg-color);
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
}

#game-container {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    text-align: center;
    width: 90%;
    max-width: 400px;
}

#color-display {
    width: 100%;
    height: 150px;
    border-radius: 10px;
    margin-bottom: 20px;
    border: 2px solid #ddd;
}

.stats {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
    font-weight: bold;
    color: #555;
}

.options-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
}

button {
    padding: 15px;
    font-size: 1.1rem;
    border: 2px solid #ddd;
    border-radius: 8px;
    background: white;
    cursor: pointer;
}

/* Feedback States */
.btn-correct {
    background-color: var(--correct) !important;
    color: white;
    border-color: var(--correct);
}

.btn-wrong {
    background-color: var(--wrong) !important;
    color: white;
    border-color: var(--wrong);
}

.btn-faint {
    background-color: var(--faint-correct) !important;
    border-color: var(--correct);
}

input {
    width: 80%;
    padding: 15px;
    font-size: 1.5rem;
    text-align: center;
    border: 3px solid #ddd;
    border-radius: 8px;
}

#feedback-text {
    height: 20px;
    margin-top: 10px;
    font-weight: bold;
}

.hidden {
    display: none;
}

/* Removes the up/down arrows from the number input */
/* Chrome, Safari, Edge, Opera */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Firefox */
input[type=number] {
    -moz-appearance: textfield;
    appearance: textfield;
}

/* Optional: Make the input stand out more now that arrows are gone */
input {
    width: 120px;
    /* Narrower since it's only 3 digits */
    padding: 15px;
    font-size: 2rem;
    font-weight: bold;
    letter-spacing: 5px;
    border: 3px solid #ddd;
    border-radius: 12px;
    outline: none;
    transition: border-color 0.3s;
}