@charset "utf-8";
/* CSS Document */
/* 全局样式重置 */
        * {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
	font-family: "Microsoft YaHei", "PingFang SC", sans-serif;
}
body {
	line-height: 1.6;
	color: #333;
	background-color: #f8f9fa;
	padding-top: 0;
	margin-top: 0;
}
/* 容器样式 - 移除max-width: 1200px限制 */
        .container {
	width: 95%; /* 保留少量左右间距，避免内容贴边 */
	margin: 0 auto;
	padding: 0 15px;
}
/* 头部样式 */
        header {
	background-color: #fff;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
	padding: 20px 0;
	position: sticky;
	top: 0;
	left: 0;
	right: 0;
	z-index: 9999;
	/* 给header底部增加间距，双重保障 */
            margin-bottom: 20px;
}
.header-content {
	display: flex;
	justify-content: space-between;
	align-items: center;
	flex-wrap: wrap;
	gap: 10px;
}
.logo {
	font-size: 24px;
	font-weight: 700;
	color: #2c3e50;
	text-decoration: none;
	letter-spacing: 1px;
}
.logo h1 {
	font-size: 24px;
	font-weight: 700;
	color: #2c3e50;
	text-decoration: none;
	letter-spacing: 1px;
}
.seo-link {
	color: #3498db;
	text-decoration: none;
	font-weight: 500;
	transition: color 0.3s ease;
	white-space: nowrap;
}
.seo-link:hover {
	color: #2980b9;
	text-decoration: underline;
}
/* 主要内容区域 - 核心调整：超大顶部间距 */
        main {
	/* 顶部间距从80px提升到120px，确保足够远 */
            padding: 120px 0 60px;
	margin-top: 0;
	position: relative;
	z-index: 1;
}
/* 链接群 - 再次增加顶部独立间距 */
        .links-group {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: 25px;
	margin-bottom: 80px;
	/* 额外增加30px顶部外边距，彻底拉开距离 */
            margin-top: 30px;
	padding-top: 0;
	justify-items: center;
	align-items: stretch;
}
.link-card {
	background-color: #fff;
	border-radius: 12px;
	padding: 25px;
	box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
	transition: transform 0.3s ease, box-shadow 0.3s ease;
	text-align: center;
	width: 100%;
	max-width: 300px;
	display: flex;
	flex-direction: column;
	justify-content: center;
}
.link-card:hover {
	transform: translateY(-5px);
	box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}
.link-card a {
	font-size: 18px;
	font-weight: 600;
	color: #2c3e50;
	text-decoration: none;
	display: block;
	transition: color 0.3s ease;
}
.link-card a:hover {
	color: #3498db;
}
/* 友情链接区域 */
        .friend-links {
	background-color: #fff;
	padding: 40px 20px;
	border-radius: 12px;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
	margin-bottom: 60px;
}
.friend-links h2 {
	text-align: center;
	margin-bottom: 30px;
	color: #2c3e50;
	font-size: 22px;
}
.links-list {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 15px;
}
.friend-link {
	color: #3498db;
	text-decoration: none;
	padding: 8px 15px;
	border: 1px solid #e1e8ed;
	border-radius: 20px;
	font-size: 14px;
	transition: all 0.3s ease;
}
.friend-link:hover {
	background-color: #3498db;
	color: #fff;
	border-color: #3498db;
}
/* 页脚样式 */
        footer {
	background-color: #2c3e50;
	color: #fff;
	padding: 40px 0 20px;
	margin-top: 20px;
}
.copyright {
	text-align: center;
	padding-top: 20px;
	border-top: 1px solid rgba(255, 255, 255, 0.1);
	font-size: 14px;
	color: #bdc3c7;
}

        /* 响应式适配 - 移动端也保证充足间距 */
        @media (max-width: 768px) {
 .header-content {
 flex-direction: column;
 gap: 15px;
 text-align: center;
}

            /* 移动端顶部间距调整为100px，依然充足 */
            main {
 padding: 100px 0 40px;
}
 .links-group {
 gap: 20px;
 margin-bottom: 60px;
 margin-top: 20px; /* 移动端略减但仍充足 */
}
 .link-card {
 max-width: 100%;
}
 .logo {
 font-size: 20px;
}
}

.copyright {
    font-size: 18px;
    color: #bdc3c7;
}
.copyright a {
    font-size: 18px;
    color: #bdc3c7;
}

