* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
	font-family: 'PingFang SC', 'Microsoft YaHei', sans-serif;
	list-style: none;
	-webkit-tap-highlight-color: transparent;
}

body,
html,
div,
ul,
li,
a,
img,
input,
button {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

body {
	font-family: Arial, sans-serif;
}

a,
a:hover {
	text-decoration: none;
}

.iconfont {
	font-size: 22px;
}

input:focus,
textarea:focus {
	outline: none;
	box-shadow: none;
}

input: internel- autofill-solected {
	background-color: red !important;
}

.navbar {
	width: 100%;
	background-color: #ee1c25;
	padding: 10px 0;
}

.container {
	max-width: 1400px;
	margin: 0 auto;
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.navbar-left img {
	height: 40px;
	/* Adjust as needed */
}

.navbar-center ul {
	list-style: none;
	display: flex;
	align-items: center;
}

.navbar-center li {
	position: relative;
}

.navbar-center li a {
	color: #fff;
	text-decoration: none;
	padding: 0 15px;
	/* Adjust padding as needed */
	transition: color 0.3s;
}

.navbar-center li a:hover,
.navbar-center li.active a {
	color: #fef597;
}

.separator {
	color: #fff;
	font-size: 16px;
	/* Match the font size of the navigation links */
	margin: 0 10px;
}

.navbar-right {
	display: flex;
	align-items: center;
}

.search-box {
	position: relative;
	margin-right: 20px;
	border-radius: 22px;
	background-color: rgba(255, 255, 255, 0.5);
	align-items: center;
	display: flex;
}

.search-box input {
	padding: 8px 15px;
	border: none;
	background: none;
	color: #fff;
	font-size: 14px;
}

.search-box input::placeholder {
	color: #e8d7d7;
	/* 改变占位符文本颜色为红色 */
}

.search-box button {
	padding: 8px 10px;
	border: none;
	color: #fff;
	cursor: pointer;
	background: none;
}

.auth-buttons button {
	margin-left: 5px;
	padding: 8px 2px;
	border: none;
	background: none;
	color: #fff;
	cursor: pointer;
	transition: color 0.3s;
}

.auth-buttons button:hover {
	color: #fef597;
}

/* 底部 */
:root {
	--border-color: #ee1c25;
	--text-color: #666;
}

.footer-container {
	width: 100%;
	background: white;
	border-top: 5px solid var(--border-color);
	padding: 40px 0;
	margin-top: 80px;
}

.footer-content {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 15px;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
	text-align: center;
	color: var(--text-color);
	font-size: 14px;
	line-height: 1.6;
}

.footer-info {
	display: inline-flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 20px;
}

/* 回到顶部样式 */
.back-to-top {
	position: fixed;
	right: 30px;
	bottom: 50px;
	width: 50px;
	height: 50px;
	border-radius: 50%;
	background: #7a0000;
	color: white;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	opacity: 0;
	visibility: hidden;
	transition: all 0.3s ease;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
	z-index: 1000;
}

.back-to-top.show {
	opacity: 1;
	visibility: visible;
}

.back-to-top:hover {
	background: #b80000;
}

.back-to-top i {
	font-size: 22px;
}

/*显示动画--淡入*/
.mescroll-fade-in {
	-webkit-animation: mescrollFadeIn .5s linear forwards;
	animation: mescrollFadeIn .5s linear forwards;
}

/* 加载动画 */
.loading {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: white;
	display: flex;
	justify-content: center;
	align-items: center;
	z-index: 9999;
}

.loading .spinner {
	width: 50px;
	height: 50px;
	border: 5px solid #f3f3f3;
	border-top: 5px solid #3498db;
	border-radius: 50%;
	animation: spin 1s linear infinite;
}

.toast {
	position: fixed;
	top: 40%;
	left: 50%;
	transform: translate(-50%, -50%);
	background-color: #4CAF50;
	color: white;
	padding: 15px;
	border-radius: 4px;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
	z-index: 1000;
	animation: fadeInOut 3s ease-in-out;
	opacity: 0;
	visibility: hidden;
}

@keyframes fadeInOut {
	0% {
		opacity: 0;
		transform: translateY(-20px);
	}

	20% {
		opacity: 1;
		transform: translateY(0);
	}

	80% {
		opacity: 1;
		transform: translateY(0);
	}

	100% {
		opacity: 0;
		transform: translateY(-20px);
	}
}

@-webkit-keyframes mescrollFadeIn {
	0% {
		opacity: 0;
	}

	100% {
		opacity: 1;
	}
}

@keyframes mescrollFadeIn {
	0% {
		opacity: 0;
	}

	100% {
		opacity: 1;
	}
}

/*隐藏动画--淡出*/
.mescroll-fade-out {
	pointer-events: none;
	-webkit-animation: mescrollFadeOut .5s linear forwards;
	animation: mescrollFadeOut .5s linear forwards;
}

@-webkit-keyframes mescrollFadeOut {
	0% {
		opacity: 1;
	}

	100% {
		opacity: 0;
	}
}

@keyframes mescrollFadeOut {
	0% {
		opacity: 1;
	}

	100% {
		opacity: 0;
	}
}

/* 注册样式star*/
.form-row2 {
	display: flex;
	margin-bottom: 25px;
	flex-wrap: wrap;
}

.form-row2 .form-label {
	width: 100px;
	padding-top: 10px;
	font-size: 14px;
	color: #333;
}

.form-row2 .form-input {
	flex: 1;
	position: relative;
}

.form-row2 .input-field {
	width: 100%;
	padding: 10px 15px 10px 35px;
	border: 1px solid #e8e8e8;
	border-radius: 4px;
	font-size: 14px;
}

.form-row2 .input-icon {
	position: absolute;
	left: 10px;
	top: 10px;
	color: #999;
}

.form-row2 .captcha-container {
	display: flex;
	gap: 10px;
}

.form-row2 .captcha-input {
	flex: 1;
}

.form-row2 .captcha-img {
	width: 97px;
	height: 40px;
	background-color: #f0f0f0;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 4px;
	cursor: pointer;
	user-select: none;
	font-weight: bold;
	letter-spacing: 2px;
	color: #333;
	background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}

.form-row2 .sms-container {
	display: flex;
	gap: 10px;
}

.form-row2 .sms-input {
	flex: 1;
}

.form-row2 .sms-btn {
	padding: 0 15px;
	background-color: #7a0000;
	color: white;
	border: none;
	border-radius: 4px;
	cursor: pointer;
	transition: background-color 0.3s;
	white-space: nowrap;
	height: 39px;
}

.form-row2 .sms-btn:hover {
	background-color: #e94740;
}

.form-row2 .sms-btn:disabled {
	background-color: #ccc;
	cursor: not-allowed;
}

.form-row2 .qrcode-container {
	display: flex;
	align-items: center;
}

.form-row2 .qrcode-img {
	width: 150px;
	height: 150px;
	background-color: #f0f0f0;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #999;
}

.form-row2 .qrcode-img img {
	width: 100%;
	height: auto;
}

.submit-btn {
	width: 100%;
	padding: 12px;
	background-color: #7a0000;
	color: white;
	border: none;
	border-radius: 4px;
	cursor: pointer;
	font-size: 16px;
	margin-top: 20px;
	transition: background-color 0.3s;
	overflow: hidden;
	position: relative;
}

.submit-btn.loading::after {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.5), transparent);
	animation: loading 1.5s infinite;
}

.submit-btn:hover {
	background-color: #e94740;
}

.agreement {
	text-align: center;
	margin-top: 20px;
	font-size: 12px;
	color: #868686;
}

.agreement a {
	color: #868686;
	text-decoration: none;
}

.agreement a:hover {
	color: #e94740;
}

.form-row2 .error-msg {
	color: red;
	font-size: 12px;
	top: 42px;
	display: none;
	position: absolute;
}

/*注册样式end */
/*登录样式star */
.login-dropdown {
	position: absolute;
	top: 38px;
	right: 0;
	width: 460px;
	display: none;
	z-index: 100;
}

.login-dropdowna {
	width: 100%;
	margin-top: 15px;
	background-color: white;
	padding: 30px;
	/* box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
	border-radius: 5px; */
}

.login-btn:hover .login-dropdown {
	display: block;
}

.switch-tab {
	text-align: right;
	margin-bottom: 20px;
	color: #7a0000;
	cursor: pointer;
}

.switch-tab i {
	margin-right: 5px;
}

.form-row {
	display: flex;
	margin-bottom: 30px;
	align-items: center;
	position: relative;
}

.form-row .form-label {
	width: 50px;
	text-align: right;
	padding-right: 15px;
}

.form-row .form-input {
	flex: 1;
	position: relative;
}

.form-row .form-input input {
	width: 100%;
	padding: 15px 15px 15px 35px;
	border: 1px solid #e8e8e8;
	border-radius: 4px;
	outline: none;
}

.form-row .form-input i {
	position: absolute;
	left: 10px;
	top: 50%;
	transform: translateY(-50%);
	color: #999;
}

.form-row .form-options {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 15px;
	width: 100%;
}

.auto-login {
	display: flex;
	align-items: center;
	color: #868686;
}

.auto-login input {
	margin-right: 5px;
}

.forget-pwd {
	color: #868686;
	text-decoration: none;
}

.forget-pwd:hover {
	color: #e94740;
}

.form-btns {
	display: flex;
	justify-content: space-between;
	width: 100%;
}

.login-btn-submit {
	background-color: #7a0000;
	color: white;
	border: none;
	padding: 10px 0;
	border-radius: 4px;
	cursor: pointer;
	transition: background-color 0.3s;
	font-size: 16px;
	position: relative;
	overflow: hidden;
	width: 200px;
}

.login-btn-submit.loading::after {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 80%;
	height: 100%;
	background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.5), transparent);
	animation: loading 1.5s infinite;
}

@keyframes loading {
	0% {
		transform: translateX(-100%);
	}

	100% {
		transform: translateX(100%);
	}
}

.login-btn-submit:hover {
	background-color: #e94740;
}

.register-btn {
	color: #7a0000;
	background: none;
	border: none;
	padding: 10px 25px;
	cursor: pointer;
	transition: color 0.3s;
	font-size: 16px;
}

.register-btn:hover {
	color: #e94740;
}

.wechat-login {
	text-align: center;
	/* display: none; */
}

.wechat-title {
	margin-bottom: 15px;
	font-size: 18px;
}

.qrcode {
	width: 200px;
	margin: 0 auto 15px;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #999;
}

.qrcode img {
	width: 100%;
	height: auto;
}

.wechat-tip {
	font-size: 14px;
	color: #999;
}

.form-row .error-msg {
	color: red;
	font-size: 12px;
	top: 52px;
	left: 50px;
	position: absolute;
}

.login-success {
	text-align: center;
	padding: 20px;
	color: green;
	font-size: 18px;
	display: none;
}

.modal-overlay {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background-color: rgba(0, 0, 0, 0.5);
	display: flex;
	justify-content: center;
	align-items: center;
	z-index: 10;
	visibility: hidden;
}

.modal-overlay.hidden {
	visibility: hidden;
	opacity: 0;
	transition: opacity 0.5s;
}

.modal-overlay.visible {
	visibility: visible;
	opacity: 1;
}

.modal-content {
	background-color: white;
	padding: 30px;
	border-radius: 8px;
	width: 90%;
	max-width: 500px;
	position: relative;
}

.modal-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 20px;
}

.close-btn {
	font-size: 24px;
	cursor: pointer;
	color: #999;
}

.close-btn:hover {
	color: #333;
}

.form-row2 {
	display: flex;
	margin-bottom: 25px;
	flex-wrap: wrap;
}

.form-row2 .form-label {
	width: 100px;
	padding-top: 10px;
	font-size: 14px;
	color: #333;
}

.form-row2 .form-input {
	flex: 1;
	position: relative;
}

.form-row2 .input-field {
	width: 100%;
	padding: 10px 15px 10px 35px;
	border: 1px solid #e8e8e8;
	border-radius: 4px;
	font-size: 14px;
}

.form-row2 .input-icon {
	position: absolute;
	left: 10px;
	top: 10px;
	color: #999;
}

.form-row2 .captcha-container {
	display: flex;
	gap: 10px;
}

.form-row2 .captcha-input {
	flex: 1;
}

.form-row2 .captcha-img {
	width: 97px;
	height: 40px;
	background-color: #f0f0f0;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 4px;
	cursor: pointer;
	user-select: none;
	font-weight: bold;
	letter-spacing: 2px;
	color: #333;
	background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}

.form-row2 .sms-container {
	display: flex;
	gap: 10px;
}

.form-row2 .sms-input {
	flex: 1;
}

.form-row2 .sms-btn {
	padding: 0 15px;
	background-color: #7a0000;
	color: white;
	border: none;
	border-radius: 4px;
	cursor: pointer;
	transition: background-color 0.3s;
	white-space: nowrap;
	height: 39px;
}

.form-row2 .sms-btn:hover {
	background-color: #e94740;
}

.form-row2 .sms-btn:disabled {
	background-color: #ccc;
	cursor: not-allowed;
}

.form-row2 .qrcode-container {
	display: flex;
	align-items: center;
}

.form-row2 .qrcode-img {
	width: 150px;
	height: 150px;
	background-color: #f0f0f0;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #999;
}

.form-row2 .qrcode-img img {
	width: 100%;
	height: auto;
}

/* .submit-btn {
	width: 100%;
	padding: 12px;
	background-color: #7a0000;
	color: white;
	border: none;
	border-radius: 4px;
	cursor: pointer;
	font-size: 16px;
	margin-top: 20px;
	transition: background-color 0.3s;
}

.submit-btn:hover {
	background-color: #e94740;
} */

.agreement {
	text-align: center;
	margin-top: 20px;
	font-size: 12px;
	color: #868686;
}

.agreement a {
	color: #868686;
	text-decoration: none;
}

.agreement a:hover {
	color: #e94740;
}

.form-row2 .error-msg {
	color: red;
	font-size: 12px;
	top: 42px;
	display: none;
	position: absolute;
}

.personal-name {
	color: #ffffff;
}

.personal-name:hover {
	color: #e6e6e6;
	cursor: pointer;
}

.dl-contents:hover .menu-list {
	visibility: visible;
	opacity: 1;
}

.menu-list {
	position: absolute;
	top: 40px;
	left: 0;
	background-color: white;
	visibility: hidden;
	opacity: 0;
	-webkit-transform: scale(0.8);
	-ms-transform: scale(0.8);
	transform: scale(0.8);
	-webkit-transition: 300ms;
	transition: 300ms;
	-webkit-transform-origin: 100% 0;
	-ms-transform-origin: 100% 0;
	transform-origin: 100% 0;
	z-index: 9999;
}

.nav-down li {
	/* width: 100%; */
	text-align: left;
	padding-left: 15px;
	margin-top: 5px;
	height: 32px;
	line-height: 32px;
}

.nav-down li:hover {
	background-color: #f2f2f2;
}

.nav-down li a {
	color: #333 !important;
	font-size: 16px;
}

.nav-down li i {
	color: #898989;
	margin-right: 3px;
	font-size: 20px;
}

.dl-contents {
	position: relative;
}

.dl-contents:hover .menu-list {
	display: block;
}

.menu-list .dropdown-sub_box {
	Z-INDEX: 10001;
	BACKGROUND: #fff;
	BORDER: #DADADA 1px solid;
	box-shadow: 0 0 10px rgba(0, 0, 0, 0.12);
	POSITION: absolute;
	WIDTH: 120px;
	TOP: 3px;
	padding-bottom: 15px;
}

/* 登录注册按钮 */
.auth-buttons {
	display: flex;
	gap: 5px;
	position: relative;
}

.btn {
	padding: 8px 5px;
	border: none;
	background: none;
	cursor: pointer;
	font-size: 15px;
}

.btn.login {
	color: #ffffff;
}

.btn.login:hover {
	color: #e6e6e6;
	cursor: pointer;
}

.btn.register {
	color: white;
	border: none;
}

.btn.register:hover {
	color: #e6e6e6;
	cursor: pointer;
}

/* 登录样式end */
/* 确认对话框样式 */
.modal-overlayout {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: rgba(0, 0, 0, 0.5);
	display: flex;
	justify-content: center;
	align-items: center;
	z-index: 1000;
	opacity: 0;
	visibility: hidden;
	transition: all 0.3s;
}

.modal-overlayout.active {
	opacity: 1;
	visibility: visible;
}

.modal-overlayout .modal-content {
	background: white;
	padding: 25px;
	border-radius: 8px;
	width: 90%;
	max-width: 400px;
	box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
	transform: translateY(-20px);
	transition: transform 0.3s;
}

.modal-overlayout.active .modal-content {
	transform: translateY(0);
}

.modal-overlayout .modal-title {
	font-size: 18px;
	margin-bottom: 15px;
	color: #2c3e50;
}

.modal-overlayout .modal-message {
	margin-bottom: 20px;
	color: #555;
}

.modal-overlayout .modal-actions {
	display: flex;
	justify-content: flex-end;
	gap: 10px;
}

.modal-overlayout .modal-btn {
	padding: 8px 20px;
	border-radius: 4px;
	cursor: pointer;
	font-size: 14px;
	transition: all 0.3s;
}

.modal-overlayout .modal-btn-cancel {
	background: #f1f1f1;
	border: 1px solid #ddd;
	color: #333;
}

.modal-overlayout .modal-btn-cancel:hover {
	background: #e0e0e0;
}

.modal-overlayout .modal-btn-confirm {
	background: #e74c3c;
	border: 1px solid #e74c3c;
	color: white;
}

.modal-overlayout .modal-btn-confirm:hover {
	background: #c0392b;
}

/* 骨架屏加载效果 */
.skeletong {
	animation: shimmer 1.5s infinite linear;
	background: linear-gradient(to right, #f0f0f0 8%, #e0e0e0 18%, #f0f0f0 33%);
	background-size: 800px 100%;
}

.skeleton-image {
	width: 100%;
	padding-top: 56.25%;
}

.skeleton-text {
	height: 16px;
	margin-top: 10px;
	border-radius: 4px;
}

@keyframes shimmer {
	0% {
		background-position: -800px 0
	}

	100% {
		background-position: 800px 0
	}
}

/* 骨架屏加载效果end */
.lazy {
	animation: shimmer 1.5s infinite linear;
	background: linear-gradient(to right, #f0f0f0 8%, #e0e0e0 18%, #f0f0f0 33%);
	background-size: 800px 100%;
}

.vip-btn {
	color: #e3b479;
	margin-left: 2px;
}

.vip-btn:hover {
	cursor: pointer;
	color: #f9b899;
}

/* 加载动画容器 */
.loader-wrapper {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	/* background: rgba(255, 255, 255, 0.9); */
	background-color: #ffffff;
	display: flex;
	justify-content: center;
	align-items: center;
	z-index: 99999;
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.5s;
}

.loader-wrapper.active {
	opacity: 1;
	pointer-events: all;
}

/* 脉冲动画 */
.loader-pulse {
	width: 80px;
	height: 100px;
	/* background: #3498db;
	border-radius: 50%; */
	/* animation: pulse 1.5s ease-in-out infinite; */
}

.loader-pulse img {
	width: 100%;
	height: auto;
}

@keyframes pulse {

	0%,
	100% {
		transform: scale(0.8);
		opacity: 0.5;
	}

	50% {
		transform: scale(1.2);
		opacity: 1;
	}
}

/* Responsive Layout */
@media (max-width: 768px) {
	.container {
		flex-direction: column;
		align-items: flex-start;
	}

	.navbar {
		padding: 20px;
	}

	.navbar-center ul {
		margin-top: 20px;
		/* flex-direction: column;
		align-items: flex-start; */
	}

	.navbar-center li {
		margin-bottom: 10px;
	}

	.separator {
		display: none;
	}

	.navbar-right {
		margin-top: 20px;
		width: 100%;
		display: flex;
		justify-content: space-between;
		align-items: center;
	}

	.auth-buttons {
		flex-shrink: 0;
	}

	.footer-info {
		flex-direction: column;
		gap: 10px;
	}

	.navbar-center li a {
		padding: 0 10px;
		font-size: 15px;
		font-weight: bold;
	}

	.back-to-top {
		width: 40px;
		height: 40px;
		right: 15px;
		bottom: 15px;
	}

	.back-to-top i {
		font-size: 20px;
	}
}

@media (max-width: 480px) {
	.navbar-center li a {
		padding: 0 9px;
		font-size: 14px;
		font-weight: bold;
	}

	.container {
		padding: 0;
	}

	.search-box input {
		width: 140px;
	}

	.toast {
		font-size: 12px;
	}

	.login-dropdowna {
		padding: 0;
	}

	.login-btn-submit {
		padding: 10px 0;
		width: 135px;
	}
}

@media (max-width: 350px) {
	.navbar-center li a {
		padding: 0 8px;
		font-size: 12px;
		font-weight: bold;
	}
}