* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body {
  background: radial-gradient(circle at top, #1f2933, #020617);
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
}

/* CONTAINER */
.game-container {
  background: #111827;
  width: 380px;
  padding: 30px;
  border-radius: 22px;
  text-align: center;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.6);
  animation: cardEnter 0.6s ease-out;
}

@keyframes cardEnter {
  from {
    opacity: 0;
    transform: scale(0.96);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* TITLE */
.game-container h1 {
  color: #f97316;
  margin-bottom: 16px;
}

/* STATUS */
.status {
  margin-bottom: 20px;
  color: #d1d5db;
}

.status span {
  color: #f97316;
  font-weight: 600;
}

/* BOARD */
.board {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 24px;
}

/* CELL */
.cell {
  height: 100px;
  background: #020617;
  border-radius: 14px;
  font-size: 36px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: box-shadow 0.2s ease, transform 0.15s ease;
}

.cell:hover {
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.5);
}

.cell:active {
  transform: scale(0.97);
}

/* SYMBOL COLORS */
.cell.x {
  color: #22c55e;
}

.cell.o {
  color: #fb923c;
}

/* RESET BUTTON */
.reset-btn {
  width: 100%;
  padding: 12px;
  border-radius: 12px;
  background: transparent;
  border: 1px solid #f97316;
  color: #f97316;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: box-shadow 0.2s ease, opacity 0.2s ease;
}

.reset-btn:hover {
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.5);
}

/* DISABLED RESET */
.reset-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
  box-shadow: none;
}
