* {
  background: #000000;
  background: linear-gradient(269deg, rgba(0, 0, 0, 1) 0%, rgba(97, 88, 88, 1) 50%, rgba(0, 0, 0, 1) 100%);
  overflow-x: hidden;
  margin: 0;
  padding: 0;
}

nav {
  background: #ffffff;
  height: 50px;
  width: 20rem;
  margin: 20px auto;
  text-align: center;
  font-size: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 20px;
  border: 3px solid #000000;
}

.mainsection {
  display: flex;
  flex-direction: column;
  align-items: center;

}

/* 3x3 Button Grid */
.grid-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 50px;
  background: none;
  border: 3px solid;
  border-radius: 40px;
   box-shadow: 0 4px 23px rgba(255, 250, 250, 0.9);
}

/* Individual Tic Tac Toe Cell */
.cell {
margin-left: 30px;
margin-top: 30px;
margin-right: 30px;
margin-bottom: 30px;
  height: 110px;
  width: 120px;
  background: #a4cada;
  border: 3px solid rgb(23, 61, 62);
  border-radius: 20px;
  font-size: 2rem;
  cursor: pointer;
  transition: transform 0.3s ease-in-out;
}
.cell {
  font-size: 2.5rem;
  font-weight: bold;
  color: #1a1a1a;
  text-shadow: 1px 1px 3px #fff;
}


.cell:hover {
  transform: scale(1.1);
}

.playbutton {
  background: #000000;
  border-radius: 20px;
  border: none;
  width: 10rem;
  height: 40px;
  margin-top: 30px;
  color: #ffffff;
  font-size: 20px;
  font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
  cursor: pointer;
  animation: zoomIn 0.5s ease-out;
  transition: transform 0.3s ease-in-out;
}

.credit {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1rem;
  color: #ffffff;
  margin-top: 30px;
  text-align: center;
  gap: 10px;
  font-family: Arial, Helvetica, sans-serif;
  background: none;
}

.name-highlight {
  background: none;
  font-weight: bold;
  transition: all 0.3s ease-in-out;
  cursor: pointer;
}

.name-highlight:hover {
  text-shadow: 0 0 5px #038f81, 0 0 10px #004f47, 0 0 20px #00ffe7;
  color: #000000;
}

/* Animation for Play Button */
@keyframes zoomIn {
  from {
    transform: scale(0.8);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

/* Responsive for small screens */
@media (max-width: 500px) {
  .grid-container {
    gap: 10px;
  }

  .cell {
    width: 80px;
    height: 80px;
  }

  nav {
    width: 90%;
    font-size: 1.5rem;
  }

  .playbutton {
    width: 80%;
    font-size: 1rem;
  }
}
