

/* 古典风格按钮容器 */
.action-buttons {
    float: right;
    margin-left: 15px;
    display: inline-flex;
    gap: 8px;
}

/* 古典风格按钮基础样式 */
.action-buttons a {
    padding: 4px 12px;
    font-size: 0.85em;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    font-family: "楷体", "宋体", serif;
    letter-spacing: 1px;
    border: none;
    box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.1);
    border-radius: 2px;
}

/* 阅读按钮 - 竹简风格 
.read-btn {
    background: linear-gradient(to bottom, #E8DFCA, #D4C9A8);
    color: #090909;
    border: 1px solid #B8A98E;
    text-shadow: 0 1px 1px rgba(255,255,255,0.5);
    box-shadow: inset 0 0 8px rgba(182, 159, 115, 0.2),
                1px 1px 3px rgba(0, 0, 0, 0.1);
}

.read-btn:hover {
    background: linear-gradient(to bottom, #D4C9A8, #C5B897);
    color: #4A3C2E;
    box-shadow: inset 0 0 10px rgba(182, 159, 115, 0.3);
}

.read-btn::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100%;
    background-image: linear-gradient(to right, 
                      transparent 10%, 
                      rgba(255,255,255,0.3) 10%, 
                      rgba(255,255,255,0.3) 90%, 
                      transparent 90%);
    pointer-events: none;
}*/

/* 下载按钮 - 朱砂印章风格 */
.download-btn {
    background: linear-gradient(to bottom, #E8DFCA, #D4C9A8);
    color: #0a0a0a;
    border: 1px solid #B8A98E;
    text-shadow: 0 1px 1px rgba(255,255,255,0.5);
    box-shadow: inset 0 0 8px rgba(182, 159, 115, 0.2),
                1px 1px 3px rgba(0, 0, 0, 0.1);
}


.download-btn:hover {
    background: linear-gradient(to bottom, #D4C9A8, #C5B897);
    color: #4A3C2E;
    box-shadow: inset 0 0 10px rgba(182, 159, 115, 0.3);
}
.download-btn::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100%;
    background-image: linear-gradient(to right, 
                      transparent 10%, 
                      rgba(255,255,255,0.3) 10%, 
                      rgba(255,255,255,0.3) 90%, 
                      transparent 90%);
    pointer-events: none;
}

/* 按钮动画效果 */
.action-buttons a {
    transform: translateY(0);
    transition: all 0.2s ease;
}

.action-buttons a:hover {
    transform: translateY(-1px);
}

/* 确保列表项内容不会与按钮重叠 */
.category-list li {
    position: relative;
    padding-right: 180px; /* 为按钮留出空间 */
}

/* 响应式调整 */
@media (max-width: 768px) {
    .action-buttons {
        float: none;
        display: flex;
        margin-left: 0;
        margin-top: 8px;
        gap: 6px;
    }
    
    .action-buttons a {
        padding: 3px 10px;
        font-size: 0.8em;
        flex: 1;
        text-align: center;
    }
    
    .category-list li {
        padding-right: 0;
    }
}