/* Game Page Specific Styles */

/* Game Hero Section */
.game-hero {
  height: 40vh;
  min-height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: linear-gradient(135deg, var(--primary-dark), var(--primary-medium));
  position: relative;
  overflow: hidden;
  padding: 120px 0 60px;
}

.game-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('https://images.pexels.com/photos/1190298/pexels-photo-1190298.jpeg?auto=compress&cs=tinysrgb&w=1260&h=750&dpr=2');
  background-size: cover;
  background-position: center;
  opacity: 0.15;
  z-index: 0;
}

.game-hero h1 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  color: var(--accent-yellow);
  text-transform: uppercase;
  letter-spacing: 2px;
  text-shadow: 0 0 15px rgba(254, 194, 96, 0.5);
  position: relative;
  z-index: 1;
}

.game-hero p {
  font-size: 1.1rem;
  margin-bottom: 0;
  color: var(--text-light);
  max-width: 600px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

/* Game Container */
.game-container {
  padding: 50px 0;
  background: var(--primary-dark);
  position: relative;
}

.game-frame {
  max-width: 1000px;
  height: 70vh;
  min-height: 500px;
  margin: 0 auto;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: var(--shadow-large), 0 0 30px var(--accent-glow);
  transform: translateY(50px);
  opacity: 0;
  transition: all var(--transition-slow) ease;
  background: #000;
}

.game-frame.animate {
  transform: translateY(0);
  opacity: 1;
}

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

/* Game Description */
.game-description {
  padding: 60px 0;
  background: linear-gradient(to bottom, var(--primary-dark), var(--primary-medium));
  position: relative;
}

.game-description::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('https://images.pexels.com/photos/6498294/pexels-photo-6498294.jpeg?auto=compress&cs=tinysrgb&w=1260&h=750&dpr=2');
  background-size: cover;
  background-position: center;
  opacity: 0.05;
  z-index: 0;
}

.game-description h2 {
  color: var(--accent-yellow);
  margin-bottom: 30px;
  text-align: center;
  position: relative;
  z-index: 1;
}

.game-description p {
  color: var(--text-light);
  margin-bottom: 20px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.7;
  position: relative;
  z-index: 1;
}

.game-features {
  background: rgba(42, 9, 68, 0.7);
  padding: 30px;
  border-radius: 15px;
  max-width: 800px;
  margin: 40px auto;
  box-shadow: var(--shadow-medium);
  position: relative;
  z-index: 1;
}

.game-features h3 {
  color: var(--accent-yellow);
  margin-bottom: 20px;
  text-align: center;
}

.game-features ul {
  list-style-type: none;
  padding: 0;
}

.game-features ul li {
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
}

.game-features ul li::before {
  content: '⚡';
  color: var(--accent-yellow);
  margin-right: 10px;
  font-size: 1.2rem;
}

.back-to-games {
  text-align: center;
  margin-top: 40px;
  position: relative;
  z-index: 1;
}

.back-button {
  display: inline-block;
  background: var(--primary-light);
  color: var(--text-light);
  padding: 10px 25px;
  border-radius: 50px;
  font-weight: 600;
  transition: all var(--transition-fast) ease;
  box-shadow: var(--shadow-small);
}

.back-button i {
  margin-right: 8px;
}

.back-button:hover {
  background: var(--accent-yellow);
  color: var(--text-dark);
  transform: translateY(-3px);
  box-shadow: var(--shadow-medium);
}

/* Media Queries */
@media (max-width: 992px) {
  .game-hero h1 {
    font-size: 2.2rem;
  }
  
  .game-frame {
    height: 60vh;
  }
}

@media (max-width: 768px) {
  .game-hero h1 {
    font-size: 2rem;
  }
  
  .game-hero p {
    font-size: 1rem;
  }
  
  .game-frame {
    height: 50vh;
  }
  
  .game-features {
    padding: 20px;
  }
}

@media (max-width: 576px) {
  .game-hero {
    height: 30vh;
    min-height: 250px;
    padding: 100px 0 40px;
  }
  
  .game-hero h1 {
    font-size: 1.8rem;
  }
  
  .game-container {
    padding: 30px 0;
  }
  
  .game-frame {
    height: 40vh;
    min-height: 300px;
  }
  
  .game-description {
    padding: 40px 0;
  }
}