
body {
  font-family: 'Segoe UI', sans-serif;
  margin: 0;
  background: #FFF8E1;
  color: #004D40;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  flex-direction: column;
}

.container {
  text-align: center;
  padding: 20px;
}

.title {
  font-size: 2.5rem;
  margin-bottom: 20px;
  animation: popIn 1s ease;
}

.mode-select button {
  padding: 10px 20px;
  margin: 10px;
  font-size: 1rem;
  border: none;
  border-radius: 10px;
  background-color: #81D4FA;
  color: #004D40;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.3s;
}

.mode-select button:hover {
  background-color: #4FC3F7;
}

.game-board {
  display: grid;
  grid-template-columns: repeat(3, 100px);
  gap: 10px;
  justify-content: center;
  margin-top: 20px;
  animation: fadeIn 0.5s ease;
}

.cell {
  width: 100px;
  height: 100px;
  font-size: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #ffffff;
  border: 2px solid #004D40;
  cursor: pointer;
  border-radius: 12px;
  transition: transform 0.2s ease, background-color 0.2s;
}

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

.cell.X {
  color: #D32F2F;
}

.cell.O {
  color: #1976D2;
}

#status {
  margin-top: 20px;
  font-size: 1.2rem;
  font-weight: bold;
}

.reset-button {
  margin-top: 20px;
  padding: 10px 20px;
  background-color: #004D40;
  color: white;
  border: none;
  border-radius: 10px;
  font-size: 1rem;
  cursor: pointer;
}

.reset-button:hover {
  background-color: #00695C;
}

@keyframes popIn {
  from { transform: scale(0.8); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
