.nav-wrapper {
	width: 100%;
	background: linear-gradient(135deg, #2d5016 0%, #3d6b1f 100%);
	box-shadow: 0 4px 12px rgba(45, 80, 22, 0.2);
	margin-top: 20px;
	margin-bottom: 0;
	position: relative;
	z-index: 100;
}

.nav-container {
	width: 1200px;
	margin: 0 auto;
	padding: 0;
}

.nav-content {
	display: flex;
	justify-content: space-between;
	align-items: center;
	height: 70px;
	flex-wrap: wrap;
}

.logo {
	flex: 0 0 auto;
	margin-right: 30px;
}

.logo a img {
	display: block;
	max-width: 180px;
	height: auto;
}

.nav-menu {
	flex: 1;
	display: flex;
	list-style: none;
	margin: 0;
	padding: 0;
	gap: 0;
}

.nav-menu li {
	position: relative;
	margin: 0;
	padding: 0;
}

.nav-menu li a {
	display: block;
	padding: 0 20px;
	line-height: 70px;
	color: #fff;
	text-decoration: none;
	font-size: 16px;
	transition: all 0.3s ease;
}

.nav-menu li a:hover,
.nav-menu li.active a {
	color: #a4d65e;
	background: rgba(164, 214, 94, 0.15);
}

.nav-menu li.active a {
	color: #a4d65e;
	border-bottom: 3px solid #a4d65e;
}

.user-entry,
.user-logged {
	flex: 0 0 auto;
	display: flex;
	align-items: center;
	gap: 15px;
	margin-left: 20px;
}

.user-logged {
	display: none;
}

.btn-login,
.btn-register {
	padding: 8px 20px;
	border-radius: 4px;
	text-decoration: none;
	font-size: 14px;
	transition: all 0.3s ease;
	cursor: pointer;
	border: none;
	background: none;
}

.btn-login {
	color: #a4d65e;
	border: 1px solid #a4d65e;
}

.btn-login:hover {
	background: #a4d65e;
	color: #2d5016;
}

.btn-register {
	background: #a4d65e;
	color: #2d5016;
	font-weight: 600;
}

.btn-register:hover {
	background: #8bc34a;
}

.user-avatar {
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: #a4d65e;
	color: #2d5016;
	display: flex;
	align-items: center;
	justify-content: center;
	font-weight: bold;
}

.user-info {
	display: flex;
	flex-direction: column;
	font-size: 12px;
}

.user-info .welcome {
	color: #e0e0e0;
}

.user-info .username {
	color: #fff;
	font-weight: bold;
}

/* 移动端浮窗样式 */
#mobileFrame {
	position: fixed; 
	z-index: 9999; 
	width: 297px; 
	height: 420px; 
	right: 20px; 
	bottom: 20px; 
	padding: 32px 8px 32px 9px; 
	background-image: url('static/image/small_phone.png');
	background-size: cover;
	display: block;
}

#hidemobile {
	position: absolute;
	right: 10px;
	top: 10px;
	cursor: pointer;
	background: rgba(0,0,0,0.6);
	color: #fff;
	width: 24px;
	height: 24px;
	text-align: center;
	line-height: 24px;
	border-radius: 50%;
	font-size: 14px;
	font-weight: bold;
}

.qrcode { 
	width: 100%; 
	height: 100%; 
	background: #fff; 
	display: flex; 
	flex-direction: column; 
	align-items: center; 
	justify-content: center; 
	border-radius: 0 0 20px 20px; 
}

.qrcode p { 
	margin-top: 15px; 
	color: #e74c3c; 
	font-size: 14px; 
	font-weight: bold; 
}

#showmobile {
	position: fixed; 
	right: 0px; 
	bottom: 200px; 
	z-index: 9999; 
	width: 47px; 
	height: 60px; 
	cursor: pointer; 
	display: none; 
	background-image: url('static/image/phoneTip_right.png');
	background-size: contain;
	background-repeat: no-repeat;
}

/* 幻灯片容器调整 */
.header {
	position: relative;
	z-index: 10;
}

.pc_banner {
	position: relative;
	width: 100%;
	margin-top: 0;
}

/* 响应式调整 */
@media (max-width: 1200px) {
	.nav-container {
		width: 100%;
		padding: 0 20px;
	}
}

@media (max-width: 768px) {
	.nav-content {
		height: auto;
		flex-direction: column;
		padding: 15px 0;
	}

	.logo {
		margin-right: 0;
		margin-bottom: 10px;
	}

	.nav-menu {
		flex-direction: column;
		width: 100%;
	}

	.nav-menu li a {
		padding: 10px 20px;
		line-height: 40px;
	}

	.user-entry,
	.user-logged {
		width: 100%;
		justify-content: center;
		margin-left: 0;
		margin-top: 10px;
	}
}