/* Game Page Styles */

.game-page {
  background-color: var(--dark-bg);
}

.game-content {
  padding-top: 120px;
  padding-bottom: var(--spacing-xl);
}

.game-title {
  font-size: 2.5rem;
  text-align: center;
  color: var(--gold);
  margin-bottom: var(--spacing-lg);
  position: relative;
  text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}

.game-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.game-frame {
  width: 100%;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 0 30px rgba(111, 45, 168, 0.5);
  position: relative;
  margin-bottom: var(--spacing-lg);
}

.game-frame::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 2px solid var(--gold);
  border-radius: 10px;
  box-sizing: border-box;
  pointer-events: none;
  z-index: 1;
}

.game-frame iframe {
  display: block;
  border: none;
}

.game-description {
  background: rgba(25, 55, 109, 0.3);
  border: 1px solid rgba(192, 192, 192, 0.3);
  border-radius: 10px;
  padding: var(--spacing-lg);
  margin-bottom: var(--spacing-lg);
}

.game-description h3 {
  color: var(--gold);
  margin-bottom: var(--spacing-sm);
  font-size: 1.5rem;
}

.game-description p {
  color: var(--silver-light);
  font-size: 1.1rem;
  line-height: 1.6;
}

.game-actions {
  display: flex;
  justify-content: center;
  margin-top: var(--spacing-lg);
}

.back-button {
  display: inline-block;
  padding: 12px 32px;
  background: linear-gradient(45deg, var(--sapphire-blue), var(--amethyst-purple));
  color: var(--text-light);
  border: 2px solid var(--gold);
  border-radius: 50px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  box-shadow: 0 0 15px rgba(255, 215, 0, 0.5);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.back-button::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255, 215, 0, 0.1) 0%, transparent 60%);
  transform: scale(0);
  transition: transform 0.5s ease-out;
}

.back-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 0 20px rgba(255, 215, 0, 0.7);
  color: var(--text-light);
}

.back-button:hover::before {
  transform: scale(1);
}

/* Responsive adjustments for game page */
@media (max-width: 991px) {
  .game-content {
    padding-top: 100px;
  }
  
  .game-title {
    font-size: 2rem;
  }
  
  .game-description h3 {
    font-size: 1.3rem;
  }
  
  .game-description p {
    font-size: 1rem;
  }
}

@media (max-width: 767px) {
  .game-content {
    padding-top: 90px;
  }
  
  .game-title {
    font-size: 1.8rem;
  }
  
  .game-frame {
    box-shadow: 0 0 20px rgba(111, 45, 168, 0.4);
  }
  
  .game-description {
    padding: var(--spacing-md);
  }
  
  .back-button {
    padding: 10px 25px;
    font-size: 0.9rem;
  }
}

@media (max-width: 575px) {
  .game-content {
    padding-top: 80px;
  }
  
  .game-title {
    font-size: 1.5rem;
  }
  
  .game-frame {
    box-shadow: 0 0 15px rgba(111, 45, 168, 0.3);
  }
  
  .game-description h3 {
    font-size: 1.2rem;
  }
  
  .game-description p {
    font-size: 0.9rem;
  }
  
  .back-button {
    padding: 8px 20px;
    font-size: 0.8rem;
  }
}