* {
  box-sizing: border-box;
  font-family: 'Orbitron', sans-serif;
  margin: 0;
  padding: 0;
}

body {
  background: #0d0d0d;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 20px;
    user-select: none;
-webkit-user-select: none;
}

h1 {
  margin-bottom: 30px;
  font-size: 36px;
  color: #00ffff;
  text-shadow: 0 0 10px #00ffff, 0 0 20px #00ffff;
}

.board {
  display: grid;
  grid-template-columns: repeat(3, 100px);
  gap: 15px;
  background: #1a1a1a;
  padding: 20px;
  border-radius: 15px;
  box-shadow: 0 0 20px rgba(0,255,255,0.2);
}

.cell {
  width: 100px;
  height: 100px;
  background: #111;
  border-radius: 10px;
  font-size: 50px;
  font-weight: 600;
  color: #00ffcc;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease-in-out;
  box-shadow: 0 0 5px #00ffcc;
  cursor: pointer;
  text-align: center;
  user-select: none;
  -webkit-user-select: none;
}

.cell:hover {
  background: #222;
  box-shadow: 0 0 10px #00ffff;
  transform: scale(1.05);
}

#status {
  margin-top: 25px;
  font-size: 20px;
  color: #00ff99;
  text-shadow: 0 0 8px #00ffcc;
}

#play_again {
  margin-top: 20px;
  padding: 10px 25px;
  font-size: 16px;
  background: #00ffff;
  color: #000;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  transition: 0.3s ease;
  box-shadow: 0 0 12px #00ffff;
}

#play_again:hover {
  background: #00cccc;
  box-shadow: 0 0 18px #00ffff;
}

.none {
  display: none;
}
#theme-btn {
  padding: 10px 20px;
  margin-top: 20px;
  font-family: 'Orbitron', sans-serif;
  font-size: 16px;
  background-color: #333;
  color: white;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.3s;
}

#theme-btn:hover {
  background-color: #555;
}
.win{
  background-color: red;
}

@media (max-width: 600px) {
  #board {
    gap: 8px;
    padding: 5px;
  }

  .cell {
    font-size: clamp(1.5rem, 8vw, 3rem);
  }

  #status {
    font-size: 1.2rem;
  }

  #play_again {
    font-size: 0.9rem;
  }
}