.game-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
}

.game-container {
  flex: 1;
  position: relative;
  padding: 20px 0;
  overflow: auto;
}

.game-frame {
  width: 100%;
  height: calc(100vh - 200px); /* Adjust this value based on your header and footer height */
  border: none;
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.game-popup {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
}

.popup-content {
  background: linear-gradient(135deg, #2d2d2d 0%, #1a1a1a 100%);
  border-radius: 20px;
  padding: 40px;
  max-width: 600px;
  width: 90%;
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.5);
}

.popup-content h2 {
  color: #ffcc00;
  font-size: 2rem;
  margin-bottom: 15px;
  text-align: center;
}

.popup-content h3 {
  color: white;
  font-size: 1.5rem;
  margin-bottom: 20px;
  text-align: center;
}

.popup-content p {
  margin-bottom: 20px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.9);
}

.feature-list {
  list-style: none;
  padding: 0;
  margin: 20px 0;
}

.feature-list li {
  display: flex;
  align-items: center;
  margin-bottom: 12px;
  color: rgba(255, 255, 255, 0.9);
}

.feature-list li span {
  margin-right: 10px;
  font-size: 1.2rem;
}

.consent-text {
  margin-top: 30px;
  font-weight: 600;
  color: #ffcc00;
}

.terms-list {
  list-style: none;
  padding: 0;
  margin: 15px 0 30px;
}

.terms-list li {
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 8px;
  padding-left: 20px;
  position: relative;
}

.terms-list li:before {
  content: "•";
  position: absolute;
  left: 0;
  color: #ffcc00;
}

.popup-buttons {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.accept-button, .reject-button {
  width: 100%;
  padding: 15px;
  border-radius: 10px;
  border: none;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.accept-button {
  background: #ffcc00;
  color: #333;
}

.accept-button:hover {
  background: #ffd700;
  transform: translateY(-2px);
}

.reject-button {
  background: rgba(255, 255, 255, 0.1);
  color: white;
}

.reject-button:hover {
  background: rgba(255, 255, 255, 0.2);
}

.denied-popup .popup-content {
  text-align: center;
}

.redirect-text {
  margin-top: 30px;
  color: #ffcc00;
  font-weight: 600;
}

/* Verification popup styles */
.verification-popup {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.95);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  overflow-y: auto;
  padding: 20px;
}

/* Make sure the content is scrollable on smaller screens */
@media (max-height: 800px) {
  .game-frame {
    height: 600px; /* Fixed height for smaller screens */
  }
}

@media (max-width: 768px) {
  .game-container {
    padding: 10px 0;
  }

  .game-frame {
    height: 500px; /* Smaller height for mobile devices */
  }

  .popup-content {
    padding: 30px 20px;
  }

  .popup-content h2 {
    font-size: 1.8rem;
  }

  .popup-content h3 {
    font-size: 1.3rem;
  }
}