footer {
    text-align: center;
    padding: 10px;
    font-size: 14px;
}
footer a {
    text-decoration: none;
    color: #007bff;
}
footer a:hover {
    text-decoration: underline;
}


/* 基础样式重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Microsoft YaHei', '微软雅黑', 'SimHei', '黑体', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
}

/* 标题样式 */
header {
    text-align: center;
    margin-bottom: 50px;
    padding-bottom: 30px;
    border-bottom: 1px solid #eee;
}

header h1 {
    font-size: 2.8em;
    margin-bottom: 15px;
    color: #2c3e50;
    letter-spacing: 1px;
}

.author {
    font-style: italic;
    color: #7f8c8d;
    font-size: 1.1em;
}

/* 章节部分 */
section {
    margin-bottom: 50px;
}

h2 {
    margin-bottom: 25px;
    padding-bottom: 15px;
    color: #2c3e50;
    text-align: center;
    font-size: 1.8em;
}


.novel-intro p {
    text-indent: 2em;
    margin-bottom: 20px;
    padding: 0 30px;
    text-align: justify;
    line-height: 1.8;
}


/* 章节列表 */
.chapters-list ul {
    list-style-type: none;
    padding: 0 40px;
    border-bottom: 1px solid #eee;
}

.chapters-list li {
    margin-bottom: 15px;
    padding: 15px 25px;
    background-color: #f9f9f9;
    border-radius: 8px;
    transition: all 0.3s ease;
    text-align: center;
    border-left: none;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
}

.chapters-list li:hover {
    background-color: #edf7fd;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.chapters-list a {
    display: block;
    color: #3498db;
    text-decoration: none;
    font-size: 1.2em;
}

.chapters-list a:hover {
    color: #2980b9;
}








/* 响应式设计 */
@media (max-width: 768px) {
    .container {
        padding: 30px;
        margin: 20px auto;
        border-radius: 8px;
    }
    
    header h1 {
        font-size: 2.2em;
    }
    
    .chapters-list ul {
        padding: 0 15px;
    }
    
    .chapters-list li {
        padding: 12px 15px;
    }
    
    .novel-intro p {
        padding: 0 15px;
    }
}