.fenye {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin: 30px 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

.fenye a,
.fenye .current {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 4px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s ease;
    background-color: #fff;
    color: #2c3e50;
    border: 1px solid #e9ecef;
    box-shadow: 0 2px 4px rgba(0,0,0,0.02);
}

.fenye .current {
    background-color: #2c3e50;
    border-color: #2c3e50;
    color: #fff;
    cursor: default;
}

.fenye a:hover {
    background-color: #f8f9fa;
    border-color: #dee2e6;
    color: #1a2632;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.05);
}

.fenye a:active {
    transform: translateY(0);
    box-shadow: 0 2px 4px rgba(0,0,0,0.02);
}

/* Previous链接样式 */
.fenye a[href*="Previous"] {
    padding: 0 16px;
    margin-left: 4px;
    background-color: #fff;
}

/* 响应式调整 */
@media (max-width: 480px) {
    .fenye {
        gap: 6px;
    }
    
    .fenye a,
    .fenye .current {
        min-width: 36px;
        height: 36px;
        font-size: 14px;
    }
    
    .fenye a[href*="Previous"] {
        padding: 0 12px;
    }
}