
/* === BASE === */
body {
  margin: 0;
  padding: 0;
  background-color: #0e0e0e;
  color: #f5f5f5;
  font-family: 'Cormorant Garamond', cursive, sans-serif;
}
H1, H2, H3, H4 {
     font-family: 'Bruno Ace SC', cursive, sans-serif;
}
.expediente {
  max-width: 900px;
  margin: auto;
  padding: 2rem;
}

/* === ENCABEZADOS DEL EXPEDIENTE === */
.expediente-titulo {
  text-align: center;
  font-size: 2.5rem;
  color: #ffd700;
  margin-bottom: 0.5rem;
}

.expediente-codigo {
  text-align: center;
  font-style: italic;
  color: #aaa;
  margin-bottom: 2rem;
  display: block;
}

/* === BLOQUES DE INVESTIGACIÓN === */
.bloque-exploracion {
  background-color: #1a1a1a;
  border-left: 4px solid #00bfff;
  padding: 1.5rem;
  margin-bottom: 2rem;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  transition: transform 0.2s ease-in-out;
}

.bloque-exploracion:hover {
  transform: scale(1.01);
}

.bloque-titulo {
  font-size: 1.2rem;
  color: #00bfff;
  margin-bottom: 1rem;
  font-weight: bold;
}

/* === NOTAS DEL INVESTIGADOR === */
.nota-investigador {
  background-color: #222;
  border-left: 4px solid #ffcc00;
  padding: 1rem;
  margin-top: 1.5rem;
  font-style: italic;
  color: #ccc;
  border-radius: 4px;
}

/* === MENSAJES CIFRADOS / OCULTOS === */
.mensaje-cifrado {
  background-color: #111;
  color: #0f0;
  font-family: monospace;
  padding: 1rem;
  border-left: 4px solid #0f0;
  margin-top: 1.5rem;
  white-space: pre-wrap;
  font-size: 0.95rem;
}

/* === BOTÓN INTERACTIVO === */
.btn-descubrir {
  display: inline-block;
  margin-top: 1rem;
  padding: 0.5rem 1rem;
  background-color: #00bfff;
  color: black;
  border: none;
  border-radius: 25px;
  font-weight: bold;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-descubrir:hover {
  background-color: #00ffff;
  color: black;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 191, 255, 0.3);
}
  .social-feed {
    background-color: #1a1a1a;
    border-left: 4px solid #ffcc00;
    padding: 1.5rem;
    margin-bottom: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(255, 255, 255, 0.1);
  }

  .post {
    background-color: #222;
    padding: 1rem;
    margin-bottom: 1rem;
    border-left: 3px solid transparent;
    cursor: pointer;
    transition: all 0.3s ease;
  }

  .post:hover {
    background-color: #333;
  }

  .post.selected {
    border-color: #ff0000;
    background-color: #2d0000;
    color: #ffaaaa;
  }

  .feedback {
    margin-top: 1rem;
    font-style: italic;
    color: #0f0;
    display: none;
  }

  .btn-verificar {
    margin-top: 1rem;
    padding: 0.5rem 1rem;
    background-color: #00bfff;
    color: black;
    border: none;
    border-radius: 25px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
  }

  .btn-verificar:hover {
    background-color: #00ffff;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 191, 255, 0.3);
  }

  .correcto {
    color: #0f0;
  }

  .incorrecto {
    color: #f00;
  }
    .discovery-container {
    margin-top: 2rem;
    background-color: #1a1a1a;
    border-left: 4px solid #ffcc00;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(255, 255, 255, 0.1);
  }

  .discovery-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin-bottom: 1.5rem;
  }

  .personaje-button {
    max-width: 100px;
    background-color: #222;
    color: #fff;
    border: none;
    padding: 0.5rem 1rem;
    cursor: pointer;
    border-radius: 25px;
    transition: all 0.3s ease;
    font-family: 'Bruno Ace SC', cursive;
  }

  .personaje-button:hover {
    background-color: #00bfff;
    color: black;
  }

  .personaje-button.active {
    background-color: #00ffff;
    color: black;
    font-weight: bold;
  }

  .discovery-text {
    font-style: italic;
    color: #ccc;
    font-size: 1.1rem;
    opacity: 0;
    transform: translateY(10px);
    animation: fadeInUp 0.6s ease forwards;
  }
  .personaje-descubrimiento {
    color:white;
  }

  @keyframes fadeInUp {
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
  .mapa-container {
  position: relative;
  width: 100%;
  max-width: 900px;
  height: 600px;
  margin: auto;
  padding: 2rem;
  border-radius: 10px;
  overflow: hidden;
}

.mapa-svg {
  position: relative;
  z-index: 2;
  width: 100%;
  height: auto;
  pointer-events: auto;
}

.mapa-svg circle {
  fill:transparent;
  stroke: #ff1e00;
  stroke-width: 4;
  transition: all 0.3s ease;
  cursor: pointer;
}

.mapa-svg circle:hover {
  fill: #00ffff;
  stroke: #ffd700;
}
 /* --- Estilos para el Tooltip del Mapa --- */
.mapa-tooltip {
  /* Posicionamiento y visibilidad */
  position: fixed; /* OBLIGATORIO: Posiciona respecto a la ventana del navegador */
  display: none; /* Oculto por defecto */
  z-index: 1000; /* Asegura que esté por encima de otros elementos */

  /* Estilos visuales */
  background-color: rgba(20, 20, 30, 0.9); /* Fondo oscuro semitransparente */
  color: #e0e0e0;
  border: 1px solid #4a4a52;
  border-radius: 8px;
  padding: 15px;
  max-width: 300px; /* Ancho máximo para que no sea muy grande */
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5); /* Sombra para darle profundidad */
  
  /* Transición suave */
  transition: opacity 0.2s ease-in-out;
}

.mapa-tooltip h4 {
  margin-top: 0;
  color: #a7d1e8;
  font-family: 'Bruno Ace SC', sans-serif; /* Usando una de tus fuentes */
  font-size: 1.1em;
  border-bottom: 1px solid #555;
  padding-bottom: 5px;
  margin-bottom: 10px;
}

.mapa-tooltip p {
  margin-bottom: 0;
  font-family: 'Cormorant Garamond', serif; /* La otra fuente */
  font-size: 1em;
  line-height: 1.5;
}

/* Estilo para los puntos ya explorados */
.mapa-punto.explorado {
  fill: #ff4500; /* Un color naranja/rojo para indicar que fue visitado */
  stroke: #ffffff;
  stroke-width: 1px;
  opacity: 0.7;
}

.btn-descubrir {
  display: inline-block;
  margin-top: 1rem;
  padding: 0.5rem 1rem;
  background-color: #00bfff;
  color: black;
  border: none;
  border-radius: 25px;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-descubrir:hover {
  background-color: #00ffff;
  transform: translateY(-2px);
}
