.top-badge { color: #9aff00; font-weight: 700; font-size: 12px; letter-spacing: 0.04em; }
/* Shared header styles to match market navigation */
.header {
	background: rgba(15, 23, 42, 0.9);  /* slate-900 with alpha */
	backdrop-filter: blur(8px);
	border-bottom: 1px solid rgba(148, 163, 184, 0.1);  /* slate-400 with low opacity */
	position: sticky;
	top: 0;
	left: 0;
	right: 0;
	z-index: 1000;
	width: 100%;
}

.header .header-content {
	max-width: 1400px;
	margin: 0 auto;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	padding: 12px 24px;
}

.input-search {
	position: relative;
	display: flex;
	align-items: center;
	gap: 8px;
	flex: 0 1 300px;
	min-width: 200px;
}

.input-search svg {
	position: absolute;
	left: 12px;
	color: #9ca3af;
	pointer-events: none;
}

.input-search input {
	width: 100%;
	padding: 10px 12px 10px 38px;
	background: rgba(30, 41, 59, 0.8);
	border: 1px solid rgba(148, 163, 184, 0.2);
	border-radius: 10px;
	color: #e5e7eb;
	font-size: 14px;
	transition: all 0.2s;
}

.input-search input:focus {
	outline: none;
	border-color: rgba(154,255,0,0.35);
	background: rgba(30, 41, 59, 0.95);
}


.header .logo {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	font-weight: 800;
	color: #9aff00;
	text-decoration: none;
	flex-shrink: 0;
	padding: 4px 0;
}

.header .logo img {
    height: 40px !important;
    width: auto !important;
    max-height: 40px !important;
    object-fit: contain;
    /* Removed background to show logo transparency */
}

.header .logo span {
	font-size: 20px;
	font-weight: 800;
	letter-spacing: -0.02em;
	white-space: nowrap;
}

.nav {
	display: flex;
	align-items: center;
	gap: 4px;
	flex-shrink: 0;
}

/* Normalize header anchor styles to avoid purple/underlines */
.header a { color: #d1d5db; text-decoration: none; }
.header a:visited { color: #d1d5db; }
.header a:hover { color: #9aff00; }

.nav-link {
	padding: 10px 16px;
	border-radius: 8px;
	color: #d1d5db;
	font-size: 14px;
	font-weight: 600;
	text-decoration: none !important;
	transition: all 0.2s;
	white-space: nowrap;
}

.nav-link:hover {
	color: #9aff00 !important;
	background: rgba(154,255,0,0.1);
	transform: translateY(-1px);
}

.nav-link.active {
	color: #9aff00 !important;
	background: rgba(154,255,0,0.12);
	box-shadow: 0 0 0 1px rgba(154,255,0,0.2);
}

.wallet-status {
	display: flex;
	align-items: center;
	gap: 12px;
	flex-shrink: 0;
}

#wallet-connected {
  display: flex;
  align-items: center;
  gap: 12px;
}

.wallet-info {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2px;
}

.wallet-address {
  font-size: 13px;
  font-weight: 600;
  color: #9aff00;
}

.wallet-balance {
  font-size: 12px;
  color: #94a3b8;
  font-weight: 500;
}

.btn { cursor: pointer; border-radius: 8px; padding: 8px 16px; font-weight: 600; font-size: 14px; border: none; transition: all 0.2s; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: linear-gradient(90deg, #9aff00, #7acc00); color: #041; }
.btn-primary:hover { background: linear-gradient(90deg, #7acc00, #9aff00); }
.btn-secondary { background: rgba(255,255,255,0.05); color: #e4e7eb; border: 1px solid rgba(255,255,255,0.12); }
.btn-secondary:hover { background: rgba(255,255,255,0.08); }

/* Ensure header sits above main content spacing */
body { scroll-margin-top: 64px; }

/* Mobile hamburger menu */
.mobile-menu-toggle {
	display: none;
	background: none;
	border: none;
	color: #9aff00;
	font-size: 24px;
	cursor: pointer;
	padding: 8px;
	line-height: 1;
}

/* Responsive Design */
@media (max-width: 1200px) {
	.header .header-content {
		gap: 16px;
		padding: 12px 16px;
	}

	.input-search {
		flex: 0 1 220px;
		min-width: 150px;
	}

	.nav {
		gap: 2px;
	}

	.nav-link {
		padding: 8px 12px;
		font-size: 13px;
	}
}

@media (max-width: 968px) {
	.header .header-content {
		gap: 12px;
	}

	.input-search {
		flex: 0 1 180px;
	}
}

@media (max-width: 768px) {
	.mobile-menu-toggle {
		display: block !important;
	}

	.header .header-content {
		flex-wrap: wrap;
		padding: 12px;
		gap: 12px;
	}

	.header .logo span {
		font-size: 18px;
	}

	.input-search {
		order: 3;
		flex: 1 1 100%;
		max-width: 100%;
	}

	.nav {
		display: none;
		position: absolute;
		top: 100%;
		left: 0;
		right: 0;
		background: rgba(15, 23, 42, 0.98);
		flex-direction: column;
		padding: 16px;
		border-top: 1px solid rgba(148, 163, 184, 0.1);
		gap: 4px;
		z-index: 999;
	}

	.nav.mobile-menu-open {
		display: flex;
	}

	.nav-link {
		width: 100%;
		text-align: left;
		padding: 12px 16px;
		border-bottom: 1px solid rgba(148, 163, 184, 0.05);
	}

	.wallet-status {
		margin-left: auto;
	}

	#wallet-connected {
		flex-direction: column;
		align-items: flex-end;
		gap: 8px;
	}

	.wallet-info {
		gap: 0;
	}
}

@media (max-width: 480px) {
	.header .logo img {
		height: 32px !important;
		width: auto !important;
		max-height: 32px !important;
		padding: 4px;
	}

	.header .logo span {
		font-size: 16px;
	}

	.btn {
		padding: 8px 12px;
		font-size: 13px;
	}

	.wallet-address {
		font-size: 12px;
	}

	.wallet-balance {
		font-size: 11px;
	}
}

