/* BASE */
html, body {
  margin: 0;
  background-color: #000;
  color: #00ff00;
  font-family: 'Courier New', Courier, monospace;
}

/* TÍTULOS Y TEXTOS */
.titulo {
  text-align: center;
  margin-top: 2rem;
  font-size: 2rem;
  text-shadow: 0 0 5px #00ff00;
}

.subtitulo em,
.subtitulo strong {
  color: #33ff33;
}

.plan-info {
  text-align: center;
  padding: 1rem;
  margin: 1rem auto;
  font-size: 1.1rem;
  border: 1px solid #00ff00;
  border-radius: 8px;
  width: 60%;
  box-shadow: 0 0 10px rgba(0,255,0,0.3);
}

/* GRID CONTENEDOR DE SALAS */
.grid-salas {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1rem;
  padding: 0 2rem 2rem 2rem;
  background-color: transparent;
}

/* TARJETAS DE SALA */
.room-card {
  transition: all 0.3s ease;
  background-color: #000 !important;
  border: 1px solid #00ff00 !important;
  box-shadow: 0 0 10px rgba(0, 255, 0, 0.3);
  border-radius: 12px;
}

.room-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 0 20px rgba(0, 255, 0, 0.7);
}

.locked-room {
  position: relative;
  overflow: hidden;
}

.locked-room::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.9), rgba(0, 30, 0, 0.95));
  z-index: 1;
  border-radius: 12px;
}

.locked-content {
  position: relative;
  z-index: 2;
}

/* TAGS */
.tag {
  background-color: #002200;
  color: #00ff00;
  font-size: 0.7rem;
  padding: 0.2rem 0.6rem;
  border-radius: 9999px;
  border: 1px solid #00ff00;
  font-weight: bold;
}

/* BOTÓN ESTILO RETRO */
button {
  font-family: 'Courier New', monospace;
}

/* BOTÓN DE INGRESAR o ACTUALIZAR PLAN */
button.bg-black {
  background-color: #000;
  border: 1px solid #00ff00;
  color: #00ff00;
  font-weight: bold;
}

button.bg-black:hover {
  background-color: #003300;
  color: #ffffff;
  box-shadow: 0 0 10px #00ff00;
}

/* AMPLIAR PLAN LINK */
.ampliar-plan {
  margin-left: 1rem;
  font-weight: bold;
  color: #00ff00;
  text-decoration: underline;
  transition: color 0.3s;
}

.ampliar-plan:hover {
  color: #33ff33;
}

/* FOOTER TERMINAL */
.footer-terminal {
  background-color: #000;
  text-align: center;
  padding: 2rem 1rem;
  font-family: 'Courier New', Courier, monospace;
  color: #00ff00;
  font-size: 0.9rem;
}

.footer-line {
  border: none;
  border-top: 1px solid #00ff00;
  margin-bottom: 1rem;
  width: 100%;
}

.footer-social {
  margin-top: 1rem;
  display: flex;
  justify-content: center;
  gap: 1rem;
}

.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border: 1px solid #00ff00;
  border-radius: 2px;
  color: #00ff00;
  text-decoration: none;
  transition: all 0.3s ease;
}

.footer-social a:hover {
  background-color: #00ff00;
  color: #000;
  box-shadow: 0 0 10px #00ff00;
}

.blink {
  animation: blink 1s step-end infinite;
}
@keyframes blink {
  50% { opacity: 0; }
}
.pulse-animation {
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 5px rgba(0, 255, 0, 0.5); }
  50% { box-shadow: 0 0 20px rgba(0, 255, 0, 0.9); }
  100% { box-shadow: 0 0 5px rgba(0, 255, 0, 0.5); }
}
.glow {
  box-shadow: 0 0 15px rgba(0, 255, 0, 0.5);
}