body {
  background-color: #121212;
  color: #e0e0e0;
  font-family: 'Segoe UI', sans-serif;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  margin: 0;
}

.container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  padding: 32px;
  max-width: 1000px;
  width: 100%;
}

.mero {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.gate-wrapper {
  width: 140px;
  height: 120px;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

.label {
  margin-top: 8px;
  font-size: 14px;
  color: #bbb;
}

svg {
  width: 100px;
  height: 70px;
}

.input-line,
.output-line {
  stroke: #aaa;
  stroke-width: 2;
}

.circle {
  fill: #bbb;
  stroke: #bbb;
  stroke-width: 1;
}

.led {
  cursor: pointer;
  stroke: #222;
  stroke-width: 0.5;
  transition: fill 0.3s ease;
}

.led.off {
  fill: #333;
}

.led.on {
  fill: #4caf50; /* Un verde más suave y moderno */
}
