/* Header Wallet Button Styling */
.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 0;
}

.main-nav {
  display: flex;
  margin-left: auto;
  margin-right: 20px;
}

.nav-list {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 20px;
}

.nav-link {
  color: var(--text-light);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav-link:hover {
  color: var(--primary);
}

.header-wallet {
  position: relative;
  display: flex;
  align-items: center;
}

.header-connect {
  display: flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, #6b46c1 0%, #9f7aea 100%);
  color: white;
  border: none;
  padding: 10px 16px;
  border-radius: 20px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 14px;
}

.header-connect:hover {
  background: linear-gradient(135deg, #805ad5 0%, #b794f4 100%);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(155, 92, 255, 0.3);
}

.header-connect img.net-icon {
  width: 18px;
  height: 18px;
}

.wallet-dropdown {
  position: absolute;
  top: 100%;
  right: 0;
  width: 220px;
  background: rgba(30, 30, 50, 0.95);
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  padding: 15px;
  z-index: 100;
  display: none;
  flex-direction: column;
  gap: 10px;
  margin-top: 5px;
  border: 1px solid rgba(155, 92, 255, 0.3);
  backdrop-filter: blur(10px);
}

.header-wallet.connected .wallet-dropdown {
  display: flex;
}

.header-wallet.connected .header-connect {
  background: linear-gradient(135deg, #00b894, #00cec9);
}

.header-status {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 8px;
  background: rgba(30, 30, 50, 0.5);
  color: #aaa;
  font-size: 14px;
}

.header-status.connected {
  background: rgba(0, 230, 118, 0.15);
  color: #00e676;
  border: 1px solid rgba(0, 230, 118, 0.3);
}

.disconnect-button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: rgba(255, 87, 87, 0.15);
  color: #ff5757;
  border: 1px solid rgba(255, 87, 87, 0.3);
  padding: 8px 12px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 14px;
}

.disconnect-button:hover {
  background: rgba(255, 87, 87, 0.25);
  transform: translateY(-2px);
}

/* Network indicator */
.network-indicator {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 8px;
  background: rgba(30, 30, 50, 0.5);
  color: #aaa;
  font-size: 14px;
  margin-top: 10px;
}

.network-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: #00e676;
  position: relative;
}

/* Mobile styles */
@media (max-width: 768px) {
  .header-inner {
    flex-wrap: wrap;
  }
  
  .main-nav {
    order: 3;
    width: 100%;
    margin: 15px 0 0;
    display: none;
  }
  
  .main-nav.active {
    display: block;
  }
  
  .nav-list {
    flex-direction: column;
    gap: 10px;
  }
  
  .header-wallet {
    margin-left: auto;
  }
  
  .wallet-dropdown {
    width: 100%;
    left: 0;
    right: 0;
    position: fixed;
    bottom: 0;
    top: auto;
    border-radius: 10px 10px 0 0;
    padding: 20px;
  }
  
  .mobile-menu-toggle {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 20px;
    cursor: pointer;
    margin-right: 15px;
  }
  
  .mobile-menu-toggle .bar {
    width: 100%;
    height: 2px;
    background-color: var(--text-light);
    transition: all 0.3s ease;
  }
}