html, body {
  height: 100%;
  width: 100%;
  margin: 0;
  padding: 0;
  overflow: hidden;
}

body {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

/* Mobile-specific styles */
@media screen and (max-width: 768px) {
  body {
    background-attachment: scroll;
  }
  
  body.mobile-vertical {
    background-size: contain;
    background-position: center center;
  }
}

/* Portrait orientation on mobile */
@media screen and (max-width: 768px) and (orientation: portrait) {
  body.mobile-vertical {
    background-size: contain;
  }
}

/* Landscape orientation on mobile */
@media screen and (max-width: 768px) and (orientation: landscape) {
  body.mobile-vertical {
    background-size: contain;
  }
}

/* Game container styles */
.game-container {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 800px;
  height: 600px;
  max-width: 90vw;
  max-height: 90vh;
  z-index: 1000;
  border: 2px solid #333;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
  background: #000;
}

.game-iframe {
  width: 100%;
  height: 100%;
  border: none;
  border-radius: 6px;
}

/* Mobile adjustments */
@media screen and (max-width: 768px) {
  .game-container {
    width: 95vw;
    height: 70vh;
  }
}