.game-launcher {
  position: relative;
  max-width: 990px;
  margin: auto;
  overflow: hidden;
}

#game-launcher button {
  border: 1px solid linear-gradient(90deg, #e018ff 0%, #823fff 100%) !important;
  color: linear-gradient(90deg, #e018ff 0%, #823fff 100%) !important;
  font-size: 16px;
  font-weight: 500;
  background: #fff;

  border-radius: 32px;
  padding: 18px 98px;
  display: inline-block;
  transition: 0.7s;
}

#game-launcher button:hover {
  border: 1px solid #fff !important;
  color: #fff !important;
  background: linear-gradient(90deg, #e018ff 0%, #823fff 100%) !important;
}

#overlay {
  position: absolute;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  z-index: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

#playGameButton {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  font-size: 2rem;
}

#game-launcher img {
  width: 100%;
  aspect-ratio: 3 / 2;
  background-color: #000;
  display: block;
}

/* Modal styles */
#gameModal .modal {
  display: none;
  position: fixed;
  z-index: 99;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.9) !important;
}

#gameModal {
  background-color: rgba(0, 0, 0, 0.9) !important;
  z-index: 999999;
}

#gameModal .modal-content {
  position: relative;
  margin: auto;
  padding: 0;
  width: 90%;
  max-width: 990px;
}

#gameModal .closem {
  position: absolute;
  top: 10px;
  left: 25px;
  color: #fff;
  font-size: 35px;
  font-weight: bold;
}

#gameModal .closem:hover,
#gameModal .closem:focus {
  color: #999;
  text-decoration: none;
  cursor: pointer;
}

#gameModal iframe {
  width: 100%;
  height: 100vh;
  border: none;
}

@media (min-width: 992px) {
  #gameModal .modal-content {
    width: 80%;
    max-width: 990px;
  }

  #gameModal iframe {
    height: 80vh;
  }
}
