/* Game Page Styles */
.game-hero {
  height: 40vh;
  min-height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-image: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), 
                    url('../images/game-bg.jpg');
  background-size: cover;
  background-position: center;
  position: relative;
  text-align: center;
  padding-top: 5rem;
}

.game-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at center, transparent 0%, rgba(17, 17, 17, 0.6) 70%);
}

.game-hero h1 {
  font-size: 3rem;
  color: var(--color-primary);
  text-shadow: 0 0 15px rgba(255, 215, 0, 0.7);
  position: relative;
  z-index: 1;
}

.game-hero p {
  font-size: 1.2rem;
  max-width: 600px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.game-content {
  padding: 5rem 0;
  background-color: var(--color-background);
}

.game-wrapper {
  display: flex;
  gap: 3rem;
  align-items: flex-start;
}

.game-frame {
  flex: 2;
  background-color: var(--color-card-bg);
  border-radius: var(--border-radius-small);
  overflow: hidden;
  border: 1px solid rgba(255, 215, 0, 0.3);
  box-shadow: 0 0 30px rgba(255, 215, 0, 0.1);
}

.game-simulation {
  position: relative;
  width: 100%;
  padding-top: 75%; /* 4:3 Aspect Ratio */
  background-color: #0D0D0D;
  overflow: hidden;
}

.game-placeholder {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 2rem;
}

.gear-animation {
  position: relative;
  width: 200px;
  height: 200px;
  margin-bottom: 2rem;
}

.gear {
  position: absolute;
  border-radius: 50%;
  border: 4px dashed var(--color-primary);
  animation: spin 10s linear infinite;
}

.gear-large {
  width: 180px;
  height: 180px;
  top: 10px;
  left: 10px;
  border-color: var(--color-primary);
  animation-duration: 20s;
}

.gear-medium {
  width: 120px;
  height: 120px;
  top: 40px;
  left: 40px;
  border-color: var(--color-secondary);
  animation-duration: 15s;
  animation-direction: reverse;
}

.gear-small {
  width: 60px;
  height: 60px;
  top: 70px;
  left: 70px;
  border-color: var(--color-accent);
  animation-duration: 10s;
}

@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

.game-placeholder h3 {
  color: var(--color-primary);
  font-size: 1.8rem;
  margin-bottom: 0.5rem;
}

.game-placeholder p {
  color: var(--color-text);
  margin-bottom: 2rem;
}

.play-simulation-btn {
  background-color: var(--color-secondary);
  color: var(--color-text-dark);
  font-family: var(--font-secondary);
  padding: 0.8rem 1.5rem;
  border: none;
  border-radius: var(--border-radius-small);
  font-size: 1.1rem;
  cursor: pointer;
  transition: all var(--transition-speed) ease;
}

.play-simulation-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 0 15px rgba(50, 205, 50, 0.7);
}

.game-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.info-box {
  background-color: var(--color-card-bg);
  border-radius: var(--border-radius-small);
  padding: 1.5rem;
  border: 1px solid rgba(255, 215, 0, 0.3);
}

.info-box h3 {
  color: var(--color-primary);
  font-size: 1.3rem;
  margin-bottom: 1rem;
}

.game-controls {
  display: flex;
  gap: 1rem;
}

.control-btn {
  flex: 1;
  padding: 0.7rem;
  font-size: 1rem;
}

.back-btn {
  font-size: 1rem;
  text-align: center;
  display: block;
  background-color: var(--color-card-bg);
  border: 1px solid var(--color-primary);
  color: var(--color-primary);
}

.back-btn:hover {
  background-color: var(--color-primary);
  color: var(--color-text-dark);
}

/* Responsive Game Page */
@media (max-width: 992px) {
  .game-wrapper {
    gap: 2rem;
  }
}

@media (max-width: 768px) {
  .game-hero h1 {
    font-size: 2.5rem;
  }
  
  .game-hero p {
    font-size: 1.1rem;
  }
  
  .game-wrapper {
    flex-direction: column;
  }
  
  .gear-animation {
    width: 150px;
    height: 150px;
  }
  
  .gear-large {
    width: 140px;
    height: 140px;
    top: 5px;
    left: 5px;
  }
  
  .gear-medium {
    width: 90px;
    height: 90px;
    top: 30px;
    left: 30px;
  }
  
  .gear-small {
    width: 45px;
    height: 45px;
    top: 52.5px;
    left: 52.5px;
  }
}

@media (max-width: 576px) {
  .game-hero {
    min-height: 200px;
  }
  
  .game-hero h1 {
    font-size: 2rem;
  }
  
  .game-hero p {
    font-size: 1rem;
  }
  
  .game-simulation {
    padding-top: 100%; /* 1:1 Aspect Ratio for mobile */
  }
  
  .game-placeholder h3 {
    font-size: 1.5rem;
  }
  
  .gear-animation {
    width: 120px;
    height: 120px;
    margin-bottom: 1.5rem;
  }
  
  .gear-large {
    width: 110px;
    height: 110px;
    top: 5px;
    left: 5px;
  }
  
  .gear-medium {
    width: 70px;
    height: 70px;
    top: 25px;
    left: 25px;
  }
  
  .gear-small {
    width: 35px;
    height: 35px;
    top: 42.5px;
    left: 42.5px;
  }
  
  .info-box {
    padding: 1.2rem;
  }
  
  .game-controls {
    flex-direction: column;
    gap: 0.8rem;
  }
}