/* ======== MENU DINÂMICO AZUL-ROXO ======== */
.site-header {
  background: linear-gradient(90deg, #1e0033, #2a0066, #004b8d) !important;
  background-size: 300% 300%;
  animation: gradientMove 10s ease infinite;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.3);
  color: #fff !important;
}

@keyframes gradientMove {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* Links desktop */
.main-nav a {
  color: #fff !important;
  font-weight: 500;
  text-decoration: none;
  position: relative;
  font-size: 1rem;
  padding: 8px 0;
  transition: color 0.3s;
}
.main-nav a:hover {
  color: #00d9ff !important;
}
.main-nav a::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0%;
  height: 2px;
  background: linear-gradient(90deg, #00d9ff, #9b5eff);
  transition: width 0.4s ease;
}
.main-nav a:hover::after {
  width: 100%;
}

/* ======= BOTÃO MOBILE ======= */
.mobile-menu-toggle span {
  background: linear-gradient(90deg, #9b5eff, #00d9ff) !important;
}

/* ======= MENU MOBILE ======= */
@media (max-width: 768px) {
  .main-nav {
    position: fixed !important;
    top: 0 !important;
    right: -100% !important;
    height: 100vh !important;
    width: 80% !important;
    background: linear-gradient(180deg, rgba(40, 0, 70, 0.97), rgba(0, 0, 50, 0.97)) !important;
    color: #fff !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-start !important;
    align-items: flex-start !important;
    padding: 5rem 2rem !important;
    gap: 1.5rem !important;
    box-shadow: -3px 0 15px rgba(0,0,0,0.4) !important;
    transition: right 0.4s ease !important;
    backdrop-filter: blur(8px) !important;
    z-index: 2000 !important;
  }

  .main-nav.open, .main-nav.active {
    right: 0 !important;
  }

  .main-nav a {
    font-size: 1.3rem !important;
    color: #fff !important;
    text-shadow: 0 0 10px rgba(0,217,255,0.8);
  }

  .main-nav a:hover {
    color: #00d9ff !important;
    text-shadow: 0 0 15px rgba(155,94,255,1);
  }

  .main-nav ul {
    flex-direction: column !important;
    gap: 1rem !important;
  }

  .main-nav i {
    color: #9b5eff !important;
  }
}
