/* === game.css (footer styles removed) === */

/* General Resets */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background-color: #000;
  color: #eee;
  font-family: 'Courier New', monospace;
  line-height: 1.6;
}

/* Fix parent container positioning issues */
html, body {
  overflow-x: hidden; /* prevent horizontal scrolling */
}

/* Header */
.game-header {
  text-align: center;
  padding: 2rem;
  color: #7cc6ff;
}

.game-header h1 {
  font-size: 2.8rem;
  text-shadow: 0 0 10px rgba(124, 198, 255, 0.6);
  margin-bottom: 0.5rem;
}

.game-header p.tagline {
  font-size: 1.2rem;
  color: #ccc;
  font-style: italic;
}

/* Main Content */
.game-container {
  max-width: 900px;
  margin: 0 auto;
  padding: 2rem;
}

.game-section {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  padding: 2rem;
  margin-bottom: 2rem;
  margin: 3rem auto;
  transition: background 0.3s ease;
}

.game-section:hover {
  background: rgba(255, 255, 255, 0.08);
}

.game-section h2 {
  font-size: 1.8rem;
  color: #54a2d9;
  margin-top: 0;
  margin-bottom: 1.2rem;
  text-shadow: 0 0 6px rgba(84, 162, 217, 0.4);
}

.game-section p {
  color: #ddd;
  margin-bottom: 1rem;
}

.game-section ul {
  list-style-type: square;
  padding-left: 1.5rem;
  margin-bottom: 1.5rem;
}

.game-section li {
  margin-bottom: 0.8rem;
}

.game-section:last-of-type {
  margin-bottom: 4rem; /* extra bottom margin for the last section */
}

/* Map Image */
.trail-map {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 0 auto;
  border: 1px solid #444;
  border-radius: 8px;
  box-shadow: 0 0 20px rgba(124, 198, 255, 0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.trail-map:hover {
  transform: scale(1.02);
  box-shadow: 0 0 25px rgba(124, 198, 255, 0.4);
}

/* Call to Action - Enhanced Mailing List Button */
.mailing-container {
  display: inline-block;
  background: linear-gradient(135deg, #7cc6ff, #54a2d9);
  color: #000;
  font-family: 'Courier New', monospace;
  font-weight: bold;
  font-size: 1.2rem;
  text-transform: uppercase;
  padding: 1rem 2rem;
  margin: 2rem auto;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
  box-shadow: 0 0 20px rgba(124, 198, 255, 0.4),
              0 0 40px rgba(124, 198, 255, 0.1);
  text-shadow: 1px 1px 3px rgba(255, 255, 255, 0.3);
  animation: pulse 2.5s infinite;
}

.mailing-container:hover {
  background: linear-gradient(135deg, #54a2d9, #7cc6ff);
  transform: scale(1.08);
  box-shadow: 0 0 30px rgba(124, 198, 255, 0.7),
              0 0 60px rgba(124, 198, 255, 0.2);
  color: #111;
}

.mailing-container:active {
  transform: scale(0.98);
  box-shadow: 0 0 10px rgba(124, 198, 255, 0.5);
}

/* Game Modal Styles */
#gameModal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.85);
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 1rem;
  overflow-x: hidden;
}

#gameModal .modal-content {
  background-color: #111;
  color: #eee;
  padding: 2rem;
  border-radius: 10px;
  text-align: center;
  max-width: 500px;
  width: 100%;
  box-shadow: 0 0 30px rgba(124, 198, 255, 0.3);
  font-family: 'Courier New', monospace;
}

/* Pulse Animation for Glow */
@keyframes pulse {
  0% {
    box-shadow: 0 0 20px rgba(124, 198, 255, 0.4);
  }
  50% {
    box-shadow: 0 0 35px rgba(124, 198, 255, 0.6);
  }
  100% {
    box-shadow: 0 0 20px rgba(124, 198, 255, 0.4);
  }
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .game-header h1 {
    font-size: 2rem;
  }
  .game-section h2 {
    font-size: 1.5rem;
  }
}

