body {
  background: linear-gradient(135deg, rgb(15, 0, 40), rgb(60, 0, 90), rgb(120, 0, 100));
  font-family: 'Baloo 2', cursive;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100vh;
  margin-top: -25px;
  color: rgb(240, 220, 255);
}

.h1 {
  font-family: 'Pacifico', cursive;
  font-size: 3rem;
  color: rgb(0, 255, 255);
  text-shadow: 0 0 12px rgb(0, 255, 255), 0 0 25px rgb(0, 180, 255);
  margin-bottom: 20px;
}

.board-container {
  margin-top:-7px;
  position: relative;
  width: 396px;
  height: 396px;
}

.board {
  position: absolute;
  display: grid;
  grid-template-columns: repeat(3, 120px);
  grid-template-rows: repeat(3, 120px);
  gap: 12px;
  padding: 20px;
  background: rgba(0, 255, 255, 0.05);
  border-radius: 20px;
  box-shadow: 0 0 25px rgba(0, 200, 255, 0.3), inset 0 0 15px rgba(0, 200, 255, 0.2);
}

.cell {
  width: 120px;
  height: 120px;
  background: rgb(20, 20, 35);
  border-radius: 15px;
  font-size: 3rem;
  font-weight: bold;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  color: rgb(0, 255, 255);
  transition: all 0.3s ease-in-out;
  box-shadow: inset 0 0 12px rgba(0, 200, 255, 0.4);
}

.cell:hover {
  background: rgb(30, 30, 50);
  box-shadow: 0 0 18px rgb(0, 255, 255), 0 0 28px rgb(180, 0, 255);
}

.status {
  margin-top: 15px;
  font-size: 1.5rem;
  font-weight: 600;
  color: rgb(0, 255, 255);
  text-shadow: 0 0 8px rgb(0, 255, 255), 0 0 20px rgb(180, 0, 255);
}

.btn {
  margin-top: -22px;
  padding: 12px 25px;
  border: none;
  border-radius: 25px;
  background: linear-gradient(135deg, rgb(0, 255, 255), rgb(120, 0, 255));
  font-size: 1.2rem;
  font-family: 'Lobster', cursive;
  cursor: pointer;
  color: rgb(250, 250, 250);
  box-shadow: 0 0 6px rgb(0, 200, 255), 0 0 12px rgb(180, 0, 255); 
  transition: 0.3s;
}

.btn:hover {
  background: linear-gradient(135deg, rgb(80, 0, 255), rgb(0, 200, 255));
  box-shadow: 0 0 10px rgb(0, 255, 255), 0 0 16px rgb(255, 0, 255);
  transform: scale(1.05);
}
#winning-line {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 2;   
  pointer-events: none;
 
}
.board {
  z-index: 1;
}
