.card {
  padding: 1.5rem;
  border-radius: 0.75rem;
  border: 1px solid #facc15;
  background-color: #1f2937; /* bg-gray-800 */
  transition: all 0.3s ease;
}

.card:hover {
  box-shadow: 0 0 20px #facc15;
}

.btn-opcion {
  display: block;
  width: 100%;
  text-align: left;
  padding: 1rem;
  margin-top: 0.5rem;
  border-radius: 0.5rem;
  border: 1px solid #facc15;
  background-color: transparent;
  color: white;
}

.btn-opcion:hover {
  background-color: #facc15;
  color: black;
}

.btn-redes {
  background-color: #facc15;
  color: black;
  font-weight: bold;
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
}

.btn-redes:hover {
  background-color: #fde047; /* hover:bg-yellow-400 */
}

.card-pregunta {
  border-bottom: 3px solid #facc15;
  font-weight: bold;
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}


/* Estilo de escritura tipo consola hacker */
.typewriter {
  overflow: hidden;
  white-space: nowrap;
  border-right: 2px solid #facc15;
  animation: typing 2.5s steps(40, end), blink 0.75s step-end infinite;
  display: inline-block;
}

@keyframes typing {
  from { width: 0; }
  to { width: 100%; }
}

@keyframes blink {
  50% { border-color: transparent; }
}

h1, h2, h3 {
  word-wrap: break-word;
  overflow-wrap: break-word;
  line-height: 1.3;
}

h1 {
  font-size: 2rem;
}

@media (min-width: 640px) {
  h1 {
    font-size: 2.5rem;
  }
}

@media (min-width: 768px) {
  h1 {
    font-size: 3rem;
  }
}
