@keyframes raysRotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
  }
  
  @keyframes float {
    0%, 100% { 
        transform: translate(0, 0) scale(var(--chip-scale, 1)); 
    }
    50% { 
        transform: translate(20px, -20px) scale(var(--chip-scale, 1)); 
    }
}
  
  @keyframes flyFromCenter {
    from {
      top: 50vh;
      left: 50vw;
      right: auto;
      transform: translate(-50%, -50%) scale(2);
      opacity: 0;
    }
    to {
      transform: translate(0, 0) scale(1);
      opacity: 1;
    }
  }
  
  @keyframes fallFromTop {
    from {
      opacity: 0;
      transform: translateY(-600px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  /* CSS Menu */
  .modern-header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

/* Eliminar viñetas en todos los niveles */
.main-menu,
.mobile-menu,
.submenu,
.mobile-submenu {
    list-style: none !important;
    padding-left: 0 !important;
}

/* Eliminar marcadores específicamente en elementos li */
.submenu li,
.mobile-submenu li {
    list-style-type: none !important;
}

.header-top {
    max-width: 1400px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.header-logo img {
    height: 45px;
    transition: all 0.3s;
}

.right-section {
  display: flex;
  align-items: center;
  gap: 3rem;
}

.desktop-nav .main-menu {
  display: flex;
  gap: 2.5rem;
  margin: 0;
  padding: 0;
}

.menu-item {
  position: relative;
  list-style: none;
}

.menu-link {
  color: #ffffff;
  text-decoration: none;
  font-weight: 500;
  font-size: 1rem;
  position: relative;
  padding: 0.5rem 0;
  transition: color 0.3s;
}

.menu-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: #ffffff;
  transition: width 0.3s;
}

.menu-link:hover::after {
  width: 100%;
}

.submenu {
  position: absolute;
  top: 100%;
  right: 0;
  background: #ffffff;
  min-width: 220px;
  padding: 1rem 0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  border-radius: 6px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s;
  text-align: right;
}

.dropdown:hover .submenu {
  opacity: 1;
  visibility: visible;
  transform: translateY(5px);
}

.submenu li {
  padding: 0.6rem 1.5rem;
  transition: background 0.2s;
}

.submenu li:hover {
  background: #f8f9fa;
}

.submenu a {
  color: #333333;
  font-size: 0.95rem;
  white-space: nowrap;
}

/* Scroll Effect */
.header-solid {
  background: #FFD700 !important;
  backdrop-filter: none;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* Social Icons */
.social-container {
    display: flex;
    gap: 1.2rem;
    margin-left: auto;
    padding-right: 2rem;
}

.social-icon {
    color: #ffffff;
    font-size: 1.2rem;
    transition: transform 0.3s;
}

.social-icon:hover {
    transform: translateY(-2px);
}

/* Mobile Styles */
.hamburger {
  display: none;
  background: none;
  border: none;
  padding: 8px;
  cursor: pointer;
  z-index: 1001;
}

.hamburger-line {
  width: 28px;
  height: 2px;
  background: #ffffff;
  margin: 6px 0;
  transition: all 0.3s;
}

.mobile-nav {
  position: fixed;
  top: 0;
  right: -100%;
  width: 320px;
  height: 100vh;
  background: #ffffff;
  padding: 6rem 2rem;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  overflow-y: auto;
}

.mobile-nav.active {
    right: 0;
}

.mobile-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mobile-menu li a {
    display: block;
    padding: 0.8rem 1rem;
    color: #333333;
    text-decoration: none;
    border-radius: 4px;
    transition: background 0.2s;
}

.mobile-dropdown .dropdown-header {
    padding: 0.8rem 1rem;
    font-weight: 500;
    cursor: pointer;
    position: relative;
}

.mobile-dropdown .dropdown-header::after {
    content: '\f078';
    font-family: 'Font Awesome 5 Free';
    position: absolute;
    right: 1rem;
    transition: transform 0.3s;
}

.mobile-dropdown.active .dropdown-header::after {
    transform: rotate(180deg);
}

.mobile-submenu {
    display: none;
    padding-left: 1.5rem;
}

.mobile-submenu.active {
    display: block;
}

.mobile-social {
    margin-top: 2rem;
    display: flex;
    gap: 1.5rem;
    justify-content: center;
}

.mobile-social a {
    color: #333333;
    font-size: 1.4rem;
}

@media (max-width: 992px) {
    .desktop-nav,
    .social-container {
        display: none;
    }
    
    .hamburger {
        display: block;
    }
    
    .hamburger.active .hamburger-line:nth-child(1) {
        transform: rotate(45deg) translate(6px, 6px);
    }
    
    .hamburger.active .hamburger-line:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger.active .hamburger-line:nth-child(3) {
        transform: rotate(-45deg) translate(6px, -6px);
    }
}
  

@media (max-width: 768px) {
  @keyframes float {
      50% { 
          transform: translate(10px, -10px) scale(var(--chip-scale, 0.6)); 
      }
  }
}