/* ============================================================
 * 内容区：介绍、友情链接、页脚、返回顶部
 * 文件：css/content.css
 * ============================================================ */

/* 内容区域 */
.content-section {
    width: 80%;
    max-width: 1200px;
    margin: 60px auto;
    padding: 30px;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    scroll-margin-top: 30px;
}

.content-title {
    font-size: 2rem;
    color: #2f2f2f;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #eee;
}

/* 介绍 */
.intro-content {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    margin-top: 20px;
}

.intro-text {
    flex: 1;
    min-width: 300px;
}

.intro-text p {
    margin-bottom: 15px;
    font-size: 1.1rem;
    line-height: 1.8;
}

.intro-img {
    flex: 1;
    min-width: 300px;
    text-align: center;
}

.intro-img img {
    max-width: 100%;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}
/* 友情链接 */
.links-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 15px;
    margin-top: 20px;
}

.link-item {
    padding: 15px;
    background-color: #f8f8f8;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.link-item:hover {
    background-color: #f0f8ff;
    transform: translateY(-3px);
}

.link-item a {
    color: #2f2f2f;
    text-decoration: none;
    font-size: 1.1rem;
    display: block;
}

.link-item a:hover {
    color: #666;
    text-decoration: underline;
}

/* 底部 */
.footer-warning {
    background: #3b3b3b;
    color: white;
    text-align: center;
    padding: 1.0rem;
    font-size: 1.2rem;
    font-weight: bold;
    width: 100%;
    box-shadow: 0 -2px 8px rgba(0,0,0,0.1);
    margin-top: 80px;
}

/* 返回顶部 */
.back-to-top {
    position: fixed;
    right: 30px;
    bottom: 30px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: #262626;
    color: white;
    text-align: center;
    line-height: 50px;
    font-size: 20px;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(52, 52, 52, 0.3);
    z-index: 9999;
    border: 2px solid transparent;
}

.back-to-top:hover {
    background-color: #989898;
    transform: scale(1.1);
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top.clicked {
    border-color: #000;
    transform: scale(1.05);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.2);
}
