/* Estilos globales */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Outfit', sans-serif;
}

body {
  display: flex;
  height: 100vh;
  background: linear-gradient(135deg, #cce3ff, #e6f0ff); /* azul cristalino */
  color: #000000;
  overflow: hidden;
  transition: all 0.4s ease-in-out;
  backdrop-filter: blur(6px);
}

#bg3d {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: -1;
}

/* Aside lateral */
aside {
  width: 280px;
  background: rgba(255, 255, 255, 0.2); /* blanco cristalino */
  padding: 2rem 1.2rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
  border-right: 1px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(12px);
  z-index: 2;
  border-radius: 0 1.5rem 1.5rem 0;
}

aside h2 {
  font-size: 1.7rem;
  margin-bottom: 1.2rem;
  text-align: center;
  color: #2563eb;
}

aside a {
  text-decoration: none;
  color: #000000;
  font-weight: 500;
  padding: 1rem 1.2rem;
  border-radius: 10px;
  transition: background 0.3s, transform 0.2s;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

aside a:hover {
  background: rgba(255, 255, 255, 0.4);
  color: #1e40af;
  transform: translateX(5px);
}

/* Contenido principal */
main {
  flex: 1;
  padding: 2rem;
  overflow-y: auto;
  background: transparent;
  z-index: 1;
  animation: fadeSlide 0.8s ease;
}

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

main h1 {
  font-size: 2.5rem;
  color: #1e3a8a;
  margin-bottom: 2.5rem;
}

/* Tarjetas */
.tarjeta {
  background: rgba(255, 255, 255, 0.25); /* blanco cristalino */
  padding: 2rem;
  border-radius: 1.5rem;
  color: #000000;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  margin-bottom: 2.5rem;
  border: 1px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(10px);
}

.tarjeta h2 {
  font-size: 1.6rem;
  margin-bottom: 1rem;
  color: #2563eb;
}

/* Lista */
ul li {
  margin-left: 1rem;
  line-height: 1.8;
  color: #000000;
}

/* Tarjetas animadas */
.tarjeta-animada {
  animation: tarjetaFade 1.5s ease;
}

@keyframes tarjetaFade {
  from {
    transform: scale(0.95);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

/* Inputs */
.input-avanzado {
  width: 100%;
  padding: 12px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.6); /* blanco cristalino */
  color: #000000;
  margin-top: 6px;
  margin-bottom: 10px;
  font-size: 1rem;
  transition: border 0.3s ease;
  backdrop-filter: blur(6px);
}

.input-avanzado::placeholder {
  color: #6b7280;
}

/* Botones */
.btn-avanzado {
  background: rgba(255, 255, 255, 0.8); /* blanco cristalino */
  color: #1e3a8a;
  padding: 12px 30px;
  border: 2px solid #93c5fd; /* azul cristalino */
  border-radius: 12px;
  font-weight: bold;
  font-size: 1rem;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.3s;
  backdrop-filter: blur(4px);
}

.btn-avanzado:hover {
  transform: scale(1.05);
  box-shadow: 0 10px 20px rgba(147, 197, 253, 0.4);
}
