body {
  background: radial-gradient(circle at top left, #2a003e, #0a0012);
  color: #eee;
  font-family: 'Orbitron', sans-serif;
  text-align: center;
  min-height: 100vh;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  padding-bottom: 80px;
}

nav {
  background-color: rgba(80, 0, 150, 0.8);
  backdrop-filter: blur(6px);
  box-shadow: 0 0 20px rgba(160, 0, 255, 0.4);
}

nav a {
  color: #e6ccff !important;
  font-weight: bold;
  transition: all 0.3s ease;
}

nav a:hover {
  color: #fff !important;
  text-shadow: 0 0 10px #b366ff;
}

.hero {
  padding: 6rem 1rem;
  animation: fadeIn 1.5s ease;
}

.hero h4 {
  color: #b47aff;
  text-shadow: 0 0 10px #9d4edd;
}

.tema-card {
  background-color: rgba(30, 0, 60, 0.8);
  color: #e0caff;
  border: 1px solid rgba(180, 100, 255, 0.3);
  border-radius: 15px;
  transition: all 0.3s ease;
  box-shadow: 0 0 10px rgba(140, 0, 255, 0.3);
}

.tema-card a {
  color: #b47aff;
  text-decoration: none;
  transition: color 0.3s ease;
}

.tema-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 0 25px rgba(180, 0, 255, 0.6);
  background-color: rgba(60, 0, 120, 0.8);
}

.tema-card:hover a {
  color: #fff;
}

footer {
  background-color: rgba(50, 0, 100, 0.7);
  color: #ccc;
  padding: 1rem;
  position: fixed;
  bottom: 0;
  width: 100%;
  box-shadow: 0 0 10px rgba(160, 0, 255, 0.4);
  text-align: center;
}

/* ANIMACIon de entrada*/
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
