body {
  margin: 0;
  font-family: sans-serif;
}

/* 🔘 Botón hamburger en mobile */
.hamburger {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  font-size: 2rem;
  width: 45px;
  height: 45px;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  cursor: pointer;
  z-index: 1100;
  transition: transform 0.3s ease;
  /*border: 1px solid rgba(255, 255, 255, 0.15);*/
  backdrop-filter: blur(6px);
}

.hamburger:hover {
  transform: scale(1.1);
}

/* 📱 Menú en mobile */
.menu {
  position: fixed !important;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100vh; 
  background: rgba(17, 24, 39, 0.33);
  backdrop-filter: blur(10px);
  transform: translateY(100%);
  transition: transform 0.4s ease-in-out;
  z-index: 1000 !important;
  padding-top: 3rem;
  display: flex;
  justify-content: center;
  align-items: center;
}

.menu.open {
  transform: translateY(0);
}

/* Lista del menú */
.menu ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.2rem;
}

.menu a {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  font-size: 1.7rem;
  transition: color 0.3s, transform 0.2s;
}

.menu a:hover {
  color: #8b5cf6;
  transform: translateX(6px);
}

/* 🖥️ Escritorio */
@media (min-width: 768px) {
  .hamburger {
    display: none;
  }

  .menu {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: auto;
    transform: none;
    background: rgba(17, 24, 39, 0.75);
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.3s ease;
    z-index: 900;
    padding: 0.75rem 0;
  }

  .menu ul {
    flex-direction: row;
    justify-content: center;
    gap: 2rem;
  }

  .menu a {
    font-size: 1rem;
    padding: 0.5rem 0;
  }

  .menu a:hover {
    color: #a78bfa;
    transform: translateY(-2px);
  }
}