* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: linear-gradient(135deg, #1f1f1f, #3a3a3a);
  color: #f1f1f1;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.game-container {
  text-align: center;
  background: #2a2a2a;
  padding: 2rem;
  border-radius: 1rem;
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.05);
  width: 100%;
  max-width: 400px;
}

h1 {
  margin-bottom: 1rem;
  color: #00e0ff;
  font-size: 2rem;
}

#game-board {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 1rem;
}

.cell {
  background: #444;
  border-radius: 0.5rem;
  height: 100px;
  font-size: 2.5rem;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s ease;
}

.cell:hover {
  background: #555;
}

#status-text {
  font-size: 1.2rem;
  margin-bottom: 1rem;
}

#restart-btn {
  padding: 0.6rem 1.2rem;
  border: none;
  border-radius: 0.5rem;
  background-color: #00e0ff;
  color: #000;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.3s ease;
}

#restart-btn:hover {
  background-color: #00b0cc;
}

.cell.win-x {
  background-color: #44ff15 !important;
color: #0e0e0e;
}

.cell.win-o {
  background-color: #da0983 !important;
color: #000000;
}

.cell.win::after {
  content: '';
  position: absolute;
  height: 4px;
 
  width: 100%;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  z-index: 10;
}
