/* 基础复用样式 */
.text-light-opacity-80 {
    color: rgba(255, 255, 255, 0.8) !important;
}

/* 章节基础信息栏 */
.chapter-header {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.chapter-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 0.8rem;
}

.chapter-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    color: #666;
    font-size: 0.9rem;
}

/* 随机SEO语句模块 */
.seo-sentence-box {
    padding: 1.2rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    color: #333;
    font-size: 1.1rem;
    line-height: 1.6;
}
.seo-sentence-img{
    width: 100%;
}

/* 弹窗遮罩层 */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.modal-overlay.show {
    opacity: 1;
    visibility: visible;
}

/* 弹窗主体 */
.modal-content-box {
    background: #fff;
    border-radius: 12px;
    width: 90%;
    max-width: 500px;
    padding: 2rem;
    position: relative;
    transform: translateY(-20px);
    transition: all 0.3s ease;
}

.modal-overlay.show .modal-content-box {
    transform: translateY(0);
}

/* 弹窗关闭按钮 */
.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-size: 1.2rem;
    color: #999;
    cursor: pointer;
    transition: all 0.2s;
}

.modal-close:hover {
    color: #c82333;
}

/* 弹窗内容 */
.modal-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 1rem;
    text-align: center;
}

.modal-desc {
    color: #666;
    line-height: 1.6;
    margin-bottom: 2rem;
    text-align: center;
}

/* 跳转按钮 */
.navigate-btn {
    display: block;
    width: 100%;
    padding: 1rem;
    background: linear-gradient(120deg, #c82333, #c82333);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    text-decoration: none;
}

.navigate-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
    color: #fff;
}

/* 章节导航 */
.chapter-nav {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
    padding: 1.5rem;
    margin-top: 1.5rem;
    display: flex;
    justify-content: space-between;
}

.chapter-nav-btn {
    padding: 0.8rem 1.5rem;
    background-color: #c82333;
    color: #fff;
    border-radius: 6px;
    text-decoration: none;
    transition: all 0.2s;
}

.chapter-nav-btn:hover {
    background-color: #c82333;
    color: #fff;
}

.chapter-nav-btn.disabled {
    background-color: #ccc;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.chapter-nav-btn.disabled:hover {
    background-color: #ccc;
}