/* Menú landing compartido (mismo que index.html) */
.nav-link {
  font-weight: bold !important;
}

@media (min-width: 992px) {
  .navbar-nav.nav-dropdown.nav-right {
    margin-left: 25% !important;
  }
}

@media (max-width: 991px) {
  .navbar-nav {
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    width: 100% !important;
  }
  .navbar-nav .nav-item {
    width: auto !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    text-align: center !important;
    display: flex !important;
    justify-content: center !important;
    margin-top: 10px !important;
    margin-bottom: 10px !important;
  }
  .navbar-nav .nav-link {
    text-align: center !important;
  }
  .menu-btn-custom {
    width: auto !important;
    border-radius: 999px !important;
    padding: 6px 6px 6px 18px !important;
    justify-content: space-between !important;
    gap: 12px !important;
  }
  .menu-btn-custom > span {
    display: inline !important;
  }
}

.menu-btn-custom {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: #000000 !important;
  color: #ffffff !important;
  border-radius: 50% !important;
  width: 42px;
  height: 42px;
  text-decoration: none;
  transition: all 0.3s ease;
  font-family: 'Poppins', sans-serif;
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
  position: relative;
}

.menu-btn-custom > span {
  display: none !important;
}

.menu-btn-custom:hover {
  background-color: #222222 !important;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.4);
  border-color: rgba(255, 255, 255, 0.3) !important;
}

.menu-btn-icon-container {
  width: 30px;
  height: 30px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.menu-btn-custom .rocket-button {
  position: absolute;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #000;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  cursor: pointer;
  overflow: hidden;
  transform: scale(0.5);
  transform-origin: center center;
  top: 50%;
  left: 50%;
  margin-top: -30px;
  margin-left: -30px;
}

.menu-btn-custom .orbit-container {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  transform-style: preserve-3d;
}

.menu-btn-custom .rocket {
  position: absolute;
  width: 40px;
  height: 60px;
  left: calc(50% - 20px);
  top: 50%;
  transform: translateZ(1px) translateY(-50%) rotate(90deg);
  z-index: 5;
  transform-origin: center center;
  transition: transform 0.1s linear;
}

.menu-btn-custom .rocket-body {
  position: absolute;
  width: 24px;
  height: 45px;
  bottom: 5px;
  left: 8px;
  background: linear-gradient(to right, #d70081, #e4068c);
  border-radius: 50% 50% 20% 20% / 60% 60% 10% 10%;
}

.menu-btn-custom .fin-left {
  position: absolute;
  width: 10px;
  height: 15px;
  bottom: 15px;
  left: 0;
  background: #e4068c;
  border-radius: 50% 0 0 50% / 30% 0 0 30%;
}

.menu-btn-custom .fin-right {
  position: absolute;
  width: 10px;
  height: 15px;
  bottom: 15px;
  right: 0;
  background: #e4068c;
  border-radius: 0 50% 50% 0 / 0 30% 30% 0;
}

.menu-btn-custom .window {
  position: absolute;
  width: 10px;
  height: 10px;
  bottom: 25px;
  left: 15px;
  background: rgba(173, 216, 230, 0.8);
  border-radius: 50%;
  border: 2px solid white;
}

.menu-btn-custom .fire {
  position: absolute;
  width: 18px;
  height: 0;
  bottom: -1px;
  left: 11px;
  background: linear-gradient(to bottom, #ff9d00, #ff0000);
  border-radius: 50% 50% 20% 20%;
  transition: height 0.3s, opacity 0.3s;
  opacity: 0;
}

.menu-btn-custom .trail {
  position: absolute;
  width: 5px;
  height: 40px;
  bottom: -40px;
  left: 17.5px;
  background: linear-gradient(to top, transparent, rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0.7));
  border-radius: 5px;
  opacity: 0;
  transform-origin: top center;
}

.menu-btn-custom .stars {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  overflow: hidden;
}

.menu-btn-custom .star {
  position: absolute;
  width: 2px;
  height: 2px;
  background: white;
  border-radius: 50%;
  opacity: 0;
  transition: opacity 0.5s;
}

.menu-btn-custom .star:nth-child(1) { top: 20%; left: 15%; }
.menu-btn-custom .star:nth-child(2) { top: 30%; left: 75%; }
.menu-btn-custom .star:nth-child(3) { top: 70%; left: 30%; }
.menu-btn-custom .star:nth-child(4) { top: 65%; left: 85%; }
.menu-btn-custom .star:nth-child(5) { top: 45%; left: 60%; }
.menu-btn-custom .star:nth-child(6) { top: 15%; left: 35%; }
.menu-btn-custom .star:nth-child(7) { top: 75%; left: 15%; }
.menu-btn-custom .star:nth-child(8) { top: 55%; left: 25%; }
.menu-btn-custom .star:nth-child(9) { top: 25%; left: 90%; }
.menu-btn-custom .star:nth-child(10) { top: 85%; left: 65%; }

.menu-btn-custom:hover .fire {
  height: 25px;
  opacity: 1;
}

.menu-btn-custom:hover .trail {
  opacity: 1;
}

.menu-btn-custom:hover .star {
  opacity: 0.8;
}

.menu-btn-custom .trail-1,
.menu-btn-custom .trail-2,
.menu-btn-custom .trail-3 {
  position: absolute;
  bottom: -30px;
  background: radial-gradient(circle at top, rgba(255, 255, 255, 0.8), transparent);
  border-radius: 50%;
  opacity: 0;
  transform-origin: top center;
}

.menu-btn-custom .trail-1 { width: 15px; height: 30px; left: 12.5px; }
.menu-btn-custom .trail-2 { width: 25px; height: 40px; left: 7.5px; }
.menu-btn-custom .trail-3 { width: 35px; height: 50px; left: 2.5px; }

.menu-btn-custom:hover .trail-1 {
  opacity: 0.7;
  animation: landing-menu-pulse 2s infinite;
}

.menu-btn-custom:hover .trail-2 {
  opacity: 0.5;
  animation: landing-menu-pulse 2s infinite 0.3s;
}

.menu-btn-custom:hover .trail-3 {
  opacity: 0.3;
  animation: landing-menu-pulse 2s infinite 0.6s;
}

@keyframes landing-menu-pulse {
  0% { opacity: 0.2; transform: scaleY(0.8); }
  50% { opacity: 0.6; transform: scaleY(1.1); }
  100% { opacity: 0.2; transform: scaleY(0.8); }
}
