.parallax-overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0);
  z-index: 5;
  transition: background-color 0.3s ease;
}

.parallax-container.game-loaded .parallax-overlay {
  background-color: rgba(18, 17, 41, 0.7);
}

.description {
  position: relative;
  left: 50%;
  transform: translateX(-50%);
  font-size: 20px;
  color: white;
  margin-top: 20px;
  margin-bottom: 15px;
  text-align: center;
  z-index: 5;
  max-width: 600px; width: 90%;
}

.description a {
  color: #FF66CC;
  transition: color 0.2s;
  text-decoration: none;
}

.description a:hover {
  color: #00FFFF;
  text-decoration: underline;
}

.web-game-container {
  position: relative;
  width: 80%;
  max-width: 900px;
  margin: 120px auto 20px auto;
}

.web-game-container:fullscreen {
  width: 100%;
  max-width: none;
  height: 100%;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #000000;
}

.web-game-embed {
  border: 0.6vh solid rgba(156, 156, 177, 0.3);
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9.08;
  background: #1e1e1e;
}

.web-game-embed.fullscreen-mode {
  border: none;
  border-radius: 0;
  aspect-ratio: 16 / 9;
}

.web-game-load-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  padding: 15px 70px;
  font-size: 30px;
  font-family: inherit;
  color: #fff;
  background: #00000053;
  border: 2px solid white;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.2s;
  z-index: 2;
}

.web-game-load-button:hover {
  color: #00ffff;
  border-color: #00ffff;
  transform: translate(-50%, -50%) scale(1.02);
}

.web-game-load-button.is-hidden {
  display: none;
}

.web-game-button {
  font-family: 'Material_Symbols_Rounded';
  position: absolute;
  top: 0px;
  right: -6vh;
  width: 5.5vh;
  height: 5.5vh;
  font-size: 4vh;
  color: #ffffff93;
  background: #1e1e1e;
  border: 0.6vh solid rgba(156, 156, 177, 0.3);
  cursor: pointer;
  z-index: 6;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.web-game-button.open{
  top: 6vh;
}

.web-game-button:hover {
  color: #00ffff;
  border-color: #00ffff;
  background: #1e1e1e;
}

.web-game-button.fullscreen.fullscreen-mode {
  top: -1vh;
  right: -1vh;
  background: #1e1e1e00;
}

.web-game-button.fullscreen.fullscreen-mode:hover {
  background: #1e1e1e;
}
