body {
  background-color: #1a1a1a;
  color: #eaeaea;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.header {
  background-color: #0f0e0e49;
  padding: 0rem 2rem;
  box-shadow: 0 2px 3px rgba(0, 0, 0, 0.4);
  top: 0;
  z-index: 1000;
  margin-top: 0;
  margin-right: 10px;
}

.header .content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

.logo-menu {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.logo-menu .logo img {
  max-height: 24px;
  width: auto;
}

.menu-sublinhado {
  display: flex;
}

.menu-sublinhado ul {
  display: flex;
  gap: 1rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.menu-sublinhado li {
  margin: 0;
}

.menu-sublinhado li>a {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.9rem;
  padding: 0.4rem 0.6rem;
  position: relative;
  transition: color 0.3s;
}

.menu-sublinhado li>a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  height: 2px;
  width: 0;
  background: #9c00da;
  transition: width 0.3s;
}

.menu-sublinhado li>a:hover::after,
.menu-sublinhado li>a.active-nav::after {
  width: 100%;
}

.header-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
}

.search-form-inside-dropdown {
  align-items: center;
  padding: 5px;
  background: #242424;
  border-radius: 25px;
  border: 1px solid #444;
  width: 250px;
}

.search-form-inside-dropdown input[type="search"] {
  flex-grow: 1;
  padding: 8px 12px;
  font-size: 14px;
  border: none;
  background: #3b3b3b;
  color: #fff;
  border-radius: 25px;
  outline: none;
}

.search-form-inside-dropdown button {
  background: #9c00da;
  border: none;
  padding: 8px 12px;
  border-radius: 25px;
  cursor: pointer;
  color: white;
  font-size: 14px;
}

.search-form-inside-dropdown button i {
  font-size: 16px;
}

.dropdown {
  position: relative;
  display: inline-block;
}

.dropdown ul {
  list-style-type: none;
  margin: 0;
  padding: 12px;
  position: absolute;
  background: #242424;
  border-radius: 30px;
  box-shadow: 0 8px 10px rgba(0, 0, 0, 0.3);
  right: 0;
  top: 100%;
  display: none;
  z-index: 1003;
  /* Aumentado para ficar acima do tooltip */
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.dropdown ul.show {
  display: block;
  animation: fadeIn 0.3s ease-in-out;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.dropdown a {
  display: block;
  padding: 10px 12px;
  text-decoration: none;
  font-size: 1rem;
  font-weight: 600;
  color: #cfc2d5;
  background-color: #242424;
  transition: background 0.3s ease, color 0.3s ease;
  border-radius: 6px;
}

.dropdown a:hover {
  background-color: #9c00da;
  color: #fff;
}

.dropdown li {
  height: auto;
  transition: transform 0.2s ease;
}

.dropdown .primeiro-item {
  background: transparent;
  padding: 3px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  position: relative;
}

.dropdown .primeiro-item svg {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0);
  transition: background 0.3s ease;
}

.dropdown .primeiro-item:hover svg {
  background: rgba(0, 0, 0, 0.3);
}

.dropdown .tooltip {
  min-width: 90px;
  max-width: 130px;
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%);
  background-color: #9c00da;
  color: white;
  padding: 8px 12px;
  border-radius: 20px;
  font-size: 0.8rem;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 1002;
  pointer-events: none;
}

.dropdown .tooltip.show {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(5px);
}

.dropdown .tooltip::after {
  content: "";
  position: absolute;
  bottom: 100%;
  left: 50%;
  margin-left: -5px;
  border-width: 6px;
  border-style: solid;
  border-color: transparent transparent #9c00da transparent;
}

/* Estilos para mobile */
.mobile-header {
  display: none;
  background-color: #1a1a1a;
  padding: 0 1rem;
  box-shadow: 0 2px 3px rgba(0, 0, 0, 0.4);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.mobile-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

.mobile-logo img {
  max-height: 24px;
  width: auto;
}

.mobile-menu-toggle {
  background: none;
  border: none;
  color: #fff;
  font-size: 1.5rem;
  cursor: pointer;
}

.mobile-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background-color: #242424;
  padding: 1rem;
  box-shadow: 0 6px 5px rgba(0, 0, 0, 0.86);
  z-index: 999;
}

.mobile-menu.active {
  display: block;
}

.mobile-menu-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.mobile-menu-list li {
  margin: 0.5rem 0;
}

.mobile-menu-list li a {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  font-size: 1rem;
  padding: 0.5rem;
  display: block;
  transition: background 0.3s;
}

.mobile-menu-list li a:hover {
  background-color: #9c00da;
  color: #fff;
}

.mobile-search-form {
  margin: 1rem 0;
}

.mobile-search-box {
  display: flex;
  align-items: center;
  border-radius: 50px;
  background-color: #4c4c4ce8;
  height: 40px;
}

.mobile-search-input {
  flex: 1;
  padding: 0 1rem;
  border: none;
  outline: none;
  background: none;
  color: #fff;
  font-size: 1rem;
}

.mobile-search-input::placeholder {
  color: #fff;
  opacity: 0.6;
}

.mobile-search-button {
  width: 40px;
  height: 40px;
  background-color: #9c00da;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mobile-search-button i {
  color: #fff;
  font-size: 1.2rem;
}

.mobile-user-menu {
  list-style: none;
  padding: 0;
  margin: 1rem 0 0;
}

.mobile-user-menu li a {
  color: #9c00da;
  text-decoration: none;
  font-weight: bold;
  font-size: 1rem;
  padding: 0.5rem;
  display: block;
  transition: background 0.3s;
}

.mobile-user-menu li a:hover {
  background-color: #9c00da;
  color: #fff;
}

/*fot*/
.site-footer {
  background-color: #1a1a1a;
  color: #fff;
  padding: 40px 20px;
  font-size: 14px;
  line-height: 1.6;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  gap: 30px;
  border-top: 2px solid #333;
}

.footer-box {
  flex: 1 1 250px;
  min-width: 220px;
}

.footer-box h2 {
  font-size: 18px;
  margin-bottom: 15px;
  color: #fff;
  border-bottom: 2px solid #915eff;
  padding-bottom: 5px;
  display: inline-block;
}

.footer-box p,
.footer-box ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-box ul li {
  margin-bottom: 10px;
}

.footer-box ul li a {
  color: #ccc;
  text-decoration: none;
  transition: color 0.3s;
}

.footer-box ul li a:hover {
  color: #fff;
}

.social-icons {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
}

.social-icons a {
  color: #fff;
  font-size: 1.5rem;
  transition: transform 0.3s ease, color 0.3s ease;
}

.social-icons a:hover {
  transform: translateY(-3px);
  color: #915eff;
}

.lucide-icon {
  width: 24px;
  height: 24px;
  stroke: currentColor;
}

.fa-discord {
  color: #5865F2;
}

.fa-twitter {
  color: #1DA1F2;
}

.fa-facebook {
  color: #1877F2;
}

.footer-copy {
  text-align: center;
  border-top: 1px solid #333;
  margin-top: 40px;
  padding-top: 15px;
  color: #aaa;
  font-size: 13px;
}

@media (max-width: 768px) {
  .footer-container {
    align-items: center;
    text-align: center;
    gap: 2px;
  }

  .footer-box {
    width: 100%;
  }

  .social-icons {
    justify-content: center;
  }

  .footer-box h2 {
    padding-bottom: 10px;
  }
}

@media (max-width: 768px) {
  .header {
    display: none;
  }

  .mobile-header {
    display: block;
  }

}

@media (min-width: 769px) {
  .mobile-header {
    display: none;
  }

  .mobile-menu {
    display: none !important;
  }
}