body {
    font-family: 'Roboto', sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}

.container {
    background-color: rgba(255, 255, 255, 0.8);
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.player-inputs {
    margin: 20px 0;
}

.player-inputs input {
    padding: 12px;
    font-size: 1rem;
    margin: 5px;
    border: none;
    border-radius: 5px;
    background-color: #f0f0f0;
    transition: all 0.3s ease;
}

.player-inputs input:focus {
    outline: none;
    box-shadow: 0 0 0 2px #3498db;
}

.board {
    display: grid;
    grid-template-columns: repeat(3, 100px);
    grid-template-rows: repeat(3, 100px);
    gap: 10px;
    margin: 30px auto;
    justify-content: center;
}

.cell {
    width: 100px;
    height: 100px;
    background-color: #fff;
    border: 2px solid #3498db;
    border-radius: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.cell:hover {
    background-color: #ecf0f1;
    transform: scale(1.05);
}

/* Style for X */
.cell.x {
    color: #e74c3c; /* Red for X */
}

/* Style for O */
.cell.o {
    color: #2ecc71; /* Green for O */
}

button {
    padding: 12px 24px;
    font-size: 1rem;
    cursor: pointer;
    background-color: #3498db;
    color: #fff;
    border: none;
    border-radius: 5px;
    transition: all 0.3s ease;
}

button:hover {
    background-color: #2980b9;
    transform: translateY(-2px);
}

#message {
    margin-top: 20px;
    font-size: 1.2rem;
    font-weight: bold;
    color: #2c3e50;
}

@media (max-width: 480px) {
    .board {
        grid-template-columns: repeat(3, 80px);
        grid-template-rows: repeat(3, 80px);
    }
    
    .cell {
        width: 80px;
        height: 80px;
        font-size: 2rem;
    }
}
