.contact-buttons {
    position: fixed;
    right: 20px;
    bottom: 140px;
    z-index: 9998;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-btn {
    width: auto; /* 改为auto，让图片决定大小 */
    height: auto; /* 改为auto */
    border-radius: 0; /* 去掉圆角 */
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    background: none; /* 去掉背景 */
    box-shadow: none; /* 去掉阴影 */
}

.contact-btn:hover {
    transform: scale(1.1);
    text-decoration: none;
}

.contact-btn img {
    width: 50px; /* 直接设置图片大小 */
    height: 50px;
    /* 去掉白色滤镜，显示原始图片 */
}

/* 删除背景色样式 */
/* 
.whatsapp-btn {
    background: linear-gradient(135deg, #25D366, #128C7E);
}

.whatsapp-btn:hover {
    background: linear-gradient(135deg, #128C7E, #075E54);
}

.line-btn {
    background: linear-gradient(135deg, #00C300, #00A000);
}

.line-btn:hover {
    background: linear-gradient(135deg, #00A000, #008000);
}
*/

/* 响应式设计 */
@media (max-width: 768px) {
    .contact-buttons {
        right: 15px;
        bottom: 120px;
        gap: 12px;
    }
    
    .contact-btn img {
        width: 40px;
        height: 40px;
    }
}

/* 确保不与其他浮动元素冲突 */
.contact-buttons {
    pointer-events: none;
}

.contact-btn {
    pointer-events: all;
}

/* 动画效果 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.contact-btn {
    animation: fadeInUp 0.6s ease forwards;
}

.contact-btn:nth-child(1) {
    animation-delay: 0.1s;
}

.contact-btn:nth-child(2) {
    animation-delay: 0.2s;
}