body {
  margin: 0;
  min-height: 100vh;
  font-family: Arial, sans-serif;
  background-image: url("../img/fondo.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: #fff;
}

/* Logo Hellaverse dentro de la barra */
.logo {
  color: #fff;
  font-size: 1.5em;
  font-weight: bold;
  margin: 0;
  margin-right: auto;
}

/* Barra de navegación */
nav {
  background-color: #111;
  display: flex;
  align-items: center;
  padding: 10px 20px;
}

nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
}

nav li {
  margin-left: 20px;
}

nav a {
  text-decoration: none;
  color: #fff;
  font-weight: bold;
  padding: 8px 15px;
  background-color: #333;
  border-radius: 5px;
  transition: background-color 0.3s, color 0.3s;
}

nav a:hover {
  background-color: #ffcc00;
  color: #111;
}

/* Título principal */
.titulo {
  text-align: center;
  color: #fff;
  font-size: 3em;
  margin: 30px 0 10px 0; /* más espacio arriba */
  letter-spacing: 3px;
  text-transform: uppercase;
}

/* Párrafo introductorio */
.intro {
  text-align: center;
  font-size: 1.2em;
  color: #ddd;
  margin: 20px auto;
  max-width: 800px;
}

/* Contenedor de las tarjetas */
.contenedor {
  display: grid;
  grid-template-columns: repeat(6, 160px); /* ajusta según número de demonios */
  gap: 15px;
  padding: 30px 20px;
  justify-content: center;
  overflow-x: auto;
}

/* Tarjeta con solo imagen */
.card {
  background-color: rgba(0,0,0,0.7);
  border-radius: 8px;
  text-align: center;
  box-shadow: 0 3px 6px rgba(0,0,0,0.5);
  transition: transform 0.3s;
}

.card:hover {
  transform: scale(1.05);
}

.card img {
  max-width: 100%;
  border-radius: 5px;
}

/* Párrafo final */
.descripcion-final {
  text-align: center;
  font-size: 1em;
  color: #ccc;
  margin: 30px auto;
  max-width: 900px;
  line-height: 1.5;
}

/* Footer */
.site-footer {
  background-color: #000;
  text-align: center;
  padding: 1rem;
  font-size: 0.85rem;
  color: #aaa;
}
