
.navbar {
	position: sticky;
	top: 0;
	z-index: 50;
	background: rgba(12, 16, 22, 0.95);
	backdrop-filter: blur(8px);
	-moz-backdrop-filter: blur(8px);
	-webkit-backdrop-filter: blur(8px);
	border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.navbar-inner {
	max-width: 1100px;
	margin: 0 auto;
	padding: 0.6rem 1rem;
	display: flex;
	align-items: center;
	gap: 1rem;
}

.navbar-logo a {
	font-weight: 700;
	font-size: 2.0rem;
	text-decoration: none;
	color: #f9fafb;
	letter-spacing: 0.03em;
}

.navbar-links {
	margin-left: auto;
	display: flex;
	gap: 0.6rem;
}

.navbar-links a {
	text-decoration: none;
	padding: 0.35rem 0.75rem;
	border-radius: 10px;
	font-size: 0.9rem;
	color: #d1d5db;
	border: 1px solid transparent;
	transition:
		background-color 120ms ease,
		color 120ms ease,
		border-color 120ms ease,
		transform 80ms ease;
}

.navbar-links a:hover {
	background: #00fbff33;
	border-color: #00fcff;
	color: #e5edff;
}

.menu-toggle {
	display: none;
	margin-left: auto;
	font-size: 1.6rem;
	color: #f9fafb;
	cursor: pointer;
	user-select: none;
}

@media (max-width: 640px) {
	.navbar-inner {
		position: relative;
		padding: 0.6rem 1rem;
	}

	.menu-toggle {
		display: block;
	}

	.navbar-links {
		display: flex;
		flex-direction: column;

		position: absolute;
		top: 100%;
		right: 0;
		left: 0;
		margin-left: 0;
		padding: 0 1rem 0.4rem;

		background: rgba(12, 16, 22, 0.98);
		border-bottom: 1px solid rgba(255, 255, 255, 0.06);
		gap: 0.4rem;

		max-height: 0;
		overflow-y: scroll;
		opacity: 0;
		transform: translateY(-8px);
		pointer-events: none;
		transition:
			max-height 0.25s ease,
			opacity 0.2s ease,
			transform 0.25s ease;
	}

	.navbar-links.open {
		max-height: 80vh;
		opacity: 1;
		transform: translateY(0);
		pointer-events: auto;
		padding-top: 0.5rem;
		padding-bottom: 0.8rem;
	}

	.navbar-links a {
		width: 100%;
	}
}

.navbar-inner {
	height: 3.75rem;
	margin: 0 auto;
	padding: 0 1rem;

	display: flex;
	align-items: center;
	gap: 1rem;
}

.navbar-logo {
	display: flex;
	align-items: center;
	height: 100%;
}

.navbar-logo a {
	text-decoration: none;
	color: #f9fafb;
}
