/* Header Principal */
.header {
  background: linear-gradient(135deg, indigo, #4B0082);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  position: sticky;
  top: 0;
  z-index: 1000;
}

/* Social Media Links */
.social-links-header {
  background: linear-gradient(90deg, indigo, #663399);
  text-align: left;
  padding: 4px;
  margin-left: 5px;
}

.social-links-header a {
  display: inline-block;
  color: lime;
  transition: all 0.3s ease;
  text-decoration: none;
}

.social-links-header a:hover {
  color: white;
  transform: translateY(-2px);
  text-shadow: 0 2px 8px rgba(0, 255, 0, 0.5);
}

/* Container Principal */
.header-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 8px;
}

/* Top Header */
.LogoPart1 {
  font-family: UrbanJungleDEMO;
  font-size: 3em;
  color: DarkViolet;
  text-shadow: -1px -1px 0 white,
    1px -1px 0 white,
    -1px 1px 0 white,
    1px 1px 0 white;
}

.LogoPart2 {
  font-family: UrbanJungleDEMO;
  font-size: 3em;
  letter-spacing: 4px;
  color: lime;
  text-shadow: -1px -1px 0 black,
    1px -1px 0 black,
    -1px 1px 0 black,
    1px 1px 0 black;
}

.header-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.logo-section {
  display: flex;
  align-items: baseline;
  gap: 5px;
}

.logo-subtitle {
  font-size: 0.9em;
  color: white;
  font-weight: 600;
}

/* Auth Section */
.auth-section {
  display: flex;
  align-items: center;
  gap: 5px;
}

.auth-section a {
  padding: 4px;
  border-radius: 2px;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
}

.auth-section a {
  color: lime;
  border-color: lime;
  background: transparent;
}

.auth-section a:hover {
  background: lime;
  color: indigo;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(0, 255, 0, 0.3);
}

/* Navigation */
.nav-container {
  position: relative;
  z-index: 1000;
}

.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  border-radius: 4px;
  transition: all 0.3s ease;
}

.hamburger:hover {
  background: rgba(255, 255, 255, 0.1);
}

.hamburger span {
  width: 25px;
  height: 3px;
  background: lime;
  margin: 3px 0;
  transition: all 0.3s ease;
  border-radius: 2px;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -6px);
}

.nav-links {
  display: flex;
  gap: 8px;
  justify-content: flex-start;
}

.nav-links a {
  padding: 4px;
  color: white;
  text-decoration: none;
  border-radius: 4px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.nav-links a:hover::before {
  left: 100%;
}

.nav-links a:hover {
  color: lime;
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.1);
  box-shadow: 0 4px 15px rgba(0, 255, 0, 0.2);
}

/* Search Section */
.search-section {
  background: rgba(221, 221, 221, 0.2);
  border-radius: 4px;
  margin: 10px auto;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.search-form {
  display: flex;
  gap: 4px;
  /* Reduz espaço entre campos */
  align-items: left;
  flex-wrap: wrap;
  justify-content: start;
}

.search-form input,
.search-form select {
  padding: 6px 12px;
  /* Reduz altura e largura dos campos */
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.1);
  color: white;

  transition: all 0.3s ease;
  backdrop-filter: blur(5px);
  max-width: 200px;
  /* Impede que o campo fique muito largo */
}

.search-form input:focus,
.search-form select:focus {
  outline: none;
  border-color: lime;
  box-shadow: 0 0 12px rgba(0, 255, 0, 0.3);
  background: rgba(255, 255, 255, 0.2);
}

.search-form input::placeholder {
  color: rgba(255, 255, 255, 0.7);
}

.search-form select option {
  background: indigo;
  color: white;
}

.search-btn {
  padding: 8px 18px;
  /* Botão mais fino */
  background: linear-gradient(45deg, #e8ffe8, white);
  color: indigo;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.3s ease;

}

.search-btn:hover {
  background: linear-gradient(45deg, lime, #32CD32);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 255, 0, 0.4);
}

.search-btn i {
  margin-right: 6px;
}

.connect-text {
  color: lime;
  margin-bottom: 8px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}


/* Responsive Design */
@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: linear-gradient(135deg, indigo, #4B0082);
    flex-direction: column;
    gap: 10px;
    padding: 10px;
    border-radius: 0 0 5px 5px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
  }

  .nav-links.active {
    display: flex;
    animation: slideDown 0.3s ease;
  }

  .header-top {
    flex-direction: initial;
    text-align: left;
  }

  .auth-section {
    flex-wrap: wrap;
    justify-content: left;
  }

  .LogoPart1,
  .LogoPart2 {
    font-size: 2.2em;
  }

  .logo-subtitle {
    font-size: 0.8em;
  }

  .search-form {
    flex-direction: column;
  }

  .search-form input,
  .search-form select,
  .search-btn {
    width: 100%;
    max-width: 400px;
  }
}

@media (max-width: 480px) {
  .header-container {
    padding: 0 10px;
  }

  .LogoPart1,
  .LogoPart2 {
    font-size: 1.8em;
  }

  .search-section {
    margin: 5px 0;
    padding: 5px;
  }

  .social-links {
    padding: 10px 0;
  }
}


.header>* {
  position: relative;
  z-index: 1;
}

/* Header Final */