/*!
 * author by @xiange 
 * wx:2843269812 
 * gzh:xmcjw178 
 * https://youjiang178.com
 */

* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
}

:root {
	--primary-color: #06c1ae; /* 美团主题青绿色 */
	--secondary-color: #ff6a00; /* 美团橙 */
	--accent-color: #fbbc05;
	--dark-color: #333333;
	--light-color: #ffffff;
	--gray-color: #666666;
	--light-gray: #f0f0f0;
	--border-radius: 8px;
	--shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
	--transition: all 0.2s ease;
}

body {
	background: linear-gradient(135deg, #e6f7ff 0%, #f0fff0 100%);
	color: var(--dark-color);
	min-height: 100vh;
	display: flex;
	flex-direction: column;
	padding: 20px 20px 10px;
	line-height: 1.6;
	position: relative;
	overflow-x: hidden;
}

/* 背景装饰光点 */
body::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-image: 
		radial-gradient(circle at 10% 20%, rgba(255, 255, 255, 0.8) 1px, transparent 2px),
		radial-gradient(circle at 30% 40%, rgba(255, 255, 255, 0.6) 1px, transparent 2px),
		radial-gradient(circle at 70% 60%, rgba(255, 255, 255, 0.7) 1px, transparent 2px),
		radial-gradient(circle at 90% 80%, rgba(255, 255, 255, 0.5) 1px, transparent 2px);
	background-size: 200px 200px;
	z-index: -1;
	opacity: 0.6;
}

.container {
	max-width: 1200px;
	width: 100%;
	margin: 0 auto;
	display: flex;
	flex-direction: column;
	min-height: calc(100vh - 20px);
}

/* 主要内容区域 */
.main-content {
	flex: 1;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	padding: 20px 0 30px;
}

.logo-area {
	text-align: center;
	margin-bottom: 20px;
}

.logo {
	font-size: 2.2rem;
	font-weight: 800;
	color: var(--primary-color);
	margin-bottom: 8px;
}

.logo-text {
	font-size: 1rem;
	color: var(--gray-color);
	max-width: 500px;
	margin: 0 auto 15px;
}

/* 紧凑的时间显示模块 */
.time-compact {
	display: flex;
	align-items: center;
	justify-content: center;
	background: rgba(255, 255, 255, 0.7);
	border-radius: var(--border-radius);
	padding: 8px 15px;
	margin-bottom: 25px;
	box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
	border: 1px solid rgba(0, 0, 0, 0.05);
}

.time-compact-item {
	display: flex;
	align-items: center;
	padding: 0 12px;
	border-right: 1px solid rgba(0, 0, 0, 0.1);
}

.time-compact-item:last-child {
	border-right: none;
}

.time-label {
	font-size: 0.85rem;
	color: var(--gray-color);
	margin-right: 6px;
}

.time-value {
	font-size: 1rem;
	font-weight: 600;
	color: var(--dark-color);
}

.time-value.primary {
	color: var(--primary-color);
}

.time-value.secondary {
	color: var(--secondary-color);
}

/* 美团风格搜索标签栏 */
.search-tabs {
	display: flex;
	justify-content: center;
	margin-bottom: 20px;
	width: 100%;
	max-width: 700px;
}

.search-tab {
	padding: 8px 16px;
	background: transparent;
	border: none;
	border-bottom: 2px solid transparent;
	font-size: 0.95rem;
	color: var(--gray-color);
	cursor: pointer;
	transition: var(--transition);
	font-weight: 500;
	position: relative;
}

.search-tab:hover {
	color: var(--primary-color);
}

.search-tab.active {
	color: var(--primary-color);
	border-bottom: 2px solid var(--primary-color);
}

.search-tab.meituan {
	color: #ff6a00;
}

.search-tab.meituan.active {
	color: #ff6a00;
	border-bottom: 2px solid #ff6a00;
}

/* 美团风格搜索框区域 */
.search-container {
	width: 100%;
	max-width: 700px;
	margin: 0 auto 40px;
}

.search-box {
	background-color: white;
	border-radius: var(--border-radius);
	box-shadow: var(--shadow);
	overflow: hidden;
	border: 1px solid rgba(0, 0, 0, 0.1);
	transition: var(--transition);
	display: flex;
	align-items: center;
	padding-right: 5px;
}

.search-box:focus-within {
	box-shadow: 0 6px 20px rgba(6, 193, 174, 0.2);
	border-color: var(--primary-color);
}

.search-input {
	flex: 1;
	padding: 0 20px;
}

.search-input input {
	width: 100%;
	height: 56px;
	border: none;
	outline: none;
	font-size: 1.1rem;
	color: var(--dark-color);
	background: transparent;
}

.search-input input::placeholder {
	color: #aaa;
}

.search-button {
	background-color: var(--primary-color);
	color: white;
	border: none;
	width: 56px;
	height: 46px;
	border-radius: 6px;
	font-size: 1.2rem;
	cursor: pointer;
	transition: var(--transition);
	display: flex;
	align-items: center;
	justify-content: center;
}

.search-button:hover {
	background-color: #05a795;
	transform: scale(1.05);
}

.search-hint {
	margin-top: 10px;
	font-size: 0.85rem;
	color: var(--gray-color);
	text-align: center;
	padding: 6px;
	background-color: rgba(255, 255, 255, 0.7);
	border-radius: 4px;
}

/* 导航链接区域 */
.nav-container {
	width: 100%;
	max-width: 900px;
	margin: 0 auto 30px;
}

.nav-title {
	text-align: center;
	font-size: 1.2rem;
	font-weight: 600;
	color: var(--dark-color);
	margin-bottom: 20px;
	position: relative;
}

.nav-title:after {
	content: '';
	display: block;
	width: 50px;
	height: 2px;
	background-color: var(--primary-color);
	margin: 6px auto 0;
	border-radius: 2px;
}

.nav-links {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
	gap: 12px;
}

.nav-item {
	background-color: white;
	border-radius: 8px;
	padding: 15px 18px;
	display: flex;
	align-items: center;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
	transition: var(--transition);
	text-decoration: none;
	color: var(--dark-color);
	border: 1px solid rgba(0, 0, 0, 0.05);
}

.nav-item:hover {
	transform: translateY(-3px);
	box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
	color: var(--primary-color);
	border-color: var(--primary-color);
}

/* 导航图标样式 */
.nav-icon {
	width: 36px;
	height: 36px;
	border-radius: 6px;
	display: flex;
	align-items: center;
	justify-content: center;
	margin-right: 12px;
	font-size: 1.1rem;
	font-weight: 600;
	color: white;
}

.nav-icon.red {
	background-color: #e74c3c;
}

.nav-icon.blue {
	background-color: #3498db;
}

.nav-icon.green {
	background-color: #2ecc71;
}

.nav-icon.zise {
	background-color: #9b59b6;
}

.nav-icon.chengse {
	background-color: #f39c12;
}

.nav-icon.qingse {
	background-color: #1abc9c;
}

.nav-icon.shenchengse {
	background-color: #e67e22;
}

.nav-icon.fense {
	background-color: #e91e63;
}

.nav-text h3 {
	font-size: 0.95rem;
	font-weight: 600;
	margin-bottom: 3px;
}

.nav-text p {
	font-size: 0.8rem;
	color: var(--gray-color);
}

/* 优化后的底部信息 - 更紧凑 */
.footer {
	background-color: rgba(255, 255, 255, 0.9);
	border-radius: var(--border-radius);
	padding: 20px 25px;
	margin-top: 20px;
	box-shadow: var(--shadow);
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: center;
	border: 1px solid rgba(0, 0, 0, 0.05);
}

.copyright {
	flex: 1;
	min-width: 300px;
}

.copyright h3 {
	color: var(--primary-color);
	font-size: 1.1rem;
	margin-bottom: 6px;
}

.copyright p {
	color: var(--gray-color);
	font-size: 0.85rem;
	line-height: 1.4;
	margin-bottom: 3px;
}

.qrcode-container {
	display: flex;
	flex-direction: column;
	align-items: center;
	margin: 0 15px;
}

.qrcode {
	width: 80px;
	height: 80px;
	background-color: #f0f0f0;
	border-radius: 6px;
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 6px;
	color: var(--gray-color);
	font-size: 0.8rem;
	text-align: center;
	padding: 8px;
	border: 1px solid rgba(0, 0, 0, 0.1);
}

.qrcode-text {
	font-size: 0.75rem;
	color: var(--gray-color);
}

.year-highlight {
	color: var(--secondary-color);
	font-weight: 700;
}

/* 响应式设计 */
@media (max-width: 768px) {
	body {
		padding: 15px 15px 8px;
	}
	
	.logo {
		font-size: 1.9rem;
	}
	
	.time-compact {
		flex-wrap: wrap;
		padding: 6px 10px;
	}
	
	.time-compact-item {
		padding: 4px 8px;
		border-right: none;
		border-bottom: 1px solid rgba(0, 0, 0, 0.1);
		width: 100%;
		justify-content: space-between;
	}
	
	.time-compact-item:last-child {
		border-bottom: none;
	}
	
	.search-tabs {
		flex-wrap: wrap;
	}
	
	.search-tab {
		padding: 6px 12px;
		font-size: 0.9rem;
	}
	
	.search-input input {
		height: 50px;
		font-size: 1rem;
	}
	
	.search-button {
		width: 50px;
		height: 42px;
	}
	
	.nav-links {
		grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
	}
	
	.footer {
		flex-direction: column;
		text-align: center;
		gap: 15px;
		padding: 15px;
	}
	
	.copyright {
		min-width: 100%;
		order: 2;
	}
	
	.qrcode-container {
		order: 1;
		margin: 0 0 10px;
	}
}

@media (max-width: 480px) {
	.logo {
		font-size: 1.7rem;
	}
	
	.logo-text {
		font-size: 0.9rem;
	}
	
	.nav-links {
		grid-template-columns: 1fr;
	}
	
	.nav-item {
		padding: 12px 15px;
	}
	
	.search-tabs {
		justify-content: flex-start;
		overflow-x: auto;
		white-space: nowrap;
		padding-bottom: 8px;
	}
	
	.copyright h3 {
		font-size: 1rem;
	}
	
	.copyright p {
		font-size: 0.8rem;
	}
}