/* Game Page Specific Styles */
.game-page {
  padding-top: 80px;
  min-height: 100vh;
  background: #f8fafc;
}

.game-page-header {
  background: white;
  padding: 3rem 0;
  margin-bottom: 2rem;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.game-page-header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
}

.game-info {
  display: flex;
  align-items: center;
  gap: 2rem;
  flex: 1;
}

.game-icon-large {
  font-size: 5rem;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  width: 120px;
  height: 120px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.game-details h1 {
  font-size: 2.5rem;
  color: #2c3e50;
  margin-bottom: 1rem;
  font-weight: 700;
}

.game-description {
  font-size: 1.1rem;
  color: #64748b;
  margin-bottom: 1.5rem;
  line-height: 1.6;
  max-width: 600px;
}

.game-stats-row {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.stat-badge {
  background: #ff6b35;
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 500;
  white-space: nowrap;
}

.game-actions {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
}

.play-button-large {
  background: linear-gradient(135deg, #ff6b35 0%, #e55a2b 100%);
  color: white;
  padding: 1rem 2rem;
  border: none;
  border-radius: 50px;
  font-size: 1.2rem;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 5px 20px rgba(255, 107, 53, 0.3);
  min-width: 200px;
}

.play-button-large:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(255, 107, 53, 0.4);
}

.demo-button {
  background: transparent;
  color: #64748b;
  padding: 0.8rem 1.5rem;
  border: 2px solid #e2e8f0;
  border-radius: 25px;
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  min-width: 200px;
}

.demo-button:hover {
  border-color: #ff6b35;
  color: #ff6b35;
}

/* Game Container */
.game-container-page {
  background: white;
  border-radius: 20px;
  padding: 2rem;
  margin-bottom: 3rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.game-frame {
  position: relative;
  background: #f1f5f9;
  border-radius: 15px;
  overflow: hidden;
  min-height: 600px;
}

.game-placeholder {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  z-index: 2;
}

.placeholder-content {
  text-align: center;
}

.placeholder-icon {
  font-size: 4rem;
  margin-bottom: 1rem;
}

.placeholder-content h3 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.placeholder-content p {
  opacity: 0.8;
  margin-bottom: 2rem;
}

.loading-spinner {
  width: 40px;
  height: 40px;
  border: 4px solid rgba(255, 255, 255, 0.3);
  border-top: 4px solid white;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin: 0 auto;
}

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

/* Game Features Section */
.game-features {
  background: white;
  padding: 3rem 2rem;
  border-radius: 20px;
  margin-bottom: 3rem;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.game-features h2 {
  text-align: center;
  font-size: 2rem;
  color: #2c3e50;
  margin-bottom: 2rem;
  font-weight: 700;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.feature-card {
  text-align: center;
  padding: 2rem 1rem;
  border-radius: 15px;
  background: #f8fafc;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.feature-card:hover {
  transform: translateY(-5px);
  border-color: #ff6b35;
  background: white;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.feature-card .feature-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  display: block;
}

.feature-card h3 {
  font-size: 1.2rem;
  color: #2c3e50;
  margin-bottom: 1rem;
  font-weight: 600;
}

.feature-card p {
  color: #64748b;
  line-height: 1.6;
}

/* How to Play Section */
.how-to-play {
  background: white;
  padding: 3rem 2rem;
  border-radius: 20px;
  margin-bottom: 3rem;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.how-to-play h2 {
  text-align: center;
  font-size: 2rem;
  color: #2c3e50;
  margin-bottom: 2rem;
  font-weight: 700;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
}

.step {
  text-align: center;
  padding: 1.5rem;
}

.step-number {
  width: 50px;
  height: 50px;
  background: #ff6b35;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: bold;
  margin: 0 auto 1rem;
}

.step h3 {
  font-size: 1.1rem;
  color: #2c3e50;
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.step p {
  color: #64748b;
  font-size: 0.9rem;
}

/* Related Games Section */
.related-games {
  background: white;
  padding: 3rem 2rem;
  border-radius: 20px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.related-games h2 {
  text-align: center;
  font-size: 2rem;
  color: #2c3e50;
  margin-bottom: 2rem;
  font-weight: 700;
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
}

.related-card {
  text-decoration: none;
  color: inherit;
  background: #f8fafc;
  padding: 2rem 1rem;
  border-radius: 15px;
  text-align: center;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.related-card:hover {
  transform: translateY(-5px);
  border-color: #ff6b35;
  background: white;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  text-decoration: none;
  color: inherit;
}

.related-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  display: block;
}

.related-card h3 {
  font-size: 1.1rem;
  color: #2c3e50;
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.related-card p {
  color: #64748b;
  font-size: 0.9rem;
}

/* Responsive Design for Game Pages */
@media (max-width: 768px) {
  .game-page-header .container {
    flex-direction: column;
    text-align: center;
  }

  .game-info {
    flex-direction: column;
    text-align: center;
  }

  .game-icon-large {
    width: 100px;
    height: 100px;
    font-size: 4rem;
  }

  .game-details h1 {
    font-size: 2rem;
  }

  .game-stats-row {
    justify-content: center;
  }

  .game-container-page {
    padding: 1rem;
  }

  .game-frame {
    min-height: 400px;
  }

  .features-grid,
  .steps-grid,
  .related-grid {
    grid-template-columns: 1fr;
  }

  .game-features,
  .how-to-play,
  .related-games {
    padding: 2rem 1rem;
  }
}

@media (max-width: 480px) {
  .stat-badge {
    font-size: 0.8rem;
    padding: 0.4rem 0.8rem;
  }

  .play-button-large,
  .demo-button {
    min-width: 150px;
    font-size: 1rem;
  }

  .placeholder-icon {
    font-size: 3rem;
  }

  .placeholder-content h3 {
    font-size: 1.2rem;
  }
}
