body {
    margin: 0;
    padding: 0;
    font-family: 'Poppins', sans-serif;
    background: radial-gradient(ellipse at top, #0a0c2a 0%, #000000 100%);
    color: #ffffff;
    text-align: center;
    min-height: 100vh;
    background-size: cover;
}

.mensajes {
    padding: 40px;
}

h2 {
    font-size: 2em;
    color: #ffffff;
    text-shadow: 0 0 12px #88f;
}

.galaxia {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 30px;
}

.planeta {
    width: 80px;
    height: 80px;
    border: none;
    background: none;
    padding: 0;
    margin: 10px;
    cursor: pointer;
    transition: transform 0.3s ease;
    background-color: transparent;
}

.planeta img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 50%;
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.3);
    transition: transform 0.3s ease;
}

.planeta:hover img {
    transform: scale(1.1);
}

.mensaje-texto {
    font-size: 1.2rem;
    font-weight: 400;
    color: #e0d7ff;
    margin-bottom: 20px;
}

.boton-cerrar, .boton-final {
    background: #7b2cbf;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    margin-top: 25px;
    transition: 0.2s ease;
}

.boton-cerrar:hover, .boton-final:hover {
    background: #9d4edd;
}

.oculto {
    display: none;
}

#mensaje-visible {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 30px;
    max-width: 600px;
    margin: 30px auto;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 25px;
    border-radius: 25px;
    box-shadow: 0 0 25px rgba(173, 106, 255, 0.6);
    text-align: center;
    color: #ffffff;
    font-size: 1.2rem;
    backdrop-filter: blur(8px);
    animation: fadeIn 0.6s ease;
    font-weight: 300;
    line-height: 1.6;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

audio {
    width: 100%;
    max-width: 400px;
    margin-top: 15px;
    border-radius: 10px;
    background: #1e1e2f;
    box-shadow: 0 0 12px rgba(150, 100, 255, 0.5);
    outline: none;
}

audio::-webkit-media-controls-panel {
    background-color: #1e1e2f;
    border-radius: 10px;
}

.footer-galactico {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  padding: 40px 20px;
  margin-top: 60px;
  text-align: center;
  border-radius: 20px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  box-shadow: 0 0 20px rgba(173, 106, 255, 0.4);
  color: #e0d7ff;
  font-size: 1.1rem;
  line-height: 1.7;
}

.footer-galactico h2 {
  color: #ffffff;
  font-size: 1.8rem;
  text-shadow: 0 0 10px #b088ff;
  margin-bottom: 15px;
}

.footer-galactico strong {
  color: #f0e6ff;
  text-shadow: 0 0 6px #d0aaff;
}

.botones-cierre {
  margin-top: 25px;
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.botones-cierre button {
  background: #7b2cbf;
  color: white;
  padding: 12px 20px;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  font-size: 1rem;
  transition: background 0.3s ease, transform 0.2s ease;
  box-shadow: 0 0 12px rgba(150, 100, 255, 0.5);
}

.botones-cierre button:hover {
  background: #9d4edd;
  transform: scale(1.05);
}

.planeta {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 15px;
  cursor: pointer;
  color: white;
}

.leyenda {
  max-width: 100px;
  line-height: 1.2;
  font-style: italic;
}


