:root {
  --light-bg: #f9f9f9;
  --dark-bg: #181818;
  --cell-bg: #ffffff;
  --cell-glow: #ff00c8;
  --text-glow: #00ffff;
  --font: 'Segoe UI', sans-serif;
}

body {
  margin: 0;
  font-family: var(--font);
  background: var(--light-bg);
  color: #333;
  transition: all 0.3s ease-in-out;
}

.dark-mode {
  background: var(--dark-bg);
  color: #eee;
}

.container {
  text-align: center;
  padding: 20px;
}

h1 {
  font-size: 3rem;
  text-shadow: 0 0 10px var(--text-glow);
}

.board {
  display: grid;
  grid-template-columns: repeat(3, 100px);
  gap: 15px;
  justify-content: center;
  margin: 30px auto;
}

.cell {
  width: 100px;
  height: 100px;
  background-color: var(--cell-bg);
  font-size: 2rem;
  border-radius: 10px;
  box-shadow: 0 0 15px var(--cell-glow);
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  font-weight: bold;
  transition: transform 0.2s ease;
}

.cell:hover {
  transform: scale(1.08);
  background-color: #e0e0e0;
}

button {
  padding: 12px 25px;
  border: none;
  background-color: var(--cell-glow);
  color: white;
  font-size: 1rem;
  border-radius: 6px;
  cursor: pointer;
  margin-top: 15px;
  box-shadow: 0 0 5px var(--cell-glow);
}

button:hover {
  background-color: var(--text-glow);
}

.status {
  margin-top: 20px;
  font-size: 1.3rem;
  text-shadow: 0 0 5px var(--text-glow);
}