/* ==========================================
   bases y cosas principales (RETRO HACKER 90s)
   ========================================== */

body {
  background-color: #0d0d0d;
  color: #00ff66; /* Verde terminal */
  font-family: "Courier New", Courier, monospace;
  
  /* Cargas la imagen de fuego */
  background-image: url("/images/fire.gif");
  
  /* IMPORTANTE: */
  background-repeat: repeat-x;  /* Se repite SOLAMENTE en horizontal (una fila) */
  background-position: bottom;   /* Se pega a la parte inferior de la pantalla */
  background-attachment: fixed; /* Se queda estática/fija aunque hagas scroll */
  background-size: auto 360px;   /* Ajusta aquí la altura que quieras que ocupe el fuego */

  text-shadow: 0 0 5px rgba(0, 255, 102, 0.5);
  margin-bottom: 30px; /* Margen para que el contenido de la web no tape el fuego */
}

.contenedor {
  width: 90%;
  max-width: 1000px;
  margin: 30px auto;
  
  background-color: #000000;
  padding: 25px;
  border: 3px solid #00ff66; /* Borde verde rígido */
  border-radius: 0px; /* Estilo 100% cuadrado */
  box-shadow: 8px 8px 0px #003311; /* Sombra sólida estilo consola */
}

.contenedor .titulado {
  width: 90%;
  max-width: 900px;
  margin: 10px auto;
  
  background-color: #001a08;
  padding: 5px;
  border: 2px dashed #00ff66;
  border-radius: 0px;
  box-shadow: 4px 4px 0px #000000;
  text-align: center;
}

.contenedor .titulado h1 {
  width: 95%;
  max-width: 900px;
  margin: 5px auto;
  
  background-color: #000000;
  color: #00ff66;
  padding: 5px;
  border: 2px solid #00ff66;
  border-radius: 0px;
  box-shadow: inset 2px 2px 0px #005522;
  font-weight: normal;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.contenedor .titulado h1::before,
.contenedor .titulado h1::after {
  content: "";
  display: inline-block;
  width: 60px;
  height: 40px;
  background-image: url("/images/skeleton.gif");
  background-size: contain;
  background-repeat: no-repeat;
  vertical-align: middle;
}

.contenedor .titulado h1::before {
  margin-right: 5px;
}

.contenedor .titulado h1::after {
  margin-left: 5px;
}

.center {
  text-align: center;
}


/* ==========================================
   botones (Terminal Hacker)
   ========================================== */

.boton {
  display: inline-block;
  background-color: #000000;
  color: #00ff66;
  border: 2px solid #00ff66;
  padding: 6px 16px;
  font-family: "Courier New", monospace;
  font-size: 14px;
  text-decoration: none;
  font-weight: bold;
  border-radius: 0px;
  box-shadow: 3px 3px 0px #005522;
  transition: all 0.1s ease;
}

.boton:hover {
  background-color: #00ff66;
  color: #000000;
  cursor: pointer;
  box-shadow: 1px 1px 0px #000000;
  transform: translate(2px, 2px);
}

.boton:active {
  background-color: #003311;
  color: #00ff66;
  border: 2px solid #00ff66;
}


/* ==========================================
   seccion inferior (Gradiente Rojizo + Galería)
   ========================================== */

/* Aplica esta clase al contenedor inferior en tu HTML */
.seccion-galeria {
  margin-top: 30px;
  padding: 20px;
  border: 3px solid #ff3333;
  /* Fondo con gradiente rojizo hacker/alerta */
  background: linear-gradient(180deg, #2b0000 0%, #1a0000 50%, #000000 100%);
  box-shadow: 6px 6px 0px #550000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
}

/* Espacios centrados a cada lado para las imágenes */
.imagen-lateral {
  flex: 0 0 200px;
  display: flex;
  justify-content: center;
  align-items: center;
  border: 2px dashed #ff3333;
  padding: 10px;
  background-color: rgba(0, 0, 0, 0.6);
}

.imagen-lateral img {
  max-width: 100%;
  height: auto;
  display: block;
}

.contenido-central-galeria {
  flex: 1;
  text-align: center;
}


/* ==========================================
   dialogos de personajes (MANTENIDOS)
   ========================================== */

.nereD {
  font-family: "Comic Sans MS", "Comic Sans", sans-serif;
  font-size: 18px;
  color: #e7d7fe;
  text-shadow:
    -2px 0 #222034,
     2px 0 #222034,
     0 -2px #222034,
     0  2px #222034;
  text-align: center;
  background-color: #9684c4;
  border: 4px double #222034;
  border-radius: 0px;
  box-shadow: 6px 6px 0px #000000;
}

.nereD::before {
  content: "";
  display: inline-block;
  width: 50px;
  height: 50px;
  background-image: url("/images/nere.png");
  background-size: contain;
  background-repeat: no-repeat;
  vertical-align: middle;
  margin-right: 8px;
}

.miaD {
  font-family: "Comic Sans MS", "Comic Sans", sans-serif;
  font-size: 18px;
  color: #ffe0cd;
  text-shadow:
    -2px 0 #222034,
     2px 0 #222034,
     0 -2px #222034,
     0  2px #222034;
  text-align: center;
  background-color: #815452;
  border: 4px double #222034;
  border-radius: 0px;
  box-shadow: 6px 6px 0px #000000;
}

.miaD::before {
  content: "";
  display: inline-block;
  width: 50px;
  height: 50px;
  background-image: url("/images/mia.png");
  background-size: contain;
  background-repeat: no-repeat;
  vertical-align: middle;
  margin-right: 8px;
}

.roseD {
  font-family: "Comic Sans MS", "Comic Sans", sans-serif;
  font-size: 18px;
  color: #a46654;
  text-shadow:
    -2px 0 #222034,
     2px 0 #222034,
     0 -2px #222034,
     0  2px #222034;
  text-align: center;
  background-color: #764447;
  border: 4px double #222034;
  border-radius: 0px;
  box-shadow: 6px 6px 0px #000000;
}

.roseD::before {
  content: "";
  display: inline-block;
  width: 50px;
  height: 50px;
  background-image: url("/images/rose.png");
  background-size: contain;
  background-repeat: no-repeat;
  vertical-align: middle;
  margin-right: 8px;
}

.aliceD {
  font-family: "Comic Sans MS", "Comic Sans", sans-serif;
  font-size: 18px;
  color: #dae8f9;
  text-shadow:
    -2px 0 #222034,
     2px 0 #222034,
     0 -2px #222034,
     0  2px #222034;
  text-align: center;
  background-color: #a2afe4;
  border: 4px double #222034;
  border-radius: 0px;
  box-shadow: 6px 6px 0px #000000;
}

.aliceD::before {
  content: "";
  display: inline-block;
  width: 50px;
  height: 50px;
  background-image: url("/images/alice.png");
  background-size: contain;
  background-repeat: no-repeat;
  vertical-align: middle;
  margin-right: 8px;
}

.dartD {
  font-family: "Comic Sans MS", "Comic Sans", sans-serif;
  font-size: 18px;
  color: #ffb6a6;
  text-shadow:
    -2px 0 #222034,
     2px 0 #222034,
     0 -2px #222034,
     0  2px #222034;
  text-align: center;
  background-color: #d86c5d;
  border: 4px double #222034;
  border-radius: 0px;
  box-shadow: 6px 6px 0px #000000;
}

.dartD::before {
  content: "";
  display: inline-block;
  width: 50px;
  height: 50px;
  background-image: url("/images/dart.png");
  background-size: contain;
  background-repeat: no-repeat;
  vertical-align: middle;
  margin-right: 8px;
}

.dsusD {
  font-family: "Comic Sans MS", "Comic Sans", sans-serif;
  font-size: 18px;
  color: #ff6565;
  text-shadow:
    -2px 0 #222034,
     2px 0 #222034,
     0 -2px #222034,
     0  2px #222034;
  text-align: center;
  background-color: #d53665;
  border: 4px double #222034;
  border-radius: 0px;
  box-shadow: 6px 6px 0px #000000;
}

.dsusD::before {
  content: "";
  display: inline-block;
  width: 50px;
  height: 50px;
  background-image: url("/images/dan sus.png");
  background-size: contain;
  background-repeat: no-repeat;
  vertical-align: middle;
  margin-right: 8px;
}

.thornD {
  font-family: "Comic Sans MS", "Comic Sans", sans-serif;
  font-size: 18px;
  color: #a76e6a;
  text-shadow:
    -2px 0 #222034,
     2px 0 #222034,
     0 -2px #222034,
     0  2px #222034;
  text-align: center;
  background-color: #764549;
  border: 4px double #222034;
  border-radius: 0px;
  box-shadow: 6px 6px 0px #000000;
}

.thornD::before {
  content: "";
  display: inline-block;
  width: 50px;
  height: 50px;
  background-image: url("/images/thorn.png");
  background-size: contain;
  background-repeat: no-repeat;
  vertical-align: middle;
  margin-right: 8px;
}

.danD {
  font-family: "Comic Sans MS", "Comic Sans", sans-serif;
  font-size: 18px;
  color: #f3c5ae;
  text-shadow:
    -2px 0 #222034,
     2px 0 #222034,
     0 -2px #222034,
     0  2px #222034;
  text-align: center;
  background-color: #3f8f78;
  border: 4px double #222034;
  border-radius: 0px;
  box-shadow: 6px 6px 0px #000000;
}

.danD::before {
  content: "";
  display: inline-block;
  width: 50px;
  height: 50px;
  background-image: url("/images/dan.png");
  background-size: contain;
  background-repeat: no-repeat;
  vertical-align: middle;
  margin-right: 8px;
}