body {
    font-family: 'Poppins', 'Arial', sans-serif;
    background: #fefefe;
    color: #222;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100vh;
    margin: 0;
    line-height: 1.6;
}

/* Container styling */
.game-container {
    background-color: #ffffff;
    border: 2px solid #ddd;
    border-radius: 1rem;
    padding: 2rem;
    text-align: center;
    width: 90%;
    max-width: 400px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

/* Heading */
h1 {
    font-size: 1.8rem;
    color: #004080;
    /* Dark blue for good contrast */
    margin-bottom: 1rem;
}

/* Scoreboard */
.scoreboard {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.scoreboard p {
    margin: 0;
    font-weight: bold;
}

/* Choices buttons */
.choices button {
    background-color: #007acc;
    color: white;
    border: none;
    padding: 0.75rem 1rem;
    margin: 0.5rem;
    font-size: 1rem;
    border-radius: 0.5rem;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.2s;
}

.choices button:hover,
.choices button:focus {
    background-color: #005a99;
    transform: scale(1.05);
    outline: 3px solid #ffd700;
    /* Yellow focus ring for keyboard users */
    outline-offset: 2px;
}

.choices button:active {
    transform: scale(0.98);
}

/* Results area */
.results {
    margin: 1rem 0;
    font-size: 1.1rem;
    background-color: #f4f4f4;
    color: #222;
    padding: 1rem;
    border-radius: 0.5rem;
}

/* Reset button */
.reset {
    background-color: #ff704d;
    color: black;
    border: none;

    padding: 0.75rem 1.25rem;
    border-radius: 0.5rem;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.2s;
}

.reset:hover,
.reset:focus {
    background-color: #e65c3a;
    outline: 3px solid #ffd700;
    outline-offset: 2px;
    transform: scale(1.05);
}

/* Footer */
footer {
    margin-top: 2rem;
    font-size: 0.9rem;
    color: #444;
    text-align: center;
}

/* Accessibility: High contrast mode support */
@media (prefers-contrast: more) {

    .choices button,
    .reset {
        border: 2px solid #000;
    }
}

/* Responsive adjustments */
@media (max-width: 500px) {
    .game-container {
        padding: 1.5rem;
    }

    .choices button {
        width: 100%;
        margin: 0.4rem 0;
    }
}