/* 全局样式 */
* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

body {
	font-family: "Microsoft YaHei", "PingFang SC", sans-serif; /* 搜狗推荐的中文字体 */
	line-height: 1.8;
	color: #333;
	background-color: #f6f6f6;
	font-size: 15px;
}

a {
	text-decoration: none;
	color: #1e50a2; /* 搜狗偏好蓝色链接 */
}

a:hover {
	text-decoration: underline;
	color: #e4393c; /* 悬停红色 */
}

/* 布局容器 */
.container {
	width: 100%;
	max-width: 1000px;
	margin: 0 auto;
	padding: 0 10px;
}

/* 头部样式 */
header {
	background-color: #2c3e50;
	color: white;
	padding: 12px 0;
	box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.header-container {
	display: flex;
	flex-direction: column;
	align-items: center;
}

.logo {
	font-size: 24px;
	font-weight: bold;
	margin-bottom: 8px;
}

nav ul {
	display: flex;
	list-style: none;
}

nav ul li {
	margin: 0 12px;
	font-size: 15px;
}

nav ul li a {
	color: white;
}

/* 面包屑导航 - 搜狗重视面包屑 */
.breadcrumb {
	padding: 12px 0;
	font-size: 14px;
	color: #666;
	background: #f0f0f0;
	margin-bottom: 15px;
}

.breadcrumb a {
	color: #555;
}

.breadcrumb a:hover {
	color: #e4393c;
}

/* 主要内容区 */
.novel-detail-container {
	background: white;
	padding: 20px;
	border-radius: 3px;
	box-shadow: 0 1px 3px rgba(0,0,0,0.1);
	margin-bottom: 20px;
}

/* 小说标题区 - 搜狗重视标题结构 */
.novel-header {
	border-bottom: 1px solid #eee;
	padding-bottom: 15px;
	margin-bottom: 20px;
}

.novel-title {
	font-size: 24px;
	color: #333;
	font-weight: bold;
	margin-bottom: 8px;
	line-height: 1.3;
}

.novel-meta {
	display: flex;
	flex-wrap: wrap;
	margin-bottom: 15px;
	font-size: 14px;
	color: #666;
}

.meta-item {
	margin-right: 25px;
	margin-bottom: 8px;
}

.meta-label {
	color: #999;
	margin-right: 5px;
}

/* 操作按钮区 - 提高点击率 */
.action-buttons {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin: 20px 0;
}

.btn {
	padding: 8px 20px;
	border: none;
	border-radius: 4px;
	cursor: pointer;
	font-size: 15px;
	transition: all 0.3s;
}

.btn-primary {
	background: #e4393c;
	color: white;
}

.btn-primary:hover {
	background: #c81623;
	transform: translateY(-2px);
}

.btn-secondary {
	background: #f0f0f0;
	color: #555;
}

.btn-secondary:hover {
	background: #ddd;
}

/* 小说简介 */
.novel-intro {
	margin: 25px 0;
	line-height: 1.8;
	font-size: 15px;
}

.novel-intro h2 {
	font-size: 18px;
	color: #333;
	border-left: 4px solid #e4393c;
	padding-left: 10px;
	margin-bottom: 15px;
}

.novel-intro p {
	margin-bottom: 15px;
	text-indent: 2em;
}

/* 章节列表 - 搜狗重视内容结构 */
.chapter-list {
	margin: 30px 0;
}

.chapter-list h2 {
	font-size: 18px;
	color: #333;
	border-bottom: 1px solid #eee;
	padding-bottom: 10px;
	margin-bottom: 15px;
}

.chapters {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.chapter-item {
	flex: 0 0 calc(33.333% - 10px);
	padding: 10px;
	background: #f9f9f9;
	border-radius: 3px;
	transition: all 0.3s;
	font-size: 14px;
}

.chapter-item:hover {
	background: #f0f0f0;
	transform: translateY(-2px);
}

/* 推荐小说 - 提高停留时间 */
.recommendations {
	margin: 35px 0;
}

.recommendations h2 {
	font-size: 18px;
	color: #333;
	border-bottom: 1px solid #eee;
	padding-bottom: 10px;
	margin-bottom: 15px;
}

.recommend-list {
	display: flex;
	flex-wrap: wrap;
	gap: 15px;
}

.recommend-item {
	flex: 0 0 calc(20% - 15px);
	background: white;
	padding: 12px;
	border-radius: 3px;
	box-shadow: 0 1px 3px rgba(0,0,0,0.1);
	transition: all 0.3s;
}

.recommend-item:hover {
	box-shadow: 0 5px 15px rgba(0,0,0,0.1);
	transform: translateY(-5px);
}

.recommend-title {
	font-weight: bold;
	margin-bottom: 5px;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	font-size: 15px;
}

.recommend-author {
	font-size: 13px;
	color: #666;
}

/* 页脚 - 搜狗重视版权信息 */
footer {
	background: #2c3e50;
	color: #ccc;
	text-align: center;
	padding: 25px 0;
	margin-top: 30px;
	font-size: 14px;
}

.footer-links {
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
	margin-bottom: 15px;
}

.footer-links a {
	color: #ccc;
	margin: 0 15px;
}

.copyright {
	color: #999;
}

/* 响应式设计 */
@media (max-width: 768px) {
	.chapter-item {
		flex: 0 0 calc(50% - 10px);
	}
	
	.recommend-item {
		flex: 0 0 calc(33.333% - 15px);
		width: 47%;
	}
	
	.novel-title {
		font-size: 22px;
	}
}

@media (max-width: 480px) {
	.chapter-item {
		flex: 0 0 100%;
	}
	
	.recommend-item {
		flex: 0 0 calc(50% - 15px);
		width: 47%;
	}
	
	.novel-meta {
		flex-direction: column;
	}
	
	.meta-item {
		margin-right: 0;
	}
}