body {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100vh;
  margin: 0;
  background: linear-gradient(135deg, #f6d365 0%, #fda085 100%);
  font-family: 'Arial', sans-serif;
  color: #333;
}

.title-screen {
  text-align: center;
  animation: fadeIn 1s ease-in-out;
}

.title-screen h1 {
  font-size: 48px;
  margin-bottom: 20px;
  color: #333;
}

.board {
  display: grid;
  grid-template-columns: repeat(3, 120px);
  grid-template-rows: repeat(3, 120px);
  gap: 10px;
  justify-content: center;
  align-items: center;
  margin: 0 auto;
}

.title-screen button, .replay button {
  padding: 15px 30px;
  font-size: 18px;
  cursor: pointer;
  border: none;
  background-color: #4285f4;
  color: white;
  border-radius: 5px;
  transition: background-color 0.3s, transform 0.3s;
  margin-top: 20px;
}

.title-screen button:hover, .replay button:hover {
  background-color: #357ae8;
  transform: scale(1.05);
}

.cell {
  width: 120px;
  height: 120px;
  background-color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 48px;
  font-weight: bold;
  cursor: pointer;
  border: 5px solid #333;
  transition: background-color 0.3s, transform 0.2s, box-shadow 0.3s;
  box-sizing: border-box;
  border-radius: 10px;
}

.cell:hover {
  background-color: #e0e0e0;
  transform: scale(1.1);
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
}

.result {
  margin-top: 20px;
  font-size: 24px;
  font-weight: bold;
  text-align: center;
  color: #333;
  animation: fadeIn 1s ease-in-out;
}

.replay {
  display: flex;
  justify-content: center;
  gap: 20px;
}


@keyframes fadeIn {
  from {
      opacity: 0;
  }
  to {
      opacity: 1;
  }
}