.image-container {
    position: relative;
    display: inline-block;
}

.image-container img{
    width: 100%;
    height: auto;
}

.img-btn {
    position: absolute;
    bottom: 4%; /* 距底部15%位置 */
    right: 23%;
    transform: translateX(50%);
    display: inline-block; /* 改为行内块元素 */
    width: 20%; /* 宽度由内容决定 */
    height: auto;
    padding: 0; /* 移除内边距 */
    transition: all 0.3s ease;
}

.img-btn:hover .btn-img {
  transform: scale(1.05);
  filter: drop-shadow(0 3px 5px rgba(0,0,0,0.3));
}

.btn-img {
    display: block;
    margin: 0; /* 移除外边距 */
}