/* tictactoe.css */
/* Scoped styles for the Tic-Tac-Toe game (similar structure to other apps) */

.game-container {
  max-width: 600px;
  margin: 40px auto;
  padding: 34px 20px;
  text-align: center;
  font-family: Arial, sans-serif;
  background: linear-gradient(180deg, rgba(12, 25, 43, 0.96), rgba(5, 10, 19, 0.98));
  border: 1px solid rgba(0, 229, 255, 0.24);
  border-radius: 8px;
  box-shadow:
    0 16px 38px rgba(0, 0, 0, 0.34),
    0 0 24px rgba(0, 229, 255, 0.1);
}

.game-container h1 {
  color: #f7fbff;
  margin-bottom: 10px;
  text-shadow: 0 0 18px rgba(0, 229, 255, 0.24);
}

.game-container p {
  color: #c4d7e4;
  margin-bottom: 30px;
}

#mode-select {
  margin: 30px 0;
}

#mode-select button,
#reset {
  padding: 12px 24px;
  font-size: 18px;
  background: #1db954;
  color: #03110a;
  border: 1px solid rgba(53, 242, 131, 0.64);
  border-radius: 8px;
  cursor: pointer;
  margin: 0 10px;
  transition: background 0.3s, box-shadow 0.2s ease, transform 0.2s ease;
}

#mode-select button:hover,
#reset:hover {
  background: #35f283;
  box-shadow: 0 0 18px rgba(29, 185, 84, 0.22);
}

.board {
  display: grid;
  grid-template-columns: repeat(3, minmax(80px, 120px));
  grid-template-rows: repeat(3, minmax(80px, 120px));
  gap: 8px;
  margin: 30px auto;
  width: min(100%, 376px);
}

.cell {
  width: 100%;
  aspect-ratio: 1;
  background: #08111f;
  border: 3px solid rgba(0, 229, 255, 0.28);
  font-size: 48px;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border-radius: 8px;
  transition: background 0.3s, border-color 0.2s ease, box-shadow 0.2s ease;
  user-select: none;
}

.cell:hover {
  background: #101c2f;
  border-color: rgba(0, 229, 255, 0.58);
  box-shadow: 0 0 18px rgba(0, 229, 255, 0.16);
}

.cell.x {
  color: #ff2dd6;
}

.cell.o {
  color: #00e5ff;
}

#status {
  font-size: 24px;
  margin: 20px 0;
  min-height: 30px;
  font-weight: bold;
  color: #35f283;
  text-shadow: 0 0 16px rgba(29, 185, 84, 0.22);
}
