/* Game Page Styles */
.game-container {
  padding-top: 120px;
  background-color: var(--primary-color);
  position: relative;
  min-height: 100vh;
}

.game-container::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at center, rgba(0, 168, 255, 0.05) 0%, rgba(10, 10, 10, 0) 70%);
  pointer-events: none;
}

.game-header {
  text-align: center;
  margin-bottom: 30px;
}

.game-header h1 {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 10px;
}

.game-header p {
  color: var(--text-muted);
  font-size: 18px;
}

.game-frame {
  background-color: var(--card-bg);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow-strong);
  margin-bottom: 30px;
  position: relative;
}

.game-frame iframe {
  width: 100%;
  height: 700px;
  border: none;
}

.game-controls {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 50px;
}

/* Fullscreen Mode */
.fullscreen-mode {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2000;
  background-color: var(--primary-color);
}

.fullscreen-mode .game-frame {
  height: 100%;
  border-radius: 0;
  box-shadow: none;
  margin-bottom: 0;
}

.fullscreen-mode .game-frame iframe {
  height: 100%;
}

.fullscreen-mode .exit-fullscreen {
  position: absolute;
  top: 20px;
  right: 20px;
  z-index: 2001;
  background-color: rgba(0, 0, 0, 0.7);
  color: var(--text-color);
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 20px;
  transition: background-color var(--transition-speed) ease;
}

.fullscreen-mode .exit-fullscreen:hover {
  background-color: var(--accent-color);
}

/* Loading Indicator */
.loading-indicator {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(10, 10, 10, 0.9);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 10;
}

.loading-spinner {
  width: 60px;
  height: 60px;
  border: 5px solid rgba(0, 168, 255, 0.3);
  border-radius: 50%;
  border-top-color: var(--accent-color);
  animation: spin 1s ease-in-out infinite;
  margin-bottom: 20px;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.loading-text {
  font-size: 18px;
  color: var(--text-color);
}

/* Responsive Styles */
@media (max-width: 992px) {
  .game-frame iframe {
    height: 600px;
  }
}

@media (max-width: 768px) {
  .game-header h1 {
    font-size: 28px;
  }
  
  .game-frame iframe {
    height: 500px;
  }
}

@media (max-width: 576px) {
  .game-header h1 {
    font-size: 24px;
  }
  
  .game-frame iframe {
    height: 400px;
  }
  
  .game-controls {
    flex-direction: column;
    align-items: center;
  }
  
  .game-controls .btn {
    width: 100%;
    text-align: center;
  }
}