body {
  font-family: 'Poppins', sans-serif;
  background: #0d1117;
  color: white;
  text-align: center;
  margin: 0;
  padding: 20px;
}

h1 {
  color: #00aaff;
  margin-bottom: 15px;
}

.player-inputs input {
  padding: 8px 12px;
  margin: 5px;
  border: none;
  border-radius: 5px;
}

.player-inputs button {
  padding: 8px 15px;
  border: none;
  background: #007bff;
  color: white;
  border-radius: 5px;
  cursor: pointer;
}

#players p {
  display: inline-block;
  margin: 10px;
  padding: 5px 12px;
  border-radius: 8px;
  transition: 0.3s;
}

#players .active {
  background-color: #007bff;
  box-shadow: 0 0 10px #007bff;
}

.board-container {
  display: flex;
  justify-content: center;
  position: relative;
}

.board {
  width: 300px;
  height: 300px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 5px;
  position: relative;
}

.cell {
  width: 95px;
  height: 95px;
  background: #161b22;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 2em;
  border-radius: 10px;
  cursor: pointer;
  transition: 0.2s;
}

.cell:hover {
  background: #1e232b;
}

.win-line {
  position: absolute;
  width: 300px;
  height: 4px;
  background: #00ff88;
  top: 0;
  left: 0;
  transform-origin: center;
  opacity: 0;
  transition: all 0.5s ease;
}

#status {
  margin-top: 15px;
  font-size: 1.2em;
}

#resetBtn {
  margin-top: 15px;
  padding: 10px 20px;
  background: #ff4757;
  border: none;
  border-radius: 5px;
  color: white;
  cursor: pointer;
}
