Reset */
nav, .navbar, .nav-left, .nav-links {
  all: unset;
}

body {
  margin: 0;
  padding: 0;
}

/* Navbar */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  padding: 16px 8px;
  background-color: #fff;
  border-bottom: 1px solid #eee;
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  z-index: 1000;
}

.nav-left {
  display: flex;
  align-items: center;
  gap: 4px;
}

.logo-img {
  height: 42px;
  width: 42px;
  border-radius: 50%;
  object-fit: cover;
}

.logo-text {
  font-size: 22px;
  font-weight: bold;
  color: #222;
}

.nav-links {
  display: flex;
  gap: 24px;
  list-style: none;
}

.nav-item {
  position: relative;
}

.nav-links a {
  text-decoration: none;
  font-size: 16px;
  color: #333;
  padding: 8px 14px;
  border-radius: 8px;
  transition: 0.2s ease;
  white-space: nowrap;
}

.nav-links a:hover {
  background-color: #f5f5f5;
}

.submit-btn {
  background-color: #111;
  color: #fff !important;
  font-weight: 600;
  border-radius: 10px;
  font-family: 'Bitcount Single';
}

.submit-btn:hover {
  background-color: #5e5e5e;
  color: #000000 !important;
   font-weight: 600;
}

/* Dropdown */
.dropdown-card {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  transform: translateY(10px);
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 10px;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.08);
  padding: 16px;
  min-width: 200px;
  z-index: 9999;
  animation: fadeIn 0.3s ease;
}

.nav-item:hover .dropdown-card {
  display: block;
}

.dropdown-content {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.dropdown-content p {
  margin: 0;
  font-size: 14px;
}

.dropdown-content button {
  padding: 8px 14px;
  font-size: 17px;
  background: #111;
  color: #fff;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-family: 'Bitcount Single';
}

.copied-text {
  font-size: 12px;
  color: green;
  opacity: 0;
  transition: opacity 0.3s ease;
}

/* Animation */
@keyframes fadeIn {
  from {
    transform: translateY(20px);
    opacity: 0;
  }
  to {
    transform: translateY(10px);
    opacity: 1;
  }
}

/* Mobile */
@media (max-width: 768px) {
  .navbar {
    padding: 13px 7px;
    flex-wrap: wrap;
  }

  .logo-text {
    font-size: 14px;
  }

  .nav-links {
    gap: 10px;
  }

  .nav-links a {
    font-size: 14px;
  }

  .submit-btn {
    padding: 6px 6px;
    font-size: 11px;
  }

  .dropdown-card {
    min-width: 220px;
    left: auto;
    right: 0;
  }
}

