/* styles.css */
body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  background: linear-gradient(135deg, #6a11cb, #2575fc);
  color: #fff;
}

.game-container {
  text-align: center;
  width: 90%;
  max-width: 400px;
  background-color: rgba(255, 255, 255, 0.1);
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
}

h1 {
  font-size: 2rem;
  margin-bottom: 20px;
}

.board {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 5px;
  margin-bottom: 20px;
}

.cell {
  width: 100px;
  height: 100px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 2rem;
  font-weight: bold;
  color: #333;
  background-color: #fff;
  border-radius: 5px;
  cursor: pointer;
  user-select: none;
}

.cell.taken {
  pointer-events: none;
}

.status {
  font-size: 1.2rem;
  margin-bottom: 20px;
}

.reset, .new-game {
  padding: 10px 20px;
  font-size: 1rem;
  border: none;
  background-color: #ff7f50;
  color: #fff;
  cursor: pointer;
  border-radius: 5px;
}

.reset:hover, .new-game:hover {
  background-color: #e8643a;
}

.result-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  color: #fff;
  text-align: center;
  z-index: 1000;
}

.result-screen.hidden {
  display: none;
}

.result-screen p {
  font-size: 2rem;
  margin-bottom: 20px;
}