body {
  font-family: Arial, sans-serif;
  background: #f1f1f1;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100vh;
  margin: 0;
}

.container {
  text-align: center;
  background: white;
  padding: 40px;
  border-radius: 12px;
  box-shadow: 0 8px 16px rgba(0,0,0,0.2);
}

.logo {
  font-size: 2.5em;
  margin-bottom: 30px;
}

.menu button {
  display: block;
  width: 100%;
  padding: 15px;
  margin: 10px 0;
  font-size: 1.2em;
  border: none;
  border-radius: 8px;
  background-color: #007BFF;
  color: white;
  cursor: pointer;
  transition: background 0.3s ease;
}

.menu button:hover {
  background-color: #0056b3;
}
.board {
  display: grid;
  grid-template-columns: repeat(3, 100px);
  gap: 10px;
  margin: 20px auto;
  justify-content: center;
}

.cell {
  width: 100px;
  height: 100px;
  background: #eee;
  font-size: 2em;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border-radius: 8px;
  transition: background 0.2s;
}

.cell:hover {
  background: #ddd;
}

#status {
  font-size: 1.2em;
  margin: 10px 0;
}
.results-list {
  list-style-type: none;
  padding: 0;
  font-size: 1.2em;
  margin: 20px 0;
}

.results-list li {
  background: #f9f9f9;
  margin-bottom: 10px;
  padding: 10px;
  border-radius: 8px;
  text-align: left;
}
/* Dark mode support */
body.dark-mode {
  background-color: #121212;
  color: white;
}

body.dark-mode .container {
  background-color: #1e1e1e;
  color: white;
  box-shadow: 0 8px 16px rgba(255,255,255,0.1);
}

body.dark-mode .cell {
  background-color: #333;
  color: white;
}

body.dark-mode .cell:hover {
  background-color: #444;
}

body.dark-mode .menu button,
body.dark-mode button {
  background-color: #444;
  color: white;
}

body.dark-mode .menu button:hover,
body.dark-mode button:hover {
  background-color: #666;
}
body.dark-mode {
  background-color: #111;
  color: #fff;
}
body {
  font-family: Arial, sans-serif;
  background-color: #f9f9f9;
  color: #333;
  text-align: center;
  margin: 0;
  padding: 20px;
}

button {
  padding: 10px 20px;
  margin: 10px;
  cursor: pointer;
}

/* ✅ DARK MODE RULES */
body.dark-mode {
  background-color: #121212;
  color: white;
}

body.dark-mode button {
  background-color: #333;
  color: white;
}

body.dark-mode .cell {
  background-color: #444;
  color: white;
  border: 1px solid #666;
}

.game-board {
  display: grid;
  grid-template-columns: repeat(3, 100px);
  grid-gap: 5px;
  margin: 20px auto;
}

.cell {
  width: 100px;
  height: 100px;
  background-color: #eee;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  cursor: pointer;
  border: 1px solid #ccc;
}
body, html {
  margin: 0; padding: 0; font-family: Arial, sans-serif; text-align: center;
  background: #fff; color: #000;
}

.game-board {
  display: grid;
  grid-template-columns: repeat(3, 100px);
  gap: 5px;
  margin: 20px auto;
}

.cell {
  width: 100px; height: 100px;
  border: 1px solid #000;
  font-size: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #eee;
}

html.dark-mode {
  background: #121212;
  color: white;
}

html.dark-mode .cell {
  background: #444;
  border-color: #ccc;
}
