body {
  margin: 0;
  font-family: 'Poppins', sans-serif;
  background: linear-gradient(135deg, #0f2027, #2c5364);
  color: white;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
}

/* Container */
.container {
  text-align: center;
}

/* Title Animation */
h1 {
  font-size: 2.8rem;
  margin-bottom: 20px;
  animation: glow 2s infinite alternate;
}

@keyframes glow {
  from { text-shadow: 0 0 10px #fff; }
  to { text-shadow: 0 0 25px #00f2ff; }
}

/* Board */
.board {
  display: grid;
  grid-template-columns: repeat(3, 110px);
  gap: 12px;
  margin: 20px auto;
}

/* Cells */
.cell {
  width: 110px;
  height: 110px;
  background: rgba(255,255,255,0.1);
  border-radius: 15px;
  font-size: 3rem;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;

  transition: 0.3s;
  backdrop-filter: blur(10px);
}

/* Hover effect */
.cell:hover {
  transform: scale(1.1) rotate(2deg);
  background: rgba(255,255,255,0.2);
}

/* Click animation */
.cell:active {
  transform: scale(0.95);
}

/* X and O colors */
.cell.x {
  color: #00f2ff;
  text-shadow: 0 0 15px #00f2ff;
}

.cell.o {
  color: #ff4d6d;
  text-shadow: 0 0 15px #ff4d6d;
}

/* Status */
#status {
  font-size: 1.3rem;
  margin: 15px 0;
  min-height: 24px;
}

/* Button */
button {
  padding: 12px 25px;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  font-weight: bold;
  background: linear-gradient(135deg, #ff416c, #ff4b2b);
  color: white;
  cursor: pointer;
  transition: 0.3s;
}

/* Button hover */
button:hover {
  transform: scale(1.1);
  box-shadow: 0 0 20px rgba(255,75,43,0.7);
}

/* Button click */
button:active {
  transform: scale(0.95);
}