body {
    font-family: 'Arial', sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
    background-color: #2c3e50;
    color: white;
}

.container {
    text-align: center; 
    padding: 20px;
    border-radius: 15px;
    background: #1f2a38;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.board {
    display: grid;
    grid-template-columns: repeat(3, minmax(80px, 25vw));
    grid-template-rows: repeat(3, minmax(80px, 25vw));
    gap: 10px;
    margin: 20px auto;
}

.cell {
    width: 100px;
    height: 100px;
    background-color: #34495e;
    border-radius: 8px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2.5rem;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s;
}

  .cell:hover {
    background-color: #4e6a85;
    transform: scale(1.05);
}
.cell.taken { 
  cursor: not-allowed; 
}

#status {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

button {
    padding: 10px 20px;
    font-size: 1rem;
    background-color: #e74c3c;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

button:hover { background-color: #c0392b; }
