/* 按钮组件 */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
    line-height: 1;
}

.btn-primary {
    background-color: #d4af37;
    color: #fff;
}

.btn-primary:hover {
    background-color: #c19b26;
    transform: translateY(-1px);
}

.btn-secondary {
    background-color: #f5f5f5;
    color: #333;
    border: 1px solid #e0e0e0;
}

.btn-secondary:hover {
    background-color: #e5e5e5;
    border-color: #d0d0d0;
}

.btn-outline {
    background-color: transparent;
    color: #d4af37;
    border: 1px solid #d4af37;
}

.btn-outline:hover {
    background-color: #d4af37;
    color: #fff;
}

.btn-small {
    padding: 8px 16px;
    font-size: 12px;
}

.btn-large {
    padding: 16px 32px;
    font-size: 16px;
}

.btn-block {
    width: 100%;
    display: block;
}

.btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none !important;
}

.btn:disabled:hover {
    background-color: inherit;
    border-color: inherit;
    color: inherit;
}

/* 按钮组 */
.btn-group {
    display: flex;
    gap: 8px;
}

.btn-group .btn {
    flex: 1;
}

/* 浮动按钮 */
.btn-float {
    position: fixed;
    bottom: 80px;
    right: 20px;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background-color: #d4af37;
    color: #fff;
    border: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 99;
}

.btn-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

/* 链接按钮 */
.btn-link {
    background: none;
    border: none;
    color: #d4af37;
    text-decoration: underline;
    cursor: pointer;
    font-size: inherit;
    padding: 0;
}

.btn-link:hover {
    color: #c19b26;
}

/* 图标按钮 */
.btn-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.btn-icon svg {
    width: 20px;
    height: 20px;
}

/* 响应式 */
@media (max-width: 360px) {
    .btn {
        padding: 10px 20px;
        font-size: 13px;
    }
    
    .btn-float {
        bottom: 70px;
        right: 16px;
        width: 48px;
        height: 48px;
    }
}
