/* Game Page Specific Styles */

.game-content {
  padding: 120px 0 80px;
}

.game-content h1 {
  font-family: var(--font-display);
  font-size: 2.8rem;
  margin-bottom: 30px;
  text-align: center;
  color: var(--white);
  text-shadow: 0 0 15px var(--neon-purple);
}

.game-container {
  background-color: rgba(15, 15, 26, 0.5);
  border-radius: var(--border-radius);
  overflow: hidden;
  margin-bottom: 30px;
  box-shadow: var(--shadow);
  position: relative;
  max-width: 100%;
  height: 0;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  border: 1px solid rgba(188, 19, 254, 0.3);
}

.game-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.game-description {
  background-color: rgba(30, 30, 42, 0.7);
  border-radius: var(--border-radius);
  padding: 30px;
  margin-bottom: 30px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(188, 19, 254, 0.2);
  text-align: center;
}

.game-description p {
  font-size: 1.1rem;
  line-height: 1.7;
  margin-bottom: 20px;
}

.back-btn {
  display: inline-block;
  background: linear-gradient(135deg, var(--ice-light), var(--ice-accent));
  padding: 12px 24px;
}

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

.loading-spinner {
  width: 60px;
  height: 60px;
  border: 5px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  border-top-color: var(--neon-blue);
  animation: spin 1s linear infinite;
  margin-bottom: 20px;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.loading-text {
  font-family: var(--font-display);
  color: var(--white);
  font-size: 1.2rem;
}

/* Responsive styles */
@media (max-width: 992px) {
  .game-content h1 {
    font-size: 2.5rem;
  }
}

@media (max-width: 768px) {
  .game-content h1 {
    font-size: 2.2rem;
  }
  
  .game-description {
    padding: 20px;
  }
}

@media (max-width: 480px) {
  .game-content h1 {
    font-size: 1.8rem;
  }
  
  .game-content {
    padding: 100px 0 60px;
  }
}