body {
  font-family: 'Segoe UI', sans-serif;
  background: linear-gradient(-45deg, #2c3e50, #4b79a1, #283e51, #485563);
  background-size: 600% 600%;
  animation: gradientFlow 20s ease infinite;
  color: #eee;
  text-align: center;
  padding: 40px;
}

@keyframes gradientFlow {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

h1 {
  font-size: 2.5em;
  margin-bottom: 20px;
  color: #f0f0f0;
  text-shadow: 1px 1px 2px #000;
}

#game {
  display: grid;
  grid-template-columns: repeat(3, 120px);
  gap: 15px;
  justify-content: center;
  margin: 30px auto;
}

.cell {
  width: 120px;
  height: 120px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
  font-size: 2.5em;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border-radius: 15px;
  transition: 0.3s, transform 0.2s;
}

.cell:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: scale(1.05);
}

.cell.winner {
  background: rgba(120, 180, 120, 0.25); /* приглушене зелене */
  box-shadow: 0 0 10px rgba(120, 180, 120, 0.3);
}

#status {
  font-size: 1.5em;
  margin: 20px 0;
  color: #ddd;
}

#reset {
  padding: 12px 25px;
  font-size: 1.1em;
  background: rgba(255, 255, 255, 0.15);
  border: none;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  color: #fff;
  cursor: pointer;
  transition: all 0.3s ease;
}

#reset:hover {
  background: rgba(255, 255, 255, 0.3);
}
