/* ===== RESET BÁSICO ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
  background-color: #f9f9f6; /* fondo claro y elegante */
  color: #333;
  line-height: 1.6;
  overflow-x: hidden;
}

/* ===== HEADER LOGO ===== */
.header-logo {
  text-align: center;
  padding: 20px;
  background: linear-gradient(120deg, #e0f7fa, #f1f8f9);
}

.logo {
  max-width: 180px;
  animation: float 3s ease-in-out infinite;
  filter: drop-shadow(0 0 10px rgba(57,255,20,0.35));
  transition: transform 0.3s ease;
  cursor: pointer; /* cursor interactivo */
}
.logo:hover {
  transform: scale(1.08) rotate(-3deg);
}

/* ===== MENÚ ===== */
.header-menu {
  background: #1e90ff; /* azul turquesa */
  padding: 10px 0;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.menu ul {
  display: flex;
  justify-content: center;
  list-style: none;
  gap: 40px; /* más espacio entre botones */
}

.menu ul li a {
  text-decoration: none;
  color: #fff;
  font-weight: bold;
  transition: color 0.3s ease, transform 0.3s ease;
  cursor: pointer;
}

.menu ul li a:hover {
  color: #39ff14; /* verde portal */
  transform: scale(1.1);
}

/* ===== BANNER PRINCIPAL ===== */
.banner {
  text-align: center;
  padding: 100px 20px;
  background: linear-gradient(160deg, #f1f8f9, #e0f7fa);
  animation: fadeIn 1.5s ease-in-out;
}

.titulo-banner {
  font-size: 2.8rem;
  margin-bottom: 20px;
  color: #1e90ff;
  text-shadow: 0 0 8px rgba(125,60,255,0.4); /* toque púrpura */
  animation: slideDown 1s ease;
}

.descripcion-banner {
  max-width: 700px;
  margin: 0 auto 30px auto;
  font-size: 1.1rem;
  color: #555;
  animation: fadeInUp 1.3s ease;
}

/* Botón con efecto portal */
.boton {
  display: inline-block;
  padding: 14px 25px;
  border-radius: 30px;
  text-decoration: none;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  cursor: pointer;
}

.boton-principal {
  background: linear-gradient(135deg, #39ff14, #7d3cff);
  background-size: 200% 200%;
  animation: gradientMove 3s ease infinite;
  color: white;
  font-weight: bold;
  box-shadow: 0 0 15px rgba(125,60,255,0.4);
}

.boton-principal:hover {
  transform: scale(1.08);
  box-shadow: 0 0 25px rgba(57,255,20,0.5);
}

/* ===== FOOTER ===== */
footer {
  text-align: center;
  padding: 20px;
  background: #1e90ff;
  color: white;
  margin-top: 40px;
  position: relative;
  overflow: hidden;
}
footer::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(125,60,255,0.2) 0%, transparent 70%);
  animation: rotatePortal 14s linear infinite;
}

/* ===== ANIMACIONES ===== */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slideDown {
  from { transform: translateY(-50px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

@keyframes fadeInUp {
  from { transform: translateY(30px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-8px); }
}

@keyframes gradientMove {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

@keyframes rotatePortal {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}
