/* breach.css */
@import url('https://fonts.googleapis.com/css2?family=Share+Tech+Mono&display=swap');

body {
  background-color: #000;
  color: #00ffea;
  font-family: 'Share Tech Mono', monospace;
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
}

.container {
  text-align: center;
  width: 90%;
  max-width: 1000px;
}

.glitch-title {
  font-size: 3rem;
  color: #ff0066;
  text-shadow: 0 0 5px #ff00cc, 0 0 2px #00fff9;
  animation: flicker 1s infinite alternate;
}

@keyframes flicker {
  0% { opacity: 1; }
  50% { opacity: 0.8; transform: scale(1.01); }
  100% { opacity: 1; }
}

.breach-ui {
  display: flex;
  gap: 2rem;
  margin-top: 2rem;
  justify-content: center;
  flex-wrap: wrap;
}

.grid {
  display: grid;
  grid-template-columns: repeat(6, 60px);
  gap: 8px;
}

.grid div {
  border: 1px solid #00ffea;
  padding: 1rem;
  text-align: center;
  cursor: pointer;
  transition: 0.2s;
  background-color: #111;
  color: #00ffea;
  font-weight: bold;
}

/* Zustand: wenn Maus drüber */
.grid div:hover {
  background-color: #00ffea;
  color: #000;
}

/* Zustand: ausgewählt */
.grid div.selected {
  background-color: #ff00cc;
  color: #000;
}

/* Zustand: aktuell gültig auswählbar */
.grid div.highlight {
  background-color: #004040;
}

/* Zustand: deaktiviert / nicht gültig auswählbar */
.grid div.dimmed {
  opacity: 0.3;
}

.sidepanel {
  text-align: left;
  min-width: 200px;
}

.targets ul {
  list-style: none;
  padding: 0;
}

.targets li {
  margin-bottom: 0.5rem;
}

.status {
  margin-top: 1rem;
}

#result {
  margin-top: 1rem;
  font-weight: bold;
  color: #ff0055;
  font-size: 1.1rem;
}

/* Level-Anzeige */
#level {
  font-size: 1.2rem;
  color: #00ffea;
  margin-bottom: 1rem;
}

/* Optional scanline effect */
body::after {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  background: repeating-linear-gradient(
    to bottom,
    rgba(255,255,255,0.01) 0px,
    rgba(255,255,255,0.01) 2px,
    transparent 2px,
    transparent 4px
  );
}
