body, html {
  margin: 0;
  padding: 0;
  height: 100%;
  font-family: Arial, sans-serif;
  background: url("cielo.png") no-repeat center center fixed;
  background-size: cover;
}

.fondo {
  height: 100%;
  text-align: center;
  padding-top: 50px;
}

.titulo {
  font-size: 3.5em;
  color: indigo;
  text-shadow: 0 0 15px white, 0 0 30px indigo;
  animation: brillo 2s infinite alternate;
}

@keyframes brillo {
  from { text-shadow: 0 0 15px white; }
  to { text-shadow: 0 0 30px indigo, 0 0 40px white; }
}

.subtitulo {
  font-size: 2em;
  color: navy;
  margin-bottom: 40px;
}

.botones button {
  display: block;
  margin: 15px auto;
  padding: 20px 40px;
  font-size: 1.2em;
  font-weight: bold;
  text-transform: uppercase;
  background: linear-gradient(45deg, indigo, skyblue);
  color: white;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  box-shadow: 0 0 15px rgba(255,255,255,0.7);
  transition: transform 0.3s, background 0.3s;
}

.botones button:hover {
  transform: scale(1.15);
  background: linear-gradient(45deg, darkblue, deepskyblue);
}

/* --- ESTILOS DEL LOADING OVERLAY --- */
#loadingOverlay {
  display: none;
  position: fixed;
  top: 0; left: 0; width: 100%; height: 100%;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(5px);
  z-index: 1000;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

.loader-content {
  text-align: center;
  color: white;
  animation: brillo 2s infinite alternate;
}

.spinner {
  border: 6px solid rgba(255, 255, 255, 0.3);
  border-top: 6px solid #87ceeb; /* skyblue */
  border-radius: 50%;
  width: 60px;
  height: 60px;
  animation: spin 1s linear infinite;
  margin: 0 auto 20px auto;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

#loadingText {
  font-size: 1.5em;
  text-shadow: 0 0 10px white, 0 0 20px skyblue;
  font-family: Arial, sans-serif;
  letter-spacing: 2px;
}
