/* Game Page Specific Styles */

body {
  padding-top: 80px; /* Account for fixed header */
}

/* Game Section */
.game-section {
  padding: var(--space-2xl) 0;
}

.game-info {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: var(--space-xl);
  text-align: center;
}

.game-logo {
  width: 180px;
  height: auto;
  margin-bottom: var(--space-md);
  filter: drop-shadow(0 0 8px rgba(0, 191, 255, 0.4));
}

.game-info h1 {
  margin-bottom: var(--space-lg);
  color: var(--neon-blue);
  text-shadow: var(--neon-blue-glow);
}

.game-actions {
  display: flex;
  gap: var(--space-md);
  margin-bottom: var(--space-lg);
}

.btn-outline {
  border: 1px solid var(--neon-blue);
  color: var(--neon-blue);
  transition: var(--transition-normal);
}

.btn-outline:hover {
  background-color: rgba(0, 191, 255, 0.1);
  box-shadow: var(--neon-blue-glow);
}

.game-container {
  position: relative;
  width: 100%;
  height: 0;
  padding-bottom: 56.25%; /* 16:9 aspect ratio */
  background-color: #000;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 20px rgba(138, 43, 226, 0.3);
}

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

.game-description {
  margin-top: var(--space-2xl);
  padding: var(--space-xl);
  background-color: var(--bg-card);
  border-radius: 8px;
}

.game-description h2 {
  font-size: 1.75rem;
  margin-bottom: var(--space-md);
  color: var(--neon-purple);
  text-shadow: var(--neon-purple-glow);
}

.game-description p {
  margin-bottom: var(--space-lg);
  color: var(--text-secondary);
  line-height: 1.8;
}

.game-features {
  display: flex;
  justify-content: center;
  gap: var(--space-xl);
  margin-top: var(--space-lg);
}

.feature {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-xs);
}

.feature i {
  font-size: 1.5rem;
  color: var(--neon-blue);
  margin-bottom: var(--space-xs);
}

.feature span {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.game-disclaimer {
  margin-top: var(--space-xl);
  padding: var(--space-md);
  text-align: center;
  background-color: rgba(0, 0, 0, 0.3);
  border-radius: 8px;
}

.game-disclaimer p {
  color: var(--text-tertiary);
  font-style: italic;
  font-size: 0.875rem;
  margin: 0;
}

/* More Games Section */
.more-games {
  padding: var(--space-2xl) 0;
  background-color: var(--bg-secondary);
}

.more-games h2 {
  text-align: center;
  margin-bottom: var(--space-xl);
  color: var(--text-primary);
  position: relative;
}

.more-games h2::after {
  content: '';
  display: block;
  width: 80px;
  height: 3px;
  background: linear-gradient(90deg, var(--neon-blue), var(--neon-purple));
  margin: var(--space-sm) auto 0;
  box-shadow: var(--neon-blue-glow);
}

.more-games .games-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
}

/* Fullscreen mode */
.game-fullscreen .game-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  padding: 0;
  z-index: 1000;
  border-radius: 0;
}

.fullscreen-exit {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 1001;
  background-color: rgba(0, 0, 0, 0.7);
  color: white;
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0.7;
  transition: opacity 0.3s;
  display: none;
}

.game-fullscreen .fullscreen-exit {
  display: flex;
}

.fullscreen-exit:hover {
  opacity: 1;
}

/* Responsive adjustments */
@media (max-width: 992px) {
  .more-games .games-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .more-games .games-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .game-features {
    flex-direction: column;
    align-items: center;
    gap: var(--space-md);
  }
  
  .game-features .feature {
    flex-direction: row;
    gap: var(--space-sm);
    width: 100%;
    max-width: 200px;
  }
}

@media (max-width: 576px) {
  .more-games .games-grid {
    grid-template-columns: 1fr;
  }
  
  .game-actions {
    flex-direction: column;
    width: 100%;
  }
  
  .game-actions .btn {
    width: 100%;
  }
}