* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  background: #000;
  color: #0f0;
  font-family: monospace;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  min-height: 100vh;
  padding: 20px;
}


.logo {
  position: absolute;
  top: 10px;   /* distance from top */
  right: 10px; /* distance from right */
  width: 50px; /* adjust size as needed */
  height: auto;
}

.start-screen {
  text-align: center;
  margin-top: 80px;
}

.start-screen input {
  padding: 10px;
  font-size: 16px;
  margin-bottom: 10px;
  width: 200px;
}

.start-screen button {
  padding: 10px 20px;
  font-size: 16px;
  cursor: pointer;
}


#game-wrapper {
  text-align: center;
}

#logo {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 120px;    
  height: auto;
  z-index: 10;
  pointer-events: none; 
}

/* Doomiger Titel */
h1 {
  color: #00ccff;
  margin-bottom: 10px;
  text-shadow: 0 0 8px #ff3300, 0 0 18px #ff9900;
  letter-spacing: 4px;
}

/* HUD-Leiste oben */
#hud {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
  font-size: 14px;
  max-width: 900px;
}

#hud span {
  padding: 4px 10px;
  border: 1px solid #0f0;
  background: #001100;
}

#status {
  flex: 1;
  text-align: right;
  color: #ff4444;
}

/* Canvas */
#game {
  border: 3px solid #0f0;
  background: #000;
  display: block;
  margin: 0 auto;
  position: relative;
  image-rendering: pixelated;
  cursor: crosshair;
}

/* CRT / Scanline Effekt */
#game::after {
  content: "";
  pointer-events: none;
  position: absolute;
  inset: 0;
  background-image: linear-gradient(
    rgba(0, 0, 0, 0.35) 50%,
    rgba(0, 0, 0, 0.7) 50%
  );
  background-size: 100% 4px;
  mix-blend-mode: multiply;
}

/* Hilfetext unten */
#help {
  margin-top: 10px;
  text-align: left;
  font-size: 13px;
  color: #8f8;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

#help p {
  margin-bottom: 4px;
}

#help ul {
  list-style: square;
  margin-left: 20px;
  margin-top: 4px;
}

#help li {
  margin-bottom: 2px;
}

/* Kein Fokusrahmen auf Canvas */
#game:focus {
  outline: none;
}
