body {
  background: #111;
  color: white;
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 20px;
  display: flex; /* 🆕 MODIFICADO: Usaremos flexbox para el contenedor */
  justify-content: center;
}

/* 🆕 NUEVO: Estilos para el contenedor de todas las tarjetas */
#cards-container {
    display: flex;
    flex-wrap: wrap; /* Permite que las tarjetas salten a la siguiente línea */
    gap: 20px; /* Espacio entre las tarjetas */
    justify-content: center; /* Centrar las tarjetas dentro del contenedor */
}


.card {
  width: 100%;
  max-width: 400px;
  background: #1c1c1c;
  padding: 25px;
  border-radius: 15px;
  text-align: center;
  box-shadow: 0 0 15px #000;
  /* 🆕 NUEVO: Margen inferior para dispositivos pequeños */
  margin-bottom: 20px; 
}

h2 {
  margin-bottom: 20px;
}

/* ... (El resto del CSS se mantiene igual) */

.item {
  display: flex;
  justify-content: space-between;
  margin: 15px 0;
  font-size: 1.3em;
}

.value {
  font-weight: bold;
  color: #00ffea;
}

button {
  margin-top: 20px;
  padding: 12px;
  width: 100%;
  font-size: 1.1em;
  border: none;
  border-radius: 10px;
  background: #00aaff;
  color: white;
  cursor: pointer;
}

button:active {
  background: #007ecc;
}

/* --- EFECTO DE LUZ NEÓN VERDE --- */
.alerta-neon {
  border: 4px solid #00ffea;
  box-shadow: 0 0 5px #00ffea,
              0 0 10px #00ffea,
              0 0 20px #00ffea,
              0 0 40px #00ffea;
  animation: neon-pulse 1.5s infinite alternate;
}

@keyframes neon-pulse {
  from {
    box-shadow: 0 0 5px #00ffea,
                0 0 10px #00ffea,
                0 0 20px #00ffea,
                0 0 40px #00ffea;
  }
  to {
    box-shadow: 0 0 2px #00ffea,
                0 0 5px #00ffea,
                0 0 10px #00ffea,
                0 0 15px #00ffea;
  }
}