body {
    font-family: Arial, sans-serif;
    background: #f0f0f0;
    margin: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
  }
  
  #game-container {
    text-align: center;
  }
  
  .board {
    display: grid;
    grid-template-columns: repeat(3, 100px);
    grid-gap: 5px;
    margin: 20px auto;
  }
  
  .cell {
    width: 100px;
    height: 100px;
    background: #fff;
    border: 2px solid #333;
    font-size: 2rem;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  
  #status {
    margin-top: 15px;
    font-size: 1.5rem;
    font-weight: bold;
  }

  /* Setup Forms */
.setup-form {
  max-width: 400px;
  margin: 50px auto;
  padding: 20px;
  background-color: #f9f9f9;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-family: Arial, sans-serif;
}

.setup-form label {
  display: block;
  margin-bottom: 10px;
  font-size: 16px;
  color: #333;
}

.setup-form input[type="text"] {
  width: 100%;
  padding: 8px 10px;
  margin-top: 5px;
  margin-bottom: 15px;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-sizing: border-box;
  font-size: 14px;
}

.setup-form input[type="checkbox"] {
  margin-left: 5px;
  vertical-align: middle;
}

.setup-form button {
  width: 100%;
  padding: 10px;
  font-size: 16px;
  background-color: #007bff;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

.setup-form button:hover {
  background-color: #0056b3;
}

button {
  background-color: #ff6347; /* Tomato red */
  color: white;
  font-size: 16px;
  font-weight: bold;
  padding: 10px 15px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s;
  display: block;
  margin: 15px auto;
  text-align: center;
  min-width: 150px;
}

button:hover {
  background-color: #d9534f; /* Darker red */
  transform: scale(1.05);
}

button:active {
  transform: scale(0.95);
  background-color: #c23d3d;
}


/* Mobile-Specific Media Query */
@media (max-width: 600px) {
  .setup-form, .board, #reset-game {
    width: 95%;
  }
  
  .cell {
    padding: 15px 0;
    font-size: 20px;
  }
  
  #status, .end-game-message p {
    font-size: 16px;
  }
  
  .setup-form label,
  .setup-form input[type="text"],
  .setup-form button {
    font-size: 16px;
  }
}

  