/* Game Page Styles */
.game-page {
  min-height: 100vh;
  padding: 150px 0 100px;
  position: relative;
  overflow: hidden;
}

.game-page::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    linear-gradient(135deg, rgba(255, 44, 223, 0.1) 0%, rgba(13, 13, 29, 0) 50%),
    linear-gradient(235deg, rgba(0, 255, 255, 0.1) 0%, rgba(13, 13, 29, 0) 70%);
  z-index: -1;
}
.game-frame {
    width: 100%;
    height: 700px;
}
.game-title {
  text-align: center;
  margin-bottom: 2rem;
  color: var(--electric-yellow);
  position: relative;
  display: inline-block;
  left: 50%;
  transform: translateX(-50%);
  text-shadow: 0 0 15px rgba(255, 229, 77, 0.6);
}

.game-title::after {
  content: '';
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 3px;
  background: linear-gradient(90deg, var(--neon-blue), var(--fuchsia));
  box-shadow: 0 0 10px rgba(0, 255, 255, 0.5);
}

.game-details {
  margin-bottom: 3rem;
}

.game-info {
  background-color: var(--card-bg);
  border-radius: 15px;
  padding: 2rem;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  position: relative;
  overflow: hidden;
}

.game-info::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(0, 255, 255, 0.1) 0%, transparent 100%);
  z-index: 0;
}

.game-description {
  position: relative;
  z-index: 1;
}

.game-description p {
  margin-bottom: 2rem;
  font-size: 1.1rem;
}

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

.stat {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.stat-label {
  font-family: var(--header-font);
  font-size: 0.9rem;
  color: var(--neon-blue);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.stat-rating {
  display: flex;
  gap: 5px;
}

.stat-rating span {
  width: 20px;
  height: 5px;
  background-color: rgba(255, 255, 255, 0.2);
  border-radius: 2px;
}

.stat-rating span.filled {
  background-color: var(--fuchsia);
  box-shadow: 0 0 8px rgba(255, 44, 223, 0.7);
}

.stat-value {
  font-size: 1rem;
  color: var(--white);
}

.game-container {
  margin-bottom: 3rem;
}

.game-frame {
  width: 100%;
  background-color: var(--darker-card);
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 
    0 10px 30px rgba(0, 0, 0, 0.5),
    0 0 20px rgba(0, 255, 255, 0.3);
  position: relative;
}

.game-frame::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 6px;
  background: linear-gradient(90deg, var(--neon-blue), var(--fuchsia));
  z-index: 1;
}

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

.game-instructions {
  margin-bottom: 3rem;
}

.game-instructions h2 {
  color: var(--neon-blue);
  margin-bottom: 2rem;
  position: relative;
  display: inline-block;
}

.game-instructions h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 60px;
  height: 3px;
  background-color: var(--fuchsia);
  box-shadow: 0 0 10px var(--fuchsia);
}

.instructions-content {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem;
}

.instruction {
  background-color: var(--card-bg);
  border-radius: 15px;
  padding: 1.5rem;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  transition: var(--transition);
}

.instruction:hover {
  transform: translateY(-5px);
  box-shadow: 
    0 10px 20px rgba(0, 0, 0, 0.4),
    0 0 15px rgba(0, 255, 255, 0.4);
}

.instruction-icon {
  width: 50px;
  height: 50px;
  min-width: 50px;
  border-radius: 10px;
  background-color: rgba(255, 44, 223, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 10px rgba(255, 44, 223, 0.3);
}

.instruction-icon::before {
  content: '';
  display: block;
  width: 24px;
  height: 24px;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

.move-icon::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23FF2CDF' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 9l-3 3 3 3M9 5l3-3 3 3M15 19l3-3 3 3M19 9l3 3-3 3M2 12h20M12 2v20'/%3E%3C/svg%3E");
}

.boost-icon::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23FF2CDF' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M13 2L3 14h9l-1 8 10-12h-9l1-8z'/%3E%3C/svg%3E");
}

.objective-icon::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23FF2CDF' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpath d='M12 8v4l3 3'/%3E%3C/svg%3E");
}

.instruction-text h3 {
  margin-bottom: 0.5rem;
  color: var(--electric-yellow);
  font-size: 1.2rem;
}

.instruction-text p {
  margin-bottom: 0;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.8);
}

.related-games h2 {
  color: var(--neon-blue);
  margin-bottom: 2rem;
  position: relative;
  display: inline-block;
}

.related-games h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 60px;
  height: 3px;
  background-color: var(--fuchsia);
  box-shadow: 0 0 10px var(--fuchsia);
}

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

.related-game {
  background-color: var(--card-bg);
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  transition: var(--transition);
  display: block;
}

.related-game:hover {
  transform: translateY(-10px);
  box-shadow: 
    0 10px 25px rgba(0, 0, 0, 0.5),
    0 0 15px rgba(0, 255, 255, 0.5);
}

.related-game-image {
  width: 100%;
  height: 150px;
  overflow: hidden;
}

.related-game-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.related-game:hover .related-game-image img {
  transform: scale(1.1);
}

.related-game h3 {
  padding: 1rem;
  text-align: center;
  font-size: 1.1rem;
  color: var(--electric-yellow);
  transition: var(--transition);
}

.related-game:hover h3 {
  color: var(--neon-blue);
}

/* Responsive Styles */
@media (max-width: 992px) {
  .game-title {
    text-align: center;
    display: block;
    left: 0;
    transform: none;
  }
  
  .instructions-content {
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  }
}

@media (max-width: 768px) {
  .game-page {
    padding: 120px 0 80px;
  }
  
  .game-stats {
    flex-direction: column;
    gap: 1.5rem;
  }
}

@media (max-width: 576px) {
  .instruction {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  
  .instruction-text h3 {
    text-align: center;
  }
  
  .game-instructions h2::after,
  .related-games h2::after {
    left: 50%;
    transform: translateX(-50%);
  }
  
  .game-instructions h2,
  .related-games h2 {
    display: block;
    text-align: center;
  }
}