body {
  margin: 0;
  font-family: 'Courier New', monospace;
  background-color: #111;
  color: #eee;
}

nav {
  position: sticky;
  top: 0;
  background-color: #000;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 2rem;
  height: 50px;
  border-bottom: 2px solid red;
  z-index: 1000;
}

.menu {
  display: flex;
  gap: 8px; /* etwas mehr Abstand für bessere Bedienbarkeit */
  align-items: center;
}

/* Menü-Buttons */
.menu a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 50px;
  padding: 0 20px;
  background-color: #111;
  color: white;
  font-weight: bold;
  border: none;
  border-radius: 0;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.3s, color 0.3s;
}

.menu a:hover {
  background-color: red;
  color: #111; /* dunkler statt schwarz für besseren Kontrast */
}

.content {
  max-width: 1400px;
  margin: 4rem auto;
  text-align: center;
  padding: 0 1rem;
}

.hero-img {
  width: 100%;
  max-width: 800px;
  border: 2px solid red;
  margin-bottom: 2rem;
}

.logo {
  font-size: 1.5rem;
  color: #f55;
  animation: pulse 5s infinite;
  font-weight: bold;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

img {
  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
}

/* Keine Auswahl-Hinterlegung */
img::selection {
  background: transparent;
}

#imageContainer,
#mapContainer {
  position: relative;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

#imageContainer img,
#mapContainer img {
  display: block;
  margin: 0 auto;
  width: 100%;
  max-width: auto;
  height: auto;
  border: 2px solid red;
  box-sizing: border-box;
}

#planetSelection {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 1rem;
}

.planet-button {
  padding: 10px 20px;
  background-color: #222;
  color: white;
  font-weight: bold;
  border: 2px solid red;
  cursor: pointer;
  transition: background-color 0.2s, color 0.2s;
  display: block;
  margin: 0.3rem auto;
}

.planet-button:hover {
  background-color: red;
  color: #111;
}

#mapContainer {
  margin-top: 2rem;
  display: flex;
  justify-content: center;
}

.map-image {
  max-width: 100%;
  border: 2px solid red;
  cursor: crosshair;
}

.marker {
  position: absolute;
  width: 20px;
  height: 20px;
  background-color: red;
  border: 2px solid white;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 10;
}

.correct-marker {
  background-color: lime;
}

#startGameBtn {
  padding: 1rem 2rem;
  font-size: 1.5rem;
  border: 2px solid red;
  background-color: #111;
  color: white;
  cursor: pointer;
  font-weight: bold;
  text-transform: uppercase;
  margin-top: 1rem;
  transition: background-color 0.3s, color 0.3s;
}

#startGameBtn:hover {
  background-color: red;
  color: #111;
}

#scoreWrapper {
  position: relative;
  height: 0;
}

#scoreBoard {
  position: absolute;
  top: -57px;
  left: 50%;
  transform: translateX(-50%);
  padding: 10px 20px;
  background-color: #222;
  border: 1px solid red;
  color: red;
  font-family: 'Courier New', monospace;
  font-size: 1.5rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  box-shadow: 0 0 10px rgba(255, 0, 0, 0.2);
  animation: pulseScore 1.5s infinite;
  border-radius: 4px;
  z-index: 10;
}

/* Linie zwischen Klick und Ziel */
.line {
  position: absolute;
  height: 2px;
  border-top: 2px dashed white;
  pointer-events: none;
  transform-origin: 0 0;
}

/* Responsive */
@media (max-width: 768px) {
  nav {
    padding: 0 1rem;
    height: 45px;
  }
  .menu a {
    padding: 0 12px;
    height: 45px;
    font-size: 0.9rem;
  }
  #startGameBtn {
    font-size: 1.2rem;
    padding: 0.8rem 1.5rem;
  }
  .planet-button {
    padding: 8px 16px;
    font-size: 0.9rem;
  }
  #scoreBoard {
    font-size: 1.2rem;
    padding: 8px 16px;
  }
}

.steam-button-container {
  text-align: center;
  margin-top: 2rem;
}

.steam-button {
  display: inline-block;
  background-color: #1b2838; /* Steam dunkelblau */
  color: #ffffff;
  font-size: 1.1rem;
  font-weight: bold;
  padding: 0.8rem 1.5rem;
  border-radius: 6px;
  text-decoration: none;
  border: 2px solid #66c0f4;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.steam-button:hover {
  background-color: #66c0f4;
  color: #1b2838;
  transform: scale(1.05);
}