* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    background: linear-gradient(135deg, #5b6fa3, #8ea7db);
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background-size: cover;
}

.game-container {
    text-align: center;
    max-width: 500px;
    width: 100%;
    background: #fff;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    padding: 20px;
    border-radius: 10px;
    background: linear-gradient(to bottom right, #85e2d5, #ff99cc);
}

h1 {
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 20px;
    font-weight: 600;
}

.game-board {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-gap: 10px;
    margin-bottom: 20px;
}

.cell {
    width: 100%;
    height: 100px;
    background-color: #f1f1f1;
    border: 2px solid #ccc;
    font-size: 2.5rem;
    font-weight: bold;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.1s;
    border-radius: 8px;
}

.cell:hover {
    background-color: #f7f7f7;
    transform: scale(1.05);
}

.game-status {
    font-size: 1.4rem;
    margin-top: 20px;
    font-weight: bold;
}

button {
    margin-top: 15px;
    padding: 12px 25px;
    background-color: #4CAF50;
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1.1rem;
    transition: background-color 0.3s;
}

button:hover {
    background-color: #45a049;
}

@media screen and (max-width: 600px) {
    .game-board {
        grid-template-columns: repeat(3, 1fr);
        grid-gap: 5px;
    }

    .cell {
        height: 80px;
        font-size: 1.8rem;
    }

    h1 {
        font-size: 1.8rem;
    }
}
