body {
    font-family: Arial, sans-serif;
    background: linear-gradient(135deg, #CAE8BD, #41644A);
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
    color: white;
}

.container {
    text-align: center;
    width: 95%;
    max-width: 400px;
}

h1 {
    margin-bottom: 10px;
}

.scoreboard {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
    font-weight: bold;
}

.mode-select button,
.restart {
    padding: 8px 12px;
    margin: 5px;
    border: none;
    cursor: pointer;
    border-radius: 5px;
    font-weight: bold;
}

#board {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin: 20px 0;
}

.cell {
    background: white;
    color: black;
    font-size: 2.5rem;
    aspect-ratio: 1/1;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    border-radius: 10px;
    transition: 0.2s;
}

.cell:hover {
    background: #ddd;
}

.winning {
    background: #0D4715 !important;
    color: white;
}

#status {
    font-weight: bold;
    margin-bottom: 10px;
}

.restart {
    background: #F97A00;
    color: white;
}

/* Responsive */
@media (max-width: 500px) {
    .cell {
        font-size: 2rem;
    }
}
