body {
    font-family: Georgia, serif;
    background: black; /* Changed background to black */
    color: white; /* White text for contrast */
    text-align: center;
    margin: 0;
    padding: 20px;
}

h1, h3, p {
    color: white; /* Ensure all headings and paragraphs are visible */
}

.menu {
    margin-top: 50px;
}

#board {
    display: grid;
    grid-template-columns: repeat(3, 100px);
    grid-gap: 5px;
    margin: 20px auto;
}

.cell {
    width: 100px;
    height: 100px;
    border: 2px solid white; /* White border for contrast */
    background-color: rgba(0, 0, 0, 0.7); /* Semi-transparent black for contrast against background */
    color: white; /* White text in cells */
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2em;
    cursor: pointer;
    transition: background-color 0.3s;
}

.cell:hover {
    background-color: navy; /* Navy blue on hover */
}

button {
    background-color: navy; /* Navy blue for buttons */
    color: white;
    border: none;
    border-radius: 10px;
    padding: 15px 30px;
    font-size: 1em;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.2s;
    margin: 10px 0;
    text-decoration: none;
    display: inline-block;
}

button:hover {
    background-color: #003366; /* Darker navy on hover */
    transform: scale(1.05);
}

button:focus {
    outline: none;
    box-shadow: 0 0 5px #003366; /* Subtle shadow on focus */
}

#status {
    margin-top: 20px;
    font-size: 1.2em;
    color: red; /* Keep red for status messages */
}

/* Responsive and centered adjustments */
.menu {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    margin: 50px auto;
    max-width: 1200px;
}
